Commit Graph

6 Commits (795bac44fd0191a7927e09337c9e13718af56dc1)

Author SHA1 Message Date
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions ()
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
nullkal da77f65c46 Add instance search feature ()
Eugen Rochko 4b911fea03 Add button to re-subscribe to all accounts from a domain ()
Matt Jankowski a132332b86 Add Instance class to list admin records ()
Matt Jankowski 55e1503522 Instances list in admin ()
* Add admin/instances index action

* Add link to instances admin page

* View lists instances

* Instances, grouped by domain, ordered by count

* Use Account.remote scope

* Extract method: Account.by_domain_accounts