Commit Graph

  • a405816386 Merge pull request 'Added workouts database schema' (#25) from dev into main robin 2026-08-28 14:47:13 +02:00
  • dac38bd0a1 fix: syntax errors in migration sql robin 2026-08-28 14:44:41 +02:00
  • d68231c4c1 fix: update go version to 1.27 in Dockerfile robin 2026-08-28 14:31:42 +02:00
  • 817c845e3b fix: adding some exercises in migration robin 2026-08-28 14:18:04 +02:00
  • a4a84bed68 feat: added workouts and workout_sets db tables robin 2026-08-28 11:00:30 +02:00
  • e8405e31a8 feat: db migration for workouts. still in progress robin 2026-08-27 20:17:06 +02:00
  • 8eb70a9a63 fix: migrate to go 1.27 robin 2026-08-27 19:41:00 +02:00
  • a7d3d6c378 feat: added some example http rqeuests (api.http) robin 2026-08-27 12:01:48 +02:00
  • 7fdf1ed925 fix: migrations path in iofs robin 2026-08-25 11:06:45 +02:00
  • 2732038a1f fix: moved embed.FS to own package, so the api binary has no sql files embedded robin 2026-08-25 11:05:23 +02:00
  • f031f7c15a Merge pull request 'make() lists and items, so having no lists and no items returns [] instead of nil' (#24) from dev into main robin 2026-08-22 21:47:19 +02:00
  • c677b71a7a fix: make() lists and items, so having no lists and no items returns [] instead of nil robin 2026-08-22 21:45:52 +02:00
  • 2b0f2acb96 Merge pull request 'Injecting UserService into ListHandler' (#23) from dev into main robin 2026-08-21 22:06:17 +02:00
  • deee3e0d4f fix: correctly injecting UserService into ListHandler robin 2026-08-21 22:05:43 +02:00
  • ff0fe5ff13 Merge pull request 'Delete lists and add users via email' (#22) from dev into main robin 2026-08-21 21:51:52 +02:00
  • b777e00d94 fix: sql identifier in get lists query robin 2026-08-21 21:44:00 +02:00
  • f1ea27092f fix: fixed log message robin 2026-08-21 21:40:25 +02:00
  • c2912d8d79 feat: added delete endpoints for lists and list items robin 2026-08-21 21:28:58 +02:00
  • a1ec7cc24a fix: list_users now cascades delete when user is deleted robin 2026-08-21 21:16:16 +02:00
  • be588dd405 feat: GET /lists now returns total items and completed items of that list robin 2026-08-21 21:10:17 +02:00
  • d2f0f1a4cf fix: list items are now ordered by is_completed and modified_at robin 2026-08-21 21:00:05 +02:00
  • 3c13e13c2e fix: list items are now ordered by modified_at robin 2026-08-21 20:56:53 +02:00
  • 3c5c8a7fe7 feat: adding/removing users from list now works by email robin 2026-08-21 20:51:23 +02:00
  • eb45deda18 Merge pull request 'GetListItems now populates list_id field' (#21) from dev into main robin 2026-08-21 17:01:52 +02:00
  • da7b6a7e78 fix: GetListItems now populates list_id field robin 2026-08-21 17:01:02 +02:00
  • 619f613052 Merge pull request 'Improved logging' (#20) from dev into main robin 2026-08-21 16:34:30 +02:00
  • 6419f14b7d feat: more verbose logging on data manipulation endpoints robin 2026-08-21 16:28:17 +02:00
  • 76f6b06bbd Merge pull request 'Fixes after first integration test' (#19) from dev into main robin 2026-08-21 16:22:13 +02:00
  • e91e80e725 fix: minor improvements, wrong argument order, ambigious columns in sql, log messages, etc robin 2026-08-21 16:21:33 +02:00
  • 441c47163c fix: removed /api/v1 prefix from each route, since it's in the basePath robin 2026-08-21 15:31:29 +02:00
  • 017ee61c99 fix: added unique index to list_users table robin 2026-08-21 15:26:12 +02:00
  • bc87f656c8 Merge pull request 'Fixed route inconsistencies' (#18) from dev into main robin 2026-08-21 15:12:24 +02:00
  • d462e798f9 fix: aligned router paths with documentation robin 2026-08-21 15:09:25 +02:00
  • c029fc3951 Merge pull request 'Fix namespace issue and small name refactoring' (#17) from dev into main robin 2026-08-21 14:52:06 +02:00
  • 27883408a5 fix: rename GetListsByUserID to GetLists for consistency robin 2026-08-21 14:51:35 +02:00
  • 024f67bb20 fix: namespace error robin 2026-08-21 14:51:04 +02:00
  • 5ec973748f Merge pull request 'Added GET /lists, POST /list/items/{id} and GET /list/{id}' (#16) from dev into main robin 2026-08-21 14:49:20 +02:00
  • 51b2b74f0d feat: added GET /lists, POST /list/items/{id} and GET /list/{id} robin 2026-08-21 14:48:38 +02:00
  • ea5dd431e5 fix: can now create a list without any additional user IDs robin 2026-08-21 14:20:40 +02:00
  • 5e23d9cc9f feat: added logout handler robin 2026-08-21 13:49:47 +02:00
  • a5860c5079 fix: added metrics service to otel-config.yaml robin 2026-08-21 13:22:25 +02:00
  • acdee12006 Merge pull request 'Added bootstrap cli and compose.yaml' (#15) from dev into main robin 2026-08-21 11:41:47 +02:00
  • 8e6e8fa951 feat: added compose.yaml robin 2026-08-21 11:39:28 +02:00
  • 99c2988070 fix: removed copying .docker.env to docker image robin 2026-08-21 11:13:15 +02:00
  • 7ab6876005 feat: added bootstrap cli (removed db migration from service) robin 2026-08-21 11:09:08 +02:00
  • 82bbccd817 Merge pull request 'Updated README.md' (#14) from dev into main robin 2026-08-21 09:32:46 +02:00
  • 976b275128 fix: updated readme robin 2026-08-21 09:32:16 +02:00
  • afaa8fc4ee Merge pull request 'Updated dependencies' (#13) from dev into main robin 2026-08-21 09:26:46 +02:00
  • e73aba9930 chore: updated dependencies robin 2026-08-21 09:26:09 +02:00
  • 659ff88af6 Merge pull request 'Added Makefile' (#12) from dev into main robin 2026-08-21 09:25:05 +02:00
  • 4660daa405 fix: removed docs.go file from swaggo output robin 2026-08-21 09:21:39 +02:00
  • 53f1e2c642 fix: added swag command to makefile robin 2026-08-21 09:18:42 +02:00
  • a8386b741b fix: added makefile, along with dynamic version, commit hash and buildtime robin 2026-08-21 09:09:43 +02:00
  • a056906ab3 Merge pull request 'Enable adding/removing users to list as well as add/update list items' (#11) from dev into main robin 2026-08-20 15:55:37 +02:00
  • cba2507893 fix: update modified_at when updatig list item robin 2026-08-20 15:48:45 +02:00
  • 8c0b46f8e4 feat: list functions now validate user has access to list robin 2026-08-20 15:43:59 +02:00
  • 36b3f1a483 refactor: renamed "IsUserInListByListItem" to "IsUserInListByItemID" robin 2026-08-20 15:43:33 +02:00
  • d026fa4d7c feat: added "IsUserInListByListItem" to list repository robin 2026-08-20 15:42:25 +02:00
  • 8caa218e0d fix: added error vars to list service robin 2026-08-20 15:37:02 +02:00
  • abb3d154f8 fix: in "CreateList", the authenticated userid is now added in the service layer, rather than the handler layer robin 2026-08-20 15:32:54 +02:00
  • a5d649dbf5 refactor: renamed "ownerID" => "authUserID" for clarity robin 2026-08-20 15:32:12 +02:00
  • d80a17f16a feat: added "IsUserInList" to list repository robin 2026-08-20 15:28:51 +02:00
  • 41425bc709 feat: added WIP list modification routes robin 2026-08-14 17:35:49 +02:00
  • 93fd79560c fix: updated handlers to use new DecodeJSON generic function robin 2026-08-14 16:58:52 +02:00
  • e0ab3bb51a feat: added generic json payload decoder function robin 2026-08-14 16:56:43 +02:00
  • d6b913a763 feat: ListService now supports user management and creating/updating list items robin 2026-08-14 16:56:17 +02:00
  • dd8c105230 fix: rename AddListItem => CreateListItem robin 2026-08-14 16:46:13 +02:00
  • 9261e07e72 feat: list repository now supports managing users for lists, adding and updating list items robin 2026-08-14 16:45:05 +02:00
  • 6eb9f22cf2 fix: pass TokenPair by value robin 2026-08-03 15:21:30 +02:00
  • ef41731b8e Merge pull request 'Added /auth/refresh route' (#10) from dev into main robin 2026-08-03 15:01:08 +02:00
  • 48c30ed9f4 fix: moved /health route to /api/v1/health robin 2026-08-03 14:59:20 +02:00
  • 8e80f8d481 feat: added /auth/refresh route robin 2026-08-03 14:58:55 +02:00
  • 9b45fd48ed Merge pull request 'Added refresh tokens' (#9) from dev into main robin 2026-08-03 11:44:38 +02:00
  • 8fefc5d5c7 feat: added refresh tokens robin 2026-08-03 11:41:03 +02:00
  • 3b4a6cba82 fix: updated table name 'sessions' => 'refresh_tokens' Robin Dittmar 2026-08-03 10:57:45 +02:00
  • 3406db8384 Merge pull request 'Added swaggo and testify' (#8) from dev into main robin 2026-07-28 14:43:35 +02:00
  • 2e1fbc6e68 feat: added swaggo support Robin Dittmar 2026-07-28 14:41:49 +02:00
  • cb14374d09 fix: added missing "error" key for logging Robin Dittmar 2026-07-28 14:29:57 +02:00
  • 031b586fe7 test: added two variants of tests for user repository Robin Dittmar 2026-07-24 15:50:28 +02:00
  • c0ab4c9a62 test: added tests for list service Robin Dittmar 2026-07-24 15:30:58 +02:00
  • 0f9c12d077 test: utilize testify Robin Dittmar 2026-07-24 15:30:42 +02:00
  • 5862750060 Merge pull request 'Add JWT authentication' (#7) from dev into main robin 2026-07-21 13:49:48 +02:00
  • b4f1cfe8cd fix: go.mod Robin Dittmar 2026-07-21 13:49:14 +02:00
  • d9bfcea420 feat: jwt authentication Robin Dittmar 2026-07-21 13:47:59 +02:00
  • 1cdb0ebefa fix: improved logging message Robin Dittmar 2026-07-21 11:43:36 +02:00
  • a433134ea2 Merge pull request 'Added .env file to docker build' (#6) from dev into main robin 2026-07-20 22:51:56 +02:00
  • 866f416243 fix: added .env file to docker build Robin Dittmar 2026-07-20 22:50:41 +02:00
  • addbbb9cbe fix: "service shutdown" log is now always last on proper shutdown Robin Dittmar 2026-07-20 22:49:55 +02:00
  • 826f296e05 fix: added .env file for default docker setup Robin Dittmar 2026-07-20 22:32:53 +02:00
  • 4af052206e Merge pull request 'Always use UTC' (#5) from dev into main robin 2026-07-20 22:24:16 +02:00
  • a9de24726a fix: always run service with UTC timezone Robin Dittmar 2026-07-20 22:23:43 +02:00
  • 1ce0c8fdb7 indentation Robin Dittmar 2026-07-20 22:10:37 +02:00
  • f902082796 Merge pull request 'User creation' (#4) from dev into main robin 2026-07-20 22:00:50 +02:00
  • 470c0f52f1 Merge branch 'main' into dev robin 2026-07-20 22:00:28 +02:00
  • 4ded2035bb Merge pull request 'Database migration' (#3) from dev into main robin 2026-07-20 21:58:58 +02:00
  • 14b82b787b feat: user creation Robin Dittmar 2026-07-20 21:57:43 +02:00
  • 49f1497f45 fix: removed error handling for tx.Rollback() Robin Dittmar 2026-07-20 21:11:46 +02:00
  • 5f4e95b3f7 fix: added modified_at to ListRepo Robin Dittmar 2026-07-20 21:06:21 +02:00
  • c623e02b6c fix: all log messages are now lower case Robin Dittmar 2026-07-20 21:05:18 +02:00
  • c06d008a20 feat: added database migration on startup and user+list db migrations Robin Dittmar 2026-07-20 20:55:04 +02:00