Commit Graph

857 Commits

Author SHA1 Message Date
Valentin Deniaud e4cdc61474 agendas: do not set recurrence end date on event recurrences (#53505) 2021-04-28 15:38:55 +02:00
Thomas NOËL 000ea8dc07 manager: create a new desk only on new meetings agendas (#53444) 2021-04-27 09:58:51 +02:00
Lauréline Guérin 9a01619c85
manager: fix default_view initial value for non events agenda (#53351) 2021-04-23 10:33:10 +02:00
Benjamin Dauvergne 6c9518f4d6 api: change date filtering of already booked meetings (#53313)
For a researsing slots in an interval of

    [min, max]

overlapping events should be considered if

    event.start_datetime \in [min - agenda.max_duration_meeting_types, max]

as the implicit event.end_datetime cannot be superior to:

    event.start_datetime + agenda.max_meeting_types_duration

and the formal condition for an overlapping event is :

    event.start_datetime < max && event.end_datetime > min
2021-04-23 10:31:55 +02:00
Benjamin Dauvergne 10a9c80f9a tests: add test overlapping events with filtered dates (#53313) 2021-04-23 10:31:55 +02:00
Benjamin Dauvergne 3952fe604b agenda: add get_max_meeting_duration method (#53313) 2021-04-23 10:31:55 +02:00
Benjamin Dauvergne 0bb2ca3676 api: fix typo in gel_all_slots() (#53313) 2021-04-23 10:31:55 +02:00
Lauréline Guérin f7c2abee4f
misc: simplify some api tests 2021-04-23 09:44:45 +02:00
Lauréline Guérin aa175d1306
api: add resources api (#53272) 2021-04-23 09:44:45 +02:00
Lauréline Guérin e9c9655064
api: fix event meta for ocurrences (#53209) 2021-04-23 09:09:42 +02:00
Lauréline Guérin 6554c0a42c
api: fix date_start & meetings/datetimes - again (#53207) 2021-04-16 15:33:23 +02:00
Lauréline Guérin d2643465a0
misc: add isort reformat reference to git blame ignore (#52856) 2021-04-16 10:33:24 +02:00
Lauréline Guérin 34224c56aa
misc: apply isort (#52856) 2021-04-16 10:32:59 +02:00
Lauréline Guérin b26638f946
misc: add isort (#52856) 2021-04-16 10:32:59 +02:00
Lauréline Guérin b0a75384e9
misc: update black config (#52856) 2021-04-16 10:31:49 +02:00
Lauréline Guérin 0af9b0b63d
api: fix date_start & meetings/datetimes (#52995) 2021-04-15 15:36:05 +02:00
Frédéric Péters a8152457d4 translations: fix a leftover usage of "raison" (#53076) 2021-04-13 17:20:40 +02:00
Frédéric Péters e0f4193055 fix typo in translation (and use correct term) (#53076) 2021-04-13 16:44:37 +02:00
Frédéric Péters 5dc4c44e5b translation update 2021-04-07 20:45:54 +02:00
Frédéric Péters fb663b38ed manager: mark import strings for translation (#52814) 2021-04-07 20:45:54 +02:00
Valentin Deniaud ec01193fdd agendas: do not export deleted meeting type (#52816) 2021-04-07 13:53:02 +02:00
Frédéric Péters 394a3101c4 manager: add some style onto absence reason list (bis) (#52643) 2021-04-03 13:15:03 +02:00
Frédéric Péters ed874f15ef translation update 2021-04-02 15:53:33 +02:00
Frédéric Péters 8c2f5ceb4e manager: fix column width of booking check table (#52677) 2021-04-02 15:12:50 +02:00
Frédéric Péters 46cf0f6923 translation: replace "raison d'absence" by "motif d'absence" 2021-04-02 10:33:36 +02:00
Frédéric Péters c99361c999 manager: add some style onto absence reason list (#52643) 2021-04-02 08:34:32 +02:00
Frédéric Péters c827338bbf translation update 2021-04-01 21:29:34 +02:00
Valentin Deniaud 4d9819d6e2 manager: prevent access to recurring event detail view (#52636) 2021-04-01 16:14:01 +02:00
Lauréline Guérin 82f79b29cf
manager: use ajax to check bookings (#51535) 2021-04-01 14:53:36 +02:00
Lauréline Guérin ca514f6d11
manager: event check page (#51535) 2021-04-01 14:53:34 +02:00
Lauréline Guérin eb9b9f98ca
manager: absence reason groups on agenda import/export (#51535) 2021-04-01 14:23:50 +02:00
Lauréline Guérin 013869305c
manager: set absence reasons group on events agenda (#51535) 2021-04-01 14:23:50 +02:00
Lauréline Guérin 517a6d9c8d
manager: simplify edition views for Resource and Category 2021-04-01 14:23:49 +02:00
Lauréline Guérin 6cbeb344a1
manager: absence reasons management (#51535) 2021-04-01 14:23:49 +02:00
Lauréline Guérin 3680c6e908
agendas: model updates for absence reasons (#51535) 2021-04-01 14:23:49 +02:00
Lauréline Guérin b02adfae73
misc: split manager tests about events 2021-04-01 14:23:48 +02:00
Lauréline Guérin a595b70a2a
misc: split manager tests about unavaibility calendars 2021-04-01 14:03:07 +02:00
Lauréline Guérin 94cbc5691f
misc: split manager tests about categories 2021-04-01 14:03:07 +02:00
Lauréline Guérin b0ca871a72
misc: split manager tests about resources 2021-04-01 14:03:07 +02:00
Lauréline Guérin bab264bdf4
misc: move manager tests 2021-04-01 14:03:06 +02:00
Valentin Deniaud 63d44d06d4 trivial: add missing choices update in migration 2021-04-01 13:53:45 +02:00
Valentin Deniaud 1294566ad8 manager: allow editing event recurrence (#52112) 2021-04-01 11:15:51 +02:00
Valentin Deniaud f792b808c1 manager: use slug instead of start_datetime to identify event recurrence (#52112) 2021-04-01 11:15:51 +02:00
Lauréline Guérin 9232fe047f
manager: day view for events agenda (#51854) 2021-04-01 10:24:12 +02:00
Lauréline Guérin 7535f2be6b
manager: default_view for meetings agenda (#51907) 2021-04-01 08:55:59 +02:00
Valentin Deniaud ad0bcd7a88 tests: address time change issues (#52469) 2021-03-29 18:05:35 +02:00
Lauréline Guérin bf10ddf860
api: hide disabled slots if requested (#51160) 2021-03-26 14:23:12 +01:00
Lauréline Guérin 07f2af930b
api: use date or datetimes for start/end param in datetimes (#51986) 2021-03-26 10:13:48 +01:00
Valentin Deniaud bc2e447465 tests: freeze time to avoid dst issue 2021-03-24 11:42:33 +01:00
Lauréline Guérin bbd93a1bec api: fix date parsing (#52172) 2021-03-23 13:31:29 +01:00