56 Commits

Author SHA1 Message Date
b215e8a3b4 Add copyright notice 2024-11-19 07:57:42 +00:00
0e0da9c765 Refine and document controllers 2024-11-19 08:56:51 +01:00
80c1c9b99d Refine guest controller 2024-11-17 20:02:08 +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
5f47b923d5 Remove / server from Swagger configuration 2024-11-16 12:30:05 +01:00
17c796c375 Merge pull request 'Document expenses endpoint and add some specs' () from document-expenses-controller into main
Reviewed-on: 
2024-11-16 09:32:36 +00:00
73e02a9d95 Add copyright notice 2024-11-16 09:23:51 +00:00
86b9d0b56c Document expenses endpoint and add some specs 2024-11-16 10:22:10 +01:00
6e5bbb7b1b Remove leftover code from Swagger-CSRF experiment 2024-11-16 09:59:19 +01:00
a8c9c051f0 Add copyright notice 2024-11-16 01:52:48 +00: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
ca0b1b18d3 Use different server URLs for development and testing 2024-11-15 19:04:30 +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
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
bd5c4f5482 Merge first and last name and expose guest update endpoint 2024-11-11 07:55:03 +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
fe91f75ec0 Add copyright notice 2024-11-10 17:57:29 +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
bcf00fabf0 Add copyright notice 2024-11-10 17:01:57 +00: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
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
c12e2fc6a4 Add copyright notice 2024-11-10 09:17:34 +00: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
a42f938530 Assign a color to every group and expose it via API 2024-11-03 14:41:09 +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
066fdea504 Assign a name to every tables arrangement 2024-11-03 08:44:31 +01:00
d37dd44cd3 Update discomfort calculator to use group ids 2024-11-01 12:04:15 +01:00
7c0a525c64 Add copyright notice 2024-10-31 23:34:15 +00:00
5aa86da10c Merge pull request 'Include the copyright notice in spec files' () from copyright-specs into main
Reviewed-on: 
2024-10-28 22:48:04 +00:00
658c2331ca Add copyright notice 2024-10-28 22:07:35 +00:00
6c1bf75db8 Include guest count in the summary 2024-10-28 23:01:00 +01:00
d8884704d8 Implement query to get total expense summary 2024-10-28 22:57:03 +01:00
6eb2f858a3 Write tests for the totals query 2024-10-28 22:38:47 +01:00
c177131672 Fix factories 2024-08-11 18:59:27 +02:00
3bc7a0c58b Create model and controller 2024-08-11 16:29:10 +02:00
7f12fcba18 Implement a cache at table level to avoid duplicate evaluations 2024-08-01 21:14:28 +02:00
ebc7586670 Include examples with three tables 2024-08-01 20:50:26 +02:00
a38fefeb1f Include additional specs 2024-08-01 20:49:07 +02:00
b21d323e36 Refactor specs 2024-08-01 20:46:11 +02:00