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
7c968f555f
Merge pull request 'Use group affinities in discomfort calculator' ( #215 ) from discomfort-calculation-revamp into main
...
Reviewed-on: #215
2025-01-19 20:19:10 +00:00
1f0c6c2aac
Use group affinities in discomfort calculator
2025-01-19 20:58:42 +01:00
390899524b
Fix rubocop ofenses
2025-01-19 19:44:22 +01:00
c6c5a87d8b
Fix duplicate row index on upsert statement
2025-01-14 19:13:40 +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
0c7c69ee5e
Run Rubocop autocorrect on app/controllers
2024-12-28 18:28:38 +01:00
02fcd03b0e
Run Rubocop autocorrect on app/services
2024-12-28 18:20:09 +01:00
5784c89b79
Refine endpoint to receive an affinity value and transform it into a discomfort equivalent
2024-12-28 14:19:06 +01: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
4e61ee2f22
Include real data in the guests summary of the dashboard
2024-12-11 23:42:25 +01: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
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
1fb6c483ed
Temporarily allow insecure cookies
2024-12-08 00:48:42 +01:00
fdef94be9a
Revert "Fix tenant-related error retrieving captcha"
...
This reverts commit 3996ffc85c1fe3a912db14cbb317158fe9bcd8e2.
2024-12-07 23:18:23 +01:00
c62bb137ce
Merge branch 'main' into remove-wedding-date
2024-12-07 22:17:30 +00:00
3996ffc85c
Fix tenant-related error retrieving captcha
2024-12-07 22:53:30 +01:00
022b58bb38
Fix issues with tenant during registration
2024-12-07 12:43:08 +01:00
3fca449461
Limit visibility per tenant
2024-12-02 09:04:48 +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
279093ad98
Configure registration endpoint to create a wedding as well
2024-12-01 14:03:23 +01:00
be3497ad64
Configure current tenant in a before_action of the ApplicationController
2024-11-30 21:11:25 +01:00
7803df7494
Add copyright notice
2024-11-30 18:14:58 +00:00
b892d4006f
Configure letter opener to read emails via web UI
2024-11-30 19:09:36 +01: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
f5038f5b96
Code cleanup
2024-11-30 14:25:01 +01:00
b8e6df732c
Generate user model, document some endpoints (missing email verification)
2024-11-30 14:24:02 +01:00
ed7207d707
Require user authentication by default
2024-11-30 11:04:45 +01:00
3d424c304e
Revert user authentication
...
This reverts commit b215e8a3b40be089e7359cfd424f807c2d54b1c2.
2024-11-30 10:45:17 +01:00
0e0da9c765
Refine and document controllers
2024-11-19 08:56:51 +01:00