Commit graph

69 commits

Author SHA1 Message Date
fbc8f26580 hot fix answervariants edit 2025-06-02 03:46:27 +05:00
a5aad09046 added existance check (not sure if it's working) 2025-05-31 01:41:54 +05:00
9a7c74e307 remove all unused imports 2025-05-31 01:34:42 +05:00
7ccf8cb018 Update SurveyLib and moved all AddScoped to DI methods 2025-05-31 01:32:50 +05:00
d73e0a104f add basic versions of retrieving answers by question or completion 2025-05-31 01:24:48 +05:00
637e6c9824 Update SurveyLib and start refactoring endpoint paths 2025-05-31 01:03:12 +05:00
c2f6ba6dde add completions methods (not final) 2025-05-31 00:14:37 +05:00
4b4739ce89 i'm sorry guys it's stupid commit... 2025-05-31 00:06:51 +05:00
77cfacb95e add nullableUserId to IUserContext.cs 2025-05-30 23:54:45 +05:00
db012aed92 move passwordhasher to helpers 2025-05-30 23:19:50 +05:00
9b3faed8fc update database for surveylib 2025-05-26 01:10:01 +05:00
3bbed81534 answer variants mapper hot fix 2025-05-25 17:08:02 +05:00
ae43e8c74c add AnswerVariant 2025-05-20 17:35:43 +05:00
8a80013c94 docs update 2025-05-20 17:35:26 +05:00
a7566e2cd3 historical deletion of test controller... 2025-05-20 17:11:00 +05:00
d3830eacc4 add AnswerVariantsService.cs 2025-05-20 16:25:41 +05:00
f61cbac32a add migrations 2025-05-20 16:19:54 +05:00
658e25dd57 Fix deletion methods to directly use ID in services
Updated QuestionService and SurveyService to pass the ID directly to the repository's DeleteAsync method. This improves clarity and ensures consistency in how deletions are handled across both services.

Updated SurveyLib
2025-05-20 16:09:27 +05:00
7cbff22d8a update question 2025-05-13 19:19:43 +05:00
9555497d4e controllers to naming 2025-05-13 19:16:20 +05:00
2cb7fdbfb7 mappers to new naming 2025-05-13 19:15:45 +05:00
cc2d98c710 naming fix 2025-05-13 19:15:36 +05:00
c39fd4192a delete answer variants for logic rework 2025-05-13 19:09:08 +05:00
dc6bca6b6e added unsecure survey edits 2025-05-13 18:46:14 +05:00
ae1a8d2b97 add "me" endpoint 2025-05-13 18:09:06 +05:00
98b38f645f return created objects 2025-05-13 18:08:51 +05:00
251810c973 fix cors for development, add some forgottend migration 2025-05-08 23:58:13 +05:00
a50bc30f88 minor services fix 2025-04-27 16:07:10 +05:00
edff901b52 add all docs 2025-04-27 16:06:17 +05:00
d692a2e519 DTOs docs 2025-04-27 16:03:56 +05:00
fb3320fe18 add controllers docs 2025-04-27 15:58:51 +05:00
bfcba0beb7 add some filter to see which endpoints require authorization and which not 2025-04-27 15:56:47 +05:00
d8968ce557 add UserContext summary 2025-04-27 15:44:31 +05:00
cd1f98f575 add test docs for swagger 2025-04-27 15:40:57 +05:00
41f747e008 add comments to swagger 2025-04-27 15:36:15 +05:00
cd8df6bf54 probably fix pipeline 2025-04-23 22:36:52 +05:00
60f89fc780 Add CI/CD 2025-04-23 17:13:11 +00:00
8786549e51 swagger goes to api too 2025-04-21 04:28:38 +05:00
c89a87d73c API everywhere 2025-04-21 04:15:40 +05:00
6692a91821 life quality changes
- refactored SurveyController.cs
- added ProducesResponseType to every endpoint in every controller
- remade mappers
2025-04-20 23:12:20 +05:00
9e50b97bc9 less shit code but still not good 2025-04-20 20:33:17 +05:00
ddfb5eff54 added questions output (SHIT CODE) 2025-04-20 20:07:04 +05:00
3bc2181e68 add migrations for new models 2025-04-20 19:39:45 +05:00
585d6ac6e3 going to question management 2025-04-20 19:31:38 +05:00
00e93fde2e implemented custom SurveyService.cs 2025-04-20 15:30:20 +05:00
7a1078457d added UserContext for easy UserId getting
started writing custom services to implement users logic
2025-04-20 15:21:34 +05:00
dbcdfac698 added CreatedBy to surveys 2025-04-19 00:16:07 +05:00
c5a0f7368c added initial migration 2025-04-18 17:35:52 +05:00
6796241f8d Update SurveyLib and downgrade EF Core 2025-04-18 17:34:11 +05:00
e13a2f331a downgrading EF Core 2025-04-18 17:32:47 +05:00