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
3a4a4c1cfa
Pass config to Runner
2023-08-08 23:43:54 +02:00
7e8fd7a9aa
Make Server fields private
2023-08-08 23:43:42 +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
4f69f5cb21
Set up runner subcommand
2023-08-07 14:54:47 +02:00
7635af88cd
Move util module to server module
2023-08-07 14:51:26 +02:00
6815c36f5b
Start server via subcommand
2023-08-07 14:49:09 +02:00
9bdfc79c8b
Restructure server around Server struct
2023-08-07 14:43:36 +02:00
45abda2b6d
Move server code into its own module
2023-08-07 14:23:47 +02:00
ad0c1a69cb
Move command line args to new file
2023-08-07 14:18:01 +02:00
246cbf82cf
Fix build script not using $OUT_PATH
2023-08-07 02:21:32 +02:00
794787a4be
Use same commit link style everywhere
2023-08-06 23:40:13 +02:00
2b81d497bc
Show individual tasks
2023-08-06 21:49:17 +02:00
84994ac347
Add special delta format case for 0
2023-08-06 21:23:52 +02:00
02b9468308
Always alternate queue priority background colors
2023-08-06 21:07:06 +02:00
ad5da60b5a
Show queued tasks
2023-08-06 20:48:50 +02:00
2c0a496897
Rename template struct for consistency
2023-08-06 19:33:16 +02:00
1eeee43f2c
Add queue tab
2023-08-06 19:23:22 +02:00
90a446a576
Group base template parameters
2023-08-06 18:33:50 +02:00
729b3ba672
Simplify template types
2023-08-06 18:33:50 +02:00
4f11b9c912
Insert new commits into the queue
2023-08-06 18:33:50 +02:00
553a56bb12
Rename db to util and use OffsetDateTime with sqlx
2023-08-06 17:41:07 +02:00
6fcd073738
Don't block tokio when collecting new commits
2023-08-06 15:00:11 +02:00
5709a69694
Shut down faster when receiving second SIGINT/SIGTERM
2023-08-06 14:10:18 +02:00
b8c3ce5d47
Order parents and children
2023-08-06 13:57:17 +02:00
520ee0f7da
Sort and count refs
2023-08-06 13:53:31 +02:00
72f762464d
Show all refs on index page
2023-08-06 13:45:16 +02:00
f080b0fe4c
Log occasionally when inserting lots of commits
2023-08-06 13:26:18 +02:00
0146bcb016
Get rid of repo module
2023-08-06 13:14:21 +02:00
2be929ec94
Rename field for consistency
2023-08-06 13:14:21 +02:00
dca83eed55
Show tracked refs from db
2023-08-06 13:14:21 +02:00
21d97a5bf4
Store all refs in the db
2023-08-06 12:59:15 +02:00
7768e4ad4b
Serve commit page entirely from the db
2023-08-06 11:53:48 +02:00
0d3cd15b03
Store more commit info in db
2023-08-06 10:47:45 +02:00
0f3cf296f1
Add todos
2023-08-06 03:00:06 +02:00
3be5673254
Remove whitespace at end of commit messages
2023-08-06 01:34:52 +02:00
d031eee14e
Grey out untracked children
2023-08-06 00:53:26 +02:00
b83d908d4b
Format author and committer time like git
2023-08-05 23:47:21 +02:00
128384bcf7
Add /commit/:hash page
2023-08-05 23:26:49 +02:00
965efa5b58
Add empty /commit/ page
2023-08-05 23:05:12 +02:00
eb29f1166a
Refactor formatting functions
2023-08-05 23:04:28 +02:00
755f23dbb9
Set page title properly
2023-08-05 21:33:46 +02:00
52e2d74b96
Make current tab bold
2023-08-05 21:17:46 +02:00
3b4d8dab72
List tracked refs on index page
2023-08-05 21:03:18 +02:00
2b4a5d4021
Add somehow::Error wrapping anyhow::Error
2023-08-05 20:42:08 +02:00
a5c0552341
Exclude hyper from normal-verbosity logs
2023-08-05 20:34:28 +02:00