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
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
6c6ae62e5a
Define model and endpoints to store affinity between group pairs
2024-12-26 20:29:06 +01:00
da8f3c7618
Define an endpoint with a global summary of expenses and attendance
2024-12-11 09:01:35 +01:00
be40c97f2f
Define and document CRUD endpoints for expenses
2024-12-09 19:28:32 +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
438de103ec
Define a dummy endpoint to return a valid CSRF token
2024-12-08 09:32:34 +01:00
84684b90d7
Configure allowed hosts
2024-12-08 08:53:51 +01:00
c62bb137ce
Merge branch 'main' into remove-wedding-date
2024-12-07 22:17:30 +00:00
2ab966faf8
Fix production DB host
2024-12-07 19:59:59 +01:00
a3f14f4fec
Include slug in root_url
2024-12-07 19:07:06 +01:00
a96be2a79e
Do not require a tenant scope for running tests
2024-12-02 20:33:05 +01:00
3ea1d1e7ec
Add copyright notice
2024-12-02 08:05:46 +00:00
ef573c5f73
Require a tenant to be configured for all queries
2024-12-02 08:57:10 +01: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
279093ad98
Configure registration endpoint to create a wedding as well
2024-12-01 14:03:23 +01:00
988e158d99
Install acts_as_tenant gem and update documentation
2024-11-30 20:06:43 +01: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
b8e6df732c
Generate user model, document some endpoints (missing email verification)
2024-11-30 14:24:02 +01:00
13bdaf0bd2
Add copyright notice
2024-11-30 10:03:46 +00:00
d9ab2f5091
Install devise gem
2024-11-30 10:59:28 +01:00
3d424c304e
Revert user authentication
...
This reverts commit b215e8a3b40be089e7359cfd424f807c2d54b1c2.
2024-11-30 10:45:17 +01:00
3e38630eb4
Refine controllers
2024-11-19 00:33:53 +01:00
aa0986986f
Install Rails' authentication generator
2024-11-19 00:26:44 +01:00
7542c6361c
Define an endpoint to destroy guests
2024-11-17 18:24:43 +01:00
1b2c0f0d0a
Define an endpoint to create new guests
2024-11-17 11:47:12 +01:00
41cb719bf4
Add copyright notice
2024-11-15 17:29:56 +00:00
bcbcf9b469
MVP of swagger documentation
2024-11-15 18:28:45 +01:00
8a3469447b
Install rswag gem with default configuration
2024-11-15 08:45:56 +01:00
88a7785b46
Define endpoint to update expenses
2024-11-11 08:08:49 +01:00
bd5c4f5482
Merge first and last name and expose guest update endpoint
2024-11-11 07:55:03 +01:00
810d0740f3
Define an endpoint to expose the list of expenses
2024-11-10 20:40:37 +01:00
29d9d21916
Use sets instead of arrays to represent tables
2024-11-10 17:30:01 +01:00
4089ff63ba
Add copyright notice
2024-11-10 11:24:07 +00:00
fa3d3cf13b
Assign similar colors to child groups
2024-11-10 12:22:58 +01:00
a1b5e55b39
Install solid queues framework
2024-11-03 08:59:56 +01:00
b5693f549e
Load groups hierarchy from data in DB
2024-11-01 11:55:32 +01:00
0fb50ea59b
Expose expense summary endpoint
2024-10-28 23:01:46 +01:00
b7cabc1661
Add copyright notice
2024-10-27 21:42:45 +00:00
507d068459
Configure endpoint to support bulk updates
2024-10-27 14:03:13 +01:00