flecomte
03350db56f
change ac.assert { can*() } to as.can*().assert()
2022-03-03 19:46:49 +01:00
flecomte
f380231e1e
Multiple minors fix and improve
...
use data class for entity
Add sealed on entity interfaces
Replace listOf() by setOf() instead of deduplicate
use interface instead of EntityRef
replace .toLowerCase() to .lowercase()
fix test.sh
2022-03-03 19:42:18 +01:00
flecomte
1c013e3e15
lint
2022-02-25 23:48:33 +01:00
flecomte
003aa9ff05
update gradle plugin
2022-02-25 23:48:33 +01:00
flecomte and GitHub
44c5f1b15b
Merge pull request #104 from flecomte/sibling
...
Rename findVersionsByVersionId to findSiblingVersions
2022-02-25 23:45:45 +01:00
flecomte
2f3a2f9b8e
Rename findVersionsByVersionId to findSiblingVersions
2022-02-25 23:17:03 +01:00
flecomte and GitHub
1a62c5ec9a
Merge pull request #103 from flecomte/update_gradle2
...
gradle dependencies fix
2022-02-25 22:55:12 +01:00
flecomte and GitHub
f577ea70b3
Merge pull request #96 from flecomte/60
...
#60 Can follow citizen
2021-04-27 21:48:16 +02:00
flecomte
2673cf527a
Clean useless error
2021-04-27 21:30:06 +02:00
flecomte
371483ccde
Improve query findFollowsByTarget & add tests
2021-04-27 18:52:36 +02:00
flecomte
76e4033a22
deduplicate follow output
2021-04-18 02:36:14 +02:00
flecomte
fee5e5784b
Refactoring of Notification system
2021-04-18 02:16:36 +02:00
flecomte
1c33c026f0
#60 Can follow citizen
2021-04-17 01:37:32 +02:00
flecomte and GitHub
4871e7d780
Merge pull request #95 from flecomte/61
...
#61 Fix version date returned for the article.createdAt
2021-04-16 21:44:03 +02:00
flecomte
359450ad8f
#61 Fix version date returned for the article.createdAt
2021-04-16 21:23:43 +02:00
flecomte and GitHub
11903a4cda
Merge pull request #94 from flecomte/62
...
#62 if not connected, you not must view the articles draft
2021-04-16 18:30:15 +02:00
flecomte
1a8b544cdb
#62 if not connected, you not must view the articles draft
2021-04-16 18:15:22 +02:00
flecomte and GitHub
e2c1f15ab8
Merge pull request #93 from flecomte/dependencies
...
Use dynamic dependencies
2021-04-16 17:25:52 +02:00
flecomte
dc87c95bb4
Enable zip64 for jar
2021-04-16 16:59:13 +02:00
flecomte
d4cc3f21da
fix CI
2021-04-16 16:19:04 +02:00
flecomte
59c050d14d
Update dependencies
...
Fix for koin 3.0
2021-04-16 16:09:59 +02:00
flecomte
cb9bd0c14b
Use gradle Lock file
2021-04-16 16:09:58 +02:00
flecomte
1ce3a18d8e
Update gradle plugins versions
2021-04-16 16:09:58 +02:00
flecomte
be6fb8dc12
Update gradle to 7.0
2021-04-16 16:09:58 +02:00
flecomte
cd9fd569d7
launch CI on master
2021-04-16 03:40:39 +02:00
flecomte and GitHub
2920186352
Merge pull request #91 from flecomte/21-valid-input
...
Valider les resource entrente
2021-04-16 03:27:10 +02:00
flecomte
cccabb2cc9
improve sonarqube action
2021-04-16 03:17:38 +02:00
flecomte
620cd73fec
Change intellij tasks
2021-04-16 03:09:56 +02:00
flecomte
e474a40068
Change tests task and CI
2021-04-16 03:09:55 +02:00
flecomte
242bf9c9b3
Fix commentSqlTest
2021-04-16 02:53:05 +02:00
flecomte
543f3fb9bb
Add retry for viewsTest
2021-04-16 02:53:04 +02:00
flecomte
994e266b52
Add validation on route CreateWorkgroup
2021-04-16 00:08:57 +02:00
flecomte
3f392eece6
Add validation on route EditWorkgroup
2021-04-15 23:45:47 +02:00
flecomte
518b59e9aa
Add validation on route GetWorkgroups
2021-04-15 22:20:16 +02:00
flecomte
596b7ff0c9
Extract Workgroup Member test into external file
2021-04-15 20:52:34 +02:00
flecomte
87175eb8ea
clean route comment
2021-04-15 02:53:32 +02:00
flecomte
1118866856
Add validation on route PutVoteOnConstitution
2021-04-15 02:42:29 +02:00
flecomte
367f59ee18
Add validation on route PutVoteOnComment
2021-04-15 02:33:46 +02:00
flecomte
0588f88f9a
Add validation on route PutVoteOnArticle
2021-04-15 02:20:57 +02:00
flecomte
496cf50d88
Add validation on route GetCitizenVotesOnArticle
2021-04-15 01:27:48 +02:00
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
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
flecomte and GitHub
7e16c7bb74
Merge pull request #81
...
Lint
2021-03-24 19:49:34 +01:00