Commit graph

11 commits

Author SHA1 Message Date
Simon Bruder 5a247f823f
Implement actix Responder for Label 2024-07-19 00:06:06 +02:00
Simon Bruder d46a165a1a
Move inner label logic from api to label module 2024-07-19 00:06:06 +02:00
Simon Bruder 1427ed9bf4
Add short id to item for usage with labels 2024-07-19 00:05:36 +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 af2ce1e9b1
Add label printing 2024-07-11 01:16:39 +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