Commit Graph

31 Commits

Author SHA1 Message Date
ad2e157c89 Add data migration export/import endpoints
All checks were successful
Backend Build and Test / build (push) Successful in 42s
Add GET /api/export to the Go backend that dumps all users, allowances,
history, and tasks (including completed) as a single JSON snapshot.

Add POST /api/import to the Spring backend that accepts the same JSON,
wipes existing data, inserts all records with original IDs preserved via
native SQL, and resets PostgreSQL sequences to avoid future collisions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 16:17:37 +01:00
c9a96f937a transfer-allowances (#143)
All checks were successful
Backend Build and Test / build (push) Successful in 10m9s
Backend Deploy / build (push) Successful in 11m20s
Reviewed-on: #143
2025-10-08 20:21:09 +02:00
06c8ebcbcc Add support for schedules (#137)
All checks were successful
Backend Build and Test / build (push) Successful in 3m42s
Backend Deploy / build (push) Successful in 4m46s
Reviewed-on: #137
2025-05-30 20:22:33 +02:00
a0d0c37fdb Add ability to subtract allowances (#108)
All checks were successful
Backend Build and Test / build (push) Successful in 3m38s
Backend Deploy / build (push) Successful in 1m53s
Closes #104

Reviewed-on: #108
2025-05-27 17:02:14 +02:00
2714f550a4 Add support for adding allowance to ID=0 (#106)
Some checks failed
Backend Build and Test / build (push) Has been cancelled
Backend Deploy / build (push) Has been cancelled
Closes #102

Reviewed-on: #106
2025-05-27 17:00:19 +02:00
8380e95217 Add endpoint to add funds (#99)
All checks were successful
Backend Deploy / build (push) Successful in 2m55s
Backend Build and Test / build (push) Successful in 3m5s
Closes #91

Reviewed-on: #99
2025-05-27 12:02:07 +02:00
db2f518cc2 Add history description (#98)
All checks were successful
Backend Deploy / build (push) Successful in 3m1s
Backend Build and Test / build (push) Successful in 3m5s
Closes #20

Reviewed-on: #98
2025-05-27 10:55:13 +02:00
f9fb956efd Fix colour not being sent properly by backend (#81)
All checks were successful
Backend Build and Test / build (push) Successful in 3m0s
Backend Deploy / build (push) Successful in 14s
Reviewed-on: #81
2025-05-25 14:36:17 +02:00
a8e3332723 Add support for colour attribute on allowances in backend (#77)
Closes #76

Reviewed-on: #77
2025-05-25 13:43:24 +02:00
f8d1f195de Support decimal currency amounts (#74)
Reviewed-on: #74
2025-05-24 06:28:07 +02:00
426e456ba7 Add lite website (#73)
Reviewed-on: #73
2025-05-24 06:11:39 +02:00
da17f351de Add bulk allowance edit endpoint (#56)
Closes #15

Reviewed-on: #56
2025-05-18 09:24:36 +02:00
79dcfbc02c Implement completion endpoint for allowance (#55)
Closes #19

Reviewed-on: #55
2025-05-18 09:02:33 +02:00
9cb71d53cf Add history entry and fix bug when completing task (#54)
The reward wasn't properly being distributed to all users

Reviewed-on: #54
2025-05-18 08:31:39 +02:00
b5aae3be3d 48/add-complete (#53)
Closes #48

Reviewed-on: #53
2025-05-18 08:00:29 +02:00
238aedb5c9 Implement PUT /user/{userId}/allowance/{allowanceId} (#52)
Closes #17

Reviewed-on: #52
2025-05-17 16:20:05 +02:00
d1774c1ce0 Implement DELETE /task/{taskId} (#51)
Close #47

Reviewed-on: #51
2025-05-15 18:08:54 +02:00
8fedac21bb Add GET /user/:userId/allowance/:allowanceId (#50)
Reviewed-on: #50
2025-05-15 15:49:08 +02:00
1589bc9422 Rename endpoints (#42)
Closes #39

Reviewed-on: #42
2025-05-14 17:14:58 +02:00
4355e1b1b7 Add endpoint to get allowance history (#37)
Closes #12

Reviewed-on: #37
2025-05-14 15:27:29 +02:00
94a20af04d Fix tests failing (#36)
Reviewed-on: #36
2025-05-13 19:34:43 +02:00
62f43d7eb3 Add endpoint to create allowance (#34)
Closes #11

Reviewed-on: #34
2025-05-13 13:52:10 +02:00
44d85fc155 Add put task endpoint (#33)
Closes #23

Reviewed-on: #33
2025-05-13 13:01:29 +02:00
c5efe585d6 Add get task/id (#30)
Closes #22

Reviewed-on: #30
2025-05-13 11:47:05 +02:00
2c133e0d85 Add get tasks endpoint (#29)
Closes #20

Reviewed-on: #29
2025-05-13 10:36:24 +02:00
ec635ba8ff Implement POST task (#28)
Closes #21

Reviewed-on: #28
2025-05-09 11:27:31 +02:00
0668228139 Add delete goal endpoint (#27)
Closes #18

Reviewed-on: #27
2025-05-08 15:46:23 +02:00
d251d41650 Add POST /user/{userId}/goals (#26)
Closes #4

Reviewed-on: #26
2025-05-08 14:02:58 +02:00
aa26a8f338 Implement get goals (#25)
Closes #13

Reviewed-on: #25
2025-05-08 11:51:16 +02:00
5a19fc041d Add /user/{userId} (#24)
Closes #9

Reviewed-on: #24
2025-05-08 11:31:02 +02:00
1baa1afb07 Create initial backend (#7)
Closes #3

Reviewed-on: #7
2025-05-08 10:02:30 +02:00