Commit Graph

355 Commits

Author SHA1 Message Date
Lauréline Guérin abf70dba29
agendas: remove CheckType & CheckTypeGroup models (#66015) 2022-07-01 10:34:52 +02:00
Lauréline Guérin b5d836d46d
agendas: Booking.user_check_type becomes 2 fields (slug, label) (#66015) 2022-07-01 10:34:52 +02:00
Valentin Deniaud 8234dcf6a2 api: return backoffice URL on shared custody agenda creation (#66333) 2022-06-27 17:10:29 +02:00
Lauréline Guérin 9842b071c8
api: patch booking & use_color_for (#66382) 2022-06-27 12:21:01 +02:00
Lauréline Guérin 4617dbdebb
api: new endpoint to get events and check status (#65770) 2022-06-10 14:21:24 +02:00
Paul Marillonnet 81afbc271f api: patch booking color through dedicated endpoint (#65756) 2022-05-31 09:53:49 +02:00
Lauréline Guérin de59c38321
api: add category_label to agenda details (#65524) 2022-05-20 13:54:42 +02:00
Lauréline Guérin 3db7658f6e
api: patch booking & user fields (#63913) 2022-05-17 15:44:18 +02:00
Valentin Deniaud e629fccaec api: forbid overlapping recurring events booking (#64383) 2022-05-16 10:58:35 +02:00
Valentin Deniaud b359c3f1ff api: forbid overlapping events booking (#64383) 2022-05-16 10:58:35 +02:00
Valentin Deniaud 3fab3b136c api: configure shared custody agenda on creation (#64423) 2022-05-02 11:34:51 +02:00
Valentin Deniaud 513980d5b1 agendas: split name into first name and last name for shared custody (#64423) 2022-05-02 11:34:51 +02:00
Lauréline Guérin e2cd0d6ad6
agendas: Booking.user_check_type becomes a FK (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin 3a1655adff
api: set presence reason on bookings (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin ae28ec5858
agendas: add kind field to CheckType model (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin 4547d00787
api: keep user_absence_reason field (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin b1c85499df
agendas: rename absence reason into check type (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin d728a26447
api: mark bookings and cancellations as out of min delay (#63809) 2022-04-12 11:45:36 +02:00
Lauréline Guérin 0c9b65cead
api: include custom fields in events details (#63288) 2022-04-08 10:54:16 +02:00
Lauréline Guérin c945f6b13f
api: configure custom fields on event (#63287) 2022-04-07 13:52:25 +02:00
Lauréline Guérin f2a1a97940
api: configure events type on agenda (#63286) 2022-04-07 11:33:28 +02:00
Lauréline Guérin 094cba528d
api: return status in multiple agendas datetimes (#63268) 2022-04-07 09:53:39 +02:00
Lauréline Guérin db5b7f3be7
misc: clean and simplify prefetch methods (#63268) 2022-04-07 09:01:04 +02:00
Lauréline Guérin 11efe9ce10
api: add backoffice_url to agenda details (#63183) 2022-04-04 17:34:09 +02:00
Valentin Deniaud 050fa402f7 misc: remove feature flag from recurring event booking apis (#63521) 2022-04-04 17:03:19 +02:00
Valentin Deniaud afe588a1fb api: add shared custody support in recurring event list and fillslots (#63048) 2022-04-04 15:29:08 +02:00
Lauréline Guérin 9a8e19d0c6
api: add booking id and urls in events fillslot result (#63044) 2022-04-01 08:31:18 +02:00
Emmanuel Cazenave 89289ad665 agendas: honor real agendas booking delay when booking through a virtual agenda (#63358) 2022-03-31 14:41:48 +02:00
Valentin Deniaud c1938e3046 api: indicate possibility of future data in statistics (#62987) 2022-03-28 11:08:36 +02:00
Valentin Deniaud b626b24800 agendas: remove useless subscription and shared custody code (#62635)
This includes partial revert of 56300815e7
and f158dc02ef.
2022-03-28 10:29:48 +02:00
Valentin Deniaud 7769ffabf6 agendas: simplify get_open_events method (#62635) 2022-03-28 10:29:48 +02:00
Valentin Deniaud d707c0569c agendas: remove code creating event recurrence on the fly (#62635) 2022-03-28 10:29:48 +02:00
Valentin Deniaud 11fa0802ec agendas: stop adding event recurrences on the fly (#62635) 2022-03-28 10:29:48 +02:00
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