Commit Graph

475 Commits

Author SHA1 Message Date
flecomte a48cd52652 Add Tags on tests 2021-04-03 00:10:01 +02:00
flecomte dd4c2dadab Fix parameters schema validation 2021-04-02 23:47:20 +02:00
flecomte cb762a446a Move ArticleViewRepository 2021-04-02 12:29:50 +02:00
flecomte db810ab0c6 Rename ArticleViewManager to ArticleViewRepository 2021-04-02 12:29:11 +02:00
flecomte 1bc7293660 move JWT secret into ENV 2021-03-31 17:58:47 +02:00
flecomte c0e364637a move "Check auth on all routes" extension into the class 2021-03-31 12:30:37 +02:00
flecomte a0d07e88a1 Fix all security routes 2021-03-31 02:43:43 +02:00
flecomte f17277c0e9 Test all security of routes #76 2021-03-31 02:35:59 +02:00
flecomte 9f13213a35 Fix error text when openapi definition was not found 2021-03-27 21:57:53 +01:00
flecomte 5f0b8de159 #69 Format HTTP error
add 403 for /articles route
2021-03-26 01:53:41 +01:00
flecomte 6b66130ddc #69 Move HttpStatusPage catch 2021-03-25 23:40:05 +01:00
flecomte 09e81620a1 rollback lintCheck after test, create task testAll 2021-03-24 21:32:28 +01:00
flecomte fe953fc967 lintCheck after test 2021-03-24 19:48:14 +01:00
flecomte dcf7a2bc06 Rename openapi file 2021-03-24 19:34:39 +01:00
flecomte 118af0170a Remove unused openapi file 2021-03-24 19:34:00 +01:00
flecomte 52183abd08 Lint 2021-03-24 19:08:41 +01:00
flecomte f458d7b674 Move SQL test files 2021-03-24 19:07:01 +01:00
flecomte 03f68213e8 Test openapi schema of route /workgroup/*/members 2021-03-24 19:01:12 +01:00
flecomte 66fa1ba840 Test openapi schema of route /workgroup/*
add test and fix update workgroup
2021-03-24 01:15:19 +01:00
flecomte 89b2abc10e Test openapi schema of route /workgroup/* 2021-03-23 22:08:13 +01:00
flecomte b04408219d Test openapi schema of route /votes/* 2021-03-22 20:28:53 +01:00
flecomte 5ef2345ea6 Test openapi schema of route /opinions/* 2021-03-22 02:57:33 +01:00
flecomte 50b5ca03c6 Fix schema validator for parameters 2021-03-22 02:44:44 +01:00
flecomte 9862e112eb Test openapi schema of GET /constitutions/{constitution}/follows 2021-03-22 00:52:23 +01:00
flecomte 5dc1518cfc Test openapi schema of GET /citizens/{citizen}/follows/articles 2021-03-22 00:30:31 +01:00
flecomte 0e5943864d Test openapi schema of /follow/* 2021-03-20 02:43:53 +01:00
flecomte 786b0bc949 create comment.toOutput() 2021-03-20 01:57:10 +01:00
flecomte 8aa809c37e fix FindArticles schema 2021-03-20 01:25:23 +01:00
flecomte fdd69a687b create CitizenCreatorI.toOutput() 2021-03-20 01:20:58 +01:00
flecomte 4c1ab796e4 Test openapi schema of /constitutions/* 2021-03-20 01:14:39 +01:00
flecomte c1a3590b2b Improve BitMaskI 2021-03-20 00:58:51 +01:00
flecomte c9ce2a9dc7 Refactor constitution entity 2021-03-20 00:55:39 +01:00
flecomte 8701815288 Fix badRequest 2021-03-20 00:54:33 +01:00
flecomte d03b585372 Improve BitMaskI 2021-03-20 00:54:01 +01:00
flecomte c9879be72c create openapi schema ArticleListingResponse 2021-03-19 21:47:00 +01:00
flecomte ec8abf44b8 Idea config 2021-03-19 21:46:12 +01:00
flecomte 776e0257fb add updatedAt for comment response 2021-03-19 21:19:53 +01:00
flecomte 8f1f1f10d9 add required for paginated in openapi 2021-03-19 21:05:49 +01:00
flecomte cba3f1f4bc Change article.createdBy response 2021-03-19 21:04:55 +01:00
flecomte 78a6cc417c Test openapi schema of
POST/GET /constitutions/{constitution}/comments
GET /citizens/{citizen}/comments/constitutions
2021-03-17 22:07:14 +01:00
flecomte 564d612e9a Test openapi schema of GET /comments/{comment}/children 2021-03-17 20:55:58 +01:00
flecomte 65bf9a75f0 Fix CommentConstitutionRepository repo 2021-03-17 18:37:39 +01:00
flecomte 33ceb13cde Test openapi schema of GET /citizens/{citizen}/comments/articles 2021-03-17 18:30:46 +01:00
flecomte 7765e6d27a Test openapi schema of PUT /comments/{comment} 2021-03-17 18:25:55 +01:00
flecomte ca402dbea7 Test openapi schema of /comments/{comment} 2021-03-17 18:09:05 +01:00
flecomte 07ae50c40a Test openapi schema of /articles/{article}/comments 2021-03-17 17:48:42 +01:00
flecomte 42dbd940a0 Test openapi schema of /articles/{article}/comments 2021-03-17 02:17:37 +01:00
flecomte 0f768f3e4c Test openapi schema of /citizens/{citizen}/password/change 2021-03-17 00:46:05 +01:00
flecomte 5fce37f269 Test openapi schema of /citizens/{id} 2021-03-17 00:28:01 +01:00
flecomte 52bdcd0990 Test openapi schema of /citizens/current 2021-03-16 18:51:41 +01:00