54 Commits

Author SHA1 Message Date
2147d7ad5e Redo simulations lifecycle ()
## 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: 
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 ()
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: 
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
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
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
8bff98b165 Create DB associations 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
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
0d7f602441 Merge pull request 'Assign a name to every tables arrangement' () from arrangement-names into main
Reviewed-on: 
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
bf970af2c5 Remove tags table as well 2024-11-01 19:55:39 +00:00
eb85028eea Add copyright notice 2024-11-01 19:55:39 +00:00
5fef6f1011 Remove references to acts_as_taggable_on gem 2024-11-01 19:55:39 +00:00
b7cabc1661 Add copyright notice 2024-10-27 21:42:45 +00:00
cb42b86136 Include confirmation status 2024-08-11 19:24:24 +02:00
cca869a0c4 Display group name in the list of guests 2024-08-11 18:25:12 +02:00
cc45b4c16e Define a hierarchy of groups 2024-08-11 17:26:43 +02:00
3bc7a0c58b Create model and controller 2024-08-11 16:29:10 +02:00
8c4e6a0109 Initial version of VNS algorithm ()
Reviewed-on: 
Co-authored-by: Manuel Bustillo <bustikiller@bustikiller.com>
Co-committed-by: Manuel Bustillo <bustikiller@bustikiller.com>
2024-08-01 18:27:41 +00:00
3660d14d44 Fix install of taggable gem and add tags to seeds 2024-07-11 20:41:07 +02:00
c0ed5a68c3 Install acts_as_taggable gem 2024-07-11 20:18:55 +02:00