Commit Graph

24 Commits (a19141441d462638fc1d994c9e845492164532f1)

Author SHA1 Message Date
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI ()
Claire 30e9c7137b
Fix error when viewing statuses to deleted replies in moderation view ()
Emelia Smith ddfb3d123b
Improve display of statuses in admin panel ()
Matt Jankowski 84c3cc4e5b
Replace more `font-awesome` icons in `views/admin` area ()
Emelia Smith 30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page ()
Matt Jankowski b5d1d48266
Convert `form_for` -> `form_with` in views ()
Matt Jankowski 32ead51e5a
Add material design icons to admin/settings views ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 4c84891453
Pull out full `li` element into admin/status_edits/status_edit partial ()
Matt Jankowski f445d33fd6
Fix haml-lint `LineLength` cops in app/views/admin ()
Matt Jankowski 13c3e59601
Use helper method to build batched status edits in `admin/statuses/show` ()
Matt Jankowski bbad5b6456
Remove false positive cop detection ()
Matt Jankowski c926f5fd67
Fix haml-lint `UnnecessaryStringOutput` for views ()
Matt Jankowski e715da6d25
Fix haml-lint Rubocop `Rails/*` cops ()
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link ()
Claire f94aa70b81
Fix error when displaying post history of a trendable post in the admin interface ()
Eugen Rochko f8ca3bb2a1
Add ability to view previous edits of a status in admin UI ()
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
Eugen Rochko 392b367835
Fix IDN domains not being rendered correctly in a few left-over places ()
Eugen Rochko 14f436c457
Add notifications for statuses deleted by moderators ()
Eugen Rochko 9b1f2a4b61
Add subresource integrity for JS and CSS assets ()
Fix 
ThibG b8ba977497
Fix admin-facing uses of inline CSS ()
* Move .back-button inline styles to CSS file

All occurrences of the back-button CSS class used the same inline
CSS rules, so moved them over to the CSS file

* Fix “Add new domain block” button using inline CSS

* Replace common pattern of inline-styled button boxes by a CSS class

In particular, switching from `float: left/right` to a flexbox with
`justify-content: space-between`. This implied changing the order of
a few HTML tags and adding an empty `div` in one case.

Also removed a `margin-bottom` rule that wasn't needed due to the
margins of surrounding elements.

* Move account admin view inline CSS to CSS file
ThibG 6f9a7bd02c Add quick links to the admin interface in the WebUI ()
* Allow to show a specific status in the admin interface

* Let the front-end know the current account is a moderator

* Add admin links to status and account menus

If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten

* Use @statuses.first instead of @statuses[0]
Eugen Rochko 6e49907ecf
Improve admin UI for account view ()
Eugen Rochko c7d1a2e400
Improve admin UI for accounts ()
* Improve design of account statuses admin UI (consistent with reports)

* Make account moderation notes look consistent with report notes

* i18n-tasks remove-unused

* Fix code style issues

* Fix tests
abcang 4d42a38954 Improve admin page ()
* Improve admin page

* Fix test

* Add spec

* Improve select style