Compare commits

..

20 Commits

Author SHA1 Message Date
b150801267 Use flask-login instead of client-side sessions for storing selected location and orders 2023-08-22 13:21:29 +02:00
28a58284a9 Add flask-login 2023-08-22 13:21:14 +02:00
d9114d21c7 Some doc stuff 2023-08-22 13:14:56 +02:00
2108ef2418 Add unitsLeft field to SearchResult type 2023-08-22 13:14:56 +02:00
a2d1d42362 Implement adding new inventory items 2023-08-22 13:14:56 +02:00
32bcb1b18a fixup! Store location name, group name and tax group description in order 2023-08-22 13:14:56 +02:00
1e4aadee06 Store location name, group name and tax group description in order
Also delete compiled entry JS and add a Makefile
2023-08-22 13:14:56 +02:00
a82e75999b Restyle calculator 2023-08-22 13:14:56 +02:00
7b95b69c7b Make it possible to delete orders from the cart 2023-08-22 13:14:56 +02:00
e0aef726bd Implement adding orders to the cart and viewing it 2023-08-22 13:14:56 +02:00
7707a9da6d Make entry for submittable 2023-08-22 13:14:56 +02:00
ca2e2e2e4a Refactor calculator into its own module 2023-08-22 13:14:56 +02:00
208cc54e53 Implement price calculator 2023-08-22 13:14:56 +02:00
f7dd572fe1 Add note about entry.js to readme 2023-08-22 13:14:56 +02:00
69dba202d0 Move around gross unit price input 2023-08-22 13:14:56 +02:00
3d6bd7bac5 Rewrite some of the grossUnitPrice stuff 2023-08-22 13:14:56 +02:00
0f9be13e31 Refactor fronted somewhat 2023-08-22 13:14:56 +02:00
be86248cce First draft of elm frontend
This will probably be scrapped or rewritten
2023-08-22 13:14:54 +02:00
01d060cf5f Remove old entry stuff 2023-08-22 13:14:15 +02:00
8c5b34073d Add note about unsafe client sessions 2023-08-21 16:05:28 +02:00

View File

@ -46,6 +46,9 @@ ssh -nNTvL 5432:fsmi-db.fsmi.org:5432 fsmi-login.fsmi.uni-karlsruhe.de
- [ ] etc.
- [ ] Make it print nicely
- [ ] Make it possible to edit entries
- [ ] Fix unsafe client-side sessions, either:
- [ ] Use `flask-session` for file-backed sessions
- [ ] Use `flask-login` with a single user stored in memory
- [ ] Improve project structure
- [ ] Use `flask.flash` for error messages
- [x] Implement item and snack entry as Elm application