Commit Graph
100 Commits
Author SHA1 Message Date
flecomte ac852baaf6 Improve README 2020-05-14 13:46:44 +02:00
flecomte 159b9de19a Create a auto build docker image
Version of application is calculated by the git tags
2020-05-14 00:54:21 +02:00
flecomte e4a85722f1 Move Elasticsearch configuration into external function "configElasticIndexes" 2020-05-13 13:58:17 +02:00
flecomte eca5d1fe33 #39 I must be notified by email when an article is changed
add function CitizenI.Name.getFullName()
2020-05-12 16:15:35 +02:00
flecomte 5db451ef0e Fix cucumber tests 2020-05-12 12:04:18 +02:00
flecomte 5008b8b69f Add repository Opinion.addOpinion() 2020-05-12 12:03:52 +02:00
flecomte 4504600268 Remove sub directories 2020-05-12 10:36:16 +02:00
flecomte 678a2f48d2 #48 Can view workgroup of citizen 2020-05-12 01:26:22 +02:00
flecomte 460222bf69 Create bash script to insert fixtures 2020-05-12 01:25:01 +02:00
flecomte b497c61cfc Create bash script to execute SQL tests 2020-05-12 00:59:16 +02:00
flecomte 36d60ce6a3 Fix openapi filename 2020-05-11 02:29:20 +02:00
flecomte 0253480b10 Improve SQL test script 2020-05-11 02:29:02 +02:00
flecomte ecae3848ea Add script to launch fixtures 2020-05-11 01:51:30 +02:00
flecomte 8640d9146d Update postgres-json to Add ShadowJar compatibility
Add .env for redis and ES
change group name of project
2020-05-11 01:50:40 +02:00
flecomte b4be28ddc8 fix sql tests command 2020-04-15 09:22:42 +02:00
flecomte 8d5ee0c130 Fix postgresql setup files 2020-04-15 01:21:54 +02:00
flecomte e16c1eedc3 remove .idea/vcs file 2020-04-15 00:57:59 +02:00
flecomte 7dc1772708 Move Entity.Request to Routes 2020-04-15 00:43:59 +02:00
flecomte 9e50e3af58 update dependencies 2020-03-25 16:42:12 +01:00
flecomte e572ca0024 #24 Move voter code to an external library 2020-03-25 02:08:31 +01:00
flecomte 575752cdc7 Add workgroups routes to openapi 2020-03-25 00:24:50 +01:00
flecomte 07315a5624 Add route put/delete 2020-03-25 00:23:40 +01:00
flecomte 8c25f7633e Add delete workgroup query & repo 2020-03-24 23:48:11 +01:00
flecomte e85c8a3d55 find_workgroup_by_id return members
fix find_workgroup_members if no members
2020-03-24 23:38:07 +01:00
flecomte 75af31ab73 Fix following in other version of article 2020-03-22 03:44:26 +01:00
flecomte 589b6f5245 Refactoring of updateOpinions (route/repo/query)
Can nw be set multiple opinion on sigle query
fix OpinionVoter on CREATE
2020-03-22 00:53:08 +01:00
flecomte 479793503c fix find_citizen_opinions_by_target_id if json is empty 2020-03-22 00:43:09 +01:00
flecomte ddea05aea0 Change 404 to 200 if no comment/vote/follow on article 2020-03-20 02:11:56 +01:00
flecomte c55eba4219 Fix Mark as read notification 2020-03-20 01:33:48 +01:00
flecomte 64e3fb0134 Add script to launch SQL test 2020-03-18 02:18:10 +01:00
flecomte 06684120ce Add transaction for each steps 2020-03-18 00:52:37 +01:00
flecomte a99eaf3eef Fix comment voter 2020-03-18 00:51:42 +01:00
flecomte 118193210b Merge branch 'refactoring-test' 2020-03-17 15:52:53 +01:00
flecomte cf2881c890 #42 Improve VoteVoter 2020-03-17 15:49:59 +01:00
flecomte 4b96080051 #42 Improve CommentVoter 2020-03-17 15:14:44 +01:00
flecomte 890c84c762 #42 Add tests for WorkgroupVoter 2020-03-17 15:01:13 +01:00
flecomte c0becd8fbd #42 Add tests for VoteVoter 2020-03-17 14:21:38 +01:00
flecomte 622deb0f7d #42 Add tests for OpinionVoter 2020-03-17 14:08:14 +01:00
flecomte 86b569123c #42 Add tests for OpinionChoiceVoter 2020-03-17 12:13:14 +01:00
flecomte 1055e14039 #42 Add Tag to voter tests 2020-03-17 12:01:02 +01:00
flecomte 45dbdecdb2 #42 Improve tests for ArticleVoter 2020-03-17 11:57:49 +01:00
flecomte d8251f1dd2 #42 Add tests for FollowVoter 2020-03-17 11:47:25 +01:00
flecomte 559adb7e2a #42 Add tests for CommentVoter 2020-03-17 11:20:29 +01:00
flecomte 60d887c5cc #42 Add tests for CitizenVoter 2020-03-17 02:20:32 +01:00
flecomte bc7bfc3fef Fix tests 2020-03-17 01:47:35 +01:00
flecomte f225f7345c Lint 2020-03-17 01:34:30 +01:00
flecomte 676baa4e28 Refactoring Workgroup Tests 2020-03-17 01:26:44 +01:00
flecomte 0932da452b Refactoring Vote Tests 2020-03-17 01:11:04 +01:00
flecomte 8c7e5bdf9b Refactoring Opinion Tests
upsert_opinion_choice
2020-03-17 00:31:24 +01:00
flecomte 6b4a6f4075 Refactoring Constitution Tests 2020-03-16 22:35:23 +01:00
flecomte 0e912ef4b1 Refactoring Follows Tests
Add missing route GET /constitutions/{constitution}/follows
2020-03-16 21:24:24 +01:00
flecomte 10b2844620 Refactoring CommentArticle Tests 2020-03-16 20:39:16 +01:00
flecomte bbe54c3115 Refactoring CommentArticle Tests 2020-03-16 20:27:20 +01:00
flecomte 74503c9d3a Refactoring Comment Tests 2020-03-16 15:02:43 +01:00
flecomte 561905f7ab Refactoring Citizen Tests 2020-03-16 15:01:50 +01:00
flecomte 68238494e5 Refactoring Auth Tests 2020-03-16 13:35:12 +01:00
flecomte 0221d7023a Refactoring Article Tests 2020-03-16 13:30:24 +01:00
flecomte ca78db4155 #42 Add tests to ArticleVoter
Refactor ArticleVoter
2020-03-16 03:47:22 +01:00
flecomte aa7ca26b51 Improve voter 2020-03-16 03:47:22 +01:00
flecomte 8ad0281003 #29 Implement Workgroup members routes (Add, remove, update) 2020-03-15 20:15:39 +01:00
flecomte f277613820 #29 Implement Workgroup members query 2020-03-13 23:33:51 +01:00
flecomte 373ce8e593 Create Test for extension readResource 2020-03-13 23:33:51 +01:00
flecomte 27232c5ca9 #29 Implement Workgroup (route, voter, repo, entity)
Create tests for workgroup routes
add CitizenWithUserI
2020-03-13 23:33:50 +01:00
flecomte dc034f7c51 Improve KtorServerRequestSteps 2020-03-13 21:00:01 +01:00
flecomte 491ca13284 #29 Implement Workgroup (create query)
Create SQL query to get/set workgroup
Add workgroup to article query
2020-03-13 20:56:58 +01:00
flecomte fb3278fa47 migration of IDE files 2020-03-11 12:56:48 +01:00
flecomte 90e7e0254d #15 Count total view
Create Viewable interface
Set Article as Viewable
Create ES client
Now view article increment view count
Create index on start application

add an extention in ApplicationCall, to get citizen or return null
2020-03-11 12:55:39 +01:00
flecomte f677cac779 Lint 2020-03-06 09:58:08 +01:00
flecomte 559890000d Refactoring: user fixtures in sql tests 2020-03-06 09:54:58 +01:00
flecomte 4a4e9651fd Move Notifications config from Application.kt to ConfigNotification.kt 2020-03-03 12:23:42 +01:00
flecomte 0421f3cb55 Can delete Notification
Add ID to notification
2020-02-28 23:43:51 +01:00
flecomte f3e0f64249 Improve Notification WS 2020-02-28 16:01:10 +01:00
flecomte d34ae52522 Fix unfollow on multiple version of article/constitution 2020-02-27 22:56:41 +01:00
flecomte e8d342a729 Fix CORS for delete request 2020-02-27 22:55:52 +01:00
flecomte 977d59b60b Add Test for get follow of article 2020-02-27 20:34:46 +01:00
flecomte 5d26497cdb Minor refactoring of cucumber steps 2020-02-27 20:34:29 +01:00
flecomte cd13f9a010 Improve Follow repository to split IN/OUT type 2020-02-27 20:31:25 +01:00
flecomte 3bf20a971a Fix find_citizen_votes_by_target_ids
lint
2020-02-27 19:09:25 +01:00
flecomte 967b370a41 implement route /articles/{article}/follows
create repository for find_follow
2020-02-27 17:14:56 +01:00
flecomte 3a08052728 Create find_follow.sql 2020-02-27 17:12:32 +01:00
flecomte 1418dd95bc Implement Websocket for push Notification
create auth with jwt in query string
2020-02-27 01:38:34 +01:00
flecomte b678f7f2cc Add consumer for Notification 2020-02-24 20:44:37 +01:00
flecomte af33ed9ec3 Publish message into rabbitmq on create article
Create Redis and Rabbit in docker-compose
2020-02-22 02:26:52 +01:00
flecomte 471013984c Continue to implement opinion
improve target reference
Improve Tests for Opinion
fix SQL:upsert_opinion
2020-02-19 12:33:29 +01:00
flecomte 60bd24e653 Add sonarqube (Docker server & gradle config) 2020-02-12 17:16:52 +01:00
flecomte 4a2d18ff87 Create route for Opinions
create OpinionRepository
create OpinionVoter
create OpinionChoiceRef
create extention String.toUUID() and List<String>.toUUID()
create OpinionAggregation
create interface RequestBuilderWithCreator for create entity by request
rename opinion_list to opinion_choice
create sql function find_citizen_opinions
fix sql function find_citizen_opinions_by_target_id
fix sql funciton find_opinion_choices
2020-02-12 14:47:18 +01:00
flecomte ec6e39b130 Create OpinionChoice 2020-02-11 23:03:12 +01:00
flecomte 42781565dd fix find_citizen_opinions_by_target_ids.sql
change opinion_list.target to array
2020-02-08 02:28:19 +01:00
flecomte 976f8fac6a Add find_opinions.sql 2020-02-08 01:24:16 +01:00
flecomte 7742287884 Add Opinion entity and add opinions on article 2020-02-08 01:03:16 +01:00
flecomte f622dbeecd Add opinion on find_article_by_id & find_articles request
create request for find_citizen_opinions_by_target_id
create fixture for opinions
2020-02-08 01:01:32 +01:00
flecomte 2048c71881 Fix sql test and add Command for lanch all sql test 2020-02-07 02:09:09 +01:00
flecomte de6ca63165 Add opinion Tables and request 2020-02-07 02:06:06 +01:00
flecomte a4dbd43cfb Fix get comments by target 2020-02-06 01:45:21 +01:00
flecomte eb7a0c7210 Add sort on comments -> findByTarget 2020-02-05 15:20:38 +01:00
flecomte 42a41da066 Add OpenAPI route and server 2020-02-04 16:45:54 +01:00
flecomte 77658c5f6b Fix get comments children 2020-01-30 17:30:11 +01:00
flecomte 5161dca1d5 Fix get all commet of article 2020-01-30 15:02:52 +01:00
flecomte 24bc1520f7 Improve change password 2020-01-30 14:18:40 +01:00
flecomte 3d2d3c2e14 Remove Extra class, and create CommentRef 2020-01-29 16:58:14 +01:00