Commit Graph

176 Commits

Author SHA1 Message Date
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
Suguivy c026657e2f Merge pull request 'Separated things into Model-Service-Controller pattern' (#5) from msc-pattern into develop
Reviewed-on: #5
2023-12-27 17:00:31 +00: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
Sugui f483f62c42 change test workflow on pull request
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Has been cancelled Details
2023-12-25 14:40:10 +01:00
Sugui 351ff4e989 Test workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled Details
2023-12-25 14:36:13 +01:00
Sugui a83dbd36db Merge branch 'main' of ssh://git.fai.st:2600/fedi-image-bot/bot-api 2023-12-25 12:57:17 +01:00
Sugui fa7c892e20 Changed title of README.md 2023-12-25 12:55:52 +01:00
Alie 9cf999d532 added convenience scripts 2023-12-25 12:50:21 +01:00
bizcochito 215469eae7 Merge pull request 'post-images-endpoint' (#2) from post-images-endpoint into main
Reviewed-on: #2
2023-12-25 11:37:17 +00:00
Alie e29ef4b953 updated readme 2023-12-25 12:35:59 +01:00
Alie 532de04592 added tests for POST, fixed tests for GET 2023-12-25 12:33:40 +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
Suguivy 98086640e5 Merge pull request 'Added unit testing' (#1) from unit-testing into main
Reviewed-on: #1
2023-12-25 11:20:13 +00: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
Sugui cfae285d44 first commit 2023-12-08 14:05:20 +01:00