Commit graph

157 commits

Author SHA1 Message Date
6d09507b6e Remove online required test 2026-06-18 14:18:21 +12:00
ebb5bf3892 Always use vendored html-parsing 2026-06-18 14:15:43 +12:00
aaa4d8cc53 Fix captcha fail log 2026-04-12 22:03:11 +12:00
d96776a8e5 Fix default mode host hack being broken 2026-04-12 21:45:02 +12:00
ad7d08e176 fallback to no banner if extwiki unavailable 2025-11-24 22:00:03 +13:00
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
93369aa39b make the captcha red 2025-11-19 17:07:40 +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
968ec1962c undertale wikis are independent now 2025-11-13 02:30:27 +13:00
8d3024b201 error message if script blocked 2025-11-13 02:05:51 +13:00
f4907a7b77 show captcha correctly if page unloads 2025-11-13 01:06:53 +13:00
5c3ff9b37c Fix tabs for jsonp 2025-11-08 13:43:12 +13:00
1dd90f5a7d Refactor jsonp js for cuteness 2025-11-05 16:35:17 +13:00
048709b2d1 fix cache control for jsonp.js 2025-11-05 00:06:49 +13:00
02848acfbb make sure it's a post 2025-11-04 23:56:32 +13:00
143fadcafb clear bogus log 2025-11-04 23:16:15 +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
443f1eecbc Add user agent and detect blocked pages 2024-10-23 22:52:00 +13:00
97c4e54f38 Fix Tardis Wiki metadata 2024-08-10 15:04:13 +12:00
8db91d5e32 Add Rainverse wiki redirect 2024-07-14 23:38:30 +12:00
1e3451a990 Add HELLMET wiki 2024-07-14 23:25:52 +12:00
778cf24957 Add Granblue redirect 2024-07-04 19:21:17 +12:00
49682b2320 Fix for Racket 8.13 2024-07-03 23:37:44 +12:00
8f0caa9132 Add Enter the Gungeon wiki.gg redirect 2024-07-01 02:46:02 +12:00
1ef184547b Allow minimising independent wiki notice 2024-07-01 02:28:17 +12:00
5672f46886 Add new independent wikis 2024-07-01 01:28:27 +12:00
755efe3cd6 Tabber code size and quality 2024-06-05 23:07:05 +12:00
47d92d3a37 Merge PR #15 2024-06-05 21:53:03 +12:00
2e0bd786ec add tardis 2024-06-05 21:50:09 +12:00
0fd0efc3f2 Use default siteinfo when online wiki not found 2024-05-04 18:01:50 +12:00
d2765c2a78 Fix duplicate params->query 2024-05-02 00:01:32 +12:00
7dff049ece Wrap all pages in response safety checker 2024-05-01 00:57:13 +12:00
6260ba809b Fix running out of file descriptors 2024-05-01 00:53:09 +12:00
b02e2a4053 Fix failing test after search was refactored 2024-01-10 11:21:42 +13:00
b8a6c5198d Fix more redirects in offline mode 2024-01-09 17:35:26 +13:00
0fed724604 Fix redirects to category pages in offline mode 2024-01-09 17:13:04 +13:00
3942350468 Fix error on a redirect page with no link
https://lists.sr.ht/~cadence/breezewiki-discuss/%3CCY2G0E3G55N3.ANW2QREUS5SO%40nixnetmail.com%3E
2024-01-09 16:41:48 +13: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
e5e3876254 Solr managed schema sucks 2023-12-06 16:02:43 +13:00
61c304cf41 Implement Solr search provider 2023-12-06 13:08:20 +13:00
4f4fe91466
Update URL of CLOCKUP WIKI 2023-11-29 22:07:32 +13:00
9773e62c46
Add better support for tabs
Some pages break without actual tab support, such as
https://breezewiki.com/ben10/wiki/Ultimatrix_(Original)#Modes

This change aims to work with old browsers (such as Firefox for Android 68)
and browsers with Javascript disabled (by showing all tab contents and hiding
the tab bar, i.e. how tabs work before this change).
2023-11-06 20:15:15 +11:00
b8ccd6cc3e
Improve theme layout on non-flex browsers 2023-10-03 18:54:07 +13:00
33591ce0a3
Add Minecraft to independent wikis 2023-09-26 00:51:55 +13:00
4b039cca5e
Explain how page-search works in the code 2023-05-27 23:48:08 +12:00
6fef9281c3
Move the semicolon fixing code again 2023-05-27 23:37:45 +12:00
2e292b4f80
Add Terraria Mods redirect 2023-05-18 00:30:37 +12:00
a1bba22054
Really fix semicolons in URL 2023-04-17 00:46:15 +12:00