Commit Graph

92 Commits

Author SHA1 Message Date
1c013e3e15 lint 2022-02-25 23:48:33 +01:00
8013cfb266 gradle dependencies fix 2022-02-25 22:42:32 +01:00
371483ccde Improve query findFollowsByTarget & add tests 2021-04-27 18:52:36 +02:00
fee5e5784b Refactoring of Notification system 2021-04-18 02:16:36 +02:00
1c33c026f0 #60 Can follow citizen 2021-04-17 01:37:32 +02:00
359450ad8f #61 Fix version date returned for the article.createdAt 2021-04-16 21:23:43 +02:00
1a8b544cdb #62 if not connected, you not must view the articles draft 2021-04-16 18:15:22 +02:00
59c050d14d Update dependencies
Fix for koin 3.0
2021-04-16 16:09:59 +02:00
994e266b52 Add validation on route CreateWorkgroup 2021-04-16 00:08:57 +02:00
3f392eece6 Add validation on route EditWorkgroup 2021-04-15 23:45:47 +02:00
518b59e9aa Add validation on route GetWorkgroups 2021-04-15 22:20:16 +02:00
596b7ff0c9 Extract Workgroup Member test into external file 2021-04-15 20:52:34 +02:00
1118866856 Add validation on route PutVoteOnConstitution 2021-04-15 02:42:29 +02:00
367f59ee18 Add validation on route PutVoteOnComment 2021-04-15 02:33:46 +02:00
0588f88f9a Add validation on route PutVoteOnArticle 2021-04-15 02:20:57 +02:00
496cf50d88 Add validation on route GetCitizenVotesOnArticle 2021-04-15 01:27:48 +02:00
13253e4af1 Add validation on route GetMyOpinionsArticle 2021-04-15 01:06:46 +02:00
39c665b7a9 Add Test for Notification routes
Add @JsonSubTypes on Notification
return all creator on request find_follows_article_by_target
Add testNotifications task
2021-04-14 23:51:44 +02:00
6a5e00bb4d Add validation on Constitution routes 2021-04-11 00:54:09 +02:00
0c8bcbd634 Add limit on content field (comment request) 2021-04-11 00:54:08 +02:00
8223dd21bb Add validation on route CreateComments & EditComment
rename POST /comments/{comment}/children
method edit and create comment of repository return edited/created comment
2021-04-10 01:16:09 +02:00
27e405c585 Move tests 2021-04-09 18:43:59 +02:00
34513e25b6 Add validation on route CreateConstitutionComment & GetConstitutionCommentRequest 2021-04-09 18:39:03 +02:00
f5c1aa29e8 Add validation on route GetArticleComments 2021-04-09 18:06:32 +02:00
875d0bfffa Add test 404 for GetArticle route 2021-04-09 16:43:46 +02:00
a07b19a3cb Add validation on route CreateCommentArticle 2021-04-09 00:58:35 +02:00
13cdaaf01a Add validation on route FindCitizens 2021-04-08 22:25:43 +02:00
9d3eeeb04b Add validation on route ChangePasswordCitizenRequest 2021-04-08 18:02:27 +02:00
9511331cd2 Add validation on route Register 2021-04-08 02:10:45 +02:00
708d241a26 Add tags on tests 2021-04-07 20:53:51 +02:00
e4745e71c2 Add validation on route UpsertArticle 2021-04-07 20:53:21 +02:00
fe11384ad2 Add validation on route GetOneArticle 2021-04-06 23:04:02 +02:00
61a7091736 Add validation on route Article versions 2021-04-06 00:36:08 +02:00
b5fc3d25bb Improve Article validation & test on BadRequest 2021-04-05 00:50:02 +02:00
3a18ef0554 Improve articles request test 2021-04-04 21:01:57 +02:00
2bb90ced03 Refactor 'the response should contain list' 2021-04-03 00:31:24 +02:00
a48cd52652 Add Tags on tests 2021-04-03 00:10:01 +02:00
dd4c2dadab Fix parameters schema validation 2021-04-02 23:47:20 +02:00
1bc7293660 move JWT secret into ENV 2021-03-31 17:58:47 +02:00
c0e364637a move "Check auth on all routes" extension into the class 2021-03-31 12:30:37 +02:00
a0d07e88a1 Fix all security routes 2021-03-31 02:43:43 +02:00
f17277c0e9 Test all security of routes #76 2021-03-31 02:35:59 +02:00
9f13213a35 Fix error text when openapi definition was not found 2021-03-27 21:57:53 +01:00
5f0b8de159 #69 Format HTTP error
add 403 for /articles route
2021-03-26 01:53:41 +01:00
fe953fc967 lintCheck after test 2021-03-24 19:48:14 +01:00
dcf7a2bc06 Rename openapi file 2021-03-24 19:34:39 +01:00
52183abd08 Lint 2021-03-24 19:08:41 +01:00
03f68213e8 Test openapi schema of route /workgroup/*/members 2021-03-24 19:01:12 +01:00
66fa1ba840 Test openapi schema of route /workgroup/*
add test and fix update workgroup
2021-03-24 01:15:19 +01:00
5ef2345ea6 Test openapi schema of route /opinions/* 2021-03-22 02:57:33 +01:00