Commit Graph

542 Commits

Author SHA1 Message Date
Frédéric Péters e47aca8831 translation update 2020-06-19 07:28:32 +02:00
Lauréline Guérin 18ce6713b4
manager: publication_date in csv event import (#44177) 2020-06-18 10:39:04 +02:00
Lauréline Guérin 82d1a53b24
api: don't list cancelled bookings in slot_bookings api (#44160) 2020-06-18 09:50:14 +02:00
Frédéric Péters df6328dc52 translation update 2020-06-17 15:47:02 +02:00
Emmanuel Cazenave c9d9d0ae53 add missed migration (#44175) 2020-06-17 15:47:02 +02:00
Lauréline Guérin 804a90961f manager: set agenda export filename (#43941) 2020-06-17 15:42:46 +02:00
Valentin Deniaud 1f3d172abf templates: move secondary actions to kebab menu (#44172) 2020-06-17 14:58:52 +02:00
Valentin Deniaud 7433750574 manager: view to duplicate an agenda (#44127) 2020-06-17 14:45:54 +02:00
Frédéric Péters 3ba233792d manager: ignore BOM when importing CSV (#44170) 2020-06-17 14:39:02 +02:00
Emmanuel Cazenave 5616ee60a0 manager: don't allow deletion of busy meeting type (#43621) 2020-06-17 14:14:11 +02:00
Emmanuel Cazenave 27985b4c53 manager: do not overwrite when importing (#43621) 2020-06-17 14:14:11 +02:00
Frédéric Péters ce7f6ae401 translation update 2020-06-17 13:57:57 +02:00
Frédéric Péters 6053412b2f debian: bump debhelper to compat level 10 2020-06-17 13:43:08 +02:00
Frédéric Péters 59ad9f2de5 re-black 2020-06-17 13:42:21 +02:00
Benjamin Dauvergne b50cd1ad48 misc: substract date instead of maximum delta (#43965)
We have a problem maximal_booking_delay is out of the date range supported by
datetime (which starts at the 1st century). Instead of caping
maximal_booking_delay we change how we compute the condition, as
substraction of today date and event date won't usually overflow.
2020-06-17 13:30:35 +02:00
Benjamin Dauvergne f675f7842f misc: prevent OverflowError with minimal_booking_delay and maximal_booking_delay (#43965) 2020-06-17 13:30:35 +02:00
Valentin Deniaud 3a281b7119 manager: fix handling duplicated slug in event import (#43947) 2020-06-17 12:23:18 +02:00
Valentin Deniaud d9b1a02058 manager: improve error display in events import (#42344) 2020-06-17 12:21:35 +02:00
Valentin Deniaud 0d028dcdf2 agendas: forbid numerical slug for events (#43789) 2020-06-17 12:20:55 +02:00
Frédéric Péters 7295c8917b translation update 2020-06-15 19:17:30 +02:00
Lauréline Guérin c77edebd62
api: return opened_events_available in events agenda detail payload
(#43937)
2020-06-15 11:00:41 +02:00
Lauréline Guérin 1a25cb6ac9
manager: display events outside timeperiods (#43707) 2020-06-15 10:33:12 +02:00
Lauréline Guérin cb2f757d03
tests: fix random test failure (freeze time) 2020-06-15 10:26:21 +02:00
Lauréline Guérin 123b40f59a
agendas: reduce querysets on settings view (#43516) 2020-06-12 15:34:37 +02:00
Lauréline Guérin 23a55b16b3
agendas: add tests on queryset for agenda settings (#43516) 2020-06-12 15:34:12 +02:00
Lauréline Guérin a65930a150
agendas: manager can add exception even if not timeperiod defined (#42629) 2020-06-12 09:58:59 +02:00
Lauréline Guérin 70f0a0185f
api: add resources in fillslot_url for meetings datetime response (#43685) 2020-06-05 15:16:11 +02:00
Lauréline Guérin 4ca0af0b54
black 2020-06-05 15:14:16 +02:00
Nicolas Roche daab37c06d manager: add duration on events (#37352) 2020-06-04 11:24:23 +02:00
Nicolas Roche 7ac9cbe23a manager: simplify help text on ics exception upload file (#43609) 2020-06-04 10:19:02 +02:00
Nicolas Roche 854b7abcc8 api: return end_datetime on booking events (#37352) 2020-06-04 10:12:29 +02:00
Nicolas Roche 38e6c0aa7b tests: correct typo on DTEND in booking ics test (#43540) 2020-06-02 17:40:53 +02:00
Frédéric Péters 87a76b3032 translation update 2020-06-02 14:50:37 +02:00
Lauréline Guérin c19796751c
agendas: month/day agenda for resource (#38942) 2020-06-02 11:26:44 +02:00
Lauréline Guérin 4cc127c09e
api: book also resources in fillslot(s) endpoint (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin a1d38b0a88
api: check resources in datetimes endpoint (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin 4cc1bf6c45
api: add resources list on agenda details (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin b1b92bfa5c
agendas: add resource to agenda (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin a06c7796c8
agendas: manager views for resources (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin c62ebc9b56
agendas: resources in agendas fields in import/exports (#38942) 2020-06-02 11:26:43 +02:00
Lauréline Guérin 3f21f3f033
agendas: Resource model (#38942) 2020-06-02 11:26:43 +02:00
Frédéric Péters 1cc2e023c2 trivial: remove typo in assert message 2020-06-01 12:04:33 +02:00
Lauréline Guérin 1119909e34
agendas: reduce querysets on day/month views (#43306) 2020-05-29 16:52:28 +02:00
Lauréline Guérin 06ee841b11
agendas: add tests on queryset for day/month views (#43306) 2020-05-29 16:52:28 +02:00
Lauréline Guérin 4e68150938
agenda: dont check for bookings on exception creation (#42336) 2020-05-29 10:14:48 +02:00
Lauréline Guérin 0f89c488c8
api: check publication_date in datetimes & fillslots api (#40728) 2020-05-22 09:15:15 +02:00
Lauréline Guérin ff9da976c9
agendas: add publication_date on event (#40728) 2020-05-22 09:15:15 +02:00
Benjamin Dauvergne bb071f1980 misc: make empty interval using now() (#43185) 2020-05-21 10:49:44 +02:00
Benjamin Dauvergne b2f4df2722 tests: add test with exception completely covering opening hours of a desk of a virtual agenda (#43185) 2020-05-21 10:49:44 +02:00
Benjamin Dauvergne 7973059dcb api: handle empty opening hours after removing exceptions (#43126) 2020-05-20 10:06:39 +02:00