]> cat aescling's git repositories - mastodon.git/commit
Redesign admin accounts index (#9340)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 26 Nov 2018 14:53:27 +0000 (15:53 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Nov 2018 14:53:27 +0000 (15:53 +0100)
commit73faadad28b897cd61cc1d6c8bee47e7d72a51a1
treefd3570cfa52aa1c31924b6d11af1257308f4db66
parentdb9aea34dead1b230e44b4235ff8af8100108b7f
Redesign admin accounts index (#9340)

* Improve overview of accounts in admin UI

- Display suspended status, role, last activity and IP prominently
- Default to showing local accounts
- Default to not showing suspended accounts

* Remove unused strings

* Fix tests

* Allow filtering accounts by IP mask
56 files changed:
app/controllers/admin/accounts_controller.rb
app/helpers/admin/account_moderation_notes_helper.rb
app/helpers/admin/filter_helper.rb
app/helpers/stream_entries_helper.rb
app/javascript/packs/public.js
app/models/account.rb
app/models/account_filter.rb
app/models/user.rb
app/views/admin/accounts/_account.html.haml
app/views/admin/accounts/index.html.haml
app/views/admin/accounts/show.html.haml
config/locales/ar.yml
config/locales/ca.yml
config/locales/co.yml
config/locales/cs.yml
config/locales/cy.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en.yml
config/locales/eo.yml
config/locales/es.yml
config/locales/eu.yml
config/locales/fa.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/io.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ka.yml
config/locales/ko.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/oc.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sr-Latn.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/zh-CN.yml
config/locales/zh-HK.yml
config/locales/zh-TW.yml
spec/controllers/admin/accounts_controller_spec.rb
spec/models/account_filter_spec.rb
spec/models/user_spec.rb