Commit Graph

27 Commits

Author SHA1 Message Date
Alie 7aceafff7b fmt 2024-01-06 21:24:12 +01:00
Sugui 18b47cc20e Merge remote-tracking branch 'origin/develop' into get-images 2024-01-06 20:49:24 +01:00
Sugui a878d6255c Implemented GET /images endpoint with params
Unit Tests with docker compose / unit-test (pull_request) Failing after 32s Details
2024-01-06 20:46:12 +01:00
Alie ebf2ec17d1 added tests and auth to PUT images 2024-01-06 12:57:22 +01:00
Alie f74a0f26cc made the endpoint, works with manual tests 2024-01-06 12:24:30 +01:00
Alie df99e9470c added the images/id endpoint and the tests for it
Unit Tests with docker compose / unit-test (pull_request) Successful in 3m37s Details
2024-01-03 13:58:18 +01:00
Alie 265761766f made the dockerfile usable to our usecase 2023-12-31 13:26:10 +01:00
Alie a59f951500 unit testing (#7)
Co-authored-by: Sugui <anaisusg@gmail.com>
Reviewed-on: #7
Co-authored-by: Alie <bizcochito@anartist.org>
Co-committed-by: Alie <bizcochito@anartist.org>
2023-12-31 11:11:22 +00:00
Alie f859cdeeb1 remove unused variable 2023-12-29 09:53:31 +01:00
Alie 0d2e8dfe36 fmt 2023-12-27 20:41:35 +01:00
Alie 3be98d0e20 fixed a comment position 2023-12-27 20:38:15 +01:00
Alie ada964c493 added tests for Authorization
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Has been cancelled Details
2023-12-27 20:33:25 +01:00
Alie ec4f9eb2c3 Merge branch 'develop' into auth 2023-12-27 20:05:08 +01:00
Alie 8396d597f1 fixed mongo issues, why does it need to end with s??? 2023-12-27 20:03:22 +01:00
Sugui c6e1947899 Now 500 error works, and it's reflected in the tests 2023-12-27 20:02:26 +01:00
Alie c428e956bc added expiry times to jwt
decided against adding refresh tokens due to they not being that usefull in our architecture
2023-12-27 18:44:09 +01:00
Alie 95fd50a638 added auth service 2023-12-27 18:29:20 +01:00
Alie d8bb908b03 added basic auth controler 2023-12-27 18:20:11 +01:00
Sugui 730b8368cd Deleted "message" attribute that was on all JSON responses 2023-12-27 18:16:46 +01:00
Sugui e89bc6d508 Separated things into Model-Service-Controller pattern
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Has been cancelled Details
2023-12-27 17:58:59 +01:00
Sugui bf7961f1ca Now / lists the endpoints 2023-12-27 17:07:32 +01:00
Alie c5e41d6f62 added a test for / 2023-12-27 16:52:15 +01:00
Alie b2933ba5af Merge branch 'main' into post-images-endpoint 2023-12-25 12:21:34 +01:00
Alie c363947870 added the logic for the endpoint and made a fix in an index that was wrong 2023-12-25 12:21:01 +01:00
Sugui d749743e56 Added unit testing 2023-12-25 12:15:19 +01:00
Sugui aa1dc44eae images endpoint 2023-12-25 11:17:56 +01:00
Sugui 88cdce819b Adding docker compose to test api with mongodb 2023-12-25 07:47:16 +01:00