Commit Graph

9 Commits

Author SHA1 Message Date
Donovan Daniels
ad567bfc9c
[HelpPages] Fix json & move modaction logging (#700)
* Fix #492 (json error when no help pages exist)
* Move modactions into class
2024-11-04 07:36:52 -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
Earlopain
069a009dde
[Cleanup] Refactor help pages
The code wasn't very easy to follow. Uses the hip new normalized method from Rails 7.1
Adds some barebones tests
2024-02-15 20:05:36 +01:00
Earlopain
1f239fb60a
[Help] Fix editing not working
It was accessing @wiki_page which is only set on the show action
2023-05-15 20:11:07 +02:00
Earlopain
5c0df625d2
[HelpPages] Return 404 for api requests when not found
Closes #499
2023-04-10 17:45:05 +02:00
Earlopain
4d699e465c
[Help] Normalize name
Fixes #381
2022-03-21 13:56:53 +01: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
23c2e2d851 Help system 2019-03-26 21:55:16 -07:00