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
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
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
Aurélien Delobelle
525bb4d16d
kfet -- Fix available checkouts in K-Psul
...
The checkout validity is checked using the current datetime (when
requesting the kpsul page).
2018-01-15 17:03:57 +01:00
Aurélien Delobelle
e23e1bdba6
kfet -- Add test to check the choices of checkouts in K-Psul
...
Particularly, it adds a regression test for #184 .
2018-01-15 17:01:06 +01:00
Aurélien Delobelle
6059ca067b
Speed up tests
...
~20% less using MD5 and force_login in kfet testcase.
~77% less by disabling the debug tollbar.
2018-01-15 05:41:51 +01:00
Martin Pépin
79fccc136a
Merge branch 'master' into Kerl/tests
2018-01-10 20:21:38 +01:00
Ludovic Stephan
52fd49616d
Fix model test
2018-01-10 20:14:27 +01:00
Martin Pépin
5a5b60ec4d
Merge branch 'master' into Kerl/drop_py2_compat
2018-01-10 20:12:59 +01:00
Ludovic Stephan
501d592d2f
Merge branch 'master' into Aufinal/bda_fixes
2018-01-10 20:00:34 +01:00
Martin Pépin
91119f68bc
Ne pas oublier avant de passer en prod…
2018-01-10 17:34:41 +01:00
Aurélien Delobelle
44eee9be38
Merge branch 'aureplop/py34-compat' into 'master'
...
py34 compat
See merge request !279
2018-01-10 17:30:44 +01:00
Aurélien Delobelle
f58f120e7a
py34 compat
...
(already present in prod)
2018-01-10 17:25:07 +01:00
Martin Pepin
771b642a98
Merge branch 'aureplop/revente-reply_to' into 'master'
...
bda -- Set winner's email as Reply-to of the email…
Closes #179
See merge request !276
2018-01-07 16:03:20 +01:00
Martin Pépin
5086128f16
Fix ill-formed url in tests
2018-01-07 14:45:04 +01:00
Martin Pépin
c80e63415b
Load custommails before bda tests
2018-01-07 14:30:33 +01:00
Martin Pépin
e9b901337e
A few tests for BdA views
2018-01-07 13:35:23 +01:00
Martin Pepin
433b3f4716
Merge branch 'aureplop/1.11' into 'master'
...
Upgrade to Django 1.11
See merge request !275
2018-01-06 17:00:28 +01:00
Martin Pépin
62d8c2ffaf
remove @py2_unicode_compat + six
2018-01-06 16:10:13 +01:00
Martin Pépin
97eed06b6f
Remove builtins imports
2018-01-06 16:10:13 +01:00
Martin Pépin
57411ab46f
Remove __future__ imports
2018-01-06 16:10:13 +01:00
Martin Pépin
475f1adec5
Remove "coding: utf8" line
2018-01-06 16:10:13 +01:00
Ludovic Stephan
9a8773978c
Use new method in admin
2017-12-19 12:50:20 +01:00
Ludovic Stephan
1783196a9c
Management view only deals with Revente objects
...
Except for Revente creation, every form is now handled with revente
objects, to use the display option in the previous commit.
2017-12-19 12:41:50 +01:00