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
f414acb2d5
Test reversibility of migrations ( #220 )
...
We want to make sure that:
1. Migrations are reversible
2. Reapplying migrations added to a PR leads to the same schema.rb
Reviewed-on: #220
Co-authored-by: Manuel Bustillo <bustikiller@bustikiller.com>
Co-committed-by: Manuel Bustillo <bustikiller@bustikiller.com>
2025-01-25 09:43:43 +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
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
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
9f0773647f
Add copyright notice
2024-12-08 10:41:24 +00:00
9e097361d0
Define endpoints to create, update, and delete groups
2024-12-08 11:30:38 +01:00
93d907cdc8
Remove leftovers of the date attribute
2024-12-07 23:43:21 +01:00
9b612ce01d
Add copyright notice
2024-12-07 18:09:21 +00:00
8527b20075
Remove wedding date attribute
2024-12-07 12:39:43 +01:00
3fca449461
Limit visibility per tenant
2024-12-02 09:04:48 +01:00
ef573c5f73
Require a tenant to be configured for all queries
2024-12-02 08:57:10 +01:00
4d9563cab7
Adapt background job to use acts as tenant
2024-12-01 10:41:05 +01:00
6d61e8452a
Add copyright notice
2024-11-30 20:07:45 +00:00
63bb32f2a7
Include users in the list of models affected by tenant
2024-11-30 21:06:21 +01:00
cb90a93ef3
Add copyright notice
2024-11-30 19:07:36 +00:00
5b3c1fdfac
Adapt seeds file to use ActsAsTenant
2024-11-30 20:06:43 +01:00
8bff98b165
Create DB associations
2024-11-30 20:06:43 +01:00
988e158d99
Install acts_as_tenant gem and update documentation
2024-11-30 20:06:43 +01:00
cf6ca5aa17
Create a seed user for the develoment environment
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
5458c6dd8c
Add copyright notice
2024-11-30 13:27:21 +00: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
63c7bc8772
Refine columns in the users table
2024-11-30 11:01:44 +01: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
134bf27955
Add copyright notice
2024-11-18 23:27:50 +00:00
aa0986986f
Install Rails' authentication generator
2024-11-19 00:26:44 +01:00
3b9ca24bcd
Add copyright notice
2024-11-11 06:57:39 +00:00
bd5c4f5482
Merge first and last name and expose guest update endpoint
2024-11-11 07:55:03 +01:00
fa3d3cf13b
Assign similar colors to child groups
2024-11-10 12:22:58 +01:00
231ea3fda8
Merge pull request 'Assign a color to every group and expose it via API' ( #94 ) from group-color into main
...
Reviewed-on: #94
2024-11-03 13:50:56 +00:00
3ae90bfc4e
Add copyright notice
2024-11-03 13:43:32 +00:00
a42f938530
Assign a color to every group and expose it via API
2024-11-03 14:41:09 +01:00
a67696747b
Enqueue some simulations after running the seed file
2024-11-03 14:18:30 +01:00
0d7f602441
Merge pull request 'Assign a name to every tables arrangement' ( #83 ) from arrangement-names into main
...
Reviewed-on: #83
2024-11-03 11:04:07 +00:00
2fd4549b00
Add copyright notice
2024-11-03 10:47:26 +00:00
a5c6def0b6
Merge branch 'main' into solid-queue-vns
2024-11-03 11:43:39 +01:00
eb2b111472
Merge branch 'main' into arrangement-names
2024-11-03 11:42:28 +01:00
c08f7bd37c
Add copyright notice
2024-11-03 10:03:47 +00:00
f21aaa3723
Remove the email property from the guest model
2024-11-03 10:43:06 +01:00
8d83c63fa6
Add copyright notice
2024-11-03 08:01:59 +00:00
a1b5e55b39
Install solid queues framework
2024-11-03 08:59:56 +01:00
066fdea504
Assign a name to every tables arrangement
2024-11-03 08:44:31 +01:00