Commit graph

17 commits

Author SHA1 Message Date
61c304cf41 Implement Solr search provider 2023-12-06 13:08:20 +13:00
4b039cca5e
Explain how page-search works in the code 2023-05-27 23:48:08 +12:00
501dcaa3fc
Replace thread-let with thread-utils 2023-02-12 23:51:28 +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
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
645fe1beee
Search results page use query as title 2022-10-31 00:03:13 +13: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
59332fd9d1
Pass siteinfo through code; show sitename in title 2022-10-09 22:50:50 +13:00
9aba3ad432
Refactor siteinfo/license fetching 2022-10-09 20:54:49 +13:00
ece762fc5b
Unify "out: <url>" logging to a function 2022-10-04 21:13:07 +13:00
a9acfc34a2 Display correct license information 2022-09-17 01:56:03 +12:00
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
301636d597
Add homepage, architecture changes
* Create homepage
* Page data is automatically reloaded (except when compiling)
* Entrypoint is breezewiki.rkt for running and dist.rkt for compiling
* Include stack trace when sending error messages
2022-08-30 21:33:28 +12:00
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