Commit graph

23 commits

Author SHA1 Message Date
e04ff565ee add rudimentary up navigation 2025-11-23 03:00:44 +13:00
fb48224f6b update file page for jsonp 2025-11-23 01:55:57 +13:00
a26fe3cd13 remove genai quick answers 2025-11-22 14:46:22 +13:00
b7fe180790 Add JSONP support on other endpoints
Refactored the code to define and process endpoints rather than doing
it imperatively, which avoided a lot of duplicated code.
2025-11-17 15:18:54 +13:00
0524e60d5d Update appearance of external links 2025-11-10 19:09:24 +13:00
23a201cc84 Add JSONP mode and captcha
JSONP mode is on by default. It will fetch main wiki pages in the
browser, without the server needing to make any requests. To turn it
off, add [feature_json] enabled = false to config.ini.

Captcha is off by default. It is a custom solution and is still
experimental at this stage. If you turn it on, please monitor the logs
to see how it goes! config.ini options are as follows:

[captcha]
enabled = true|false
log = true|false
ip_header = <header name set by your reverse proxy, like x-forwarded-for>
2025-11-04 23:06:55 +13:00
6260ba809b Fix running out of file descriptors 2024-05-01 00:53:09 +12:00
9c3125d6be
Minor improvements to archiver 2023-12-13 23:09:00 +13:00
a57445abcb Archiver now saves redirects 2023-12-12 11:10:47 +13:00
4336e4ab43
fix javascript audio buttons on hearthstone wiki 2023-06-17 00:09:59 +12:00
f6933e9e50
expand all Warframe ability collapsibles 2023-06-16 23:05:30 +12:00
a9754463b6
Fix (& x) sequences truncating the page 2023-05-27 23:41:20 +12:00
6fef9281c3
Move the semicolon fixing code again 2023-05-27 23:37:45 +12:00
ca13aea547
Remove Gamespot reviews/ads
https://lists.sr.ht/~cadence/breezewiki-discuss/%3C0ad4dbad07a1be394eefe43e33fff860b2d6176e%40disroot.org%3E
2023-05-24 21:47:05 +07:00
ba6c5be990
Optimise pre-processing regular expression 2023-04-02 00:11:55 +13:00
Artemis Everfree
f5529ed12a
precompile regexp patterns 2023-04-02 00:11:54 +13:00
Artemis Everfree
3f1946a3b8
use faster string split 2023-04-02 00:11:54 +13:00
91a7439007
Fix yugioh wiki card pages (only half-fixed in offline environments) 2023-03-16 01:12:06 +13:00
dfc9605cb6
Also use anytime-path in log.rkt 2023-03-09 00:04:07 +13:00
453570bdc9
Replace define-runtime-path with custom anytime-path function 2023-03-08 22:56:04 +13:00
155a277f26
indie wikis: add Wapopedia/Drawn To Life 2023-02-12 23:51:48 +13:00
501dcaa3fc
Replace thread-let with thread-utils 2023-02-12 23:51:28 +13:00
c7cce5479d
Create archiver and offline code handlers
Somewhat messy. Will clean up gradually in future commits.
2023-02-06 23:56:03 +13:00