Commit graph

146 commits

Author SHA1 Message Date
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
a9acfc34a2 Display correct license information 2022-09-17 01:56:03 +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
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
33ee6a0624
Also display the content on category pages 2022-09-11 23:21:37 +12:00
4ad22ca9c1
Move syntax definitions to a new file 2022-09-11 19:38:20 +12:00
e4bc962b05
Link to automatic redirection tutorial on homepage 2022-09-11 19:05:34 +12:00
951a5fe651
Fix wiki home redirection 2022-09-09 23:41:49 +12:00
229ec1ee0c
Don't display new editor encouragement 2022-09-09 23:33:01 +12:00
660ec56e73
Mobile layout improvements
- Images must fit within the screen
- Attempt to make horizontal page footers vertical on mobile
2022-09-09 23:17:21 +12:00
62e1cb33c8
Prevent footer overlapping on mobile 2022-09-09 21:59:19 +12:00
31037c9852
fix previous commit 2022-09-09 16:24:26 +12:00
7a4bfe4180
Redirect /wikiname to its homepage 2022-09-09 15:42:20 +12:00
0a27f6d87f
Improve homepage, add testimonials 2022-09-08 14:50:29 +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
3505925f7e
Increase table font size 2022-09-05 23:50:52 +12:00
1f302b3a9e
Add a pokemon example to the front page 2022-09-05 13:38:30 +12:00
9b3cd6dbe7
Debug xexpr in page-wiki 2022-09-05 13:38:16 +12:00
44906015a5
Fix (& x) forms in update-tree 2022-09-05 13:34:16 +12:00
6be10ed319
Unify application footer 2022-09-05 01:58:45 +12:00
eabe699587
Properly detect whether the instance is official 2022-09-05 01:46:29 +12:00
68832059bd
Display canonical_origin on the home page 2022-09-05 01:45:42 +12:00
4815db4063
Dispatch based on Host header (subdomain support) 2022-09-05 01:32:45 +12:00
8a72003170
Only display footer in column if space's available
Otherwise it would cause an overflow e.g. on mobile
2022-09-04 23:52:36 +12:00
20a4043889
Simplify files even more
- breezewiki.rkt now always sets up the hot-reload watcher
- dispatcher logic moved to dispatcher-tree.rkt
- dispatcher-tree is a macro that doesn't care about the order of its forms
2022-09-04 22:13:36 +12:00
cc138a07aa
Rename config options to use underscores
Makes more sense for the INI.
2022-09-04 13:38:30 +12:00
a2ec8bb923
Fix image loading not working after a while
http-easy connections are pooled, and streaming responses does not
automatically close the response (they are closed automatically in
other situations). After 128 (the default) opened connections to fetch
images, the pool ran out of connections, and future attempts would
just time out waiting for a connection.

Fixed by manually closing the connection at the correct time.
2022-09-03 19:55:17 +12:00
3f1aeb8414
Show details about page-proxy http errors 2022-09-01 16:04:48 +12:00
e0e53cc07b
yeah I test my code, how could you tell? 2022-09-01 15:04:02 +12:00
9ee1c73b7e
Hosting generously provided by alphamethyl 2022-09-01 14:59:59 +12:00
556c74cc53
Remove unnecessary requires in page-proxy 2022-09-01 14:56:07 +12:00
13c1b0636b
In breezewiki.rkt, start server in thread
This allows inspecting the program state using
(enter! "breezewiki.rkt") in the REPL.
2022-09-01 14:55:25 +12:00
8754273acf
do not debug print 2022-08-31 00:48:01 +12:00
fb00a2e443
More powerful static file handling 2022-08-31 00:45:37 +12:00
50d944fb11
Add robots.txt 2022-08-31 00:45:12 +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
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
db4691f56c
Style tweaks
* Animated slots click smoother
* Tables are readable on dark themed wikis
* External links are indicated more reliably
2022-08-30 21:26:37 +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
8c65b2ed02
Add info.rkt with dependencies 2022-08-24 11:33:07 +12:00
1ae323fa5e
Move the startup file 2022-08-23 22:43:44 +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
a49a2bb46c
Empty commit 2022-08-23 21:54:40 +12:00