Commit Graph

2564 Commits

Author SHA1 Message Date
tleb
b057dbfd60 Initial add account amount in eboutic 2019-10-18 21:41:39 +02:00
tleb
bddb88d97f Comment UV API and fix little bugs 2019-10-18 18:13:53 +02:00
tleb
dbe44a9c1c Fix hour count and submit button 2019-10-18 01:45:49 +02:00
tleb
eeb791c460 Initial autofill on UV 2019-10-18 01:28:59 +02:00
Sli
6d0eba6bcf Merge branch 'rework-front' into 'master'
Markdown widget follows the required attribute

See merge request ae/Sith!249
2019-10-17 14:47:56 +02:00
Sli
4d04b21f04 Merge branch 'cleanup-forms' into 'master'
Remove unused multiple-select library

See merge request ae/Sith!250
2019-10-17 14:46:02 +02:00
Sli
2f1b26053b Merge branch 'fix-news-form' into 'master'
Fix 500 when a news needs a start_date and/or end_date but we don't provide

See merge request ae/Sith!252
2019-10-17 14:42:41 +02:00
Sli
1848945d64 Merge branch 'bugfix' into 'master'
Fix huge permission problem inducing server memory leaks for etickets

See merge request ae/Sith!251
2019-10-17 12:36:57 +02:00
9278419345
core: rename GenericContentPermission into GenericContentPermissionMixinBuilder 2019-10-17 11:56:02 +02:00
566dcc7aee
counter: fix Selling view permission 2019-10-17 11:24:52 +02:00
a6088c0e4a
core: refactor permissions mixins 2019-10-17 11:24:51 +02:00
tleb
60c9498a56 Fix 500 on news creation/edition 2019-10-17 10:25:29 +02:00
241650c171
counter: fix eticket server crash induced by old permission system and fix Selling permission 2019-10-16 21:21:51 +02:00
811809895e
club: fix mailing list form that unexpectedly relied on try catch in permissions 2019-10-16 21:21:06 +02:00
fe9164bfef
core: don't use try/except to catch type of view in permissions mixins 2019-10-16 19:28:32 +02:00
tleb
ad3f003fbb Remove unused multiple-select library 2019-10-16 14:28:53 +02:00
tleb
7ecb057b68 Isolate easymde instances so that they can be referenced 2019-10-16 12:18:23 +02:00
tleb
e932abfa74 Prevent pressing submit if the Markdown widget is empty 2019-10-15 10:41:10 +02:00
tleb
0011f4c7b0 Only register onchange once the submit button has been pressed 2019-10-15 10:23:15 +02:00
tleb
13312e9879 Highlight a markdown input in red if required and submit is pressed
Kind of copy the behaviour of a Firefox input
Once the submit button has been pressed, highlight in red the text
input if it's required but empty
2019-10-15 09:54:10 +02:00
tleb
ced90c23db More JS-like, callback as last argument 2019-10-15 09:53:44 +02:00
Sli
42f5773f51 Merge branch 'fix-guy-feature' into 'master'
Fix the guyguy "feature" on the profile page

See merge request ae/Sith!248
2019-10-15 00:26:04 +02:00
Sli
b270c76249 Merge branch 'galaRequests' into 'master'
Some gala requests: new minor features

See merge request ae/Sith!247
2019-10-14 22:55:55 +02:00
tleb
34df825718 Fix the guyguy "feature" on the profile page 2019-10-14 23:49:32 +03:00
Cyl
aac4e3b99c Minor fix for requestGala 2019-10-14 00:32:11 +02:00
Robin Trioux
5a55a6c642 E-ticket link is sent in the email 2019-10-13 19:02:25 +02:00
Robin Trioux
65c3483c1f core:login allow the user to create an account when not logged 2019-10-13 18:43:30 +02:00
Sli
660a3161f5 Merge branch 'new_django' into 'master'
upgrade to django 2.2

See merge request ae/Sith!243
2019-10-12 23:19:26 +02:00
Sli
9e6c4b32e3 Merge branch 'bugfix' into 'master'
Fix error when editing poster while being admin

See merge request ae/Sith!245
2019-10-09 18:11:05 +02:00
25225fc451
com: fix error when editing poster while being admin 2019-10-09 17:43:23 +02:00
c3f2d0a134
django2.2: unlock djangorestframework version limit 2019-10-08 22:46:38 +02:00
cd2d3ee6b4
django2.2: fix tests for accounting 2019-10-08 22:46:38 +02:00
81fcf411c1
django2.2: forms fixs for new API 2019-10-08 22:46:38 +02:00
d7075eb762
django2.2: fix breaking change for getting uploaded files size 2019-10-08 22:46:38 +02:00
cf3f5ea60c
django2.2: fix django server crash because of breaking change in widget rendering method 2019-10-08 22:46:37 +02:00
59185ab2a8
django2.2: rewrite login and password stack because of removed API 2019-10-08 22:46:37 +02:00
a177fa8232
django2.2: replace deprecated base_name with basename in urls 2019-10-08 22:46:37 +02:00
308cf30a5a
django2.2: replace deprecated login view 2019-10-08 22:46:37 +02:00
99c8d95443
django2.2: remove direct assignments to many-to-many fields 2019-10-08 22:46:37 +02:00
97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts 2019-10-08 22:46:03 +02:00
90921fd4cd
django2.2: some migrations to make django happy 2019-10-08 22:46:03 +02:00
296cc4144c
django2.2: remove SessionAuthenticationMiddleware
See https://docs.djangoproject.com/en/2.2/releases/2.0/ for more details
2019-10-08 22:46:03 +02:00
f7548ab8d1
django2.2: add on_delete on migrations for OneToOneField 2019-10-08 22:46:03 +02:00
3cb306bc91
django2.2: add on_delete on migrations for ForeignKey 2019-10-08 22:46:03 +02:00
c20d5855e4
django2.2: remove view_page permission as it clash with built-in permission
Need a bit of discussion as I'm not an expert in django built-in permissions
An issue on github says it's related to https://docs.djangoproject.com/en/2.1/releases/2.1/#considerations-for-the-new-model-view-permission
2019-10-08 22:46:02 +02:00
00bd60ef4f
django2.2: add exception parameter in forbidden and not_found views 2019-10-08 22:46:02 +02:00
b8c7fb6f74
django2.2: adapt ChoiceField to the new API 2019-10-08 22:46:02 +02:00
df531198c9
django2.2: fix urls and adapt them to new format 2019-10-08 22:46:02 +02:00
12b6f0d488
django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
6cc234e8d3
django2.2: add default mandatory on_delete on OneToOneField 2019-10-08 22:46:02 +02:00