Commit Graph

28 Commits (7447e7a2ea3749fb84dac38387a1f207554749ec)

Author SHA1 Message Date
Thomas Citharel c0c56db0fa Translate admin ()
* Translate the domain_block panel

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Translate PubSubHubbub section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* translate account section and correct typos

* move reports translation & translate sidebar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* normalize l18n
Matt Jankowski 3a9eb81a80 Admin accounts controller cleanup ()
* Remove unused account_params method in admin/accounts controller

* Introduce AccountFilter to find accounts

* Use AccountFilter in admin/accounts controller

* Use more restful routes admin silence and suspension area

* Add admin/silences and admin/suspensions controllers
Matt Jankowski c44a700252 Quick best practice cleanup of views/helpers ()
* Remove trailing whitespace

* Use query methods instead of explicit .blank? checks
Thomas Citharel d90d23699c Make Reporting admin section translatable ()
* Make Reporting admin section translatable

And translate it into english and french

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Make subject of emails translatable and improve french translation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Make error pages translatable and translate them in english and french

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Translate site setting section

* Insert instance in registration emails and improve them a bit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Matt Jankowski 4ada50985a Pagination improvements ()
* 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
Eugen Rochko 5f54981846 New admin setting: open/close registrations, with custom message, from the admin UI
Eugen Rochko 68f829e11c Add basic logging of who resolved report
Eugen Rochko 71458dc6df When taking action on a report (silence/suspend), it dismisses all other
reports for that user automatically
Eugen Rochko b7c1b12367 Make default admin UI page reports. Add admin UI for creating a domain block
Eugen Rochko bde5c0eaf9 Fix some views still not using counter caches
Eugen Rochko d0f087db2d Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
Eugen Rochko 24ba7c9762 Adding index overview for reports in admin UI
Eugen Rochko 5426f06ac2 Fix admin UI for accounts somewhat
Eugen Rochko d2619e0b53 Site title is now a setting
Eugen Rochko f4bc9620a9 Update settings to re-use admin layout, one big navigation tree, improve settings forms
Eugen Rochko 6d98a73180 Domain blocks now have varying severity - auto-suspend vs auto-silence
Eugen Rochko e25170f960 Add extended about page stub
Eugen Rochko ca50ceeaf0 Add settings for contact information
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
Eugen Rochko 76ec907993 Improved admin UI
Eugen Rochko f978b06dd1 Add suspend account functionality to admin UI
Eugen Rochko 39cc9fde8a Add account suspension
Eugen Rochko 9d9f796130 Adding more to admin accounts UI
Eugen Rochko 5abf64d647 Add "next" pagination to public profiles
Eugen Rochko ec44cff9a2 Admin accounts page lists accounts
Eugen Rochko 356d3874eb Normalize localizations, add stub for admin/accounts
Eugen Rochko 4a2347da41 Track successful PuSH deliveries
Eugen Rochko 27fc49d745 Add simple admin overview of PuSH subscriptions