Commit Graph

400 Commits

Author SHA1 Message Date
Emmanuel Cazenave 4194e70213 translation update 2019-12-20 13:28:15 +01:00
Frédéric Péters c33860bb0b misc: remove usage of @python_2_unicode_compatible (#38665) 2019-12-20 13:08:04 +01:00
Frédéric Péters e7a4c7e671 misc: don't inclure prebuilt css (#38664) 2019-12-20 13:05:24 +01:00
Emmanuel Cazenave 7c6528f3b8 api: count correctly requested places on multiple booking (#38306) 2019-12-20 12:02:42 +01:00
Emmanuel Cazenave 5f40de6f79 tests: run completely multiple_booking_api_fillslots (#38559) 2019-12-20 12:01:05 +01:00
Emmanuel Cazenave 559452990c api: return 400 when no events found (#38333) 2019-12-20 11:53:56 +01:00
Emmanuel Cazenave c420dde65d api: accept slots as a string (#38333) 2019-12-20 11:46:10 +01:00
Emmanuel Cazenave 5f09ce7fdb api: return events details if multiple booking (#38330) 2019-12-20 11:14:29 +01:00
Lauréline Guérin 7a33c41586
agendas: refresh an exception source (#29209) 2019-12-20 10:59:21 +01:00
Lauréline Guérin 2aed92d132
agendas: delete an exception source (#29209) 2019-12-20 10:55:41 +01:00
Lauréline Guérin a5a8a3fe3d
agendas: add exception source model (#29209) 2019-12-20 10:54:30 +01:00
Frédéric Péters 30bbc8c90f general: reformat using black (#37464)
black--target-version py35 --skip-string-normalization --line-length 110 .
2019-12-16 16:24:38 +01:00
Frédéric Péters 30cb3f672f manager: use dedicated template for exception deletion confirm page (#38511) 2019-12-16 16:18:27 +01:00
Frédéric Péters 5bc475c663 tests: don't run migration tests with sqlite and newer django (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 95c09426c9 tox: avoid django-mellon 1.6 (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 56b133c7a7 misc: correctly reset current directory after translations (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 9a31e83d10 tox: enable tests against django 2.2 (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 63bff03a87 misc: update from fractions.gcd to math.gcd (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters 4f1761a1a2 misc: remove usage of six (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters 1db1486d58 misc: add new required renderer argument to render() (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters 3432648af7 tests: update API tests to work with latest django-webtest (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters fe7f3482c8 misc: update login/logout to be class based views (#36331) 2019-12-11 09:46:08 +01:00
Frédéric Péters 7810f16265 misc: update decorated_includes() for new django patterns (#36331) 2019-12-11 09:45:02 +01:00
Frédéric Péters bd6dbe50fd misc: get reverse{_lazy} from new django.urls module (#36331) 2019-12-11 09:45:02 +01:00
Benjamin Dauvergne 50c737f2b8 tox.ini: use latest pytest 2019-12-10 08:35:04 +01:00
Benjamin Dauvergne 58ff63572d Jenkinsfile: use mergeJunitResults() (#38315) 2019-12-09 15:38:03 +01:00
Frédéric Péters 5be7a36833 api: only use event slug in URLs when it is set (#38081) 2019-11-29 13:41:39 +01:00
Frédéric Péters 15b2b27986 migrations: fix typo 2019-11-27 15:18:15 +01:00
Frédéric Péters 69067a87a0 add missed migration (#37987) 2019-11-27 15:12:41 +01:00
Frédéric Péters b9c5fe3774 general: make event slugs optional (#37987) 2019-11-27 13:55:14 +01:00
Frédéric Péters a7da68f6a6 debian: don't timeout during service start (#37835) 2019-11-21 11:01:46 +01:00
Frédéric Péters aa3bd0e200 translation update 2019-11-20 20:30:11 +01:00
Lauréline Guérin 35dcc849df
api: return places info on fillslot api for an event agenda (#35297) 2019-11-19 16:31:56 +01:00
Lauréline Guérin ec2db025a2
requirements: use djangorestframework >= 3.4 2019-11-19 16:30:26 +01:00
Lauréline Guérin 7908d97ca0
time exceptions: add some details to the delete confirmation popup (#37419) 2019-11-19 15:01:12 +01:00
Lauréline Guérin fe8f29d4d4
agendas: slug unicity for Agenda, Desk and MeetingType (#34044) 2019-11-19 14:21:07 +01:00
Lauréline Guérin 3bf36a1617
api: return err_desc & reason in case of error (#24025) 2019-11-07 17:01:01 +01:00
Frédéric Péters 191f24c865 manager: add title to exceptions page (#37523) 2019-11-07 15:02:53 +01:00
Lauréline Guérin 49eff910c6
time exceptions: stay on exception list on delete (#19033) 2019-11-07 10:10:05 +01:00
Lauréline Guérin c6f418dd8e
time exceptions: paginated list of exceptions (#19033) 2019-11-07 10:10:05 +01:00
Lauréline Guérin b5ef493d77
time exceptions: never show past exceptions (#19033) 2019-11-07 10:10:05 +01:00
Lauréline Guérin 90dfb10afa
api: get event status and fillslot with event pk or slug (#15726) 2019-11-06 18:25:25 +01:00
Lauréline Guérin 0f4040f9a5
api: add a field 'slug' to Event (#15726) 2019-11-06 18:25:25 +01:00
Frédéric Péters befaa3b365 manager: fix alignments of opening hours in months with dst change (#37393) 2019-11-01 18:13:00 +01:00
Lauréline Guérin 968232d8b8
dj2: use settings.MIDDLEWARE (#37317)
RemovedInDjango20Warning:
Old-style middleware using settings.MIDDLEWARE_CLASSES is deprecated.
Update your middleware and use settings.MIDDLEWARE instead.
2019-10-29 15:42:30 +01:00
Lauréline Guérin 3c05e2d610
dj2: use django's LoginView (#37317)
RemovedInDjango21Warning:
The login() view is superseded by the class-based LoginView().
2019-10-29 15:42:30 +01:00
Lauréline Guérin 5aa4061c27
dj2: explicit on_delete on ForeignKey (#37317)
RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0. Set it to
models.CASCADE on models and in existing migrations if you want to maintain
the current default behavior.See https://docs.djangoproject.com/en/1.11/ref
/models/fields/#django.db.models.ForeignKey.on_delete
2019-10-29 15:42:30 +01:00
Lauréline Guérin fe29b96a4b
dj2: many-to-many assignment (#37317)
RemovedInDjango20Warning:
Direct assignment to the forward side of a many-to-many set is deprecated due
to the implicit save() that happens. Use groups.set() instead.
2019-10-29 15:42:30 +01:00
Lauréline Guérin 52ff4d1bb4
dj2: is_anonymous is now an attribute (#37317)
RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is
deprecated. Remove the parentheses to use it as an attribute.
2019-10-29 15:06:17 +01:00
Frédéric Péters c59b4b9e86 misc: add event descriptions to json export (#36591) 2019-10-02 18:21:46 +02:00