Simon Bruder
026f13e7e0
Use clap for configuration
2024-07-24 12:20:22 +02:00
Simon Bruder
e83bc8316e
Move away from models and manage subpackage
...
This architecture was started when the project still used Diesel.
Now that it uses SQLx, less things are done in Rust and more are done in
SQL. This commit now moves more of the query logic into SQL, which
should lead to more efficient queries and less moving data around.
2024-07-24 12:19:55 +02:00
Simon Bruder
07a9a6f9f2
Use rust-embed for serving static files
2024-07-19 00:06:24 +02:00
Simon Bruder
35c287e082
Fix urlencoding when jumping to unknown ID
2024-07-19 00:06:18 +02:00
Simon Bruder
d4b0290bd4
Expose label generation to frontend
...
The javascript code is quite horrible, but it works ¯\_(ツ)_/¯
2024-07-19 00:06:18 +02:00
Simon Bruder
3a222986c1
Add authentication
2024-07-19 00:06:11 +02:00
Simon Bruder
882c9e8507
Include custom build of Iosevka
2024-07-19 00:06:07 +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
4f7d1808d4
Switch to maud for templating
2024-07-19 00:05:23 +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
775bc6ba9e
Add item classes
2024-07-11 01:16:37 +02:00
Simon Bruder
ac70a4c119
Add frontend prototype
2024-07-11 01:16:27 +02:00
Simon Bruder
83eaf1a5f5
Add static file serving
2024-07-11 01:16:04 +02:00
Simon Bruder
f4ba4e9733
Init
2024-07-11 01:16:00 +02:00