Commit Graph

1883 Commits

Author SHA1 Message Date
Benjamin Dauvergne 2831272e56 manager: display placeholder for leased bookings (#82774) 2023-11-28 12:32:12 +01:00
Valentin Deniaud 14b7de35cc translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 17:43:25 +01:00
Valentin Deniaud faccc579c5 manager: avoid crash in partial bookings month view if multiple checks (#82234)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 15:24:54 +01:00
Valentin Deniaud 7182871b9f agendas: always order partial booking checks (#83544)
gitea/chrono/pipeline/head Build queued... Details
2023-11-27 15:24:32 +01:00
Valentin Deniaud 46e6fbcf5b agendas: forbid having more than two checks on booking (#83544) 2023-11-27 15:24:32 +01:00
Valentin Deniaud d9a93ac2e3 manager: forbid second partial booking check with same status (#83505)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 15:24:08 +01:00
Valentin Deniaud 21cd345c35 agendas: do no send reminders for secondary bookings (#83861)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 15:22:10 +01:00
Valentin Deniaud 3161f47cd1 manager: detect partial booking checks overlap using only form data (#82231)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 15:13:23 +01:00
Valentin Deniaud b7c5d4f675 manager: regroup partial booking check operations in one form (#82231) 2023-11-27 15:13:23 +01:00
Valentin Deniaud 8a8bea24a6 manager: change partial booking check deletion UI (#82231) 2023-11-27 14:56:19 +01:00
Thomas Jund 9b27620a89 manager: add css for partial bookings with only start or end checking (#80047)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 14:52:25 +01:00
Valentin Deniaud c4540c245a manager: allow separate arrival/departure check for partial bookings (#80047) 2023-11-27 14:52:25 +01:00
Valentin Deniaud db57ef6cf7 manager: display ids of guardians in shared custody agenda settings (#82957)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-27 10:03:52 +01:00
Valentin Deniaud 0afa7b9244 ci: lift pylint limit to catch 3.0 (#82169)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-22 13:46:59 +01:00
Thomas Jund 3e478042f6 manager: add hour indicator to partial booking today view (#80043)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-16 13:04:57 +01:00
Benjamin Dauvergne aff03ffdea translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-11-16 12:14:59 +01:00
Benjamin Dauvergne 0543594e30 ants_hub: proxy check-duplicate requests (#81229)
gitea/chrono/pipeline/head This commit looks good Details
To prevent having to configure the HUB URL and credentials in w.c.s.
2023-11-16 12:04:43 +01:00
Benjamin Dauvergne 7fab4c0f41 translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-11-16 10:59:31 +01:00
Benjamin Dauvergne 5716d6b3dc ants_hub: do not synchronize locked meetings (#80489)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-16 10:44:59 +01:00
Benjamin Dauvergne eafa816253 implement locking for event's agendas (#80489)
* add code to clean event's agendas lease/bookings
* add annotation helper method annotate_queryset_for_lock_code() to
  compute corrects places statistics given a lock_code (excluding
  bookings linked to this lock_code)
* use annotate_queryset_for_lock_code() in Datetimes and
  MultipleAgendasDatetimes
* make event's fillslot method completely atomic and add mechanic for
  handling the lock code
* removed handling of IntegrityError which cannot happen for events
* lock_code is for now not supported with RecurringFillslots
2023-11-16 10:40:35 +01:00
Benjamin Dauvergne d6a5861876 implement locking for meeting's agendas (#17685)
* add a Lease model to associate a lock_code to a booking,
* add a new command "clean_leases" run by cron every 5 minutes to clean
  expired leases,
* add new parameter lock_code to get_all_slots() and exclude conflicting
  booking linked to this lock_code if provided,
* accept new lock_code query string parameter in the datetimes endpoints
  (to see available slot minus the locked ones, if the user want to
  change the chosen slot)
* add new parameters lock_code and confirm_after_lock to the fillslot
  endpoint:
  - when lock_code is used without confirm_after_lock:
    1. look for available slots excluding events/booking pairs associated with the given lock_code, by passing lock_code to get_all_slots
    2. before creating the new event/booking pair, clean existing pairs
       associated to the lock code,
    3. after creating the new pair, create a new Lease object with the
       lock code
  - when lock_code is used with confirm_after_lock do all previous steps
    but 3., making a normal meeting booking.
* add tests with lock_code on meeting's datetimes and fillslot use,
  checking exclusion by resources or user_id works with lock_code
2023-11-16 10:37:00 +01:00
Benjamin Dauvergne 2d8912c0a3 agendas: add property for datetimes API url (#80489)
To simplify using datetimes URLs in tests.
2023-11-16 10:23:06 +01:00
Lauréline Guérin 3dac9ed0fb
api: set request_uuid and previous_state on bookings (#83098)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-16 09:19:30 +01:00
Lauréline Guérin 63a575f303
api: revert endpoint (#83098) 2023-11-16 09:19:30 +01:00
Lauréline Guérin 678ac6c1de
agendas: new fields in Booking model (#83098) 2023-11-16 09:19:30 +01:00
Thomas NOËL 6a411b1859 debian: add back memory-report to uwsgi default configuration (#80451)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-13 11:32:57 +01:00
Lauréline Guérin 4291cc73db
api: iter MultipleAgendasEventsCheckStatus on user_checks (#82849)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-10 08:38:05 +01:00
Lauréline Guérin e4864ea95b agendas: partial bookings, compute double booking check (#82848)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-10 08:37:09 +01:00
Lauréline Guérin 9d1c33970c agendas: refresh_computed_times on booking (#82848) 2023-11-10 08:37:09 +01:00
Frédéric Péters 031961ad80 translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-11-02 14:47:56 +01:00
Lauréline Guérin 5b8419efe5 agendas: add times in notify_checked for partial bookings (#82842)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-02 12:22:11 +01:00
Lauréline Guérin cff4ce0861 agendas: notify_checked, loop on booking checks instead of bookings (#82842) 2023-11-02 12:22:11 +01:00
Lauréline Guérin 737ba6f0bb manager: fix display of "check event" button (#82839)
gitea/chrono/pipeline/head Build queued... Details
2023-11-02 12:20:22 +01:00
Lauréline Guérin 72be0166f3 manager: fold check filters (#82839) 2023-11-02 12:20:22 +01:00
Lauréline Guérin dae40958f4 manager: fix event details head title (#82839) 2023-11-02 12:20:22 +01:00
Lauréline Guérin 05703dddb1 misc: fix failing tests at midnight (#82926)
gitea/chrono/pipeline/head This commit looks good Details
2023-11-02 12:19:12 +01:00
Frédéric Péters 78928bc760 api: strip white spaces and dots from received phone numbers (#82889)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-31 16:32:29 +01:00
Thomas NOËL a548753f2a debian: add uwsgi/chrono SyslogIdentifier in service (#82977)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-31 13:18:22 +01:00
Emmanuel Cazenave 8a7f83a02d translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-10-31 12:03:11 +01:00
Emmanuel Cazenave 36d1ea9ec0 setup: compute pep440 compliant dirty version number (#81731)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-30 17:40:37 +01:00
Lauréline Guérin 368c239218 manager: fix wording in partial booking day view (#82840)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-30 16:10:06 +01:00
Lauréline Guérin 81aa0d95fc manager: partial bookings, no delete option if no check object (#82840) 2023-10-30 16:10:06 +01:00
Lauréline Guérin 61a6bc35bb
misc: fix failing tests at midnight (#82920)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-28 00:43:33 +02:00
Lauréline Guérin b15e4a3c7c
api: complete agendas dependencies (#82713)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-27 15:51:50 +02:00
Lauréline Guérin f5e3f625d2
api: make import/export endpoints generic for other kinds of objects (#82713) 2023-10-27 15:51:50 +02:00
Lauréline Guérin a940ee3961 api: export/import, add uuid for role in dependencies view (#82764)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-27 15:49:46 +02:00
Lauréline Guérin 9defbefe1e
misc: fix failing tests at midnight (#82753)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-27 10:40:29 +02:00
Emmanuel Cazenave cba5520541 api: add module with applification API (#82198)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-17 10:29:46 +02:00
Valentin Deniaud a25a8e6ef1 translation update
gitea/chrono/pipeline/head This commit looks good Details
2023-10-09 10:58:28 +02:00
Valentin Deniaud 2a56ba5432 manager: allow adding second check to partial booking (#80371)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-09 10:48:50 +02:00