2147d7ad5e
Redo simulations lifecycle ( #222 )
...
Run unit tests / rubocop (push) Successful in 27s
Run unit tests / check-licenses (push) Successful in 32s
Run unit tests / copyright_notice (push) Successful in 36s
Run unit tests / unit_tests (push) Successful in 1m22s
Run unit tests / build-static-assets (push) Successful in 10m9s
## Why
The current way of creating and deleting simulations doesn't scale for big instances. We cannot generate 50 simulations every time a guest confirms attendance, and we should not delete existing valuable simulations. For example, if a guest confirms attendance and declines right after, previously generated simulations should still be valid.
## What
In this PR we are introducing a series of changes that make simulations management easier:
1. We're removing the automatic creation of simulations.
2. Simulations are not removed anymore, neither manually nor automatically.
3. A new endpoint has been defined to create simulations on demand.
4. A digest property has been defined to determine whether a simulation is still valid (meaning there have not been any change in the list of guests involved).
Reviewed-on: #222
Co-authored-by: Manuel Bustillo <bustikiller@bustikiller.com>
Co-committed-by: Manuel Bustillo <bustikiller@bustikiller.com>
2025-01-26 12:53:21 +00:00
8c12884212
Add copyright notice
Check usage of free licenses / check-licenses (pull_request) Successful in 1m38s
Add copyright notice / copyright_notice (pull_request) Successful in 3m16s
Run unit tests / unit_tests (pull_request) Successful in 5m31s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 41m31s
2025-01-23 21:34:23 +00:00
6cead51bb9
Remove all copyright notices to force recreation
Check usage of free licenses / check-licenses (pull_request) Successful in 1m25s
Add copyright notice / copyright_notice (pull_request) Successful in 3m0s
Run unit tests / unit_tests (pull_request) Successful in 4m54s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 45m24s
2025-01-23 22:29:26 +01:00
74ca20d3e8
Add copyright notice
Check usage of free licenses / check-licenses (pull_request) Successful in 1m22s
Add copyright notice / copyright_notice (pull_request) Successful in 2m5s
Run unit tests / unit_tests (pull_request) Successful in 3m45s
Build Nginx-based docker image / build-static-assets (pull_request) Has been cancelled
2025-01-23 21:18:12 +00:00
91bbae1c63
Add copyright notice
Check usage of free licenses / check-licenses (pull_request) Successful in 59s
Add copyright notice / copyright_notice (pull_request) Successful in 2m21s
Run unit tests / unit_tests (pull_request) Successful in 3m2s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 25m17s
2025-01-13 20:38:47 +00:00
e20a366410
Update copyright assignment to cover 2025 and include all contributors
Check usage of free licenses / check-licenses (pull_request) Successful in 56s
Add copyright notice / copyright_notice (pull_request) Successful in 1m36s
Run unit tests / unit_tests (pull_request) Successful in 3m56s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 28m26s
2025-01-13 21:37:02 +01:00
55e6cfcd36
Fix order of Ruby's magic string comment and Copyright assignment
Check usage of free licenses / check-licenses (pull_request) Failing after 1m53s
Run unit tests / unit_tests (pull_request) Failing after 3m11s
Add copyright notice / copyright_notice (pull_request) Successful in 3m16s
2024-12-28 18:37:47 +01:00
19dcb551fa
Run Rubocop autocorrect on app/models
2024-12-28 18:13:57 +01:00
83e36df14e
Allow the creation of guests associated to no group
Check usage of free licenses / check-licenses (pull_request) Successful in 45s
Add copyright notice / copyright_notice (pull_request) Successful in 1m31s
Run unit tests / unit_tests (pull_request) Successful in 2m0s
2024-12-08 13:10:49 +01:00
9e097361d0
Define endpoints to create, update, and delete groups
2024-12-08 11:30:38 +01:00
4d9563cab7
Adapt background job to use acts as tenant
2024-12-01 10:41:05 +01:00
8bff98b165
Create DB associations
2024-11-30 20:06:43 +01:00
f1d1ea825c
Recalculate simulations after removing a guest
Check usage of free licenses / check-licenses (pull_request) Successful in 56s
Add copyright notice / copyright_notice (pull_request) Successful in 1m20s
Run unit tests / unit_tests (pull_request) Successful in 2m4s
2024-11-17 18:25:38 +01:00
7542c6361c
Define an endpoint to destroy guests
2024-11-17 18:24:43 +01:00
31d41ea2ea
Remove unused bulk update endpoint
Check usage of free licenses / check-licenses (pull_request) Successful in 1m39s
Add copyright notice / copyright_notice (pull_request) Successful in 2m48s
Run unit tests / unit_tests (pull_request) Successful in 3m46s
2024-11-17 17:07:29 +01:00
6f6a6aaabf
Update format of guests API and document endpoints
Check usage of free licenses / check-licenses (pull_request) Successful in 4m31s
Add copyright notice / copyright_notice (pull_request) Successful in 18m9s
Run unit tests / unit_tests (pull_request) Successful in 17m2s
2024-11-16 02:16:19 +01:00
d75b117c60
Merge pull request 'Introduce endpoint to retrieve a summary of groups and invite attendance' ( #122 ) from groups-index-stats into main
...
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m39s
Add copyright notice / copyright_notice (pull_request) Successful in 2m20s
Run unit tests / unit_tests (pull_request) Successful in 5m23s
Reviewed-on: #122
2024-11-14 08:30:27 +01:00
bd5c4f5482
Merge first and last name and expose guest update endpoint
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m42s
Add copyright notice / copyright_notice (pull_request) Successful in 3m5s
Run unit tests / unit_tests (pull_request) Successful in 5m4s
2024-11-11 07:55:03 +01:00
9035df5178
Install shoulda matchers, improve guests specs and change enum syntax
Add copyright notice / copyright_notice (pull_request) Successful in 1m18s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m28s
Run unit tests / unit_tests (pull_request) Successful in 1m0s
2024-11-09 17:45:23 +01:00
50a5c90728
Only include potential guests in the simulation
2024-11-03 09:15:48 +01:00
5fef6f1011
Remove references to acts_as_taggable_on gem
2024-11-01 19:55:39 +00:00
b7cabc1661
Add copyright notice
Add copyright notice / copyright_notice (pull_request) Successful in 3m21s
Run unit tests / unit_tests (pull_request) Successful in 2m49s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 31m54s
2024-10-27 21:42:45 +00:00
7338bbf0a8
Include an additional tentative status
Run unit tests / unit_tests (pull_request) Successful in 7m14s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 57m52s
2024-10-27 19:25:24 +01:00
cb42b86136
Include confirmation status
Run unit tests / unit_tests (pull_request) Successful in 2m39s
2024-08-11 19:24:24 +02:00
cca869a0c4
Display group name in the list of guests
Run unit tests / unit_tests (pull_request) Failing after 1m8s
2024-08-11 18:25:12 +02:00
3660d14d44
Fix install of taggable gem and add tags to seeds
2024-07-11 20:41:07 +02:00
946cd959e2
Display list of guests
2024-07-11 20:13:22 +02:00
2ed9f98695
Create guests scaffold
2024-07-11 20:08:26 +02:00