2147d7ad5e
Redo simulations lifecycle ( #222 )
...
## 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
2025-01-23 21:34:23 +00:00
6cead51bb9
Remove all copyright notices to force recreation
2025-01-23 22:29:26 +01:00
74ca20d3e8
Add copyright notice
2025-01-23 21:18:12 +00:00
1f0c6c2aac
Use group affinities in discomfort calculator
2025-01-19 20:58:42 +01:00
acf3b7b82a
Merge pull request 'Update copyright assignment to cover 2025 and include all contributors' ( #212 ) from copyright-2025 into main
...
Reviewed-on: #212
2025-01-13 21:04:10 +00:00
91bbae1c63
Add copyright notice
2025-01-13 20:38:47 +00:00
e20a366410
Update copyright assignment to cover 2025 and include all contributors
2025-01-13 21:37:02 +01:00
a154e92b6c
Define an endpoint to reset the discomfort between all groups
2025-01-13 21:16:22 +01:00
f997657cd3
Define an endpoint to return the default affinities of a group
2025-01-12 20:41:01 +01:00
55e6cfcd36
Fix order of Ruby's magic string comment and Copyright assignment
2024-12-28 18:37:47 +01:00
2fc8a6340b
Run Rubocop autocorrect on spec/
2024-12-28 18:07:40 +01:00
c15d0806a8
Add exception to some Rubocop offenses
2024-12-28 17:49:00 +01:00
27c7feebee
Run Rubocop autocorrect on spec/queries
2024-12-28 17:37:49 +01:00
b85e2ef932
Run Rubocop autocorrect on spec/extensions
2024-12-28 17:37:49 +01:00
c7b9c83f37
Add copyright notice
2024-12-28 16:31:27 +00:00
82f17056be
Run rubocop autocorrect on factory files
2024-12-28 17:28:16 +01:00
4d69863974
Run Rubocop autocorrect on spec/models
2024-12-28 17:27:45 +01:00
9fe649f8b8
Update swagger documentation
2024-12-28 16:43:58 +01:00
0780b17f4b
Add copyright notice
2024-12-26 19:30:32 +00:00
6c6ae62e5a
Define model and endpoints to store affinity between group pairs
2024-12-26 20:29:06 +01:00
3bfe889747
Redo TablesArrangements#show to display arrangement ID and discomfort breakdown
2024-12-16 18:52:34 +01:00
bab5cd3161
Merge pull request 'Define an endpoint with a global summary of expenses and attendance' ( #184 ) from dashboard into main
...
Reviewed-on: #184
2024-12-11 22:44:35 +00:00
f68caca5a4
Add copyright notice
2024-12-11 08:03:02 +00:00
da8f3c7618
Define an endpoint with a global summary of expenses and attendance
2024-12-11 09:01:35 +01:00
98c1c0d18c
Group attendance properties into a json key
2024-12-10 08:41:10 +01:00
be40c97f2f
Define and document CRUD endpoints for expenses
2024-12-09 19:28:32 +01:00
5cbc81c498
Add copyright notice
2024-12-08 13:02:08 +00:00
9d90ade40c
Document tables arrangements controller
2024-12-08 14:00:53 +01:00
83e36df14e
Allow the creation of guests associated to no group
2024-12-08 13:10:49 +01:00
cbcb7b70e3
Merge pull request 'Define CUD endpoints for the Groups model' ( #173 ) from groups-endpoints into main
...
Reviewed-on: #173
2024-12-08 10:52:59 +00:00
9e097361d0
Define endpoints to create, update, and delete groups
2024-12-08 11:30:38 +01:00
98877166dd
Add copyright notice
2024-12-08 08:34:55 +00:00
438de103ec
Define a dummy endpoint to return a valid CSRF token
2024-12-08 09:32:34 +01:00
93d907cdc8
Remove leftovers of the date attribute
2024-12-07 23:43:21 +01:00
8527b20075
Remove wedding date attribute
2024-12-07 12:39:43 +01:00
5f01741943
Validate the Captcha challenge for account signup
2024-12-01 19:57:01 +01:00
be9ca9e6b0
Add copyright notice
2024-12-01 18:43:28 +00:00
b237239a1f
Define an endpoint to retrieve a LibreCaptcha captcha
2024-12-01 19:42:25 +01:00
9d08ef6f18
Update wedding slug rules to accept numbers and other chars
2024-12-01 18:17:37 +01:00
7a80f1f5ef
Make wedding object required for the swagger specs
2024-12-01 14:04:03 +01:00
279093ad98
Configure registration endpoint to create a wedding as well
2024-12-01 14:03:23 +01:00
70b44e1b96
Add copyright notice
2024-12-01 09:00:01 +00:00
8429b3952b
Adapt factories to use a wedding object
2024-12-01 09:58:39 +01:00
988e158d99
Install acts_as_tenant gem and update documentation
2024-11-30 20:06:43 +01:00
9e222f59be
Add copyright notice
2024-11-30 18:31:48 +00:00
24c39f331a
Define a simple wedding model
2024-11-30 19:30:04 +01:00
598cb553c9
Add copyright notice
2024-11-30 17:47:30 +00:00
b0124fbd26
Configure email confirmation flow
2024-11-30 18:46:31 +01:00
5458c6dd8c
Add copyright notice
2024-11-30 13:27:21 +00:00