]> cat aescling's git repositories - mastodon.git/commit
Various fixes and improvements (#12878)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 20 Jan 2020 14:55:03 +0000 (15:55 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 14:55:03 +0000 (15:55 +0100)
commit6feafb8802b2759eb33968a70b6c1cb100bf3926
tree5df6ee7f77b92dec9ab6e848ec663b9f4b5838c4
parent06f6995860d507ac26f23722506420b5cdae2ffe
Various fixes and improvements (#12878)

* Fix unused role routes being generated

* Remove unused JavaScript code

* Refactor filters code to be DRYer

* Fix `.count == 0` comparisons to `.empty?` in views

* Fix filters in views
26 files changed:
app/controllers/admin/accounts_controller.rb
app/controllers/admin/custom_emojis_controller.rb
app/controllers/admin/instances_controller.rb
app/controllers/admin/invites_controller.rb
app/controllers/admin/reports_controller.rb
app/controllers/admin/tags_controller.rb
app/controllers/relationships_controller.rb
app/helpers/admin/filter_helper.rb
app/javascript/packs/public.js
app/models/account_filter.rb
app/models/custom_emoji_filter.rb
app/models/instance_filter.rb
app/models/invite_filter.rb
app/models/relationship_filter.rb [new file with mode: 0644]
app/models/report_filter.rb
app/models/tag_filter.rb
app/views/admin/accounts/index.html.haml
app/views/admin/custom_emojis/index.html.haml
app/views/admin/email_domain_blocks/index.html.haml
app/views/admin/instances/index.html.haml
app/views/admin/reports/index.html.haml
app/views/admin/tags/index.html.haml
app/views/filters/index.html.haml
app/views/relationships/show.html.haml
app/views/settings/applications/index.html.haml
config/routes.rb