Commit graph

13 commits

Author SHA1 Message Date
Simon Bruder e40b5ba3bd
Add simple search for UUID references 2024-07-19 00:06:02 +02:00
Simon Bruder eb8b952ba0
Add useful page actions 2024-07-19 00:05:36 +02:00
Simon Bruder 39af06717a
Use owned strings for PageAction 2024-07-19 00:05:35 +02:00
Simon Bruder 06a1137377
Allow prefilling add forms 2024-07-19 00:05:32 +02:00
Simon Bruder 6d1fa56759
Make item group value owned string 2024-07-19 00:05:31 +02:00
Simon Bruder 4f230af334
Add creation date to allow consistent ordering 2024-07-19 00:05:29 +02:00
Simon Bruder 00d7647187
Switch to sqlx
While diesel has a native rust interface, writing more complex queries
is easier when you can just pass a SQL query string.
2024-07-19 00:05:26 +02:00
Simon Bruder b0f542077d
Show children in item class details 2024-07-19 00:05:25 +02:00
Simon Bruder 6251dea6a1
Simplify item class model
Whether an item class is generic or specific can be deduced from whether
a parent exists or not.

While the SQL migration (especially the down direction) is quite
complex, it simplifies the handling quite a bit.
2024-07-19 00:05:24 +02:00
Simon Bruder 4f7d1808d4
Switch to maud for templating 2024-07-19 00:05:23 +02:00
Simon Bruder 089657d5da
Show item class parent in listing 2024-07-11 01:16:42 +02:00
Simon Bruder 21c99a1677
Use diesel-async
This simplifies running queries, as it avoids having to use web::block
for everything.
2024-07-11 01:16:39 +02:00
Simon Bruder 775bc6ba9e
Add item classes 2024-07-11 01:16:37 +02:00