Commit graph

377 commits

Author SHA1 Message Date
redfast00 b1f3d786e8
Remove print statements polluting our logs 2020-08-21 21:02:21 +02:00
Midgard cd67eab29b
Remove colons after some titles
Some titles had a colon, some hadn't. Titles don't need colons.
2020-08-08 15:43:58 +02:00
Midgard 7464ee4ea4
Improve order and order item admin views 2020-07-29 23:26:47 +02:00
Midgard f6753172ec
Polish the admin interface a bit 2020-07-29 23:14:57 +02:00
Midgard aa1cd97773
Revert "Remove admin view"
This reverts commit a62e2bd9f7.
2020-07-29 21:01:47 +02:00
Midgard 84957f3175
Fix theme on order items page 2020-07-24 12:42:39 +02:00
Midgard 65fa6441b1
Remove incorrect comment
The comment says that mypy gives a "Missing return statement" but it
links to an issue on the mypy bug tracker about the same error message
reported after exhaustive enum matching. This is a completely different
situation, here the "Missing return statement" is warranted: this part
of the code is reachable so an explicit `return None` is wanted for this
function that returns an Optional.
2020-07-18 23:50:49 +02:00
Midgard 67df1cebff
Update link to zeus.gent and https 2020-07-18 20:09:03 +02:00
Midgard 2d3ae10f90
Better document Passenger file to avoid surprises 2020-07-18 04:14:32 +02:00
Midgard 8a01e74323
Fix Passenger startup script 2020-07-18 03:58:42 +02:00
Midgard dc1596ee71
Fix shadowed variable name 2020-07-18 03:38:55 +02:00
Midgard ff57afca9a
Fix themes 2020-07-18 03:29:27 +02:00
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Midgard fd5b432837
Make Airbrake/Errbit support optional 2020-07-17 11:06:37 +02:00
Midgard d904f3c562
Make Airbrake optional 2020-07-17 10:42:16 +02:00
Midgard 6282eed349
Improve app.py
It should always create and expose the app object for uWSGI.
2020-07-17 10:24:57 +02:00
Midgard 5d6db78e6e
Strip newline from HLDS data version 2020-06-22 19:05:49 +02:00
Midgard 1fa38d08c6
Sort comments in order views 2020-03-10 18:39:11 +01:00
Midgard 289b36b918
Correct timer behaviour, reload when time up 2020-03-05 00:40:16 +01:00
Midgard aba8301758
Better condition for moving price to options
There's no point in doing this for Ocean Garden's stuff that has a fixed
price.
2020-03-04 22:56:45 +01:00
Midgard 0f9a816eea
Make choice updating after dish change smoother 2020-03-04 22:35:55 +01:00
Midgard 54dc1f23bf
Show choices immediately when changing dish 2020-03-04 22:07:33 +01:00
Midgard b8eb40e448
Add JSON representation for dish 2020-03-04 21:04:16 +01:00
Midgard f60c1d180c
Stub for choice selection 2020-03-03 16:21:01 +01:00
Midgard c52ba3b6d9
Stop parsing names at comment marker 2020-02-29 22:26:17 +01:00
Midgard a860998858
Add choices to location view 2020-02-29 22:26:00 +01:00
Midgard 45a110db23
Add price range on location view 2020-02-29 21:56:04 +01:00
Midgard f2112ec26d
Restore form field location
Ugh, how did that happen
2020-02-29 20:04:14 +01:00
Midgard 13097b8156
Remove GitHub buttons script include
It has no purpose and is bad for privacy.
2020-02-29 17:39:28 +01:00
Midgard 04a1f0acb1
Rename from .min.css to .css
This file is not minified, so the .min.css is wrong.
Also remove the executable flag from some non-executable files.
2020-02-29 17:38:25 +01:00
Midgard b44d34003d
Make whitespace match convention
Convention according to our EditorConfig.
2020-02-29 17:37:33 +01:00
Midgard 172d5d1e08
Fix dish change detection once and for all 2020-02-29 15:40:14 +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 bba3a0cd3a
Fix bug in ordering 2020-02-27 11:21:16 +01:00
Midgard d9685b00d9
Fix stats view
Toss unused FatDish model.
2020-02-26 21:33:41 +01:00
Midgard 729dab2ba4
Fix anonymous ordering and dish change 2020-02-26 21:25:51 +01:00
Midgard e15b085006
Add message about options appearing on submit 2020-02-26 20:16:50 +01:00
Midgard ccb034ef7f
Fix bug on anonymous order view
Change to temporary message
2020-02-26 18:10:09 +01:00
Midgard 2892a7dc25
Add no_text options 2020-02-25 19:09:28 +01:00
Midgard 646858aac3
Populate HLDS data version field 2020-02-25 17:51:53 +01:00
Midgard a62e2bd9f7
Remove admin view 2020-02-25 17:51:14 +01:00
Midgard 38e10257d2
Drop product ID migration
Actually really really a lot of work and almost no benefit.
2020-02-25 16:29:43 +01:00
Midgard e54a89e12c
Change telephone to phone 2020-02-24 21:04:57 +01:00
Midgard 0bfcf658db
Allow multiple spaces after attribute in location header 2020-02-24 18:33:59 +01:00
Midgard 2b962e99d4
Eliminate excessive whitespace in options
These would show when editing the option by pressing backspace
2020-02-24 14:33:43 +01:00
Midgard 6495184af2
Fix appearance of multiselect 2020-02-24 14:32:11 +01:00
Midgard b8ac141310
Fix mistake in dish change detection
When the form is submitted, the URL has no dish parameter any more.
To fix this, add a hidden form field to say which dish the form was for.
2020-02-24 14:20:36 +01:00
Midgard 94d4a403cb
Fix price of common choices being inflated 2020-02-24 00:58:35 +01:00
Midgard 13560b04cd
Take into account price of options 2020-02-24 00:42:24 +01:00
Midgard 1025ade758
Fix validation and saving for multi_choice, add price range 2020-02-24 00:31:14 +01:00