Commit graph

31 commits

Author SHA1 Message Date
f0561bcd71
Remove pills introduced in previous commit 2021-06-21 02:08:32 +02:00
d7dc926992
Aggregate comments 2021-06-21 02:05:11 +02:00
f516ffe8c6
Don't crash when no user name 2020-08-26 19:30:00 +02:00
65ed818875
Start redesign of order page 2020-08-26 19:29:59 +02:00
redfast00
b1f3d786e8
Remove print statements polluting our logs 2020-08-21 21:02:21 +02:00
4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
1fa38d08c6
Sort comments in order views 2020-03-10 18:39:11 +01:00
aa331b6843
Fix error when anonymous name has accidentally been allowed to be None 2020-02-28 13:43:39 +01:00
04fb06d187
Use order.location_name instead of order.location.name 2020-01-27 22:59:07 +01:00
0e779e59b9
Use order.is_closed() 2020-01-27 03:52:29 +01:00
aa63023383
Improve order items page and other stuff 2020-01-27 03:46:05 +01:00
8ed38f178c
Fix and improve "ordered items" page 2020-01-27 03:01:49 +01:00
6f24b52855
Make creating order and adding items work 2020-01-27 02:33:55 +01:00
40170046c5
Make order_item.price nullable
There are some order items in the DB where product = NULL so price
cannot be defined for them.
2020-01-26 21:03:14 +01:00
7e476c39dc
Drop migration of "paid" to non-nullable
The DB contains NULLs here, and I'll just leave them be.
2020-01-26 19:48:31 +01:00
2313f0bcb5
Write migration -- don't run, not tested 2020-01-26 18:53:14 +01:00
6d7baa31ea
Final fixes before generating migration 2020-01-26 16:25:59 +01:00
9588116ba7
Fix data model before generating migration 2020-01-26 03:04:37 +01:00
e46d5e622e
Fix references to removed concepts
This will probably not work but it's a start and it was needed to get
the DB migrations running
2020-01-26 02:52:45 +01:00
ecb0550fdd
Update models 2020-01-26 02:39:58 +01:00
d564808417
Correct misspelled "courrier" to "courier" 2020-01-26 02:28:20 +01:00
f2c6ad9c89
Remove old, database-based models 2020-01-26 02:13:02 +01:00
Jan-Pieter Baert
8a0e6e3047
Merge branch 'master' into fix-pylint-formatting 2019-10-16 15:00:45 +02:00
0af72376a1
Increase line length limit to 100
Up from 80.
2019-09-12 20:53:26 +02:00
Jan-Pieter Baert
ec82639c5c
Fix pylint for models files 2019-09-12 20:50:17 +02:00
Jan-Pieter Baert
cff24dc096
Allow courrier to delete item in order 2019-09-12 18:42:29 +02:00
Jan-Pieter Baert
c64e4bd998
Run black and isort on all code 2019-09-08 02:04:34 +02:00
Jan-Pieter Baert
27cb10f745
Add typing to model files 2019-09-08 00:41:50 +02:00
mcbloch
d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch
ffa11a6a87
remove python 2, deprecated af 2019-08-31 00:50:01 +02:00
mcbloch
d0863325a5
Restructuring the codebase!
But for real, it's a real shitstorm in there.
- Added context by making the init go through a function
  and not implicitly happen via imports
- Fixup all context and contextless function mixups
- splitup the models in sensible different files
- give the dump of view functions in views/__init__.py their own file
- add all routes via blueprints, not half of them
- move the slack notifications function and class to its own file,
    no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00