Commit Graph

44 Commits

Author SHA1 Message Date
bizcochito eefb55a092 Merge branch 'develop' into put-images
Unit Tests with docker compose / unit-test (pull_request) Successful in 3m27s Details
2024-01-06 12:34:16 +00:00
Alie fb2d947913 added a functional test and optimized a test
Unit Tests with docker compose / unit-test (pull_request) Successful in 6m7s Details
2024-01-06 13:10:45 +01:00
Alie ebf2ec17d1 added tests and auth to PUT images 2024-01-06 12:57:22 +01:00
Suguivy 26311992d3 Documentation for some API endpoints 2024-01-06 11:43:21 +00:00
Alie f74a0f26cc made the endpoint, works with manual tests 2024-01-06 12:24:30 +01:00
Alie d9e2cb3917 edited workflow 2024-01-06 11:23:55 +01:00
bizcochito 30409e4f3b Merge pull request 'Implemented the /images/:id' (#16) from get-id into develop
Reviewed-on: #16
2024-01-03 14:05:12 +00: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 106c1b8726 fmt 2023-12-31 12:29:31 +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 97b0599c0f Merge remote-tracking branch 'refs/remotes/origin/develop' into develop 2023-12-29 09:54:16 +01:00
Alie f859cdeeb1 remove unused variable 2023-12-29 09:53:31 +01:00
bizcochito 3fa770880b updated container used for workflow 2023-12-29 08:44:40 +00: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
bizcochito 9e064fc56e Merge pull request 'auth' (#6) from auth into develop
Reviewed-on: #6
2023-12-27 19:34:31 +00: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
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