Commit graph

17 commits

Author SHA1 Message Date
Simon Bruder b55c8373d3
Fix item order in get_parents_details 2024-07-19 00:06:31 +02:00
Simon Bruder 125627d7d2
Allow batch adding items 2024-07-19 00:06:30 +02:00
Simon Bruder a528b9fe44
Add description to item and item class 2024-07-19 00:06:21 +02:00
Simon Bruder c67e31fdc5
Add original packaging attribute to items 2024-07-19 00:06:17 +02:00
Simon Bruder 09dfac9104
Add quick jump feature 2024-07-19 00:06:05 +02:00
Simon Bruder 1427ed9bf4
Add short id to item for usage with labels 2024-07-19 00:05:36 +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 5147257e72
Show direct children for item 2024-07-11 01:16:44 +02:00
Simon Bruder b736eba0a0
Show parent hierarchy in item list and details 2024-07-11 01:16:43 +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 7b47d89666
Add deletion to API
It is not yet exposed to the frontend.
2024-07-11 01:16:38 +02:00
Simon Bruder 775bc6ba9e
Add item classes 2024-07-11 01:16:37 +02:00
Simon Bruder ffddf2ba00
Add parent to item 2024-07-11 01:16:35 +02:00
Simon Bruder f0037b13f8
Add item update functionality 2024-07-11 01:16:34 +02:00
Simon Bruder f4ba4e9733
Init 2024-07-11 01:16:00 +02:00