Matt Jankowski
4ada50985a
Pagination improvements ( #1445 )
* Replace will_paginate with kaminari
* Use #page instead of #paginate in controllers
* Replace will_paginate.page_gap with pagination.truncate in i18n
* Customize kaminari views to match prior styles
* Set kaminari options to match prior behavior
* Replace will_paginate with paginate in views
7 years ago
Matt Jankowski
dbe9f33fdc
Admin base controller ( #1465 )
* Add Admin::BaseController to wrap admin area
Extracts the setting of the `admin` layout and verifying that users are admins
to a common base class for the admin/ controllers.
* Add basic coverage for admin/reports and admin/settings controllers
7 years ago
Eugen Rochko
5f54981846
New admin setting: open/close registrations, with custom message, from the admin UI
7 years ago
Eugen Rochko
68f829e11c
Add basic logging of who resolved report
7 years ago
Eugen Rochko
71458dc6df
When taking action on a report (silence/suspend), it dismisses all other
reports for that user automatically
7 years ago
Eugen Rochko
b7c1b12367
Make default admin UI page reports. Add admin UI for creating a domain block
7 years ago
Eugen Rochko
4b7dca4713
Fix wording "show reblogs" -> "show boosts", order reports chronologically in
admin UI
7 years ago
Eugen Rochko
d0f087db2d
Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
7 years ago
Eugen Rochko
24ba7c9762
Adding index overview for reports in admin UI
7 years ago
Eugen Rochko
5426f06ac2
Fix admin UI for accounts somewhat
7 years ago
Eugen Rochko
b11fdc3ae3
Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
7 years ago
Eugen Rochko
76ec907993
Improved admin UI
8 years ago
Eugen Rochko
f978b06dd1
Add suspend account functionality to admin UI
8 years ago
Eugen Rochko
39cc9fde8a
Add account suspension
8 years ago
Eugen Rochko
9d9f796130
Adding more to admin accounts UI
8 years ago
Eugen Rochko
ec44cff9a2
Admin accounts page lists accounts
8 years ago
Eugen Rochko
356d3874eb
Normalize localizations, add stub for admin/accounts
8 years ago
Eugen Rochko
3ba6531611
Fix setting of confirmed=true on successful confirmation
8 years ago
Eugen Rochko
27fc49d745
Add simple admin overview of PuSH subscriptions
8 years ago