Commit graph

25 commits

Author SHA1 Message Date
Charlotte Van Petegem 1bc6a5931e
Order current user to the top for admins 2023-01-24 19:06:10 +01:00
Charlotte Van Petegem 1c0d78f2ee
Make sure only users with at least one association can create an order 2022-05-20 22:46:56 +02:00
mcbloch ae77adc54e Add flask factory to scope app variable 2022-04-19 23:59:23 +02:00
Jan-Pieter Baert e93460743a
Fix pylint on everything
Except hlds related files because that's a mess
2022-04-19 23:20:03 +02:00
Jan-Pieter Baert 5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
Midgard 0ab0824913
Remove disused labels 2020-09-26 00:30:40 +02:00
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Midgard 45a110db23
Add price range on location view 2020-02-29 21:56:04 +01:00
Midgard 729dab2ba4
Fix anonymous ordering and dish change 2020-02-26 21:25:51 +01:00
Midgard ccb034ef7f
Fix bug on anonymous order view
Change to temporary message
2020-02-26 18:10:09 +01:00
Midgard 1025ade758
Fix validation and saving for multi_choice, add price range 2020-02-24 00:31:14 +01:00
Midgard 513e495665
Add own logic and form elements
Bypass WTForms and use manually written <select> and all that.
2020-02-23 23:31:11 +01:00
Midgard f900c85931
Add form for choices, submitting fails 2020-02-21 18:38:30 +01:00
Midgard 6f24b52855
Make creating order and adding items work 2020-01-27 02:33:55 +01:00
Midgard d5bb14d3a5
Update views with HLDS models
Not expected to work yet, but if I don't do this generating migrations
gives errors.
2020-01-26 16:14:23 +01:00
Midgard d564808417
Correct misspelled "courrier" to "courier" 2020-01-26 02:28:20 +01:00
Jan-Pieter Baert 48641adf90
Fix pylint for Haldis 2019-09-12 20:53:25 +02:00
Jan-Pieter Baert 15794b06b7
Add typing to general app files 2019-09-08 01:58:21 +02:00
mcbloch d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch 0538c9f984
remove author variables 2019-08-29 15:58:15 +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
Feliciaan De Palmenaer 6abd9614ab Fix deprecations 2017-01-06 12:05:31 +01:00
Feliciaan De Palmenaer 4de65752ec Extras 2015-06-24 22:10:26 +02:00
Feliciaan De Palmenaer dd4754ec0d Updated forms and orders 2015-06-09 13:46:37 +02:00
James 6cb9bf067f This is really going to hurt 2015-03-31 20:15:22 +02:00