1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 23:26:22 +09:00
mastodon/spec
Eugen Rochko 3c033c4352
Add moderation warnings (#9519)
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain
2018-12-22 20:02:09 +01:00
..
controllers Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
fabricators Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
features rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fixtures Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
helpers Add specs for Admin::AccountModerationNotesHelper (#9455) 2018-12-07 16:39:20 +01:00
lib Fix connect timeout not being enforced (#9329) 2018-11-22 20:12:04 +01:00
mailers Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
models Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
policies Add specs for ReportNotePolicy (#9592) 2018-12-20 17:52:18 +01:00
presenters Add specs for InstancePresenter (#9596) 2018-12-21 08:59:56 +01:00
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Improve e-mail MX validator and add tests (#9489) 2018-12-10 22:53:25 +01:00
views Replace SVG asset with Custom mascot (#8766) 2018-10-08 00:20:45 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
spec_helper.rb Disable simplecov on CircleCI (#7416) 2018-05-09 16:59:58 +02:00