paul
f0c67ea5cc
Use flask-login instead of client-side sessions for storing selected location and orders
2023-08-22 03:11:52 +02:00
paul
844238690f
Add flask-login
2023-08-22 02:29:07 +02:00
paul
694507f7c1
Some doc stuff
2023-08-22 02:03:33 +02:00
paul
2a51eec1c8
Add unitsLeft field to SearchResult type
2023-08-22 01:58:50 +02:00
paul
29888851e7
Implement adding new inventory items
2023-08-21 19:40:44 +02:00
paul
1f23ebfe2d
fixup! Store location name, group name and tax group description in order
2023-08-21 14:45:45 +02:00
paul
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
paul
de427689f4
Restyle calculator
2023-08-21 14:45:45 +02:00
paul
dd7288d1c2
Make it possible to delete orders from the cart
2023-08-21 14:45:45 +02:00
paul
86828a67d0
Implement adding orders to the cart and viewing it
2023-08-21 14:45:45 +02:00
paul
cb41e61c47
Make entry for submittable
2023-08-21 14:45:45 +02:00
paul
8cb62dbacb
Refactor calculator into its own module
2023-08-21 14:45:45 +02:00
paul
d5ca5812a1
Implement price calculator
2023-08-21 14:45:45 +02:00
paul
41a96b4ca2
Add note about entry.js to readme
2023-08-21 14:45:45 +02:00
paul
89422aad2a
Move around gross unit price input
2023-08-21 14:45:45 +02:00
paul
f15a20589b
Rewrite some of the grossUnitPrice stuff
2023-08-21 14:45:45 +02:00
paul
4715a758a3
Refactor fronted somewhat
2023-08-21 14:45:45 +02:00
paul
afd7e9369d
First draft of elm frontend
...
This will probably be scrapped or rewritten
2023-08-21 14:45:45 +02:00
paul
e9998b9e8e
Remove old entry stuff
2023-08-21 14:45:45 +02:00
paul
fe81014794
Print link with access token to stderr
2023-08-21 14:14:47 +02:00
paul
f308bca1fb
Use secrets instead of random to generate access token
2023-08-21 13:44:26 +02:00
Julian Keck
c6b518bd15
Merge pull request 'Token Auth' ( #2 ) from feature/auth-token into main
...
Reviewed-on: https://git.fsmi.org/paul/jon/pulls/2
2023-08-20 14:11:41 +02:00
paul
abaea8673a
Add template for unauthenticated response
2023-08-20 14:10:44 +02:00
paul
4f83ee3a40
Add a comment and code style stuff
2023-08-20 14:10:44 +02:00
paul
c453e923ae
Use session to store authentication info instead of cookie
2023-08-20 14:10:44 +02:00
Shirkanesi
bc9336ef21
Initial work on auth-tokens
2023-08-20 14:10:44 +02:00
Shirkanesi
541029a02d
Add common names for venv to gitignore
2023-08-20 14:10:41 +02:00
paul
04f832ac00
Add elm-stuff to .gitignore
2023-08-20 13:45:10 +02:00
paul
5551b6438a
Fix some report stuff
2023-08-18 11:29:04 +02:00
paul
1a34486a84
Update report
...
Report now has a 'total' column next to the 'inventory' column.
Also, for items that are not empty yet we use the current time instead of the most recent sale to estimate time until empty.
2023-08-18 00:14:11 +02:00
paul
53eb6a9fba
Fix ssh host in README
2023-08-18 00:12:42 +02:00
paul
243d91abb3
Add Python version note
2023-08-13 00:04:43 +02:00
paul
f666075f3e
Add some notes about setup and running jon
2023-08-11 14:53:04 +02:00
paul
2045496ef4
Move TODO to README
2023-08-11 14:39:49 +02:00
paul
fd02d162aa
Move Python code into repo root
2023-08-11 14:37:51 +02:00
paul
b729e91aaa
Remove Haskell code
2023-08-11 14:35:55 +02:00
paul
3ad649a402
Add /inventory/report route
2023-08-11 14:34:57 +02:00
paul
7c1e13e32e
Fix read_item view
2023-07-17 17:15:10 +02:00
paul
37179e65a1
Merge branch 'feature/entry'
2023-07-03 18:22:41 +02:00
BuildTools
73bebf0aec
Add configuration files
2023-07-03 18:22:14 +02:00
BuildTools
8fda78c466
Add transfer button
2023-07-03 18:22:14 +02:00
paul
9211d1f9b4
Add entry blueprint
2023-07-03 18:07:12 +02:00
BuildTools
38c827d0d8
Add configuration files
2023-06-30 17:37:09 +02:00
BuildTools
0f3416b49a
Add transfer button
2023-06-30 17:20:15 +02:00
paul
c44f11a686
Add smaller font size for print media
2023-06-30 16:19:59 +02:00
paul
58ed948975
Add inventory correction stuff
2023-06-30 09:52:53 +02:00
paul
bbd51978cb
Implement some more python features
2023-06-06 16:51:28 +02:00
paul
b886d71a0b
Add python
2023-05-17 12:43:43 +02:00
paul
e31017831a
Fix error
2023-03-10 18:49:52 +01:00
paul
b58efa1fc2
Delete old stuff from main
2023-01-06 01:41:56 +01:00