Commit Graph

66 Commits

Author SHA1 Message Date
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
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 a0da57e0f3 misc: add a description field to events (#36169) 2019-09-17 08:50: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 aeea3b78d6 misc: include URL in sync exceptions errors (#32975) 2019-05-18 16:16:30 +02: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 2016735664 misc: fix handling of events close to midnight (#29142) 2018-12-18 09:54:02 +01:00
Frédéric Péters 8025ded392 misc: don't cascade group deletion to agendas (#28710) 2018-12-06 13:52:35 +01:00
Frédéric Péters 9e41e9d77c general: add support for importing permissions (#26924) 2018-11-14 08:49:21 +01:00
Benjamin Dauvergne 07402527c2 improve filter for ponctual vevent exceptions (#27263)
To differentiate events between those coming from locally uploaded and remotely fetched
.ics files, we must look up the locally uploaded ones with a filter of
"recurrence_id=0".
2018-10-22 12:08:45 +02:00
Benjamin Dauvergne b364e11855 test rruleset emptyness (#27263)
rruleset does not define a __nonzero__ magic method like a container
would do.
2018-10-22 12:08:35 +02:00
Frédéric Péters d0d7c3de1e manager: add UI to export/import agendas (#25985) 2018-09-25 10:14:52 +02:00
Thomas NOËL 639c8c295c handle exception vevent without summary (#25887) 2018-08-27 21:03:18 +02:00
Serghei Mihai 0ce55339a7 api: add booking ics view (#22930) 2018-07-19 10:39:17 +02:00
Frédéric Péters e1536441af remove unused imports 2018-07-01 13:18:48 +02:00
Benjamin Dauvergne 642cda9b49 agendas: fix export/import of TimePeriodException (#24152)
- convert datetime to naive before serialization,
- export missing fields: external_id, recurrence_id and update_datetime.
2018-05-30 10:48:25 +02:00
Frédéric Péters f4203d05f3 general: add support for Python 3 (#23678) 2018-05-13 15:19:14 +02:00
Benjamin Dauvergne c4df05a490 support recurring event in exceptions .ics (fixes #19071) 2018-05-04 20:05:22 +02:00
Frédéric Péters a2197b8ea4 manager: order meeting types by duration (#21242) 2018-04-16 09:27:54 +02:00
Frédéric Péters b364bdb1d6 general: add method to get opening hours of a desk on a given day (#21244) 2018-01-18 16:28:43 +01:00
Frédéric Péters 6b2d77ef88 misc: improve string representation of time period exceptions (#18996) 2018-01-18 13:37:38 +01:00
Frédéric Péters 8eb2f3d5b6 manager: include current exceptions directly in settings page (#21243) 2018-01-18 11:23:19 +01:00
Frédéric Péters 70019d195a misc: don't block exceptions because of booking on other desks (#21078) 2018-01-10 18:05:53 +01:00
Frédéric Péters b8b130e4f7 misc: always use timezone-aware datetimes (#20926) 2018-01-09 19:49:28 +01:00
Frédéric Péters 5c446fc57c misc: pass datetime filter as a datetime object, not a function (#20924) 2017-12-30 11:52:41 +01:00
Frédéric Péters dd9274fd05 manager: don't crash on empty "time period exception" dialog (#20461) 2017-12-12 11:41:45 +01:00
Frédéric Péters add27d0933 general: exhaustively list available meeting datetimes (#19150) 2017-12-04 14:23:18 +01:00
Frédéric Péters b93098d4e6 misc: increase allowed size for exceptions URL (#20067) 2017-12-03 13:40:47 +01:00
Frédéric Péters 04eda9a4ec general: increase slug max length to be able to hold whole label (#18101) 2017-12-03 13:40:47 +01:00
Frédéric Péters aa56564aa0 misc: add support for REQUEST_PROXIES settings (#20385) 2017-12-03 13:40:47 +01:00
Frédéric Péters a51fb45aa4 general: add label/user_name/backoffice_url metadata on bookings (#20280) 2017-12-02 19:01:14 +01:00
Frédéric Péters 0ab8ee91d2 manager: do not block adding exceptions on cancelled bookings (#19872) 2017-11-03 10:14:45 +01:00
Serghei Mihai 71f5b91cbe agenda: add support for remote calendar file with exceptions (#19070)
Remote calendars can be specified by desk and updated hourly, or used once.
2017-11-02 15:56:31 +01:00
Frédéric Péters a6f108efd9 misc: fix timeslot computation to work across daylight saving time (#19089) 2017-09-30 00:15:13 +02:00
Serghei Mihai 5fce9e5193 agendas: fix event name decoding returned by vobject (#19060) 2017-09-28 16:15:33 +02:00
Serghei Mihai d10a22d564 agenda: import timeperiod exceptions from .ics (#16798) 2017-09-28 11:10:02 +02:00
Frédéric Péters 971b6a17fe manager: update breadcrumbs to all have a similar structure (#18992) 2017-09-26 18:12:49 +02:00
Frédéric Péters 210907f805 misc: don't expose "slug" as a word to the user (#18993) 2017-09-26 18:12:49 +02:00
Josue Kouka 9d7738929c add time period exception management (#12550) 2017-09-26 10:16:58 +02:00
Josue Kouka f851de07df add multiple desk management (#15729) 2017-09-04 11:00:01 +02:00
Frédéric Péters 78cad28c0c misc: increase max length of label fields (#17226) 2017-06-28 12:43:27 +02:00
Frédéric Péters ffcda3904a general: add possibility to book multiple places at once (#15218) 2017-06-23 12:59:13 +02:00
Frédéric Péters 63ffddd5fb api: fix datetimes API on UTC/local timezone/hour borders (#16348) 2017-05-23 14:50:16 +02:00
Frédéric Péters c4180f94ea pylint: use cls as first argument for class method 2017-03-29 15:31:52 +02:00
Frédéric Péters 52e21e98c6 general: add export/import support (#15527) 2017-03-29 09:04:09 +02:00
Frédéric Péters 51bbc55b7f general: don't allow booking past the event date (#14513) 2017-01-20 10:39:47 +01:00
Frédéric Péters 6e1fb0aa94 agendas: add slug to MeetingType model (#13792) 2016-10-29 15:14:50 +02:00
Frédéric Péters dc5c647391 general: always consider booking periods to start/end at midnight (#13793) 2016-10-28 19:39:04 +02:00
Frédéric Péters 89a452d924 manager: mark events that are out of booking period (#13382) 2016-10-03 14:24:47 +02:00