Commit graph

14 commits

Author SHA1 Message Date
6b176e3f8f
Migrate config.rkt to Typed Racket 2022-10-04 22:00:44 +13:00
ece762fc5b
Unify "out: <url>" logging to a function 2022-10-04 21:13:07 +13:00
3d8feaba9a
Warn if canonical_origin not present in production 2022-09-17 23:12:06 +12:00
4d8746e85e
Case insensitive environment variables 2022-09-17 22:55:25 +12:00
b57fd99c7d
Support environment variables for configuration 2022-09-17 22:51:42 +12:00
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
78399a3474
Add strict_proxy option to proxy links to images
Default true.
2022-09-08 00:16:24 +12:00
cc138a07aa
Rename config options to use underscores
Makes more sense for the INI.
2022-09-04 13:38:30 +12:00
fb00a2e443
More powerful static file handling 2022-08-31 00:45:37 +12:00
2af32edd8c
Pretty print config in debug mode 2022-08-30 22:13:26 +12:00
a5079b5a57
Refactor let to define where applicable
Racke style guide:
https://docs.racket-lang.org/style/Choosing_the_Right_Construct.html#%28part._.Definitions%29
2022-08-30 21:58:59 +12:00
b18a31df4a
Use ini for configuration 2022-08-24 20:59:11 +12:00
73a5cb68c5
Look for paths relative to source files 2022-08-24 13:23:46 +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