Commit graph

18 commits

Author SHA1 Message Date
6ed6ff1a36 Ensure base path always starts and ends with /
The base path is an absolute path, so it should always start with /.
Whenever it is used, it must also always be followed by at least one /,
so baking that into the value makes sense. Finally, we can now
deduplicate the / in case the base path is the root.
2023-08-10 21:03:25 +02:00
7338de98a5 Add web.runner_token and web.runner_timeout options 2023-08-10 17:50:23 +02:00
23ae5613c7 Add runner config options 2023-08-09 15:59:42 +02:00
9264e033fa Make config structs private 2023-08-09 15:18:47 +02:00
04212dff1c Make repo optional 2023-08-09 14:13:17 +02:00
a261bfdd26 Derive repo name based on repo path 2023-08-09 00:24:34 +02:00
6604cccf9e Restrict web server to localhost by default
While this is one more thing to configure when running tablejohn as a
web server, the overhead should be negligible if I provide an example
server config. Security trumps convenience - this time.
2023-08-09 00:03:45 +02:00
8b53a22b78 Make web server address configurable 2023-08-09 00:03:34 +02:00
afb7a94348 Reorder structs 2023-08-08 23:42:45 +02:00
26ee2ff019 Process config before using it 2023-08-07 15:08:02 +02:00
90a446a576 Group base template parameters 2023-08-06 18:33:50 +02:00
755f23dbb9 Set page title properly 2023-08-05 21:33:46 +02:00
2b4a5d4021 Add somehow::Error wrapping anyhow::Error 2023-08-05 20:42:08 +02:00
e17483b4d6 Set up base template 2023-08-05 14:22:31 +02:00
1b8f3c9bc1 Reorganize config file 2023-08-05 01:23:12 +02:00
980e84b0f6 Update repo repeatedly 2023-08-04 20:05:44 +02:00
a1d48f6fd3 Use more tracing features 2023-08-04 18:51:12 +02:00
4f7d4f3204 Load config from file 2023-08-04 17:21:59 +02:00