Commit Graph

258 Commits

Author SHA1 Message Date
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
33a8cdb169 Add email validation 2021-04-08 02:02:46 +02:00
6aa3ddb28d Add Password validation 2021-04-08 01:55:10 +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
cb762a446a Move ArticleViewRepository 2021-04-02 12:29:50 +02:00
db810ab0c6 Rename ArticleViewManager to ArticleViewRepository 2021-04-02 12:29:11 +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
f458d7b674 Move SQL test files 2021-03-24 19:07:01 +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
50b5ca03c6 Fix schema validator for parameters 2021-03-22 02:44:44 +01:00
9862e112eb Test openapi schema of GET /constitutions/{constitution}/follows 2021-03-22 00:52:23 +01:00
5dc1518cfc Test openapi schema of GET /citizens/{citizen}/follows/articles 2021-03-22 00:30:31 +01:00
4c1ab796e4 Test openapi schema of /constitutions/* 2021-03-20 01:14:39 +01:00
c1a3590b2b Improve BitMaskI 2021-03-20 00:58:51 +01:00
c9ce2a9dc7 Refactor constitution entity 2021-03-20 00:55:39 +01:00
d03b585372 Improve BitMaskI 2021-03-20 00:54:01 +01:00
7765e6d27a Test openapi schema of PUT /comments/{comment} 2021-03-17 18:25:55 +01:00
52bdcd0990 Test openapi schema of /citizens/current 2021-03-16 18:51:41 +01:00
1655f47044 Test openapi schema of /citizens 2021-03-16 18:23:40 +01:00
c07a57a591 Test openapi schema of Auth passwordless 2021-03-16 01:28:26 +01:00
0cf1aea9bf Test openapi schema of Register
Fix some routes
Improve Schema Validation
2021-03-16 00:53:10 +01:00
235de4e5ff Improve error on "no path found" in openapi file 2021-03-15 10:13:38 +01:00
869093ab25 Fix tests 2021-03-15 10:13:01 +01:00
97b07fb424 Test openapi schema requestBody 2021-03-15 02:01:39 +01:00
9c88adbabd Test openapi schema response of FindArticlesVersion,GetOneArticle,UpsertArticle
change snack_case to camelCase
2021-03-12 23:32:32 +01:00
ed0873837b Test openapi schema parameters in path 2021-03-09 03:49:59 +01:00
6988365473 Test openapi schema parameters 2021-03-09 01:53:01 +01:00
4762275b5b Test openapi schema response of FindArticles 2021-03-08 23:13:48 +01:00
bb637dd96a #71 Use response object for route FindArticles 2021-03-05 00:39:49 +01:00