Commit Graph

1214 Commits

Author SHA1 Message Date
Valentin Deniaud ba38629af3 agendas: always create event recurrences (#62635) 2022-03-28 10:29:48 +02:00
Lauréline Guérin 939c1b0cff
agenda: fix booking delay around dst changes (#63202) 2022-03-25 17:47:08 +01:00
Valentin Deniaud eeeb0bf5af agendas: use pgettext_lazy rather than pgettext (#62908) 2022-03-17 16:21:14 +01:00
Valentin Deniaud 4c7430d03c manager: use checkboxes for weekday indexes selection (#62810) 2022-03-16 09:54:41 +01:00
Valentin Deniaud 638afb63aa translation update 2022-03-15 16:58:46 +01:00
Valentin Deniaud 5f413af3d1 manager: account for time period weekday indexes in calendar views (#45159) 2022-03-15 15:56:07 +01:00
Valentin Deniaud 7672c6edea api: account for time period weekday indexes (#45159) 2022-03-15 15:56:07 +01:00
Valentin Deniaud 956c1fd183 manager: choose time period weekday indexes (#45159) 2022-03-15 15:56:07 +01:00
Valentin Deniaud 6c067790e1 agendas: add weekday indexes to time period (#45159) 2022-03-15 15:56:07 +01:00
Valentin Deniaud 839a578bd0 utils: add function to get weekday index from date (#45159) 2022-03-15 15:56:07 +01:00
Valentin Deniaud d1df43fd7e translation update 2022-03-15 15:32:59 +01:00
Valentin Deniaud f158dc02ef api: make shared custody work with recurring events in datetimes (#62598) 2022-03-15 14:26:40 +01:00
Valentin Deniaud 6311c5146a api: check shared custody in multiple agendas fillslots (#62598) 2022-03-15 14:17:39 +01:00
Valentin Deniaud 5674a606ff api: filter on shared custody in multiple agendas datetimes (#62598) 2022-03-15 14:17:39 +01:00
Valentin Deniaud 0ec0604af5 translation update 2022-03-15 11:28:33 +01:00
Valentin Deniaud b102578e26 misc: fix strings for translation 2022-03-15 11:28:26 +01:00
Valentin Deniaud aaf66f3930 manager: test booking reminders sending (#61234) 2022-03-15 10:47:52 +01:00
Valentin Deniaud 52a45656a1 reminders: split send code (#61234) 2022-03-15 10:47:52 +01:00
Valentin Deniaud 064c9a4ea3 reminders: allow template syntax in message extra info (#61234) 2022-03-15 10:47:52 +01:00
Valentin Deniaud fc34aab1a8 api: flag category and agenda parameters as required in statistics (#62405) 2022-03-15 09:48:32 +01:00
Valentin Deniaud d82c194694 api: add shared custody views (#62146) 2022-03-15 09:47:26 +01:00
Valentin Deniaud c0679178ba manager: add shared custody views (#62146) 2022-03-15 09:47:26 +01:00
Valentin Deniaud 0fd2e6a51a manager: make some templates more generic (#62146) 2022-03-15 09:47:26 +01:00
Valentin Deniaud adad089c09 agendas: add shared custody models (#62146) 2022-03-15 09:47:23 +01:00
Valentin Deniaud 2ce8babd54 agendas: use event start_datetime when creating recurrences (#62611) 2022-03-15 09:46:42 +01:00
Lauréline Guérin 3e0c1e0250
translation update 2022-03-11 09:03:37 +01:00
Lauréline Guérin a5e6e1c2ac
manager: avoid 500 error on meetingtype duration update (#62461) 2022-03-11 08:26:07 +01:00
Emmanuel Cazenave f60d1498bc api: do not move desk max_datetime if not on a day boundary (#62590) 2022-03-09 15:00:19 +01:00
Lauréline Guérin 4e39702483
manager: fix page breaks in timesheet (#62378) 2022-03-04 08:47:00 +01:00
Lauréline Guérin dcaf185dd4
manager: fix views with bad month value (#62131) 2022-03-03 12:04:43 +01:00
Lauréline Guérin 35243bd6a1
misc: fix merge and form field ordering 2022-03-03 12:03:47 +01:00
Lauréline Guérin 7068021ef0
translation update 2022-03-03 12:02:09 +01:00
Lauréline Guérin 7432ced673
manager: add status filter on check page (#61974) 2022-03-03 11:18:13 +01:00
Lauréline Guérin 86f7cda771
manager: timesheet & check page ordering (#62043) 2022-03-03 10:48:32 +01:00
Lauréline Guérin 0625b88536
manager: timesheet grouper (#61920) 2022-03-03 10:31:55 +01:00
Lauréline Guérin da928de65a
translation update 2022-03-03 08:47:15 +01:00
Lauréline Guérin 4b708073d4
manager: timesheet and date display (#61070) 2022-03-03 08:20:32 +01:00
Lauréline Guérin 8ebbbfdfb7
manager: timesheet to PDF (#61070) 2022-03-03 08:20:32 +01:00
Lauréline Guérin 1f255d7ab9
manager: extra_data selection for timesheet (#61070) 2022-03-03 08:20:32 +01:00
Lauréline Guérin 0154debfb2
manager: timesheet generation (#61070) 2022-03-03 08:20:32 +01:00
Frédéric Péters 87e8203e07 misc: apply black 22.1.0 2022-03-01 19:36:25 +01:00
Lauréline Guérin 16f595bdba
manager: display cancelled bookings on check page (#61068) 2022-03-01 14:48:21 +01:00
Lauréline Guérin 56300815e7
api: fix get_open_events & get_past_events with subscribed (#62046) 2022-02-22 14:06:13 +01:00
Lauréline Guérin 2d5f2ee9ac
api: exclude subscribed start_date param (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin 03f834481a
manager: subscription end_date is excluded for check page (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin 9d53004c8c
api: the last day of a subscription is not bookable (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin 282da0a2de
api: exclude date_end on subscription update/delete (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin c5b542b359
api: subscription listing, date_end is excluded (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin 75bc19b333
api: subscription overlapping, date_end is excluded (#61573) 2022-02-17 14:03:18 +01:00
Lauréline Guérin df4e9f8104
api: exclude end_date in list booking endpoint (#61573) 2022-02-17 14:03:18 +01:00
Nicolas Roche ac41d09c94 api: use StringOrListField for recurrence_days serialiser (#60351) 2022-02-15 11:52:32 +01:00
Frédéric Péters f14e546bde translation update 2022-02-14 21:47:27 +01:00
Lauréline Guérin b6e141b9c3
api: update user bookings extra_data on subscription update (#61065) 2022-02-14 12:58:01 +01:00
Lauréline Guérin ad103323ba
api: remove user bookings on subscription date changes (#61065) 2022-02-14 12:58:01 +01:00
Lauréline Guérin b6f7d25808
api: remove user bookings on subscription deletion (#61065) 2022-02-14 12:58:01 +01:00
Lauréline Guérin f707750944
api: not possible to change subscription user_external_id (#61631) 2022-02-11 15:43:29 +01:00
Lauréline Guérin 0d919518be
api: subscriptions with overlapping is forbidden (#61631) 2022-02-11 15:43:29 +01:00
Lauréline Guérin 290e4a9e66
api: cancel booking in agendas events fillslots - instead of delete (#61066) 2022-02-11 11:56:26 +01:00
Lauréline Guérin b61a867667
api: cancel booking in events fillslots - instead of delete (#61066) 2022-02-11 11:56:26 +01:00
Lauréline Guérin f65717725b
api: cancel booking in recurring fillslot - instead of delete (#61066) 2022-02-11 11:56:26 +01:00
Lauréline Guérin 7eb1fcf7e4
translation update 2022-02-11 11:21:17 +01:00
Lauréline Guérin 5606182d55
manager: list subscriptions on event check page (#61069) 2022-02-11 09:53:46 +01:00
Lauréline Guérin 9789a77771
api: recurring fillslots and booking delays (#61329) 2022-02-11 09:18:05 +01:00
Lauréline Guérin 5b9f887ef9
misc: faster tests for api booking endpoints 2022-02-11 08:53:45 +01:00
Lauréline Guérin 8be7358dee
api: flat extra_data in booking patch endpoint (#61074) 2022-02-11 08:53:45 +01:00
Lauréline Guérin d1da2b5c95
api: fix subscribed with dates (#61494) 2022-02-08 10:58:54 +01:00
Valentin Deniaud d43433476b update translation 2022-02-03 16:51:26 +01:00
Valentin Deniaud 9b3580973e agendas: allow different reminder time between email and sms (#61368) 2022-02-03 12:41:10 +01:00
Valentin Deniaud 6358e4bda5 agendas: allow sending reminders to multiple recipients (#61367) 2022-02-03 12:23:23 +01:00
Lauréline Guérin fd59ece695
api: the last day of a subscription is bookable (#61384) 2022-02-03 11:01:12 +01:00
Frédéric Péters 73bcd30872 translation update 2022-02-01 21:46:46 +01:00
Lauréline Guérin fcd6dce3e2
api: subscription patch endpoint (#61077) 2022-02-01 09:20:45 +01:00
Lauréline Guérin a6cd31a24a
api: subscription delete endpoint (#60861) 2022-01-31 15:13:07 +01:00
Lauréline Guérin d5fdebb208
api: subscription detail endpoint (#61161) 2022-01-31 14:38:59 +01:00
Lauréline Guérin 246043f3d4
api: list subscriptions endpoint (#61079) 2022-01-31 14:14:09 +01:00
Lauréline Guérin 2955505c59
api: first/last name and extra_data on subscription create (#61064) 2022-01-31 13:59:17 +01:00
Lauréline Guérin c08ad64563
agendas: new fields on Subscription model (#61064) 2022-01-31 13:59:17 +01:00
Valentin Deniaud 40b7329583 api: use date parameters to filter subscribed agendas more efficiently (#60064) 2022-01-31 11:37:09 +01:00
Thomas NOËL a671b76471 trivial: fix typo in reminders extra info field name 2022-01-28 18:19:05 +01:00
Lauréline Guérin 38e4b745b0
api: fix event endpoints (#61178) 2022-01-27 16:55:22 +01:00
Valentin Deniaud 391674ef20 translation update 2022-01-25 14:11:58 +01:00
Valentin Deniaud 10ee5c3cc4 api: add translation context to statistics choices (#61000) 2022-01-25 14:10:45 +01:00
Valentin Deniaud c29b3fadb4 api: add exception desk on event agenda creation (#61021) 2022-01-25 12:15:49 +01:00
Frédéric Péters a843e9ae92 translation update 2022-01-20 23:01:50 +01:00
Valentin Deniaud 049b1e9db0 manager: forbid event recurrence end date too far in the future (#60553) 2022-01-19 11:35:02 +01:00
Lauréline Guérin 961862593b
manager: fix breadcrumb in event detail pages (#60503) 2022-01-17 17:09:46 +01:00
Valentin Deniaud 4c66e5a303 api: sort events by start time in recurring events list (#60461) 2022-01-17 15:48:14 +01:00
Valentin Deniaud 39f78e0cc2 manager: add recurrences on event creation (#60504) 2022-01-11 17:04:30 +01:00
Valentin Deniaud c9337d47b7 manager: allow first access to event recurrence with view permission (#60504) 2022-01-11 17:04:30 +01:00
Valentin Deniaud 6b22764afd api: add unbook action to recurring fillslots endpoint (#60255) 2022-01-06 17:32:54 +01:00
Valentin Deniaud 58ade5be61 api: add book action to recurring fillslots endpoint (#60255) 2022-01-06 17:32:54 +01:00
Valentin Deniaud ad019b0956 api: add action parameter to recurring fillslots endpoint (#60255) 2022-01-06 17:32:54 +01:00
Valentin Deniaud 29413e3a35 trivial: remove invalid choice in serializer field (#60255) 2022-01-06 11:02:06 +01:00
Valentin Deniaud 014dc4624e api: add event slug filter in user bookings list (#60024) 2022-01-06 10:19:37 +01:00
Valentin Deniaud 786b0e03b3 api: include event detail in user bookings info (#60020) 2022-01-04 18:05:41 +01:00
Valentin Deniaud 1a03535d87 api: sort user bookings by event date (#60020) 2022-01-04 18:04:57 +01:00
Valentin Deniaud 5d97e6f197 api: do not include cancelled or secondary bookings in user bookings list (#60020) 2022-01-04 14:34:58 +01:00
Valentin Deniaud 5c25f7811d api: add in_waiting_list filter in user bookings list (#60020) 2022-01-04 14:34:58 +01:00
Valentin Deniaud 4c52f29cfd api: add option to return booked events detail in fillslots APIs (#60023) 2022-01-04 13:44:58 +01:00
Valentin Deniaud e2612b0303 manager: fix overwrite of exception display dimensions in month view (#60247) 2022-01-04 12:21:42 +01:00
Valentin Deniaud 51812ea159 api: sort events by start_datetime in recurring events list (#59869) 2022-01-04 10:52:14 +01:00
Valentin Deniaud 8accec00fd agendas: do not consider moved event recurrence when updating (#59948) 2022-01-03 16:05:02 +01:00
Valentin Deniaud e88da83b6d api: add event deletion (#59792) 2022-01-03 09:57:29 +01:00
Lauréline Guérin 5e4675f533
api: do not cancel out of delay bookings in events fillslots (#59821) 2021-12-30 17:23:54 +01:00
Frédéric Péters 20f86b91f3 translation update 2021-12-25 10:38:18 +01:00
Valentin Deniaud 8ad0ac7d51 api: add agenda label to event details (#60022) 2021-12-23 16:18:47 +01:00
Valentin Deniaud 5ebb692c19 api: add backoffice url to event details (#60021) 2021-12-23 16:17:53 +01:00
Valentin Deniaud 7b2c9950d3 api: include event slug in recurring event details (#60019) 2021-12-23 13:52:31 +01:00
Valentin Deniaud cf74c63bb5 translation update 2021-12-22 14:32:40 +01:00
Valentin Deniaud 1a7fa6a0d8 agendas: make weekdays plural in recurrence text display (#59848) 2021-12-22 14:02:52 +01:00
Valentin Deniaud d81e159827 agendas: ignore missing category during agenda import (#57424) 2021-12-16 17:14:15 +01:00
Lauréline Guérin f974cfe604 manager: import/export categories (#57424) 2021-12-16 17:14:15 +01:00
Valentin Deniaud 842d7629d8 api: do not cancel past bookings in multiple events fillslots (#59778) 2021-12-16 16:54:23 +01:00
Benjamin Dauvergne 289bcd785f misc: remove overloaded mellon/base.html (#59527) 2021-12-15 19:11:48 +01:00
Frédéric Péters ecde898f45 translation update 2021-12-14 19:45:45 +01:00
Valentin Deniaud 5269bc60c1 api: add support for subscriptions in recurring fillslots (#58446) 2021-12-13 16:41:23 +01:00
Valentin Deniaud 270daa2202 api: filter by subscriptions in recurring events list (#58446) 2021-12-13 16:41:23 +01:00
Valentin Deniaud 2e7d87ffe7 api: add support for subscriptions in multiple agendas fillslots (#58446) 2021-12-13 16:41:23 +01:00
Valentin Deniaud 97b0b899af api: filter by subscriptions in multiple agendas datetimes (#58446) 2021-12-13 16:41:23 +01:00
Valentin Deniaud 0e4689a139 agendas: update existing agenda on import (#59515) 2021-12-13 09:58:39 +01:00
Valentin Deniaud 02837f7632 api: add agenda deletion (#59127) 2021-12-13 09:58:12 +01:00
Valentin Deniaud bb46f55199 agendas: get proper form url in meetings agenda reminder (#59384) 2021-12-07 10:37:17 +01:00
Valentin Deniaud 112c7d5e6b agendas: force dst when importing time period exception (#59342) 2021-12-06 16:17:57 +01:00
Emmanuel Cazenave 387ccda63b agendas: take care of primary event when duplicating recurring events (#55301) 2021-12-06 15:53:11 +01:00
Frédéric Péters 761bfc3292 translation update 2021-12-02 20:09:25 +01:00
Valentin Deniaud 48a8af32d2 agendas: add subscription model (#58444) 2021-11-25 18:51:36 +01:00
Valentin Deniaud 1c8c5f447b api: make APIError less verbose (#58014) 2021-11-18 10:16:05 +01:00
Lauréline Guérin 629b512836
api: show events out of minimal delay (#58286) 2021-11-18 09:33:03 +01:00
Frédéric Péters ebefab1b3e translation update 2021-11-02 17:52:04 +01:00
Frédéric Péters 1828ee6084 misc: use named substitutions in error string (#58332) 2021-11-02 17:12:17 +01:00
Nicolas Roche 3b70201226 api: manage optional parameters (#57742) 2021-11-02 12:17:48 +01:00
Valentin Deniaud e7adcb1828 api: allow multiple grouping in statistics (#57817) 2021-11-02 10:03:08 +01:00
Valentin Deniaud e9a85c134c manager: forbid making booked event recurrent (#57609) 2021-11-02 10:02:23 +01:00
Valentin Deniaud 7ce030c69f api: add prefetching to recurring events endpoints (#57957) 2021-11-02 09:46:57 +01:00
Valentin Deniaud 56e18b2e90 agendas: add separate method for prefetching recurring events (#57957) 2021-11-02 09:46:57 +01:00
Valentin Deniaud 753c7ad6f1 api: make recurring events fillslots work with multiple agendas (#57957) 2021-11-02 09:46:57 +01:00
Valentin Deniaud bb781f8c83 api: make recurring events list endpoint work with multiple agendas (#57957) 2021-11-02 09:46:57 +01:00
Valentin Deniaud 84f5dbc4c8 api: move MultipleAgendasEventsFillslots validation to serializers (#57957) 2021-11-02 09:46:57 +01:00
Lauréline Guérin 268a0db229
api: bypass_delays parameter for event fillslot endpoints (#57961) 2021-10-29 14:44:14 +02:00
Lauréline Guérin b07288d1be
api: bypass_delays parameter for datetimes endpoints (#57961) 2021-10-29 14:44:14 +02:00
Lauréline Guérin a43252d748
api: fix start/end date with recurring events in multi datetimes (#58257) 2021-10-29 13:36:38 +02:00
Lauréline Guérin ffbcba8fe6
agendas: fix publication_datetime data migration (#58280) 2021-10-29 12:31:55 +02:00
Frédéric Péters b66aa1d000 translation update 2021-10-22 18:11:26 +02:00
Frédéric Péters 965dea8b26 translation update 2021-10-22 09:51:50 +02:00
Valentin Deniaud 887f2a5f02 api: include event label and day when listing recurring events (#57958) 2021-10-20 10:50:45 +02:00
Valentin Deniaud ff08d62e61 manager: allow viewing resources of editable agenda (#56977) 2021-10-18 10:10:34 +02:00
Lauréline Guérin 6297ea6231
agendas: event publication_datetime (#56634) 2021-10-15 08:13:28 +02:00
Frédéric Péters 937a241dd2 translation update 2021-10-11 21:14:47 +02:00
Nicolas Roche a7757b7a22 api: prefetch roles on agenda display (#57670) 2021-10-11 14:52:42 +02:00
Nicolas Roche 5d1390223e api: add category parameter on add agenda endpoint (#57670) 2021-10-11 14:52:36 +02:00
Nicolas Roche 0660f76ee7 api: display category on agenda details (#57670) 2021-10-11 14:50:38 +02:00
Nicolas Roche 60aea84fb3 api: set max lenght on roles parameters for add agenda endpoint (#57670) 2021-10-11 14:50:38 +02:00
Frédéric Péters a947f59041 translation update 2021-10-07 20:42:30 +02:00
Valentin Deniaud 77e8da72c3 api: forbid booking of recurring event (#57523) 2021-10-07 11:18:19 +02:00
Nicolas Roche 3719bb7db4 api: move post event api from add-event/ to event/ endpoint (#57547) 2021-10-06 15:44:18 +02:00
Nicolas Roche 030a355ebf api: add an endpoint to patch an event (#57305) 2021-10-06 15:31:01 +02:00
Nicolas Roche 9a2272396b agendas: factorize recurring event update code (#57305) 2021-10-06 15:30:48 +02:00
Nicolas Roche 25b5222dd4 api: add post method on agenda endpoint (#57103) 2021-10-06 10:51:09 +02:00
Nicolas Roche b9e6c9c55c api: display minimal_booking_delay_in_working_days on meetings agenda details (#57103) 2021-10-06 10:47:09 +02:00
Nicolas Roche b7811f5235 api: display roles on agenda details (#57103) 2021-10-06 10:47:09 +02:00
Frédéric Péters 8d83d525f1 translation update 2021-10-05 22:24:11 +02:00
Frédéric Péters 494a2b3798 manager: adapt responses to restricted access on home (#57163) 2021-10-05 22:23:18 +02:00
Frédéric Péters d3554167b9 Revert "manager: serve a specific template for home 403 (#57163)"
This reverts commit acd6cdb94f as it was
not the correct commit to merge :/
2021-10-05 22:22:54 +02:00
Frédéric Péters acd6cdb94f manager: serve a specific template for home 403 (#57163) 2021-10-05 22:07:29 +02:00
Lauréline Guérin f07d2bb8b2
api: show_past_events for agendas/datetimes endpoint (#56615) 2021-10-04 18:04:26 +02:00
Lauréline Guérin 23dd874fdc
agendas: remove dead code (#56615) 2021-10-04 17:55:55 +02:00
Lauréline Guérin 09b1ce63d9
api: a past event is disabled except if we want to book it (#56615) 2021-10-04 17:52:27 +02:00
Lauréline Guérin e4603ed856
api: rename show_events in bookable_events (#56615) 2021-10-04 17:47:37 +02:00
Lauréline Guérin 519b80c3a5
api: fix datetimes & recurring event (#56615) 2021-10-04 17:44:20 +02:00
Valentin Deniaud dd38861892 add missing dot in translation (#57425) 2021-10-04 17:40:07 +02:00
Emmanuel Cazenave 3b9c1370c9 agendas: use custom urls in bookings (#56820) 2021-09-27 10:23:48 +02:00
Nicolas Roche 9bf248a095 api: add add-event endpoint (#47337) 2021-09-24 09:35:17 +02:00
Frédéric Péters 06291d148f manager: don't respond with menu.json contents if there's not access (#57165) 2021-09-21 17:45:52 +02:00
Frédéric Péters 0ba53a1d7d update apostrophes in translation 2021-09-21 17:34:27 +02:00
Frédéric Péters fd57d5cce5 fix language-mismatch in translation 2021-09-21 17:33:50 +02:00
Valentin Deniaud 3df7970e48 manager: hide delete button for event recurrences on edit page (#57172) 2021-09-21 16:56:00 +02:00
Thomas NOËL c91b62366b translation update 2021-09-17 12:41:18 +02:00
Lauréline Guérin c15db686bd
manager: redirect to agenda settings after import (#56547) 2021-09-14 15:53:11 +02:00
Benjamin Dauvergne af17a62015 api: reduce search window for open slots in fillslot (#56896) 2021-09-13 22:08:54 +02:00
Lauréline Guérin 709ee1b8ad
api: fix pattern for booking urls (#56853) 2021-09-10 15:12:49 +02:00
Lauréline Guérin a150cd857e
manager: fix event & slug edition (#56851) 2021-09-10 14:25:45 +02:00
Valentin Deniaud 246e14e7e4 misc: add event duration in export and api (#56786) 2021-09-08 12:37:59 +02:00
Valentin Deniaud 128afc42a0 reminders: do not include user in querystring when sending SMS (#56732) 2021-09-07 11:30:26 +02:00
Frédéric Péters 62c85c2f36 translation update 2021-09-01 10:30:18 +02:00
Lauréline Guérin 0b53360c0c
agendas: trigger full and places event fields (#54747) 2021-08-30 10:39:07 +02:00
Valentin Deniaud 5041ef37ce api: specify which event is not bookable (#55996) 2021-08-24 15:18:07 +02:00
Frédéric Péters a639650707 trivial: use x as list comprehension variable (#56300) 2021-08-21 14:51:36 +02:00
Frédéric Péters 694a51beef trivial: add missing interpolation to string (#56300) 2021-08-21 14:51:36 +02:00
Frédéric Péters db28939d3b translation update 2021-08-18 20:42:34 +02:00
Valentin Deniaud f6de72a5a9 api: disable event only if excluded_user_external_id is specified (#55369) 2021-08-17 16:13:36 +02:00
Valentin Deniaud 67f1f68fd6 api: add endpoint to book multiple events accross several agendas (#56104) 2021-08-17 15:51:36 +02:00
Valentin Deniaud 0cf2c62199 api: factorize getting objects from list of slugs (#56104) 2021-08-17 15:50:04 +02:00
Valentin Deniaud fa34281ade api: prefetch events in multiple agendas datetimes (#55370) 2021-08-17 15:47:08 +02:00
Valentin Deniaud e86d0cb11f api: add datetimes for multiple events agendas (#55370) 2021-08-17 15:47:08 +02:00
Valentin Deniaud 8f127f3606 api: use serializer for event datetimes api (#56083) 2021-08-17 15:46:47 +02:00
Valentin Deniaud 95e2618863 api: move serializers to new file (#56083) 2021-08-17 15:46:47 +02:00
Frédéric Péters 9d90cb6618 fix misphrasing in translation 2021-08-14 21:07:24 +02:00
Lauréline Guérin 16487b34bb
misc: drop sqlite support - postgresql only (#56148) 2021-08-13 14:43:41 +02:00
Lauréline Guérin 402438f4df
api: reduce datetimes querysets (#56046) 2021-08-13 08:57:03 +02:00
Lauréline Guérin f355ed0492
manager: option to apply exceptions to all desks (#55826) 2021-08-10 16:39:53 +02:00
Frédéric Péters 739b672b6c misc: add custom makemessages command to skip line numbers by default (#56058) 2021-08-09 13:09:36 +02:00
Frédéric Péters dc7991d281 translation update 2021-08-05 22:32:30 +02:00
Valentin Deniaud 89ccbc922a api: allow empty slots parameter in multiple event booking (#56000) 2021-08-05 16:46:03 +02:00
Valentin Deniaud 96b10d052b api: allow changing recurrence bookings (#54746) 2021-08-05 14:42:44 +02:00
Valentin Deniaud 92d209ed11 api: allow changing multiple event bookings (#55368) 2021-08-05 14:10:36 +02:00
Valentin Deniaud 21fa37d374 agendas: propagate check status to secondary bookings (#55900) 2021-08-05 12:15:23 +02:00
Valentin Deniaud 2019637fcb manager: hide secondary bookings during event check (#55900) 2021-08-05 12:15:23 +02:00
Valentin Deniaud ec53b37d2d api: rename recurring events views (#55367) 2021-08-05 11:53:26 +02:00
Valentin Deniaud a26183e5fa api: add endpoint to book multiple events independently (#55367) 2021-08-05 11:53:26 +02:00
Valentin Deniaud 3936f9450a api: move event selection code to function (#55367) 2021-08-02 16:52:43 +02:00
Valentin Deniaud 63c7dfecc1 api: rely on DRF validation (#55367) 2021-08-02 16:52:43 +02:00
Valentin Deniaud 2d5a9bfd73 api: fix waiting list condition in RecurringFillslots (#55905) 2021-08-02 09:48:48 +02:00
Valentin Deniaud 7f4c9d96df misc: remove django 1.11 compatibility code (#55895) 2021-07-29 14:44:20 +02:00
Lauréline Guérin 1ec4ad9376
misc: apply pyupgrade (#55867) 2021-07-27 15:19:00 +02:00
Valentin Deniaud c0e2726e67 api: filter statistics by extra_data (#55424) 2021-07-19 12:30:37 +02:00
Frédéric Péters cbd8e63e44 translation update 2021-07-15 20:22:28 +02:00
Lauréline Guérin 37d385dace
misc: fix import-error pylint error (#55505) 2021-07-15 15:02:15 +02:00
Lauréline Guérin 9fe926f9ce
misc: fix simplifiable-if-expression pylint error (#55505) 2021-07-15 15:02:15 +02:00
Lauréline Guérin f9cd760301
misc: fix dangerous-default-value pylint error (#55505) 2021-07-15 15:02:15 +02:00
Lauréline Guérin b6952a21c5
misc: fix undefined-loop-variable pylint error (#55505) 2021-07-15 15:02:15 +02:00
Lauréline Guérin 5115aa32c2
misc: fix no-name-in-module pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 0424972fcf
misc: fix consider-using-max-builtin pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 25da6b2a74
misc: fix no-else-raise pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 46529992c2
misc: fix line-too-long pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 81a93fc2ee
misc: fix wrong-import-position pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 077ac59dfa
misc: fix consider-using-with pylint error (#55505) 2021-07-15 15:02:14 +02:00
Lauréline Guérin 5bc1f273da
misc: fix misplaced-comparison-constant pylint error (#55505) 2021-07-15 15:02:13 +02:00
Lauréline Guérin 86b37ebf73
misc: fix function-redefined pylint error (#55505) 2021-07-15 15:02:13 +02:00
Lauréline Guérin dccfc33acf
misc: fix useless-object-inheritance pylint error (#55505) 2021-07-15 15:02:13 +02:00
Lauréline Guérin 4f56ef4167
misc: fix super-with-arguments pylint error (#55505) 2021-07-15 15:02:13 +02:00
Lauréline Guérin 9fd102df87
misc: fix unused-variable pylint error (#55505) 2021-07-15 15:02:13 +02:00
Lauréline Guérin 4b836e70de
misc: fix unused-import pylint error (#55505) 2021-07-15 14:58:49 +02:00
Lauréline Guérin 39cd48c53e
manager: import/export absence reason groups (#55364) 2021-07-15 14:34:08 +02:00
Lauréline Guérin aece741796
manager: check button display (#55461) 2021-07-15 14:07:34 +02:00
Valentin Deniaud fc79c17012 api: add agenda filter in booking statistics (#55267) 2021-07-15 10:24:23 +02:00
Frédéric Péters a6c154077b translation update 2021-07-12 22:24:01 +02:00
Valentin Deniaud b54b1925e5 agendas: duplicate notification and reminder settings (#55311) 2021-07-12 10:05:13 +02:00
Valentin Deniaud 456e3597fa agendas: duplicate exceptions desk for event agendas (#55310) 2021-07-12 10:04:10 +02:00
Lauréline Guérin de11d22b9e
agenda: add forgotten fields in import/export (#55451) 2021-07-09 11:23:00 +02:00
Lauréline Guérin 90c4cfd084
api: accept events in GET params for fillslot (#55404) 2021-07-09 11:00:56 +02:00
Lauréline Guérin 574f284d66
manager: close popup after clicking on export button (#55365) 2021-07-09 10:47:04 +02:00
Lauréline Guérin 5c945da024
api: rename slots views (#55208) 2021-07-09 10:34:54 +02:00
Lauréline Guérin eb2f8b8d48
agenda: option to have min delay in working days (#55049) 2021-07-09 10:21:22 +02:00
Paul Marillonnet bd51c5138a mitigate race condition while get-or-creating reccurent event (#55393)
inspired from django's behavior on get_or_create, e.g.
    https://github.com/django/django/blob/stable/-
    2.2.x/django/db/models/query.py#L567
2021-07-09 09:53:11 +02:00
Lauréline Guérin e8c683fb91
agenda: option to disable check update when event is checked (#53933) 2021-07-09 08:54:25 +02:00
Frédéric Péters 8104efa1e2 api: include date attribute in /datetimes API calls (#55366) 2021-07-05 14:27:00 +02:00
Lauréline Guérin ceaff0ef79
manager: display on event pages when it's checked (#55351) 2021-07-05 13:22:00 +02:00
Lauréline Guérin 2741ccdd9e
manager: fix check-event button (#55342) 2021-07-05 10:25:58 +02:00
Frédéric Péters bb8fa4a778 translation fix 2021-07-03 08:20:11 +02:00
Lauréline Guérin 9ac90f720a
api: return events param in fillslot_url (#55316) 2021-07-02 09:13:52 +02:00