Commit Graph

412 Commits

Author SHA1 Message Date
Emmanuel Cazenave 2f48b1057f wip 2023-05-15 15:36:25 +02:00
Benjamin Dauvergne 8748be2b22 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-04-21 13:31:42 +02:00
Benjamin Dauvergne 246e62d96b misc: move interval module in chrono.utils (#76335)
Just some cleaning.
2023-04-21 13:30:53 +02:00
Benjamin Dauvergne 60b1608f93 agendas: move get_all_slots() and get_min/max_datetime() as Agenda's methods (#76335) 2023-04-21 13:29:20 +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 c7e9c0cd81 agendas: change wording on minimal_booking_time (#76303)
gitea/chrono/pipeline/head This commit looks good Details
2023-04-11 12:29:39 +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
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 c7319f2c3c
api: mark events as invoiced (#75415) 2023-04-03 16:28:38 +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 de227cfe26 misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 12:08:30 +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
Lauréline Guérin be3eedc3fe
misc: remove some warnings (#75590)
gitea/chrono/pipeline/head This commit looks good Details
models.W042
fields.W903
fields.W904
2023-03-20 09:07:30 +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 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
Lauréline Guérin a6b0ed6abf
manager: check counters (#74489)
gitea/chrono/pipeline/head This commit looks good Details
2023-02-28 10:52:40 +01:00
Valentin Deniaud df9e60149f api: add booked events overlaps info in recurring events list (#73904)
gitea-wip/chrono/pipeline/pr-main This commit looks good Details
2023-02-06 11:56:47 +01:00
Valentin Deniaud 55f624f3b2 api: operate recurring events fillslot overlap check on booked events (#73904) 2023-02-06 11:56:47 +01:00
Valentin Deniaud 6941306056 api: check overlaps only on specified agendas for recurring events (#73904) 2023-02-06 11:56:47 +01:00
Lauréline Guérin 4db8e384c9 agendas: change Event id field to have a BigAutoField (#74008) 2023-02-03 11:17:52 +01:00
Lauréline Guérin d994258018 agendas: rewrite recurrence creation (#74105) 2023-02-02 16:27:53 +01:00
Lauréline Guérin fbd286ae2b agendas: user_phone_number max_length change (#72452) 2022-12-20 15:40:06 +01:00
Valentin Deniaud 6ef8117a05 agendas: keep stable time on dst change for date time periods (#72508) 2022-12-15 18:04:00 +01:00
Valentin Deniaud 46b70f6d05 agendas: compare all WeekTime attributes by default (#72475) 2022-12-15 15:04:29 +01:00
Valentin Deniaud 7ef4bffa95 agendas: retain time period weekday_indexes attribute in exclusion computation (#72491) 2022-12-15 15:02:38 +01:00
Valentin Deniaud aac92703b7 agendas: use date end when filtering custody agendas (#71633) 2022-12-12 11:12:59 +01:00
Valentin Deniaud d131181c4e agendas: add date end field to shared custody agenda (#71633) 2022-12-12 11:12:59 +01:00
Valentin Deniaud 688c12e201 agendas: retain time period date attribute in exclusion computation (#71797) 2022-12-01 17:59:15 +01:00
Valentin Deniaud 1c608d2f24 agendas: limit shared custody agenda to only one child (#71632)
gitea-wip/chrono/pipeline/pr-main This commit looks good Details
gitea-wip/chrono/pipeline/head There was a failure building this commit Details
gitea/chrono/pipeline/head Something is wrong with the build of this commit Details
2022-11-28 15:51:59 +01:00
Valentin Deniaud f8e1888144 api: add date time period support in datetimes and fillslot (#70185) 2022-10-31 16:52:48 +01:00
Valentin Deniaud bb148dc008 manager: display date time period in calendar views (#70185) 2022-10-31 16:52:48 +01:00
Valentin Deniaud aa0549f5b6 manager: add date time period support in settings (#70185) 2022-10-31 16:52:48 +01:00
Valentin Deniaud d0a8534fcd agendas: add date field to time period (#70185) 2022-10-31 16:52:48 +01:00
Lauréline Guérin 863dc6ce70
manager: weekly wiew for agendas & resources (#33404) 2022-10-29 09:58:29 +02:00
Benjamin Dauvergne 886487f623 api: add parameter to disable the ics export's organizer (#69883) 2022-10-05 16:45:51 +02:00
Frédéric Péters dac8f1d5a9 misc: allow reminder to be sent up to five days before date (#69350) 2022-09-23 09:48:43 +02:00
Benjamin Dauvergne 2fb68bcb8a api: add organizer event's attribute in ics exports (#67104) 2022-09-15 14:12:01 +02:00
Agate cb7b1f3ca3 django4: replaced force_text with equivalent force_str (#68593) 2022-09-01 09:09:43 +02:00
Agate da4456096b django4: replaced ugettext* calls with corresponding gettext* calls (#68593) 2022-09-01 09:09:43 +02:00
Frédéric Péters 8804213fca misc: add timeout to ICS retrieval (#68474) 2022-08-27 16:30:48 +02:00
Valentin Deniaud a2e89316d2 manager: fix invalid link for templated ICS URL (#68248) 2022-08-18 14:19:19 +02:00
Agate bca73caaea manager: allow duplication of events (#67292) 2022-08-18 11:52:27 +02:00
Agate 963871ce43 fix Django 3.2 related test failures (#68025) 2022-08-18 09:12:29 +02:00