Commit graph

246 commits

Author SHA1 Message Date
5a4784be56 Create module for primitive types 2024-05-13 15:48:42 +02:00
bc8e2f46ab Rename util module to format 2024-05-13 15:39:17 +02:00
a525e58211 Restructure db schema
The "commit_links" table is now called "commit_edges".

There is now a "metrics" table that run measurements have a foreign key
to. This provides canonical metric metadata and will speed up the
initial graph page (before any real data arrives). For now, it will be
overwritten with each new run, but more nuanced config options may be
added later.
2024-05-13 15:27:17 +02:00
1bae83d116 Remove now unnecessary Base 2024-05-13 15:03:00 +02:00
eb1e82dae6 Port worker page to Page 2024-05-13 15:00:34 +02:00
a931f00df3 Port test page to Page 2024-05-13 14:59:17 +02:00
d7c6a5beee Port run page to Page 2024-05-13 14:57:47 +02:00
5c3ec1122e Port queue page to Page 2024-05-13 14:54:53 +02:00
8fe3fcad72 Always display nav bar 2024-05-13 14:51:08 +02:00
f532c55772 Port index page to Page 2024-05-13 00:37:28 +02:00
37b34aac37 Port graph page to Page 2024-05-13 00:35:10 +02:00
8047814894 Port commit page to Page 2024-05-13 00:32:47 +02:00
537419c251 Add Page struct, soon to replace Base 2024-05-13 00:29:43 +02:00
bb3d7b86f0 Replace link templates with functions
Now that HTML is just a Rust value, we can use normal Rust abstractions
for pretty much everything, which is nice. There's still a few parts I'd
like to clean up, but this is already a lot nicer.
2024-05-12 15:20:10 +02:00
cf96b72dfb Use extension trait for resolving paths 2024-05-12 15:20:10 +02:00
a2c2546c9d Remove axama completely 2024-05-12 15:20:10 +02:00
aed7498b29 Port worker page to maud 2024-05-12 15:20:10 +02:00
fb346a75d2 Port run page to maud 2024-05-12 15:20:10 +02:00
5d4232ac6b Port queue page to maud 2024-05-12 15:20:10 +02:00
b3f8c6390c Port index page to maud 2024-05-12 15:20:10 +02:00
ae81831bdd Port graph page to maud 2024-05-12 15:20:10 +02:00
67960e08fa Port commit page to maud 2024-05-12 15:20:10 +02:00
99576a9209 Sort paths alphabetically 2024-05-12 15:20:10 +02:00
cf590046e9 Use maud for test page
I want to replace askama with maud completely. It's so much nicer to be
able to use Rust code and abstractions (e.g. functions) to compose HTML
than using a bespoke templating system with weird inheritance and stuff.
Even though said template system is checked at compile time. Actually,
since it doesn't do hot reloading anyways, maud requiring a recompile
for changes to become visible doesn't make the situation worse.
2024-05-12 15:18:10 +02:00
3c86c4b337 Update gix 2024-05-11 18:32:09 +02:00
e68a53c608 Update env_logger 2024-05-11 18:32:09 +02:00
42d551eb6e Update axum 2024-05-11 18:30:23 +02:00
e2693242e5 Fix error if no config file exists 2023-10-24 00:27:03 +02:00
603e716638 Fetch and process commits 2023-10-23 22:16:53 +02:00
e1261aea96 Fix type of parentsByHash field 2023-10-23 22:16:30 +02:00
f77ed130e1 Implement placeholder server responses 2023-10-23 22:15:37 +02:00
9bc96f79af Remove trailing slash in internal measurements 2023-10-22 01:50:19 +02:00
d82804e209 Create metric selector via JS 2023-10-22 01:50:19 +02:00
064f5d11ec Run cargo fmt 2023-10-22 01:50:19 +02:00
de2992ff63 Document worker secret verification 2023-10-22 01:50:19 +02:00
c051e42c2e Log address that web server binds to 2023-10-22 01:50:19 +02:00
b587a87d50 Move /admin/repo/update to /admin/refs/update 2023-10-22 01:50:19 +02:00
2bf939186d Remove stddev and direction columns 2023-10-22 01:50:19 +02:00
3c4bbe3b6b Fix new commits not being added to the queue 2023-08-19 14:44:44 +02:00
7ecd812b11 Style graph 2023-08-18 02:57:39 +02:00
c83f193143 Truncate short commit links to 80 chars 2023-08-18 01:32:42 +02:00
153e891114 Don't fetch tags unless specified in refspecs 2023-08-18 01:14:30 +02:00
af159fcf07 Track only branches by default 2023-08-18 01:03:22 +02:00
7e0bf21223 Track and untrack refs 2023-08-18 01:03:14 +02:00
16859f5eb7 Remove resolved todos 2023-08-17 19:47:34 +02:00
4f641a7583 Pad local worker names 2023-08-17 19:42:02 +02:00
874ba5add6 Improve run insert performance 2023-08-17 19:37:30 +02:00
2d255f2e06 Fix runner counting files as directories 2023-08-17 19:37:30 +02:00
4478981946 Stop batch-add form being overwritten 2023-08-17 19:37:30 +02:00
fa9cf9d1c5 Avoid excessive amount of data in large repos 2023-08-17 19:37:30 +02:00