Commit graph

97 commits

Author SHA1 Message Date
453570bdc9
Replace define-runtime-path with custom anytime-path function 2023-03-08 22:56:04 +13:00
e0fec5fa9c
Add bind_host setting requested by Artemis 2023-03-08 22:53:07 +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
c8401c972c
Extension now available on Chrome 2023-02-10 14:53:15 +13:00
4cbe6fe289
Remove stdout logging statement 2023-02-08 23:54:55 +13:00
de575d4e47
Update name of MediEvil Wiki 2023-02-08 23:41:02 +13:00
c3c4ea9e55
Add basic request logging, disabled by default 2023-02-08 23:15:13 +13:00
0ba20c9e38
Match style URLs better in style archive server 2023-02-08 19:44:32 +13:00
7f85ce776b
Crawlers should not crawl theme switch buttons 2023-02-08 00:14:06 +13:00
c0ccb7f3d1
Update browser extension URL 2023-02-07 00:28:02 +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
b8e5fb8dc5
nofollow to fandom.com (adding one that I missed) 2022-12-10 19:16:28 +13:00
31bac8ab56
nofollow to fandom.com 2022-12-10 18:57:05 +13:00
f216a1996a
Stop redirecting pages if there's a redirect=no parameter 2022-12-05 00:15:03 +13:00
9fd2b4699d
Optimise update-tree-wiki somewhat 2022-12-04 23:46:24 +13:00
ba3b39242c
Rename ref parameter to next_location 2022-12-04 23:44:35 +13:00
50a3bc819a
Fix tests by providing a fake req 2022-11-30 00:36:53 +13:00
9afccbb9cd
Support light/dark themes as per Fandom's styles 2022-11-30 00:03:54 +13:00
92591a5eab
Fix some special characters in titles like ? and ; 2022-11-17 23:25:06 +13:00
1c83c0b4d3
Support X-Canonical-Origin for instance admins 2022-11-15 22:21:12 +13:00
bf6efde979
Add countdown timer for gacha enthusiasts 2022-11-15 20:46:56 +13:00
ef12faf72d
Uncollapse more wiki sections 2022-11-15 20:45:44 +13:00
8c7a045830
NIWA notice: say brought to you by breezewiki 2022-11-13 22:52:29 +13:00
565d0a439a
Add types to Link header 2022-11-11 23:33:56 +13:00
cea9d2082b
Try to add Link header to preload resources 2022-11-11 23:08:06 +13:00
b0e90f5cf9
Use Source Sans Pro font, selfhosted 2022-11-10 23:55:31 +13:00
02819a7459
Allow searching for nothing on BreezeWiki homepage 2022-11-10 23:20:09 +13:00
aab52bd92b
Use <!DOCTYPE html> standards mode on all pages 2022-11-05 23:40:05 +13:00
1219334d06
New icon, specifically designed for small size 2022-10-31 20:03:50 +13:00
e812f2082c
Deduplicate body-class logic into head-data struct 2022-10-31 19:39:19 +13:00
645fe1beee
Search results page use query as title 2022-10-31 00:03:13 +13:00
63d37d5e4f
Fix: "Cache-busting" for static files 2022-10-30 23:56:25 +13:00
d3c5498d47
"Cache-busting" for static files 2022-10-30 23:51:15 +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
e709b3cea5
New configuration: feature_search_suggestions
Default true. Set this to false to disable search suggestions for the
whole instance.
2022-10-23 00:35:34 +13:00
07db44e732 Add search suggestions 2022-10-23 00:26:27 +13:00
71705d6e74
Fix used in links that have a namespace in file pages
Example: /ben10/wiki/File:OS_Timespan.png
fe60579a53/includes/Title.php (L1266)
2022-10-13 22:55:36 +13:00
722b0589cb
Update minimum wikiname length to 1
Example: https://m.fandom.com/no/wiki/Forside
2022-10-13 22:54:46 +13:00
9c05e95f07
Test for proxy links with class image 2022-10-13 22:53:05 +13:00
2e6fa6088b Proxy links with class image
Some images don't have an image-thumbnail class, for example:
https://breezewiki.pussthecat.org/minecraft/wiki/Enchanting%20Table#Usage
2022-10-13 09:46:17 +00:00
5b4efdd292
Add a funny redirect that I can make use of later 2022-10-13 22:40:14 +13:00
4968dc2a49
strict proxy false in test as requested by blankie 2022-10-10 22:54:05 +13:00
7a8a1cd40f
Remove noscript versions of images
Script versions are likely better quality, and BreezeWiki makes them
viewable without requiring scripts anyway.
2022-10-10 22:52:35 +13:00
58d6a652d8
Style tweaks to file page, add copyright notice 2022-10-10 21:59:33 +13:00
07074dccfc
Add support for File: pages
Fixes https://lists.sr.ht/~cadence/breezewiki-discuss/%3Cb2835a70-5118-4df0-90c9-4333486a4b69%40nixnetmail.com%3E
2022-10-09 22:11:53 +07:00
5813c49261
Refactor Referrer-Policy header
- Change the variable to always-headers so it can be extended in the future
- New function build-headers that assists combining complex logic headers
  together with less mess
- Also apply headers to the proxy
2022-10-09 23:45:55 +13:00
adc4b47b83 Set Referrer-Policy to no-referrer
Fandom sends a fake 404 to media if there's a Referer header that has an origin
that's not Fandom. However, we can choose not to send the header by setting
Referrer-Policy. See also:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
2022-10-09 10:45:48 +00:00
ade7878f7b
Redirect to actual wiki main page 2022-10-09 22:54:59 +13:00