Commit graph

32 commits

Author SHA1 Message Date
ajuvercr cb2c9df23b render organizing group image by organizing_id, like zeus, from dsa thing 2022-04-19 21:18:51 +02:00
Midgard e82742eb62
Remove pills introduced in previous commit 2021-07-24 17:51:26 +02:00
Midgard 16bd9243d4
Aggregate comments 2021-07-24 17:51:26 +02:00
Midgard f516ffe8c6
Don't crash when no user name 2020-08-26 19:30:00 +02:00
Midgard 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
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Midgard 1fa38d08c6
Sort comments in order views 2020-03-10 18:39:11 +01:00
Midgard aa331b6843
Fix error when anonymous name has accidentally been allowed to be None 2020-02-28 13:43:39 +01:00
Midgard 04fb06d187
Use order.location_name instead of order.location.name 2020-01-27 22:59:07 +01:00
Midgard 0e779e59b9
Use order.is_closed() 2020-01-27 03:52:29 +01:00
Midgard aa63023383
Improve order items page and other stuff 2020-01-27 03:46:05 +01:00
Midgard 8ed38f178c
Fix and improve "ordered items" page 2020-01-27 03:01:49 +01:00
Midgard 6f24b52855
Make creating order and adding items work 2020-01-27 02:33:55 +01:00
Midgard 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
Midgard 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
Midgard 2313f0bcb5
Write migration -- don't run, not tested 2020-01-26 18:53:14 +01:00
Midgard 6d7baa31ea
Final fixes before generating migration 2020-01-26 16:25:59 +01:00
Midgard 9588116ba7
Fix data model before generating migration 2020-01-26 03:04:37 +01:00
Midgard 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
Midgard ecb0550fdd
Update models 2020-01-26 02:39:58 +01:00
Midgard d564808417
Correct misspelled "courrier" to "courier" 2020-01-26 02:28:20 +01:00
Midgard 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
Midgard 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