Martin Pepin
cadbd1b7c2
Merge branch 'elarnon/compat_fixes' into 'master'
...
Various fixes for Django 1.11
See merge request cof-geek/gestioCOF!294
2018-02-20 14:38:21 +01:00
Martin Pepin
746c5e2053
Merge branch 'elarnon/bash_set_e' into 'master'
...
Make provisioning script stop immediately on errors
See merge request cof-geek/gestioCOF!293
2018-02-20 14:36:28 +01:00
Basile Clement
6ecc9a54b3
Properly propagate the default number of places in tirage
...
Fixes #182 .
2018-02-11 19:24:01 +01:00
Basile Clement
3314670cab
Various fixes for Django 1.11
...
- The {% cycle %} command was used non-quoted arguments separated by
commas, while it is supposed to use quoted arguments separated by
spaces (I'm actually not sure how that ever worked :)
- django-bootstrap-form was at version 3.2.1 which is not compatible
with Django 1.11 (but also required by GestioCOF). I upgraded it to
version 3.3.
2018-02-11 19:09:07 +01:00
Basile Clement
ac1a57d969
Make provisioning script stop immediately on errors
...
By default, bash will ignore any failing commands and happily proceed to
execute the next ones. This is usually not the behavior the we want in
provisioning script (or ever in scripts, actually): if one step of the
provisioning fails, it doesn't make much sense to proceed with the
following ones.
This simple patch uses `set -e` to ask bash to abort the whole script if
any command within it fails, leading to outputs that are easier to parse
since the commands following a failing one will usually fail also,
hiding the root cause.
2018-02-11 17:01:26 +01:00
Martin Pepin
8f0eec0e88
Merge branch 'aureplop/cof-tests_survey' into 'master'
...
cof -- Add tests for survey views
See merge request cof-geek/gestioCOF!285
2018-02-06 13:48:46 +01:00
Martin Pepin
d88ce44989
Merge branch 'aureplop/fix-autocomplete-js' into 'master'
...
Fix autocomplete in registration views.
See merge request cof-geek/gestioCOF!288
2018-02-05 22:49:18 +01:00
Martin Pepin
c94a9ecb44
Merge branch 'aureplop/kfet_initial-statement' into 'master'
...
kfet -- Create initial statement on checkout save
See merge request cof-geek/gestioCOF!283
2018-02-05 22:42:04 +01:00
Martin Pépin
d57c75d2a0
Minor simplificatons after code review
2018-02-05 22:36:08 +01:00
Martin Pepin
a3295ca6a3
Merge branch 'aureplop/fix-184' into 'master'
...
Fix available checkouts in K-Psul
Closes #184
See merge request cof-geek/gestioCOF!282
2018-02-05 22:35:04 +01:00
Martin Pepin
09433f6f15
Merge branch 'aureplop/speed-up-tests' into 'master'
...
Speed up tests in dev (×40)
See merge request cof-geek/gestioCOF!281
2018-02-05 22:18:52 +01:00
Martin Pepin
8c68270a4d
Merge branch 'aureplop/Kerl/drop_py2_compat' into 'Kerl/drop_py2_compat'
...
Py3 allows to shorten super()
See merge request cof-geek/gestioCOF!284
2018-02-05 22:14:04 +01:00
Evarin
63ce694b4d
Fix dependency
2018-02-03 22:39:50 +01:00
Evarin
59116f2d46
International wagtail urls
2018-02-03 22:34:37 +01:00
Evarin
88e911ff9d
Fixtures mises à jour
2018-01-28 23:45:46 +01:00
Evarin
ba87044638
Calendrier dynamique + sympa + jolies dates
2018-01-28 23:44:48 +01:00
Evarin
f8952225d6
Apparence et Responsiveness
2018-01-28 19:10:14 +01:00
Evarin
c11ccf2ecc
Tri des annuaires
2018-01-28 19:09:35 +01:00
Aurélien Delobelle
afa6972280
Better handling of non-authorized users in config edition view
2018-01-22 21:59:41 +01:00
Aurélien Delobelle
0235c4f7e8
Fix profile edition view
...
- Fix a typo.
- Bump version of django-bootstrap-form to be comaptible with Django
1.11.
2018-01-22 21:59:41 +01:00
Aurélien Delobelle
f8361b9114
Add & fix urls naming
2018-01-22 21:59:41 +01:00
Aurélien Delobelle
0876a004e5
Name urls of export views (cof members, mega)
2018-01-22 21:59:41 +01:00
Aurélien Delobelle
91162addb9
cof -- Add tests for some views
2018-01-22 21:59:41 +01:00
Aurélien Delobelle
bd89dce11d
Add testing helpers to create superuser
2018-01-22 21:38:01 +01:00
Evarin
8488beeb4e
Un seul modèle pour les actus
2018-01-22 21:24:20 +01:00
Aurélien Delobelle
a813507ddd
Name urls of export views (cof members, mega)
2018-01-22 14:59:57 +01:00
Aurélien Delobelle
f371606cdb
cof -- Add tests for export views
2018-01-22 14:58:38 +01:00
Aurélien Delobelle
80ca35a4c0
Add helper to check HttpResponse containing csv
2018-01-22 14:49:02 +01:00
Aurélien Delobelle
38539a9d53
Name url to export calendar to ical
2018-01-21 18:19:43 +01:00
Aurélien Delobelle
acf284862a
Users should be able to refuse to subscribe to shows and events
2018-01-21 18:17:27 +01:00
Aurélien Delobelle
2e6a54c7db
cof -- Add tests for calendar views
2018-01-21 18:17:26 +01:00
Aurélien Delobelle
7e0ecd8e0f
Add assertion to check ical data is as expected
2018-01-21 18:17:26 +01:00
Aurélien Delobelle
bbe46645f7
cof -- Fix the club list view
2018-01-20 22:24:25 +01:00
Aurélien Delobelle
a5071aa257
cof -- Add tests for club views
2018-01-20 22:24:13 +01:00
Evarin
8551ffcfd3
Merge branch 'master' into evarin/site-cof
2018-01-20 19:37:12 +01:00
Evarin
ea495e8f29
Archives beta
2018-01-20 19:33:50 +01:00
Aurélien Delobelle
4084444dc3
Fix autocomplete in registration views.
...
django-autocomplete-light v3.x doesn't include anymore the
$('').yourlabsAutocomplete() function, leading to issues in cof
registration and kfet account creation views.
Adding jquery-autocomplete-light fixes these issues.
See:
- (dal) https://github.com/yourlabs/django-autocomplete-light
- (jal) https://github.com/yourlabs/jquery-autocomplete-light
2018-01-20 17:29:15 +01:00
Aurélien Delobelle
7bf2f73e72
Merge branch 'aureplop/cof_tests' into aureplop/cof-tests_registration
2018-01-20 17:02:54 +01:00
Aurélien Delobelle
c239f28f17
syncmails should be able to be silent
2018-01-20 17:02:23 +01:00
Aurélien Delobelle
0921f32e4c
cof -- Fix urls naming related to registration
2018-01-20 16:17:57 +01:00
Aurélien Delobelle
7160a9c954
cof -- Add tests for registration views
2018-01-20 16:14:55 +01:00
Aurélien Delobelle
dfb9ccb0af
Fix use of Widget.build_attrs in TriStateCheckbox
...
Signature changed in Django 1.11.
2018-01-19 18:41:06 +01:00
Aurélien Delobelle
a6f52cfdc5
cof -- Fix urls naming in event template
2018-01-19 18:38:34 +01:00
Aurélien Delobelle
f5b280896f
cof -- Add tests for event views
2018-01-19 18:36:03 +01:00
Aurélien Delobelle
ce73499077
Fix use of Widget.build_attrs in TriStateCheckbox
...
Signature changed in Django 1.11.
2018-01-19 18:15:57 +01:00
Aurélien Delobelle
8675948d9e
cof -- Fix urls naming in survey templates
2018-01-19 18:01:36 +01:00
Aurélien Delobelle
57de31d59a
cof -- Add tests for survey views
2018-01-19 17:57:43 +01:00
Aurélien Delobelle
776ff28141
cof -- Add helpers to test cof views.
2018-01-19 17:52:08 +01:00
Aurélien Delobelle
42e762bc4a
Py3 allows to shorten super()
2018-01-16 16:50:27 +01:00
Aurélien Delobelle
478f56d94b
kfet -- Create initial statement on checkout save
...
- Why? Because it should be the actual behavior.
- To allow using arithmetic operations with values of DecimalField when
object are not retrieved from DB, some strings are replaced by Decimal
or int.
If you wonder why it's not automatically done, see:
https://code.djangoproject.com/ticket/27825
2018-01-16 16:49:02 +01:00