Simon Bruder
158bdde14f
fixup! WIP CI
/ build (push) Failing after 0s
2024-07-19 12:22:27 +02:00
Simon Bruder
b3dd1db2a1
WIP CI
2024-07-19 12:20:19 +02:00
Simon Bruder
abea41ebd0
Deny clippy warnings in pre-commit hook
2024-07-19 00:12:28 +02:00
Simon Bruder
8e61f34b3f
Allow displaying datalist hint as link
2024-07-19 00:07:15 +02:00
Simon Bruder
8aff438f98
Show counts for lists
2024-07-19 00:06:33 +02:00
Simon Bruder
4f169bc8fd
Add generating labels for direct children of item
2024-07-19 00:06:32 +02:00
Simon Bruder
cfaaa01fbf
Actually show full parents when requested
2024-07-19 00:06:31 +02:00
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
693fe68797
Extract label generation page action dropdown
2024-07-19 00:06:29 +02:00
Simon Bruder
7defae7931
Decouple item (class) form from model
...
This makes it possible to introduce form-only fields without affecting
the model.
2024-07-19 00:06:27 +02:00
Simon Bruder
e3cb717087
Autofocus jump input
2024-07-19 00:06:26 +02:00
Simon Bruder
b4f13741f7
Add OCI container output to flake
2024-07-19 00:06:25 +02:00
Simon Bruder
07a9a6f9f2
Use rust-embed for serving static files
2024-07-19 00:06:24 +02:00
Simon Bruder
c191872365
Add basic README
2024-07-19 00:06:24 +02:00
Simon Bruder
c33733c614
Allow generating label from item (class) page
2024-07-19 00:06:23 +02:00
Simon Bruder
b15a2e2885
Generalize PageAction to allow dropdown
2024-07-19 00:06:22 +02:00
Simon Bruder
a528b9fe44
Add description to item and item class
2024-07-19 00:06:21 +02:00
Simon Bruder
512cca854b
Allow InputGroup to be non-required
2024-07-19 00:06:20 +02:00
Simon Bruder
bd9a531dad
Configure API using proper function
2024-07-19 00:06:20 +02:00
Simon Bruder
092a01cdb2
Redirect to requested resource after login
2024-07-19 00:06:19 +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
c67e31fdc5
Add original packaging attribute to items
2024-07-19 00:06:17 +02:00
Simon Bruder
5d8884c11d
Show associated items on item class page
2024-07-19 00:06:16 +02:00
Simon Bruder
21cd61ea1d
Remove duplication in function names
2024-07-19 00:06:15 +02:00
Simon Bruder
7100c29dd3
Expose deletion in frontend
2024-07-19 00:06:14 +02:00
Simon Bruder
a07af2f2a9
Make page actions more configurable
2024-07-19 00:06:12 +02:00
Simon Bruder
3a222986c1
Add authentication
2024-07-19 00:06:11 +02:00
Simon Bruder
d4b2ecfcea
Set default log level to info
2024-07-19 00:06:10 +02:00
Simon Bruder
2618b00779
Display short ID on SII 650 Data Matrix label
2024-07-19 00:06:09 +02:00
Simon Bruder
d5fea320dd
Add branding to labels
2024-07-19 00:06:09 +02:00
Simon Bruder
e191ecbc95
label: Rename IdTextConfig to TextConfig
...
It is not specific to IDs.
2024-07-19 00:06:08 +02:00
Simon Bruder
882c9e8507
Include custom build of Iosevka
2024-07-19 00:06:07 +02:00
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
09dfac9104
Add quick jump feature
2024-07-19 00:06:05 +02:00
Simon Bruder
e40b5ba3bd
Add simple search for UUID references
2024-07-19 00:06:02 +02:00
Simon Bruder
1427ed9bf4
Add short id to item for usage with labels
2024-07-19 00:05:36 +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
7200aadff4
Improve page action display
2024-07-19 00:05:34 +02:00
Simon Bruder
e3b9b64a53
Improve checking of form with optional fields
2024-07-19 00:05:33 +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
c215b21869
Fix handling of input toggle on cached form
2024-07-19 00:05:30 +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