Compare commits

..

19 Commits

Author SHA1 Message Date
f0c67ea5cc Use flask-login instead of client-side sessions for storing selected location and orders 2023-08-22 03:11:52 +02:00
844238690f Add flask-login 2023-08-22 02:29:07 +02:00
694507f7c1 Some doc stuff 2023-08-22 02:03:33 +02:00
2a51eec1c8 Add unitsLeft field to SearchResult type 2023-08-22 01:58:50 +02:00
29888851e7 Implement adding new inventory items 2023-08-21 19:40:44 +02:00
1f23ebfe2d fixup! Store location name, group name and tax group description in order 2023-08-21 14:45:45 +02:00
d6d8d7d6ca Store location name, group name and tax group description in order
Also delete compiled entry JS and add a Makefile
2023-08-21 14:45:45 +02:00
de427689f4 Restyle calculator 2023-08-21 14:45:45 +02:00
dd7288d1c2 Make it possible to delete orders from the cart 2023-08-21 14:45:45 +02:00
86828a67d0 Implement adding orders to the cart and viewing it 2023-08-21 14:45:45 +02:00
cb41e61c47 Make entry for submittable 2023-08-21 14:45:45 +02:00
8cb62dbacb Refactor calculator into its own module 2023-08-21 14:45:45 +02:00
d5ca5812a1 Implement price calculator 2023-08-21 14:45:45 +02:00
41a96b4ca2 Add note about entry.js to readme 2023-08-21 14:45:45 +02:00
89422aad2a Move around gross unit price input 2023-08-21 14:45:45 +02:00
f15a20589b Rewrite some of the grossUnitPrice stuff 2023-08-21 14:45:45 +02:00
4715a758a3 Refactor fronted somewhat 2023-08-21 14:45:45 +02:00
afd7e9369d First draft of elm frontend
This will probably be scrapped or rewritten
2023-08-21 14:45:45 +02:00
e9998b9e8e Remove old entry stuff 2023-08-21 14:45:45 +02:00

View File

@ -46,9 +46,6 @@ ssh -nNTvL 5432:fsmi-db.fsmi.org:5432 fsmi-login.fsmi.uni-karlsruhe.de
- [ ] etc. - [ ] etc.
- [ ] Make it print nicely - [ ] Make it print nicely
- [ ] Make it possible to edit entries - [ ] 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 - [ ] Improve project structure
- [ ] Use `flask.flash` for error messages - [ ] Use `flask.flash` for error messages
- [x] Implement item and snack entry as Elm application - [x] Implement item and snack entry as Elm application