Commit graph

215 commits

Author SHA1 Message Date
6afb01d3ee Fix search colours on Just Cause 3 2026-02-12 00:38:34 +13:00
b061e04a3f fix safety limits 2025-12-31 19:29:53 +13:00
ad7d08e176 fallback to no banner if extwiki unavailable 2025-11-24 22:00:03 +13:00
085fe2adc5 clean up log 2025-11-23 03:02:39 +13:00
e04ff565ee add rudimentary up navigation 2025-11-23 03:00:44 +13:00
54eaf4186f provide way to access full results page 2025-11-23 02:03:20 +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
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
7b2f96eb03 jump to fragment 2025-11-15 14:28:09 +13:00
94cb54a712 don't squeeze text alongside infoboxes 2025-11-13 02:40:11 +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
b2fe4ec61a fix annotations on wikipedia links 2025-11-11 13:47:53 +13:00
de6233ad65 debounce enter in search (mobile) 2025-11-10 19:55:51 +13:00
7ba59b5d71 Better theme, better errors 2025-11-10 19:45:20 +13:00
0524e60d5d Update appearance of external links 2025-11-10 19:09:24 +13:00
c93c901ad3 Load first suggestion when pressing enter 2025-11-08 13:55:55 +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
c4e2fb00ef only replace content so suggestions work 2025-11-05 00:04:19 +13:00
02848acfbb make sure it's a post 2025-11-04 23:56:32 +13:00
4f4c939631 also update document head 2025-11-04 23:35:58 +13:00
143fadcafb clear bogus log 2025-11-04 23:16:15 +13:00
1c675d4873 update dist 2025-11-04 23:12:30 +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
14930f18dc Save even more vertical space 2024-07-01 02:32:39 +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
a52d131b93 Split massive uploads in Solr indexer 2024-01-11 22:36:16 +13: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