Commit graph

706 commits

Author SHA1 Message Date
0bdb17277f
Improve Prima Donna 2020-02-25 18:26:41 +01:00
646858aac3
Populate HLDS data version field 2020-02-25 17:51:53 +01:00
a62e2bd9f7
Remove admin view 2020-02-25 17:51:14 +01:00
d911cb573b
Add veggie in name of Fritoloog dishes
While tags are not yet supported, this is useful.
2020-02-25 16:43:57 +01:00
38e10257d2
Drop product ID migration
Actually really really a lot of work and almost no benefit.
2020-02-25 16:29:43 +01:00
57d65661de
Correct small typos in Prima Donna 2020-02-25 00:24:12 +01:00
Jan-Pieter Baert
ea06fe72e2
Add primadonna 2020-02-24 22:57:11 +01:00
Jan-Pieter Baert
825521867e
Update fritoloog 2020-02-24 22:32:58 +01:00
5c08ecca1b
Rename VS Code syntax directory 2020-02-24 21:59:45 +01:00
aa139d0d21 Merge branch 'hlds' into 'hlds'
HLDS syntax highlighter for VS Code

See merge request midgard/haldis!2
2020-02-24 21:53:11 +01:00
841f98bd51
Add HLDS documentation 2020-02-24 21:05:15 +01:00
e54a89e12c
Change telephone to phone 2020-02-24 21:04:57 +01:00
ajuvercr
5c20226b59 better deps 2020-02-24 21:01:02 +01:00
ajuvercr
b9fc1f2754 add hlds vs code syntax highlighting 2020-02-24 20:47:21 +01:00
0bfcf658db
Allow multiple spaces after attribute in location header 2020-02-24 18:33:59 +01:00
2b962e99d4
Eliminate excessive whitespace in options
These would show when editing the option by pressing backspace
2020-02-24 14:33:43 +01:00
6495184af2
Fix appearance of multiselect 2020-02-24 14:32:11 +01:00
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
94d4a403cb
Fix price of common choices being inflated 2020-02-24 00:58:35 +01:00
13560b04cd
Take into account price of options 2020-02-24 00:42:24 +01:00
1025ade758
Fix validation and saving for multi_choice, add price range 2020-02-24 00:31:14 +01:00
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
f900c85931
Add form for choices, submitting fails 2020-02-21 18:38:30 +01:00
91e76c2b45
Improve location view 2020-02-18 19:33:52 +01:00
04fb06d187
Use order.location_name instead of order.location.name 2020-01-27 22:59:07 +01:00
85f36a8fe4
Remove crippling downgrade code 2020-01-27 22:03:15 +01:00
5049382bf1
Add proxy script: python modules are annoying 2020-01-27 19:36:27 +01:00
2db02b9326
Parse incorrect attributes but semantic error 2020-01-27 19:15:24 +01:00
6768a35808
Improve spacing on "ordered items" page 2020-01-27 05:32:59 +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
0e7675cec6
Add wok number in Ocean Garden menu 2020-01-27 01:05:31 +01:00
161a5031e5
Update location views 2020-01-27 00:57:51 +01:00
3380d790bc
Store attributes directly on model instead of in map 2020-01-27 00:48:26 +01:00
b7cc2048d6
Forbid tags and price on choice blocks 2020-01-27 00:26:51 +01:00
ad9b55fa4b
Correct Ocean Garden menu 2020-01-27 00:26:32 +01:00
fb9b0d7960
Rename "base" to "dish" 2020-01-26 23:51:29 +01:00
b1d0c3e004
Finish working migration! 2020-01-26 23:40:43 +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
285d4223e2
Update migration README 2020-01-26 19:39:35 +01:00
4b99eff7c8
Put migration table in migration to avoid import troubles 2020-01-26 19:39:21 +01:00
2313f0bcb5
Write migration -- don't run, not tested 2020-01-26 18:53:14 +01:00
ecaff42ba4
Generate migration -- do not run in production
This is the migration that was automatically generated. If you run this
version, historical data WILL be corrupted beyond repair.
2020-01-26 16:32:37 +01:00
6d7baa31ea
Final fixes before generating migration 2020-01-26 16:25:59 +01:00
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
238c841239
Add location's attributes in Location.str 2020-01-26 15:40:04 +01:00
9494886965
Fix error in grammar that made some comments illegal
The comment in this location header should be supported, but wasn't:

=============================================
fitchen: Fitchen
	osm https://www.openstreetmap.org/node/3394542496
	# Menu: https://www.fitchen.be/wp-content/uploads/2019/12/FITCHEN_gids_02122019_3web.pdf
=============================================
2020-01-26 15:30:32 +01:00