Commit graph

309 commits

Author SHA1 Message Date
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
5409e176b1 Update dependencies
I forgot to run cargo update when updating the dependencies yesterday.
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
36ce75b43d Reformat everything 2024-05-11 18:32:36 +02:00
93663fff8c Use prettier for most formatting 2024-05-11 18:32:09 +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
6029f44c67 Update most dependencies 2024-05-11 18:30:23 +02:00
42d551eb6e Update axum 2024-05-11 18:30:23 +02:00
766a36426b Add empty lines after shebangs 2024-05-11 18:30:23 +02:00
a4d9855f50 Remove unused import 2024-05-11 18:30:23 +02:00
d116950a93 Avoid metrics being entirely empty 2023-10-24 14:46:12 +02:00
6754b48e7d Create normal and day-equidistant commit date arrays 2023-10-24 14:24:58 +02:00
b8c0a2c82a Rewrite topo sort as reverse post-order DFS 2023-10-24 12:44:00 +02:00
8e95fa492f Silence warnings for unused static files 2023-10-24 10:31:01 +02:00
e2693242e5 Fix error if no config file exists 2023-10-24 00:27:03 +02:00
3458f38c96 Improve graph query performance 2023-10-23 22:48:35 +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
848c4ad019 Document commit ordering 2023-10-23 22:16:30 +02:00
c9ff8ab228 Request metrics again via state 2023-10-23 22:16:30 +02:00
f77ed130e1 Implement placeholder server responses 2023-10-23 22:15:37 +02:00
3dc54738fa Update metrics selector via State 2023-10-22 01:50:19 +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
8c7399725d Switch to ES2022
I looked through caniuse.com and it seemed like almost much all features
were supported by newer browsers. Curious to see whether this'll work
out or if everything will blow up at some point.
2023-10-22 01:50:19 +02:00
340f6026f3 Document plan for new graph implementation 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
0d48e0791b Update dependencies 2023-10-22 01:50:19 +02:00
ce331877a8 Remove flake and toolchain file
I want to use the latest rust version and at the moment, these are just
in the way. I'll figure out how to set up the flake again later.
2023-10-21 16:27:54 +02:00
37fc51fcca Improve graph endpoint performance 2023-08-30 21:44:22 +02:00