Commit Graph
100 Commits
Author SHA1 Message Date
flecomte 13253e4af1 Add validation on route GetMyOpinionsArticle 2021-04-15 01:06:46 +02:00
flecomte 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
flecomte 50b4cf1816 Add testFollow task 2021-04-12 01:03:57 +02:00
flecomte 6a5e00bb4d Add validation on Constitution routes 2021-04-11 00:54:09 +02:00
flecomte 0c8bcbd634 Add limit on content field (comment request) 2021-04-11 00:54:08 +02:00
flecomte 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
flecomte 27e405c585 Move tests 2021-04-09 18:43:59 +02:00
flecomte 34513e25b6 Add validation on route CreateConstitutionComment & GetConstitutionCommentRequest 2021-04-09 18:39:03 +02:00
flecomte f5c1aa29e8 Add validation on route GetArticleComments 2021-04-09 18:06:32 +02:00
flecomte 875d0bfffa Add test 404 for GetArticle route 2021-04-09 16:43:46 +02:00
flecomte fb7b07340a Improve test of password validation 2021-04-09 01:09:09 +02:00
flecomte a07b19a3cb Add validation on route CreateCommentArticle 2021-04-09 00:58:35 +02:00
flecomte 13cdaaf01a Add validation on route FindCitizens 2021-04-08 22:25:43 +02:00
flecomte e473e62068 remove CodeFactor & Codacy 2021-04-08 18:08:48 +02:00
flecomte 9d3eeeb04b Add validation on route ChangePasswordCitizenRequest 2021-04-08 18:02:27 +02:00
flecomte eb399392c9 remove parallel run for tests 2021-04-08 03:03:04 +02:00
flecomte 1ec1c59c8c remove useless log 2021-04-08 03:02:03 +02:00
flecomte 9511331cd2 Add validation on route Register 2021-04-08 02:10:45 +02:00
flecomte 33a8cdb169 Add email validation 2021-04-08 02:02:46 +02:00
flecomte 6aa3ddb28d Add Password validation 2021-04-08 01:55:10 +02:00
flecomte 708d241a26 Add tags on tests 2021-04-07 20:53:51 +02:00
flecomte e4745e71c2 Add validation on route UpsertArticle 2021-04-07 20:53:21 +02:00
flecomte e26710898e add example on openapi 400 error 2021-04-06 23:35:36 +02:00
flecomte fe11384ad2 Add validation on route GetOneArticle 2021-04-06 23:04:02 +02:00
flecomte 61a7091736 Add validation on route Article versions 2021-04-06 00:36:08 +02:00
flecomte 2ef9f65f2c Clean BadRequest response 2021-04-05 01:40:12 +02:00
flecomte b5fc3d25bb Improve Article validation & test on BadRequest 2021-04-05 00:50:02 +02:00
flecomte 3faf2e5f0d Add function to respond on BadRequest 2021-04-05 00:48:58 +02:00
flecomte ab418ae300 Add openapi response of error 400 2021-04-05 00:48:11 +02:00
flecomte 395d64a44a create testArticle gradle task 2021-04-04 21:02:02 +02:00
flecomte a300e275d4 Valid FindArticles request with Konform 2021-04-04 21:02:02 +02:00
flecomte 3a18ef0554 Improve articles request test 2021-04-04 21:01:57 +02:00
flecomteandGitHub 921a545877 Merge pull request #92 from flecomte/sonarq
Sonarcloud
2021-04-04 21:01:27 +02:00
flecomte ef942b956e Use sonarcloud 2021-04-04 01:35:02 +02:00
flecomteandGitHub ff74ad7e47 Merge pull request #90 from flecomte/improve-test
Improve tests
2021-04-03 00:39:16 +02:00
flecomte 2bb90ced03 Refactor 'the response should contain list' 2021-04-03 00:31:24 +02:00
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
flecomteandGitHub c81b63aef2 Merge pull request #89 from flecomte/ArticleViewManager
ArticleViewRepository
2021-04-02 12:39:34 +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
flecomteandGitHub 01c5b78325 Merge pull request #87 from flecomte/jwt-token-into-env
move JWT secret into ENV
2021-03-31 18:23:13 +02:00
flecomte 1bc7293660 move JWT secret into ENV 2021-03-31 17:58:47 +02:00
flecomteandGitHub 55c890aca5 Merge pull request #86
move "Check auth on all routes" extension into the class
2021-03-31 12:31:51 +02:00
flecomte c0e364637a move "Check auth on all routes" extension into the class 2021-03-31 12:30:37 +02:00
flecomteandGitHub 0a1ed9ba82 Merge pull request #85 from flecomte/optimise-testsql
Opimize testSql
2021-03-31 03:09:12 +02:00
flecomte 620085fda8 Optimise gradle task TestSql 2021-03-31 02:58:37 +02:00
flecomteandGitHub 3b5c1cf68a Merge pull request #84 from flecomte/69
Error codes
2021-03-31 02:53:58 +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
flecomteandGitHub 7f93ec5044 Merge pull request #82 from flecomte/lint
Optimize CI
2021-03-25 02:07:52 +01:00
flecomte 1be608e6b2 Add Codacy badge 2021-03-25 02:05:05 +01:00
flecomte b13cd5544c add coveralls on CI 2021-03-25 01:53:57 +01:00
flecomte 104f0fb3fc remove distZip & distTar 2021-03-24 23:06:38 +01:00
flecomte b2f40ff421 Restrict CI on pull_request on master 2021-03-24 21:56:58 +01:00
flecomte 09e81620a1 rollback lintCheck after test, create task testAll 2021-03-24 21:32:28 +01:00
flecomteandGitHub 7e16c7bb74 Merge pull request #81
Lint
2021-03-24 19:49:34 +01:00
flecomte fe953fc967 lintCheck after test 2021-03-24 19:48:14 +01:00
flecomteandGitHub 453fd2225c Merge pull request #80
rename openapi file
2021-03-24 19:39:23 +01:00
flecomte 70fd54d831 Fix destination installation doc 2021-03-24 19:35:11 +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
flecomteandGitHub 0aa8089a9a Merge pull request #79
Add codefactor badge
2021-03-24 19:29:44 +01:00
flecomte fef5f3b396 CodeFactor badge 2021-03-24 19:27:09 +01:00
flecomteandGitHub 1838b90ac9 Merge pull request #78
Create CI
2021-03-24 19:12:41 +01:00
flecomte 73fa2be91f Split CI task test 2021-03-24 19:11:04 +01:00
flecomte 52183abd08 Lint 2021-03-24 19:08:41 +01:00
flecomte e19266d4cc Create CI Action 2021-03-24 19:07:02 +01:00
flecomte f458d7b674 Move SQL test files 2021-03-24 19:07:01 +01:00
flecomteandGitHub 29d4d6ec25 Merge pull request #77 from flecomte/refactoring-component-and-immutable
Big refactoring
2021-03-24 19:06:06 +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 fbd18e4c2e update wrapper 2021-03-21 22:36:52 +01:00
flecomte 0e5943864d Test openapi schema of /follow/* 2021-03-20 02:43:53 +01:00
flecomte 46cc61fc25 update kotlin 2021-03-20 02:00:05 +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 316b1e8318 Idea config 2021-03-18 21:09: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