Commit Graph

317 Commits

Author SHA1 Message Date
Yann Weber 6c2c412cfc api: add 'max_places' argument to API (#89848)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-30 14:50:47 +02:00
Yann Weber 1aca9c2a66 agendas: replace vobject by icalendar & recurring_ical_events (#88806)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-30 14:40:56 +02:00
Frédéric Péters 32d0a0c44b general: add journal app (#86632)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-29 16:00:00 +02:00
Yann Weber 0563e0642d tests: fix event order in api fillslot tests (#89598)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-15 16:24:51 +02:00
Yann Weber d03e1e7940 tests: replace legacy Brazil/East timezone in fixture (#89097)
Replacing Brazil/East (legacy, not present in defaults zoneinfo anymore)
with America/Sao_Paulo
2024-04-15 15:08:00 +02:00
Yann Weber 570cf81c8e manager: make agenda's groups foldable (#85616)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-15 14:44:09 +02:00
Benjamin Dauvergne 5fa96e62a8 agendas: fix counting of unlocked bookings with respect to waiting lists (#89266)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-10 10:12:15 +02:00
Lauréline Guérin 7c91b91d89 export_import: post bundle (#89035)
gitea/chrono/pipeline/head This commit looks good Details
2024-04-04 15:49:05 +02:00
Lauréline Guérin a167a91cde export_import: replace APIError by APIErrorBadRequest (#88593) 2024-04-04 15:49:05 +02:00
Lauréline Guérin 56b794468f export_import: remove authent on redirect test (#88593) 2024-04-04 15:49:05 +02:00
Frédéric Péters ae55827939 api: add agenda slug to event details (#88764)
gitea/chrono/pipeline/head This commit looks good Details
2024-03-29 08:28:58 +01:00
Lauréline Guérin d733e91135 api: add primary_event in event details (#88559)
gitea/chrono/pipeline/head This commit looks good Details
2024-03-29 08:21:04 +01:00
Lauréline Guérin 43c42c507c
export_import: missing component in bundle (#88068)
gitea/chrono/pipeline/head This commit looks good Details
2024-03-21 13:35:50 +01:00
Lauréline Guérin 886afb206e
export_import: unknown component_type in urls (#88068) 2024-03-21 13:35:50 +01:00
Lauréline Guérin 2c30eec6ac
export_import: invalid bundle (#88068) 2024-03-21 13:35:49 +01:00
Lauréline Guérin 1f23f85b3d
export_import: redirect to compare view if compare in GET params (#87653) 2024-03-21 11:49:48 +01:00
Lauréline Guérin 393a20b87b
export_import: bundle-check endpoint (#87653) 2024-03-21 11:49:48 +01:00
Lauréline Guérin df0e356e75
export_import: snapshots on application import (#87653) 2024-03-21 10:10:48 +01:00
Frédéric Péters 07512150e8 api: limit export/import APIs to admin users (#88439)
gitea/chrono/pipeline/head This commit looks good Details
2024-03-21 09:50:18 +01:00
Lauréline Guérin 2187bf3dde export_import: unknown component in urls (#88085)
gitea/chrono/pipeline/head This commit looks good Details
2024-03-21 08:31:19 +01:00
Lauréline Guérin 3cef873ce4
export_import: fix event agenda dependencies (#87627)
gitea/chrono/pipeline/head This commit looks good Details
2024-02-29 15:44:34 +01:00
Lauréline Guérin 03f9172c98
api: take snapshots (#87498)
gitea/chrono/pipeline/head This commit looks good Details
2024-02-27 15:33:48 +01:00
Yann Weber f2285f7880 api: add places_reserved field in booking API response (#84523)
gitea/chrono/pipeline/head This commit looks good Details
2024-01-17 09:56:00 +01:00
Benjamin Dauvergne 5a9379a7b8 api: allow modifying booking's data in waiting list (#85121)
gitea/chrono/pipeline/head This commit looks good Details
When presence informations are not modified.
2024-01-15 15:49:02 +01:00
Benjamin Dauvergne f61d07f586 api: remove check on GET /api/booking/<id>/ (#85121) 2024-01-15 15:49:02 +01:00
Yann Weber 14e7998895 api: add resize endpoint when reserving an event slot (#85190)
gitea/chrono/pipeline/head This commit looks good Details
2024-01-09 16:26:37 +01:00
Lauréline Guérin 8e35a25ad9
api: add adjusted values in cas of multi checks (#85088)
gitea/chrono/pipeline/head This commit looks good Details
2024-01-08 10:59:45 +01:00
Lauréline Guérin 3c052b467b export_import: add roles with minor=True (#85021)
gitea/chrono/pipeline/head This commit looks good Details
2023-12-22 11:42:23 +01:00
Lauréline Guérin 05aa65e72a export_import: complete redirect view for all components (#85010)
gitea/chrono/pipeline/head This commit looks good Details
2023-12-21 15:00:33 +01:00
Valentin Deniaud d02210ab66 api: add endpoint to check partial bookings (#84122)
gitea/chrono/pipeline/head This commit looks good Details
2023-12-18 09:41:20 +01:00
Valentin Deniaud ce96e674c2 manager: differentiate occasional partial bookings (#84140)
gitea/chrono/pipeline/head This commit looks good Details
2023-12-06 11:00:40 +01:00
Valentin Deniaud 5501b88c34 api: allow creating partial bookings agenda (#84121)
gitea/chrono/pipeline/head This commit looks good Details
2023-12-04 17:03:36 +01:00
Valentin Deniaud 440d02d505 api: forbid partial booking check outside of opening hours (#84211) 2023-12-04 17:03:32 +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
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 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 9d1c33970c agendas: refresh_computed_times on booking (#82848) 2023-11-10 08:37:09 +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
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 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 81e93dd4c5 agendas: allow multiple checks by booking (#80371) 2023-10-09 10:48:50 +02:00
Valentin Deniaud 3cb80d478a agendas: store computed start/end times on booking check (#80371) 2023-10-09 10:48:50 +02:00
Valentin Deniaud ec497c66d9 all: use new BookingCheck model (#80371) 2023-10-09 10:48:50 +02:00
Valentin Deniaud fb7d928206 all: do not write booking check info in secondary bookings (#81986)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-05 11:06:53 +02:00
Valentin Deniaud 9b315f4be3 api: count secondary booking presence from primary booking in stats (#81986) 2023-10-05 11:06:53 +02:00
Valentin Deniaud a13003cdec api: allow different hours per day in partial bookings recurring fillslots (#78086)
gitea/chrono/pipeline/head This commit looks good Details
2023-10-03 09:34:18 +02:00