Commit Graph

374 Commits

Author SHA1 Message Date
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
Emmanuel Cazenave cd7521a5ed jenkins: use ci@entrouvert.org for notifications 2019-10-02 13:42:19 +02:00
Frédéric Péters f95b3033e1 misc: ignore timezone offset when exporting events (#36408) 2019-09-24 16:03:43 +02:00
Frédéric Péters 268aca3d0f debian: bump dependency on hobo to have all python3 fixes 2019-09-18 14:30:48 +02:00
Frédéric Péters fef5d7c78d misc: run manage.py with python3 (#36224) 2019-09-18 14:17:20 +02:00
Frédéric Péters 62bc0ac403 debian: adjust parenthesis... (#36214) 2019-09-18 10:18:54 +02:00
Frédéric Péters d8cb61917c debian: don't use execfile() to load settings (python3) (#36214) 2019-09-18 10:03:52 +02:00
Frédéric Péters a2b0a427d6 translation update 2019-09-17 19:16:43 +02:00
Frédéric Péters a0da57e0f3 misc: add a description field to events (#36169) 2019-09-17 08:50:05 +02:00
Frédéric Péters 42a0998033 debian: mark dependency on a python3 really compatible hobo 2019-09-17 07:59:24 +02:00
Frédéric Péters 0c5df54ea4 debian: use sassc to build css files (#35496) 2019-09-13 09:32:08 +02:00
Frédéric Péters 97e9741641 debian: switch to Python 3 (#35492) 2019-09-13 09:32:08 +02:00
Frédéric Péters bdb4d985d6 manager: fix pluralization of imported agendas messages (#35571) 2019-08-26 16:08:53 +02:00
Frédéric Péters f5b09ae137 translation update 2019-08-21 16:49:03 +02:00
Frédéric Péters ad4c89821d debian: adjust version number in breaks/replaces relations 2019-08-20 22:34:41 +02:00
Frédéric Péters 20899511f6 debian: adjust break/replace for manage.py move 2019-08-20 22:24:33 +02:00
Frédéric Péters ae52a2a35e debian: distribute manage.py in chrono package 2019-08-20 21:55:06 +02:00
Benjamin Dauvergne 61e0c590b8 api: returns 400 on invalid fillslot's event_pk (#35451) 2019-08-20 19:32:01 +02:00
Serghei Mihai 2310528fc2 manager: fix import of utf-8 encoded events file (#35479) 2019-08-20 19:30:31 +02:00
Frédéric Péters 14d5615806 tox: limit django-jsonfield version for python2 2019-08-18 11:32:17 +02:00
Benjamin Dauvergne 7142c0eb42 manager: validate imported events (#35011) 2019-07-24 13:56:09 +02:00
Frédéric Péters ec54a71325 jenkins: add support for hotfix releases (#34485) 2019-07-02 14:25:07 +02:00
Thomas NOËL af3b8ffc44 api: allow empty cancel_booking_id (#33783) 2019-06-11 12:10:07 +02:00
Emmanuel Cazenave bb372f0ebe translation update 2019-06-03 19:28:05 +02:00
Emmanuel Cazenave bc2b972169 misc: use named arguments in format string (#33641) 2019-06-03 18:14:07 +02:00
Frédéric Péters 51e32f3799 manager: change agenda export to be downloaded by default (#33622) 2019-06-03 17:48:49 +02:00
Emmanuel Cazenave ab9ff7adf1 api: cancel a booking when making a new one (#33489) 2019-05-29 16:09:56 +02:00