Commit Graph

18 Commits

Author SHA1 Message Date
Cinder
4883912e93
[Security] Implement read only mode (#821) 2024-12-08 19:28:31 -08:00
Cinder
5c345528e4
[Blips] Fix an error when a blip is deleted (#820) 2024-12-08 19:09:32 -08:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Donovan Daniels
74007f2e30
[Blips] Add Updater & Tests/Move modactions to callbacks (#540)
* [Blips] Add `updater_id` & update notice

* [Blips] Move modaction generation logic into rails callbacks

* [Tests] Add blip tests

* Move update notice to right place

* Assert amount of difference

* Rebase oopsie

---------

Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2023-12-04 20:56:14 +01:00
Donovan Daniels
6ed072b6f7
[Blips] Add json response for editing old blips (#519)
* [Blips] Add json response for editing old blips

* use shorter syntax

Co-authored-by: Earlopain <earlopain+github@protonmail.com>

* rubocop™️

---------

Co-authored-by: Earlopain <earlopain+github@protonmail.com>
2023-05-16 19:54:58 +02:00
Earlopain
1a94acb6f6
[Users] Moderator permission tweaks 2022-12-23 16:35:37 +01:00
Earlopain
665f432e17
[Users] Allow moderators to handle tickets 2022-11-28 16:21:40 +01:00
Earlopain
361b90a79a
[Warnable] Replace html after warning 2022-09-27 21:01:41 +02:00
Earlopain
5139aaf4db
[Cleanup] Refactor user warnable code 2022-09-26 20:15:35 +02:00
Earlopain
a9b6970956
[Controllers] Always allow search[id] parameter
It works for controllers which allow every parameter, but they need to be
explicitly set when permitting

Noticed because of e397a10e0d
2022-02-06 15:19:08 +01:00
Earlopain
354a036b84
[Blips] Don't log editing/hiding your own blips 2022-01-18 13:42:57 +01:00
Earlopain
609c1b4b8f
[IpSearch] Add ip searching capabilities and link to them 2021-11-17 18:09:45 +01:00
Kira
1feee5e9a5 [Admin] Allow marking content as having earned a user a warning/ban 2021-04-16 15:39:32 -07:00
Kira
db8d4c4773 Normalize EOL style + newline at end of files. 2020-10-24 05:50:32 -07:00
Kira
cc71812fda Remove xml respond_to 2020-01-02 10:16:54 -08:00
Kira
ebc23caa77 Refactor mod action log sites 2019-04-14 02:34:04 -07:00
Kira
c5e90023d1 Prevent viewing hidden blips in blip listings 2019-03-01 09:04:50 -08:00
Kira
bc1218044c Blips 2019-03-01 08:44:29 -08:00