Commit graph

493 commits

Author SHA1 Message Date
mcbloch
7702fdecbe change url usage to unique 7char slugs 2022-05-20 19:04:22 +02:00
mcbloch
0e0771bae1 use a more common unicode arrow that can be found in more fonts 2022-05-20 18:17:34 +02:00
redfast00
749012140b
Make deadline minutes integer instead of rounded float 2022-05-11 18:33:34 +02:00
b5202a9de6
Don't crash when rendering None price 2022-05-11 02:43:08 +02:00
7b16a3b6c5
Don't crash when item.price is None 2022-05-11 02:35:45 +02:00
03f1e56161
Fix bug with form inside form 2022-05-02 22:25:06 +02:00
cf27a7de8a
For loops don't work in this template engine 2022-05-02 22:04:45 +02:00
a568103a60
You didn't see this 2022-05-02 22:00:37 +02:00
85d8892176
Hide buttons for which user has no permission 2022-05-02 21:56:38 +02:00
c35d107502
Merge branch 'payment' 2022-05-02 21:23:33 +02:00
mcbloch
dfbf1de5a1 wsgi is particular about the app object 2022-05-02 18:25:54 +02:00
mcbloch
fec9d660c3 Fix wsgi startup script for real 2022-05-02 18:21:27 +02:00
mcbloch
9c00fcc0cf Fix for wsgi startup script 2022-05-02 18:18:32 +02:00
mcbloch
2271b0427c Hotfix for create_database script 2022-05-02 14:16:20 +02:00
5a9d9c1d31
Update prices per person on key up
After user feedback
2022-04-22 01:25:01 +02:00
ced04acb2e
Remove TODO buttons 2022-04-22 01:19:11 +02:00
09e2d704cd
Add price editor 2022-04-22 01:19:07 +02:00
fc630e9061
Support marking items as paid 2022-04-20 18:09:45 +02:00
mcbloch
841c3d5fb8 add flag to disable microsoft login 2022-04-20 01:34:19 +02:00
mcbloch
da88d807d1 disable printing of user info 2022-04-20 01:28:48 +02:00
mcbloch
cc0c271a22 Add working microsoft login flow 2022-04-20 01:27:52 +02:00
Maxime
0ace54a8fd
Merge pull request #185 from ZeusWPI/fix/pylint
Fix pylint on everything
2022-04-19 23:59:47 +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
492d1ca91c
Update script to read admins from configuration file 2022-04-19 22:34:06 +02:00
Jan-Pieter Baert
5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
mcbloch
2123d7d1a3 fix the weird copying of files 2022-04-19 21:31:40 +02:00
redfast00
1f7ddcdb33
Rip out Airbrake 2022-01-26 07:51:45 +01:00
maartenvn
c5da63b23e fix(pwa): correct description & theme color 2021-10-28 23:52:21 +02:00
maartenvn
9e3578425f feat(pwa): add PWA support 2021-10-28 23:35:57 +02:00
4cbc4473de
Add custom item to each location 2021-09-15 21:14:21 +02:00
326b5d6b5f
Set secure and samesite 2021-07-24 17:51:26 +02:00
02a82621b7
Improve footer: improve spacing, https URL 2021-07-24 17:51:26 +02:00
adcc0dd69e
Confine li spacing to .main 2021-07-24 17:51:26 +02:00
4a96c0c286
Correct phone URL, add phone URL on location 2021-07-24 17:51:26 +02:00
e82742eb62
Remove pills introduced in previous commit 2021-07-24 17:51:26 +02:00
16bd9243d4
Aggregate comments 2021-07-24 17:51:26 +02:00
1ff8ceb521
Improve design
Remove main CSS from shop view page. Make it theme independent and
maximize contrast.

Improve spacing in "add item" list.

Refactor old term "showcase" to "shop_view" in code.
2021-07-24 17:51:25 +02:00
58d270e582
HLDS: change :: to double space and require it
Require double space before tags and price, like in the plain text
accounting format of ledger. This makes it easier to differentiate
between prices mentioned in descriptions and the price for the dish.
2021-07-24 17:51:25 +02:00
00cdc587b0
Add space at bottom in show view
On big orders the bottom of the page was awkward.
2021-07-24 17:51:25 +02:00
redfast00
90ea53d20e
Change komoot API from .de to .io 2021-07-24 17:45:19 +02:00
65d6de21fa
Change no courier text from "No-one" to "no-one yet" 2021-06-19 01:00:22 +02:00
redfast00
fad23fbeda
Add option to download menus, make DB creation easier 2020-12-04 20:21:12 +01:00
redfast00
f5a8303362
Don't crash when the theme does not have any options
Hotfix for prod, pushing straight to master
2020-12-04 05:17:34 +01:00
787669823c
Improve spacing between items in ordered dishes 2020-10-13 02:27:31 +02:00
695331dd1a
Fix margin in ordered dishes, less bold 2020-10-13 02:18:43 +02:00
342e94a7bf
Remove aligned price in menu and my_items 2020-10-13 02:10:45 +02:00
d3e6c1b08c
Use columns in order info faster, align prices in menu 2020-10-13 02:08:52 +02:00
c23a11bfdb
Fix flow quirks in "order information" section 2020-10-13 02:01:07 +02:00
8cefb48768
Collapse other dishes, save expanded dish in hash 2020-10-13 01:42:03 +02:00
17b3bc1c7a
Merge branch 'design' 2020-10-12 22:41:27 +02:00
837dc682bc
Tweak UI a bit after demo 2020-10-12 22:40:27 +02:00
6a052fae73
Take price of choice references into account 2020-09-26 01:10:37 +02:00
9641435b64
Add norobot tag on order pages 2020-09-26 00:39:50 +02:00
0ab0824913
Remove disused labels 2020-09-26 00:30:40 +02:00
7856302028
Improve order menu design 2020-09-25 21:12:41 +02:00
a841be3c48
Complete menu migration to separate repo 2020-09-25 19:48:25 +02:00
0b93307f1f
Fix mobile order page, show dish descriptions 2020-09-01 16:35:18 +02:00
6651a8d513
Show less TODOs on order page 2020-09-01 16:26:29 +02:00
8ccc508747
Tweak layout 2020-08-26 19:30:01 +02:00
f516ffe8c6
Don't crash when no user name 2020-08-26 19:30:00 +02:00
1bea3d2fcc
Show stop date if needed, change to "add from favourites" 2020-08-26 19:30:00 +02:00
48d67cbd89
Remove weird d from colours, add separate bg 2020-08-26 19:30:00 +02:00
f49952b4f2
Correct incorrect comment 2020-08-26 19:30:00 +02:00
63ce1c5551
Show options for choices on location page 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
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
7464ee4ea4
Improve order and order item admin views 2020-07-29 23:26:47 +02:00
f6753172ec
Polish the admin interface a bit 2020-07-29 23:14:57 +02:00
aa1cd97773
Revert "Remove admin view"
This reverts commit a62e2bd9f7.
2020-07-29 21:01:47 +02:00
84957f3175
Fix theme on order items page 2020-07-24 12:42:39 +02:00
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
67df1cebff
Update link to zeus.gent and https 2020-07-18 20:09:03 +02:00
2d3ae10f90
Better document Passenger file to avoid surprises 2020-07-18 04:14:32 +02:00
8a01e74323
Fix Passenger startup script 2020-07-18 03:58:42 +02:00
dc1596ee71
Fix shadowed variable name 2020-07-18 03:38:55 +02:00
ff57afca9a
Fix themes 2020-07-18 03:29:27 +02:00
4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
fd5b432837
Make Airbrake/Errbit support optional 2020-07-17 11:06:37 +02:00
d904f3c562
Make Airbrake optional 2020-07-17 10:42:16 +02:00
6282eed349
Improve app.py
It should always create and expose the app object for uWSGI.
2020-07-17 10:24:57 +02:00
5d6db78e6e
Strip newline from HLDS data version 2020-06-22 19:05:49 +02:00
1fa38d08c6
Sort comments in order views 2020-03-10 18:39:11 +01:00
289b36b918
Correct timer behaviour, reload when time up 2020-03-05 00:40:16 +01:00
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
0f9a816eea
Make choice updating after dish change smoother 2020-03-04 22:35:55 +01:00
54dc1f23bf
Show choices immediately when changing dish 2020-03-04 22:07:33 +01:00
b8eb40e448
Add JSON representation for dish 2020-03-04 21:04:16 +01:00
f60c1d180c
Stub for choice selection 2020-03-03 16:21:01 +01:00
c52ba3b6d9
Stop parsing names at comment marker 2020-02-29 22:26:17 +01:00
a860998858
Add choices to location view 2020-02-29 22:26:00 +01:00
45a110db23
Add price range on location view 2020-02-29 21:56:04 +01:00
f2112ec26d
Restore form field location
Ugh, how did that happen
2020-02-29 20:04:14 +01:00
13097b8156
Remove GitHub buttons script include
It has no purpose and is bad for privacy.
2020-02-29 17:39:28 +01:00
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
b44d34003d
Make whitespace match convention
Convention according to our EditorConfig.
2020-02-29 17:37:33 +01:00
172d5d1e08
Fix dish change detection once and for all 2020-02-29 15:40:14 +01:00
aa331b6843
Fix error when anonymous name has accidentally been allowed to be None 2020-02-28 13:43:39 +01:00
bba3a0cd3a
Fix bug in ordering 2020-02-27 11:21:16 +01:00