]> cat aescling's git repositories - mastodon.git/commit
Add logging of admin actions (#5757)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 24 Nov 2017 01:05:53 +0000 (02:05 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Nov 2017 01:05:53 +0000 (02:05 +0100)
commite84fecb7e97851ed56f4d954e2d68128bb87da37
treebcbcd0756ec62e1b202a3e35010e48cae82f663a
parent801eee0ff3c6a690a5d84fda865bd38f7edf8794
Add logging of admin actions (#5757)

* Add logging of admin actions

* Update brakeman whitelist

* Log creates, updates and destroys with history of changes

* i18n: Update Polish translation (#5782)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Split admin navigation into moderation and administration

* Redesign audit log page

* 🇵🇱 (#5795)

* Add color coding to audit log

* Change dismiss->resolve, log all outcomes of report as resolve

* Update terminology (e-mail blacklist) (#5796)

* Update terminology (e-mail blacklist)

imho looks better

* Update en.yml

* Fix code style issues

* i18n-tasks normalize
34 files changed:
app/controllers/admin/account_moderation_notes_controller.rb
app/controllers/admin/accounts_controller.rb
app/controllers/admin/action_logs_controller.rb [new file with mode: 0644]
app/controllers/admin/base_controller.rb
app/controllers/admin/confirmations_controller.rb
app/controllers/admin/custom_emojis_controller.rb
app/controllers/admin/domain_blocks_controller.rb
app/controllers/admin/email_domain_blocks_controller.rb
app/controllers/admin/reported_statuses_controller.rb
app/controllers/admin/reports_controller.rb
app/controllers/admin/resets_controller.rb
app/controllers/admin/roles_controller.rb
app/controllers/admin/silences_controller.rb
app/controllers/admin/statuses_controller.rb
app/controllers/admin/suspensions_controller.rb
app/controllers/admin/two_factor_authentications_controller.rb
app/controllers/concerns/accountable_concern.rb [new file with mode: 0644]
app/helpers/admin/action_logs_helper.rb [new file with mode: 0644]
app/javascript/styles/mastodon/admin.scss
app/models/admin.rb [new file with mode: 0644]
app/models/admin/action_log.rb [new file with mode: 0644]
app/models/form/status_batch.rb
app/views/admin/action_logs/_action_log.html.haml [new file with mode: 0644]
app/views/admin/action_logs/index.html.haml [new file with mode: 0644]
config/brakeman.ignore
config/i18n-tasks.yml
config/locales/en.yml
config/locales/pl.yml
config/navigation.rb
config/routes.rb
db/migrate/20171119172437_create_admin_action_logs.rb [new file with mode: 0644]
db/schema.rb
spec/fabricators/admin_action_log_fabricator.rb [new file with mode: 0644]
spec/models/admin/action_log_spec.rb [new file with mode: 0644]