Commit Graph

934 Commits

Author SHA1 Message Date
Valentin Deniaud aa511e416f manager: allow importing partial bookings events (#78061)
gitea/chrono/pipeline/head This commit looks good Details
2023-06-01 11:56:38 +02:00
Valentin Deniaud 18470cb6be api: include end_datetime for partial bookings events (#78056)
gitea/chrono/pipeline/head This commit looks good Details
2023-06-01 10:05:42 +02:00
Valentin Deniaud 2a776007e0 api: allow partial booking in recurring events fillslots (#78056) 2023-06-01 10:05:42 +02:00
Valentin Deniaud 1b9bd2f428 manager: add partial bookings day view (#78056) 2023-06-01 10:05:42 +02:00
Valentin Deniaud 21c0d0da1f manager: configure partial bookings agenda (#78056) 2023-06-01 10:05:42 +02:00
Lauréline Guérin 12a1fbaa72
misc: fix failing tests at midnigth (#78069)
gitea/chrono/pipeline/head This commit looks good Details
2023-06-01 09:47:08 +02:00
Benjamin Dauvergne df6721d580 agendas: implements free time calculation (#76335)
gitea/chrono/pipeline/head This commit looks good Details
SharedTimePeriod gets a get_intervals(mintime, maxtime) method returning the
list of intervals of open time between mintime and maxtime.

Agenda gets a get_free_time(mintime, maxtime) method returning the
list of intervals of open time between mintime and maxtim.
2023-05-30 22:24:57 +02:00
Benjamin Dauvergne 8278e6dca1 tests: add helper functions to manage meetings agendas (#76335) 2023-05-30 22:24:57 +02:00
Benjamin Dauvergne fd28d075a5 utils: add IntervalSet.__add__ (#76335)
Most algo around agendas amounts to adding a bunch of intervals them
removing some. The method to add them was missing.
2023-05-30 22:24:57 +02:00
Benjamin Dauvergne 881b585c3d misc: move interval module in chrono.utils (#76335)
Just some cleaning.
2023-05-30 22:24:57 +02:00
Valentin Deniaud 13f44f7cd0 api: disable legacy fillslots api by default (#77806)
gitea/chrono/pipeline/head This commit looks good Details
2023-05-30 15:04:47 +02:00
Pierre Ducroquet 84bdeb3ed3 tests: force an analyze pass after we load data so PG has usable statistics (#77590)
gitea/chrono/pipeline/head This commit looks good Details
2023-05-30 10:08:42 +02:00
Valentin Deniaud 2d2052f91c api: add agenda patch endpoint (#77852)
gitea/chrono/pipeline/head Build queued... Details
2023-05-30 10:05:15 +02:00
Valentin Deniaud 80b2b70654 manager: allow exporting agendas by category (#77790)
gitea/chrono/pipeline/head This commit looks good Details
2023-05-30 10:04:50 +02:00
Valentin Deniaud b35708abcb manager: restore week number display (#75011)
gitea/chrono/pipeline/head This commit looks good Details
2023-05-15 10:34:28 +02:00
Valentin Deniaud 139f96672d manager: show date range in week view page title (#75010)
gitea/chrono/pipeline/head Build queued... Details
2023-05-15 10:34:03 +02:00
Valentin Deniaud 8e3631a346 manager: highlight Today button on today's page (#75009)
gitea/chrono/pipeline/head This commit looks good Details
2023-05-15 10:20:19 +02:00
Valentin Deniaud 9ed93daca8 manager: move settings and print buttons to kebab menu (#75013)
gitea/chrono/pipeline/head There was a failure building this commit Details
2023-05-15 10:16:26 +02:00
Lauréline Guérin 3c25b09fa0
misc: fix failing tests at midnigth (#75589)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-20 00:39:18 +02:00
Lauréline Guérin 41df2c58a5
api: events fillslots, return details of cancelled events (#76326)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-14 09:37:49 +02:00
Emmanuel Cazenave c866e7e4a4 agendas: change max_booking_datetime implementation (#76303)
When a minimal_booking_time is defined max_booking_datetime's time is always midnight.
The switch max_booking_datetime += 1 occurs at minimal_booking_time.

When a minimal_booking_time is None, booking_datetime's time is the current time.
2023-04-11 12:29:19 +02:00
Emmanuel Cazenave 3855cfccb6 agendas: do not use minimal_booking_time in min_booking_datetime computation (#76303) 2023-04-11 12:23:03 +02:00
Lauréline Guérin f28031f5a2
api: fix datetimes for multiple agendas when no subscriptions & overlaps (#76217)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-04 16:14:53 +02:00
Frédéric Péters ad2b04f89f misc: notify bookings when event is marked as checked (#75896)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-03 16:41:07 +02:00
Frédéric Péters 5265839e69 misc: add presence/absence callback URLs (#75896) 2023-04-03 16:41:07 +02:00
Lauréline Guérin ba91b0d520
manager: display invoiced tag (#75415)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-03 16:28:38 +02:00
Lauréline Guérin c7319f2c3c
api: mark events as invoiced (#75415) 2023-04-03 16:28:38 +02:00
Lauréline Guérin 8892bd7bcb
manager: lock check if flag check_locked is enabled (#75416)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-03 16:17:41 +02:00
Lauréline Guérin a1302e3389
api: lock check on event (#75416) 2023-04-03 16:17:41 +02:00
Lauréline Guérin 22721d9cfa
manager: display extra user block on demand on check page (#75413)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-30 11:43:07 +02:00
Valentin Deniaud 0529ec2301 tests: remove Django 2 compatibility code (#75442) 2023-03-29 12:08:30 +02:00
Valentin Deniaud b38f5f901e misc: bump black version (#75442) 2023-03-29 12:08:30 +02:00
Valentin Deniaud de227cfe26 misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 12:08:30 +02:00
Emmanuel Cazenave 1827cfe5c6 api: add minutes filter on meetings datetimes endpoint (#73832)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-28 13:16:19 +02:00
Benjamin Dauvergne dbd62e3f3f agendas: reimplement min/max_booking_datetime based on minimal_booking_time (#56284) 2023-03-28 10:26:12 +02:00
Benjamin Dauvergne ddc52a4116 agendas: add Agenda.minimal_booking_time field (#56284) 2023-03-28 10:26:12 +02:00
Benjamin Dauvergne 07f996ea76 tests: add test on user_external_id exclusion between agendas of different kind or timeperiod (#75587) 2023-03-24 15:41:51 +01:00
Lauréline Guérin 2b9b2f2607
manager: enable check of future event (#75277)
gitea/chrono/pipeline/head There was a failure building this commit Details
2023-03-16 15:00:00 +01:00
Lauréline Guérin 0a9e36883c
agendas: add a flag to enable check of future events (#75277) 2023-03-16 15:00:00 +01:00
Lauréline Guérin 970ba42075
manager: reset user_was_present on booking check page (#75276)
gitea/chrono/pipeline/head There was a failure building this commit Details
2023-03-16 14:59:33 +01:00
Lauréline Guérin 6c134bfa3f
manager: allow check of subscription with no booking (#62235)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-16 14:59:13 +01:00
Lauréline Guérin 45b72d53de
manager: allow check for cancelled booking if subscription exist (#62235) 2023-03-16 14:57:14 +01:00
Benjamin Dauvergne e86cdf15fc misc: use zoneinfo instead of pytz for timezones (#71918)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-14 17:06:59 +01:00
Emmanuel Cazenave 39523e4e65 api: add end_datetime in meetings datetimes (#60789)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-13 17:42:58 +01:00
Emmanuel Cazenave 46247c7818 api: add end_datetime in event details (#60789) 2023-03-13 17:42:58 +01:00
Lauréline Guérin 0507bd3eea
api: sort events by date in datetimes endpoint (#75331)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-10 15:20:30 +01:00
Lauréline Guérin 87783c980a manager: event detail url with slugs (#75111)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-10 08:49:36 +01:00
Lauréline Guérin d33be64bff
misc: fix randomly failing test (#74916)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-02 14:37:04 +01:00
Lauréline Guérin c35dffb1bb
manager: fix check page with bad extra data values (#74872)
gitea/chrono/pipeline/head This commit looks good Details
2023-03-02 11:48:17 +01:00
Lauréline Guérin ebc237cf56
api: check extra_data values on fillslot (#74872) 2023-03-02 11:48:17 +01:00