Simon Bruder
bd1e7ad407
Add basic integration tests
/ build (push) Successful in 1m19s
2024-07-28 13:31:08 +02:00
Simon Bruder
79c4ab6c2b
Add unit tests for database::items
/ build (push) Successful in 5s
2024-07-27 20:45:30 +02:00
Simon Bruder
1e5f7930ab
Use clap for configuration
2024-07-24 16:44:29 +02:00
Simon Bruder
bcbb7dfc67
Add item state
2024-07-24 16:29: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