Commit Graph

22 Commits

Author SHA1 Message Date
Alie 6850989f06 unified the tests in one file for port binding reasons 2023-12-29 17:10:48 +01:00
Alie 7c68174ca4 fixed the test issue, before all and things 2023-12-29 16:05:51 +01:00
Sugui 1b45481d27 commit all changes to tests 2023-12-29 15:24:29 +01: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