Commit Graph

36 Commits

Author SHA1 Message Date
blankie 3f94452de6
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-05-29 23:17:37 +07:00
Cadence Ember 040d9b94de
New option: promotions::indie_wiki_buddy 2023-04-16 00:05:54 +12:00
Cadence Ember d1c348a853
Make top banner less flashy, add to all instances 2023-03-21 00:02:16 +13:00
Cadence Ember 91a7439007
Fix yugioh wiki card pages (only half-fixed in offline environments) 2023-03-16 01:12:06 +13:00
Cadence Ember 501dcaa3fc
Replace thread-let with thread-utils 2023-02-12 23:51:28 +13:00
Cadence Ember c8401c972c
Extension now available on Chrome 2023-02-10 14:53:15 +13:00
Cadence Ember c3c4ea9e55
Add basic request logging, disabled by default 2023-02-08 23:15:13 +13:00
Cadence Ember 7f85ce776b
Crawlers should not crawl theme switch buttons 2023-02-08 00:14:06 +13:00
Cadence Ember c0ccb7f3d1
Update browser extension URL 2023-02-07 00:28:02 +13:00
Cadence Ember c7cce5479d
Create archiver and offline code handlers
Somewhat messy. Will clean up gradually in future commits.
2023-02-06 23:56:03 +13:00
Cadence Ember b8e5fb8dc5
nofollow to fandom.com (adding one that I missed) 2022-12-10 19:16:28 +13:00
Cadence Ember 31bac8ab56
nofollow to fandom.com 2022-12-10 18:57:05 +13:00
Cadence Ember 50a3bc819a
Fix tests by providing a fake req 2022-11-30 00:36:53 +13:00
Cadence Ember 9afccbb9cd
Support light/dark themes as per Fandom's styles 2022-11-30 00:03:54 +13:00
Cadence Ember bf6efde979
Add countdown timer for gacha enthusiasts 2022-11-15 20:46:56 +13:00
Cadence Ember 8c7a045830
NIWA notice: say brought to you by breezewiki 2022-11-13 22:52:29 +13:00
Cadence Ember cea9d2082b
Try to add Link header to preload resources 2022-11-11 23:08:06 +13:00
Cadence Ember aab52bd92b
Use <!DOCTYPE html> standards mode on all pages 2022-11-05 23:40:05 +13:00
Cadence Ember e812f2082c
Deduplicate body-class logic into head-data struct 2022-10-31 19:39:19 +13:00
Cadence Ember d3c5498d47
"Cache-busting" for static files 2022-10-30 23:51:15 +13:00
Cadence Ember 8b200d621a
Link out to NIWA's wikis where available 2022-10-30 23:15:26 +13:00
Cadence Ember 3c7a2f8453
Rewrite search suggestions module 2022-10-24 18:13:54 +13:00
Cadence Ember 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
Cadence Ember 07db44e732 Add search suggestions 2022-10-23 00:26:27 +13:00
Cadence Ember 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
blankie 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
Cadence Ember 59332fd9d1
Pass siteinfo through code; show sitename in title 2022-10-09 22:50:50 +13:00
Cadence Ember a9acfc34a2 Display correct license information 2022-09-17 01:56:03 +12:00
Cadence Ember 0172034319 Match original light/dark page theme reliably
- Use keyword parameters for generate-wiki-page
- Apply body classes (including page theme) from original source
2022-09-17 00:56:05 +12:00
Cadence Ember 33ee6a0624
Also display the content on category pages 2022-09-11 23:21:37 +12:00
Cadence Ember 7a4bfe4180
Redirect /wikiname to its homepage 2022-09-09 15:42:20 +12:00
Cadence Ember e6eabe9cf4
Proxy stylesheets too under strict_proxy
This also refactors the configuration system to use make-parameter,
because dynamic binding allows for testing code more easily.
2022-09-08 14:05:47 +12:00
Cadence Ember 6be10ed319
Unify application footer 2022-09-05 01:58:45 +12:00
Cadence Ember cc138a07aa
Rename config options to use underscores
Makes more sense for the INI.
2022-09-04 13:38:30 +12:00
Cadence Ember b18a31df4a
Use ini for configuration 2022-08-24 20:59:11 +12:00
Cadence Ember 80f03aac18
Initial commit
* Viewing for wiki pages
* Searches
* Categories
* Logo
* Image proxy
* Config loaded from config.txt
* AGPL 3 license
2022-08-23 22:15:24 +12:00