chrono/debian
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
..
source debian: switch package format to 3.0 (quilt) (#32261) 2019-04-13 11:41:29 +02:00
changelog debian: initial packaging 2016-05-04 16:04:41 +02:00
chrono-manage misc: run manage.py with python3 (#36224) 2019-09-18 14:17:20 +02:00
chrono.cron.d debian: explain that cron jobs are now managed by uwsgi (see #50870) 2021-02-04 22:39:24 +01:00
chrono.cron.daily debian: explain that cron jobs are now managed by uwsgi (see #50870) 2021-02-04 22:39:24 +01:00
chrono.cron.hourly debian: explain that cron jobs are now managed by uwsgi (see #50870) 2021-02-04 22:39:24 +01:00
chrono.dirs misc: add uwsgi spooler (#50723) 2021-02-16 16:04:49 +01:00
chrono.docs debian: initial packaging 2016-05-04 16:04:41 +02:00
chrono.init misc: add uwsgi spooler (#50723) 2021-02-16 16:04:49 +01:00
chrono.install debian: apply wrap-and-sort 2022-06-17 19:05:31 +02:00
chrono.postinst debian: set user/group of spooler directory (#51210) 2021-02-17 10:26:18 +01:00
chrono.service debian: add uwsgi/chrono SyslogIdentifier in service (#82977) 2023-10-31 13:18:22 +01:00
chrono.triggers debian: initial packaging 2016-05-04 16:04:41 +02:00
control build: remove weasyprint limit (#76965) 2023-07-14 17:13:41 +02:00
debian_config.py debian: adjust parenthesis... (#36214) 2019-09-18 10:18:54 +02:00
nginx-example.conf debian: initial packaging 2016-05-04 16:04:41 +02:00
python3-chrono.docs debian: switch to Python 3 (#35492) 2019-09-13 09:32:08 +02:00
rules debian: switch to debhelper-compat 12 (#57538) 2021-10-09 19:00:11 +02:00
settings.py general: reformat using black (#37464) 2019-12-16 16:24:38 +01:00
uwsgi.ini implement locking for meeting's agendas (#17685) 2023-11-16 10:37:00 +01:00