Commit Graph

279 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 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 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 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
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 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 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
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
Benjamin Dauvergne 7142c0eb42 manager: validate imported events (#35011) 2019-07-24 13:56:09 +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
Frédéric Péters aeea3b78d6 misc: include URL in sync exceptions errors (#32975) 2019-05-18 16:16:30 +02:00
Frédéric Péters 34e8c83106 manager: use same order of shared for every weeks (#31470) 2019-05-17 09:34:28 +02:00
Frédéric Péters c3373ae379 api: format dates in fillslot response (#33151) 2019-05-17 09:34:28 +02:00
Frédéric Péters cdb90482c3 manager: allow CSV file to be iso-8859-15 (#25984) 2019-04-04 10:46:40 +02:00
Frédéric Péters 5525766c9f translation update 2019-03-24 15:45:38 +01:00
Serghei Mihai 0cfa22dbc0 agendas: add new booking's label attribute for user presentation purposes (#25820)
Use the new label in ICS summary
2019-03-21 12:02:04 +01:00
Frédéric Péters 28e4b19245 manager: remove row spacing in month view to fix slot alignment (#31469) 2019-03-17 15:17:28 +01:00
Frédéric Péters 3cc8e5d690 misc: remove comments with old attribute value (#31421) 2019-03-17 15:17:28 +01:00
Frédéric Péters 4e1f9f3f4e manager: check time period start/end are in correct order (#31418) 2019-03-17 15:17:28 +01:00
Frédéric Péters 18cca83798 manager: use brighter green for opening hours (#24030) 2019-03-06 13:53:34 +01:00
Frédéric Péters 86e763f8cc manager: limit URL primary key matches to digits (#31122) 2019-03-06 13:31:49 +01:00
Frédéric Péters cd36887df6 api: return an error when number of requested places is <= 0 (#31047) 2019-03-06 11:11:02 +01:00
Frédéric Péters b9a2848a26 api: make sure event status API only accepts numbers (#30459) 2019-02-18 09:44:06 +01:00
Frédéric Péters ed85d7122b translation update 2019-02-07 11:25:11 +01:00
Frédéric Péters 04d5324dc2 misc: rename csv template file as .txt so it gets considered for i18n (#30452) 2019-02-07 11:25:11 +01:00
Frédéric Péters 1f02150240 manager: fix datepicker navigation in IE (#30043) 2019-02-07 11:25:11 +01:00