1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/models
Eugen Rochko 2f34b747b3
Allow mods to disable login, improve message when login disabled (#8329)
* Allow moderators to disable/enable login

* Instead of rejecting login, show forbidden error when login disabled

Avoid confusion because when login is rejected, the message is that
the account is not activated, which is wrong.

* Fix tests
2018-08-23 23:26:29 +02:00
..
admin Add logging of admin actions (#5757) 2017-11-24 02:05:53 +01:00
concerns Keep notification when muting_notifications is true (#7311) 2018-05-02 16:14:51 +02:00
form Improve admin page (#4121) 2017-07-18 16:38:22 +02:00
web Add REST API for Web Push Notifications subscriptions (#7445) 2018-05-11 11:49:12 +02:00
account_domain_block_spec.rb Spec AccountDomainBlock (#3816) 2017-06-18 02:59:49 +02:00
account_filter_spec.rb Add coverage for ReportFilter and AccountFilter (#3236) 2017-05-22 15:50:58 -04:00
account_moderation_note_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
account_pin_spec.rb Public profile endorsements (accounts picked by profile owner) (#8146) 2018-08-09 09:56:53 +02:00
account_spec.rb Enforce username format for remote users, too (#8102) 2018-07-30 22:29:52 +02:00
backup_spec.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
block_spec.rb Cover Block more (#3837) 2017-06-19 11:31:37 +02:00
conversation_mute_spec.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
conversation_spec.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
custom_emoji_spec.rb Change custom emoji search to ILIKE instead of = (#7099) 2018-04-10 15:46:27 +02:00
custom_filter_spec.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
domain_block_spec.rb Cover DomainBlock more (#3838) 2017-06-19 11:31:27 +02:00
email_domain_block_spec.rb Add uniqueness to block email domains (#5692) 2017-11-14 20:37:17 +01:00
export_spec.rb Show exact number of followers/statuses on export page/in tooltip (#8199) 2018-08-14 21:56:17 +02:00
favourite_spec.rb Cover Favourite more (#3841) 2017-06-19 01:38:50 +02:00
follow_request_spec.rb Store URIs of follows, follow requests and blocks for ActivityPub (#7160) 2018-05-04 21:14:34 +02:00
follow_spec.rb Implement Undo { Accept { Follow } } (fixes #8234) (#8245) 2018-08-17 16:24:56 +02:00
home_feed_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
identity_spec.rb CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
import_spec.rb Validate data of Imports (#4782) 2017-09-02 20:45:42 +02:00
invite_spec.rb Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
list_account_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
list_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
media_attachment_spec.rb Resize images by area instead of fixed dimensions (#8083) 2018-07-28 03:33:00 +02:00
mention_spec.rb
mute_spec.rb
notification_spec.rb Change columns in notifications nonnullable (#6764) 2018-03-24 12:51:28 +01:00
preview_card_spec.rb
relay_spec.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
remote_follow_spec.rb Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
remote_profile_spec.rb Add tests for RemoteProfile (#5665) 2017-11-12 16:23:31 +09:00
report_filter_spec.rb Add coverage for ReportFilter and AccountFilter (#3236) 2017-05-22 15:50:58 -04:00
report_spec.rb Add missing tests for report.rb (#7324) 2018-05-03 10:42:36 +02:00
session_activation_spec.rb Add tests for SessionActivation (#5668) 2017-11-13 09:54:48 +09:00
setting_spec.rb Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
site_upload_spec.rb Add a test for SiteUpload#cache_key (#5685) 2017-11-14 20:44:11 +01:00
status_pin_spec.rb Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
status_spec.rb exclude-other-silenced-accounts (#7528) 2018-08-22 13:20:50 +02:00
status_stat_spec.rb Move status counters to separate table, count replies (#8104) 2018-08-14 19:19:32 +02:00
stream_entry_spec.rb Add tests for StreamEntry (#5687) 2017-11-15 02:00:58 +01:00
subscription_spec.rb Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
tag_spec.rb Add a test for Tag#to_param (#5705) 2017-11-15 16:04:41 +01:00
user_spec.rb Allow mods to disable login, improve message when login disabled (#8329) 2018-08-23 23:26:29 +02:00