Commit Graph

372 Commits

Author SHA1 Message Date
Valentin Deniaud ba38629af3 agendas: always create event recurrences (#62635) 2022-03-28 10:29:48 +02: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 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
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 56300815e7
api: fix get_open_events & get_past_events with subscribed (#62046) 2022-02-22 14:06:13 +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
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 9789a77771
api: recurring fillslots and booking delays (#61329) 2022-02-11 09:18:05 +01:00
Lauréline Guérin 8be7358dee
api: flat extra_data in booking patch endpoint (#61074) 2022-02-11 08:53:45 +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
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
Valentin Deniaud 40b7329583 api: use date parameters to filter subscribed agendas more efficiently (#60064) 2022-01-31 11:37:09 +01:00
Lauréline Guérin 38e4b745b0
api: fix event endpoints (#61178) 2022-01-27 16:55:22 +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
Valentin Deniaud 4c66e5a303 api: sort events by start time in recurring events list (#60461) 2022-01-17 15:48:14 +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 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 51812ea159 api: sort events by start_datetime in recurring events list (#59869) 2022-01-04 10:52:14 +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
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 842d7629d8 api: do not cancel past bookings in multiple events fillslots (#59778) 2021-12-16 16:54:23 +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 02837f7632 api: add agenda deletion (#59127) 2021-12-13 09:58:12 +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
Valentin Deniaud e7adcb1828 api: allow multiple grouping in statistics (#57817) 2021-11-02 10:03:08 +01:00
Valentin Deniaud 7ce030c69f api: add prefetching to recurring events endpoints (#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
Valentin Deniaud 887f2a5f02 api: include event label and day when listing recurring events (#57958) 2021-10-20 10:50:45 +02:00
Lauréline Guérin 6297ea6231
agendas: event publication_datetime (#56634) 2021-10-15 08:13:28 +02:00
Nicolas Roche a7757b7a22 api: prefetch roles on agenda display (#57670) 2021-10-11 14:52:42 +02:00
Nicolas Roche 0660f76ee7 api: display category on agenda details (#57670) 2021-10-11 14:50:38 +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 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
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 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
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
Benjamin Dauvergne af17a62015 api: reduce search window for open slots in fillslot (#56896) 2021-09-13 22:08:54 +02:00
Valentin Deniaud 246e14e7e4 misc: add event duration in export and api (#56786) 2021-09-08 12:37:59 +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 694a51beef trivial: add missing interpolation to string (#56300) 2021-08-21 14:51:36 +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
Lauréline Guérin 402438f4df
api: reduce datetimes querysets (#56046) 2021-08-13 08:57:03 +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 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