86 Commits

Author SHA1 Message Date
80c1c9b99d Refine guest controller 2024-11-17 20:02:08 +01:00
f1d1ea825c Recalculate simulations after removing a guest 2024-11-17 18:25:38 +01:00
7542c6361c Define an endpoint to destroy guests 2024-11-17 18:24:43 +01:00
31d41ea2ea Remove unused bulk update endpoint 2024-11-17 17:07:29 +01:00
1b2c0f0d0a Define an endpoint to create new guests 2024-11-17 11:47:12 +01:00
86b9d0b56c Document expenses endpoint and add some specs 2024-11-16 10:22:10 +01:00
6f6a6aaabf Update format of guests API and document endpoints 2024-11-16 02:16:19 +01:00
cc3c8fdd63 Improve documentation of groups endpoint 2024-11-15 19:46:47 +01:00
d75b117c60 Merge pull request 'Introduce endpoint to retrieve a summary of groups and invite attendance' () from groups-index-stats into main
Reviewed-on: 
2024-11-14 08:30:27 +01:00
4be1fc6cad Add copyright notice 2024-11-13 07:59:07 +00:00
452b5b2040 Introduce endpoint to retrieve a summary of groups and invite attendance 2024-11-13 08:57:20 +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
8d74d25574 Merge pull request 'Increase penalty for tables under minimum capacity' () from increase-penalty-undercapacity-tables into main
Reviewed-on: 
2024-11-10 18:01:16 +00:00
f2e91c8d7a Run perturbations in both orders 2024-11-10 18:55:04 +01:00
5b36526c59 Increase penalty for tables under minimum capacity 2024-11-10 18:40:26 +01:00
1fcca38576 Implement shift perturbation 2024-11-10 17:53:52 +01:00
29d9d21916 Use sets instead of arrays to represent tables 2024-11-10 17:30:01 +01:00
fa3d3cf13b Assign similar colors to child groups 2024-11-10 12:22:58 +01:00
021b82b28e Use average discomfort instead of sum 2024-11-10 11:34:26 +01:00
f3b70f5a31 Apply a penalty if table sizes are not honored 2024-11-10 11:22:51 +01:00
19d309a2cf Modify initial distribution of tables to guarantee there is no single-person table 2024-11-10 10:16:22 +01:00
9035df5178 Install shoulda matchers, improve guests specs and change enum syntax 2024-11-09 17:45:23 +01:00
5cceb1e6ed Choose light colors for the groups 2024-11-04 23:39:44 +01:00
1e23ad8e50 Order guests within same table by color 2024-11-03 14:48:54 +01:00
a42f938530 Assign a color to every group and expose it via API 2024-11-03 14:41:09 +01:00
94d0a42ac1 Fix undefined method 2024-11-03 13:56:10 +01:00
ba4384307d Merge remote-tracking branch 'origin/main' into simulations-lifecycle 2024-11-03 12:04:54 +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
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
f21aaa3723 Remove the email property from the guest model 2024-11-03 10:43:06 +01:00
86e982164d Add copyright notice 2024-11-03 08:31:58 +00:00
35bf272ac8 Restart simulations whenever a guest changes their invitation status 2024-11-03 09:26:25 +01:00
50a5c90728 Only include potential guests in the simulation 2024-11-03 09:15:48 +01:00
15a5c51fb6 Add copyright notice 2024-11-03 08:12:24 +00:00
8d09fd733f Define a job to generate table simulations 2024-11-03 09:06:45 +01:00
1f919644a3 Define a job to generate table simulations 2024-11-03 09:06:17 +01:00
066fdea504 Assign a name to every tables arrangement 2024-11-03 08:44:31 +01:00
d6182392f6 Return only the top 3 arrangements 2024-11-02 12:50:45 +01:00
612cb9a789 Refine arrangement detail endpoint 2024-11-02 11:23:00 +01:00
d4c1e5aab0 Rewrite table arrangements endpoints 2024-11-02 10:40:43 +01:00
5fef6f1011 Remove references to acts_as_taggable_on gem 2024-11-01 19:55:39 +00:00
db644c85be Remove HTML views 2024-11-01 19:08:01 +01:00
1f93fe42c5 Clean up unused methods and non-API endpoints from controllers 2024-11-01 19:07:12 +01:00
d37dd44cd3 Update discomfort calculator to use group ids 2024-11-01 12:04:15 +01:00
b5693f549e Load groups hierarchy from data in DB 2024-11-01 11:55:32 +01:00
253d6b0591 Add copyright notice 2024-10-28 22:02:49 +00:00
0fb50ea59b Expose expense summary endpoint 2024-10-28 23:01:46 +01:00