Commit graph

60 commits

Author SHA1 Message Date
6afb01d3ee Fix search colours on Just Cause 3 2026-02-12 00:38:34 +13:00
085fe2adc5 clean up log 2025-11-23 03:02:39 +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
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
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
c4e2fb00ef only replace content so suggestions work 2025-11-05 00:04:19 +13:00
4f4c939631 also update document head 2025-11-04 23:35:58 +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
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
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
61c304cf41 Implement Solr search provider 2023-12-06 13:08:20 +13:00
2b3a8fe108
Fix scrolling to sections if a tab's hash coincides with one
ben10/wiki/Alien_X_(Classic)#Appearances
2023-11-13 14:35:35 +11:00
dcb8a8a590
Prevent making duplicate history entries 2023-11-06 20:31:20 +11:00
f5399524b1
Prevent linking to tabs with no IDs 2023-11-06 20:15:18 +11:00
ead6896818
Add the ability to specify/open the last open tab in the URL 2023-11-06 20:15:18 +11: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
61d2820342
fix some more play buttons on minecraft wiki 2023-06-17 00:16:11 +12:00
4336e4ab43
fix javascript audio buttons on hearthstone wiki 2023-06-17 00:09:59 +12:00
226bda5637
Allow preformatted blocks to scroll themselves 2023-03-14 00:42:16 +13:00
5fa6e2fb9e
Unlock search suggestions properly (real) 2023-02-10 23:53:38 +13:00
0b858cf426
Unlock search suggestions properly, possibly fix safari 2023-02-10 23:13:01 +13:00
7f85ce776b
Crawlers should not crawl theme switch buttons 2023-02-08 00:14:06 +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
99b5d8d8f6
Allow breaking lines in the URL in the footer 2022-12-04 23:55:18 +13:00
a661ddb313
Make the search box magically fit the space 2022-11-30 00:37:07 +13:00
9afccbb9cd
Support light/dark themes as per Fandom's styles 2022-11-30 00:03:54 +13:00
324e34eb72
Remove unused imports 2022-11-15 20:50:07 +13:00
bf6efde979
Add countdown timer for gacha enthusiasts 2022-11-15 20:46:56 +13:00
ac17f40329
Fix font local definitions (?) 2022-11-11 22:34:45 +13:00
b0e90f5cf9
Use Source Sans Pro font, selfhosted 2022-11-10 23:55:31 +13:00
1219334d06
New icon, specifically designed for small size 2022-10-31 20:03:50 +13:00
15b41c24f7
Add breezewiki-icon.svg 2022-10-31 00:00:07 +13:00
8b200d621a
Link out to NIWA's wikis where available 2022-10-30 23:15:26 +13:00
3c7a2f8453
Rewrite search suggestions module 2022-10-24 18:13:54 +13:00
07db44e732 Add search suggestions 2022-10-23 00:26:27 +13:00
82978e7c13
Remove table colour override
This is no longer necessary because the table colours are okay because
the page theme is now correctly set.
2022-09-17 22:34:44 +12:00
37318b8c50 Style updates
- Fix code block font
- Use sans-serif font (don't know how I missed this)
- Smaller font size on cell phones
2022-09-17 00:58:06 +12:00