Commit graph

722 commits

Author SHA1 Message Date
453cacebd9
Add migration to add slug DB field to order 2022-05-25 10:29:48 +02:00
44feb1a4ff
Change forgotten order_id to order_slug in a few places 2022-05-25 10:29:46 +02:00
Charlotte Van Petegem
c04d9bbd44
Fix typing of associations in user model 2022-05-25 10:07:30 +02:00
Charlotte Van Petegem
4d9d43b0f0
Don't limit length (and fix migration) 2022-05-24 21:26:56 +02:00
redfast00
0a0d13c0dc
Merge pull request #189 from ZeusWPI/fix-float-deadline
Make deadline minutes integer instead of rounded float
2022-05-24 20:42:24 +02:00
redfast00
2c4a288d4e
Merge pull request #194 from ZeusWPI/chore/stamp-db-after-init
Make sure to stamp database at latest revision after setup
2022-05-24 20:36:52 +02:00
Charlotte Van Petegem
da1a708e28
List order association in admin view 2022-05-20 23:29:05 +02:00
Charlotte Van Petegem
d6d9d61f27
Remove some unused code 2022-05-20 23:21:11 +02:00
Charlotte Van Petegem
a077a8038a
Only list orders to users of its association 2022-05-20 23:15:45 +02: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
Charlotte Van Petegem
bbb38aa825
Make sure to stamp database at latest revision after setup 2022-05-20 21:59:51 +02:00
Charlotte Van Petegem
c43efa4b10
Migration 2022-05-20 21:34:18 +02:00
mcbloch
8a2b9247e1
initial work, model works, layout doenst 2022-05-20 21:02:24 +02:00
redfast00
25e2757461
Merge pull request #192 from ZeusWPI/chore/haldis-admins-not-admin-users
Change HALDIS_ADMIN_USERS configuration key to the one actually used
2022-05-20 20:44:32 +02:00
Charlotte Van Petegem
ab47c0a882
Change HALDIS_ADMIN_USERS configuration key to the one actually used 2022-05-20 19:32:59 +02:00
Maxime
f87f3c5446
Merge pull request #187 from ZeusWPI/feature/invitelink-token
Feature/invitelink token
2022-05-20 19:15:20 +02:00
mcbloch
a33c76f84b fix modify link 2022-05-20 19:14:10 +02:00
mcbloch
98214f8b84 Add share slug and qr code to order page 2022-05-20 19:04:25 +02:00
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
Maxime
fb3e7b95f1
Merge pull request #181 from ZeusWPI/feature/179
Update script to read admins from configuration file
2022-04-19 22:34:41 +02:00
Jan-Pieter Baert
d59ad9abba
Add readme documentation about the admin user 2022-04-19 22:34:16 +02:00
Jan-Pieter Baert
492d1ca91c
Update script to read admins from configuration file 2022-04-19 22:34:06 +02:00
Maxime
461664f629
Merge pull request #183 from ZeusWPI/fix/pylint
Fix pylint in haldis
2022-04-19 22:32:35 +02:00
Jan-Pieter Baert
781e4cd45b
Add requirements for running pylint 2022-04-19 22:05:38 +02:00
Jan-Pieter Baert
5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
Jan-Pieter Baert
1cdd22c1c0
Add fail-under to pylint 2022-04-19 22:03:34 +02:00
Maxime
33d2fe3b52
Merge pull request #182 from ZeusWPI/cleanup
Cleanup populate-db script
2022-04-19 21:35:38 +02:00