1
0
mirror of synced 2026-08-04 13:56:55 +00:00

7 Commits

Author SHA1 Message Date
Jarek Radosz 651acb075c DEV: Initial tweaks 2022-10-02 15:21:07 +02:00
Jarek Radosz 157496c452 SECURITY: Render TOC items as plain text 2022-10-01 12:13:59 +02:00
Joe 58a1400f55 FEATURE: Automatically add TOC based on topic category / tags (#42)
This PR adds two settings.

One allows admins to select a list of categories that will automatically enable the TOC if the topic category matches.
The other does the same but with tags.

Note that the topic still needs to have the other requirements for TOC, such as having headings. Also, this will still only apply to the first post.

This PR also moves some setting descriptions to the appropriate place.

It also uses `pretender` for the tests instead of generating the fixture manually.
2022-07-26 01:23:19 +08:00
Jarek Radosz 7b3c12ae15 DEV: Update CI workflows (#39) 2022-06-17 18:20:09 +02:00
Penar Musaraj c658e95d54 FIX: Generate unique IDs for non-Latin languages (#36) 2022-05-05 14:25:37 -04:00
Penar Musaraj 86b9960263 FIX: Allow adding TOC when editing first post (#20) 2022-01-18 09:52:51 -05:00
Penar Musaraj 20366c671d REFACTOR: General component overhaul (#19) 2022-01-18 09:18:21 -05:00