Commit graph

33 commits

Author SHA1 Message Date
73642874c0 feat: add feedback management endpoints and update group controller with feedback services 2025-06-25 12:51:44 +02:00
9607e55e2a refactor: reorganize ApiError enum for improved clarity and consistency in error handling 2025-06-25 10:45:55 +02:00
9baa24cbc7 feat: add example responses for user retrieval and creation endpoints 2025-06-24 09:35:06 +02:00
d654ba0f0f feat: enhance user creation error handling with specific messages for existing usernames and internal server errors 2025-06-23 14:41:08 +02:00
68119ba4de add TODO for moving the struct into the controller 2025-06-23 11:24:33 +02:00
c98eb9cdbb add back TODO comment for username validation 2025-06-20 17:03:08 +02:00
7033ad7013 it WORKS 2025-06-20 17:02:26 +02:00
42dae815a6 WIP: moved stuff around 2025-06-20 17:02:26 +02:00
8fb44d0ad9 remove rand again after testing 2025-06-20 17:01:03 +02:00
64d9e9d51d race conditions fixed. still some tests failing 2025-06-20 17:01:03 +02:00
d41370cbb2 refactor: integration-tests and format whole project with cargo fmt 2025-06-20 17:01:03 +02:00
9dbfeef94f refactor: reorganize module imports for consistency and clarity 2025-06-20 17:01:03 +02:00
cb84d40a48 refactor: enhance user tests with dynamic user data generation and improved assertions 2025-06-20 17:01:03 +02:00
2d02e810df just unit test the creational struct for validating 2025-06-20 10:07:45 +02:00
09f4ddc3a4 refactor: add content type to response definitions for consistency across controllers 2025-06-17 17:16:41 +02:00
af67204060 use cargo test -p backend -- --show-output and debug macro to debug tests! 2025-06-17 14:57:49 +02:00
25dd1901a3 cleanup tests 2025-06-17 14:28:45 +02:00
cc58c15c71 extract create_test_app to a macro 2025-06-17 14:17:20 +02:00
5094b3cb46 refactor: replace println with debug logging in tests for better log management 2025-06-17 14:02:29 +02:00
e383615150 not going to use transactions anymore 2025-06-17 13:19:17 +02:00
1472572e3d well **** me now its fixed 2025-06-17 13:11:07 +02:00
6e66e89a2e how TF do they both pass now? 2025-06-17 12:59:55 +02:00
74a0c0f079 add more sophistiated integration_test setup 2025-06-17 11:27:43 +02:00
9828ebf86a format integration_tests 2025-06-17 08:53:23 +02:00
49d27fd8fa added integration tests init version 2025-06-16 13:40:12 +02:00
c9fe5d79e9 add testcontainers dependency 2025-06-16 13:40:12 +02:00
454c40e310 extract utoipa config into utoipa.rs 2025-06-15 22:23:05 +02:00
ca1d9db2cc added comments 2025-06-15 22:16:31 +02:00
c507e6a8b2 change version 2025-06-15 22:03:36 +02:00
1cf32cfea2 Fix warnings and change ApiError::AlreadyLoggedIn to 409 which is more correct than a 400 2025-06-15 21:49:19 +02:00
50c17393e2 refactor: replace LoginResponse and LogoutResponse with MessageResponse unified response instead of a struct for each response 2025-06-15 11:59:54 +02:00
f9c724f53c add init utoipa crate openapi doc generation 2025-06-15 11:28:37 +02:00
c038d0ba08 Init Commit 2025-06-11 14:48:16 +02:00