Commit Graph

543 Commits

Author SHA1 Message Date
373ce8e593 Create Test for extension readResource 2020-03-13 23:33:51 +01:00
27232c5ca9 #29 Implement Workgroup (route, voter, repo, entity)
Create tests for workgroup routes
add CitizenWithUserI
2020-03-13 23:33:50 +01:00
dc034f7c51 Improve KtorServerRequestSteps 2020-03-13 21:00:01 +01:00
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
fb3278fa47 migration of IDE files 2020-03-11 12:56:48 +01:00
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
f677cac779 Lint 2020-03-06 09:58:08 +01:00
559890000d Refactoring: user fixtures in sql tests 2020-03-06 09:54:58 +01:00
4a4e9651fd Move Notifications config from Application.kt to ConfigNotification.kt 2020-03-03 12:23:42 +01:00
0421f3cb55 Can delete Notification
Add ID to notification
2020-02-28 23:43:51 +01:00
f3e0f64249 Improve Notification WS 2020-02-28 16:01:10 +01:00
d34ae52522 Fix unfollow on multiple version of article/constitution 2020-02-27 22:56:41 +01:00
e8d342a729 Fix CORS for delete request 2020-02-27 22:55:52 +01:00
977d59b60b Add Test for get follow of article 2020-02-27 20:34:46 +01:00
5d26497cdb Minor refactoring of cucumber steps 2020-02-27 20:34:29 +01:00
cd13f9a010 Improve Follow repository to split IN/OUT type 2020-02-27 20:31:25 +01:00
3bf20a971a Fix find_citizen_votes_by_target_ids
lint
2020-02-27 19:09:25 +01:00
967b370a41 implement route /articles/{article}/follows
create repository for find_follow
2020-02-27 17:14:56 +01:00
3a08052728 Create find_follow.sql 2020-02-27 17:12:32 +01:00
1418dd95bc Implement Websocket for push Notification
create auth with jwt in query string
2020-02-27 01:38:34 +01:00
b678f7f2cc Add consumer for Notification 2020-02-24 20:44:37 +01:00
af33ed9ec3 Publish message into rabbitmq on create article
Create Redis and Rabbit in docker-compose
2020-02-22 02:26:52 +01:00
471013984c Continue to implement opinion
improve target reference
Improve Tests for Opinion
fix SQL:upsert_opinion
2020-02-19 12:33:29 +01:00
60bd24e653 Add sonarqube (Docker server & gradle config) 2020-02-12 17:16:52 +01:00
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
ec6e39b130 Create OpinionChoice 2020-02-11 23:03:12 +01:00
42781565dd fix find_citizen_opinions_by_target_ids.sql
change opinion_list.target to array
2020-02-08 02:28:19 +01:00
976f8fac6a Add find_opinions.sql 2020-02-08 01:24:16 +01:00
7742287884 Add Opinion entity and add opinions on article 2020-02-08 01:03:16 +01:00
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
2048c71881 Fix sql test and add Command for lanch all sql test 2020-02-07 02:09:09 +01:00
de6ca63165 Add opinion Tables and request 2020-02-07 02:06:06 +01:00
a4dbd43cfb Fix get comments by target 2020-02-06 01:45:21 +01:00
eb7a0c7210 Add sort on comments -> findByTarget 2020-02-05 15:20:38 +01:00
42a41da066 Add OpenAPI route and server 2020-02-04 16:45:54 +01:00
77658c5f6b Fix get comments children 2020-01-30 17:30:11 +01:00
5161dca1d5 Fix get all commet of article 2020-01-30 15:02:52 +01:00
24bc1520f7 Improve change password 2020-01-30 14:18:40 +01:00
3d2d3c2e14 Remove Extra class, and create CommentRef 2020-01-29 16:58:14 +01:00
41a98f23b8 Clean code 2020-01-28 22:35:50 +01:00
813d6857e9 Split Entities for remove nullable variables 2020-01-28 22:00:44 +01:00
3cdd1f3a46 update postgresjson (mutable entity) 2020-01-22 23:08:58 +01:00
e68b5d87ce remove wrong line in sql file 2020-01-22 01:04:14 +01:00
ec99df1f6a update config 2020-01-22 00:55:22 +01:00
a3b35b6273 add more config 2020-01-22 00:38:33 +01:00
e97ac8368f catch WrongLoginOrPassword 2020-01-22 00:38:33 +01:00
db744e5f31 respond 404 on email not found on sso connect 2020-01-22 00:38:31 +01:00
6746ca08e2 update config 2020-01-22 00:03:35 +01:00
5b4d878f8a Can filter article by author 2019-10-28 23:02:16 +01:00
846b23b550 Can sort by vote and popularity 2019-10-16 16:36:03 +02:00