Commit Graph

280 Commits

Author SHA1 Message Date
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
eb7a0c7210 Add sort on comments -> findByTarget 2020-02-05 15:20:38 +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
813d6857e9 Split Entities for remove nullable variables 2020-01-28 22:00:44 +01:00
f76f6f83bb Lint project 2019-10-10 22:50:24 +02:00
7e52808ccf Clean code after update postgresjson 2019-10-09 22:54:34 +02:00
a6f25bcbb2 Can login with SSO & change Password 2019-10-09 21:57:56 +02:00
20416ce108 create SQL function "change_user_password" 2019-10-09 12:27:20 +02:00
f91b25b35b add email to citizen entity 2019-10-08 14:37:21 +02:00
ebc552a431 add email to citizen table 2019-10-08 14:36:45 +02:00
afb7f7a1a6 Implement Mailer 2019-10-08 02:31:23 +02:00
c156e2a7b1 SQL functions find_comments_* now return VotesAggregates
create Votable Interface
remove usless "resourceTarget" argument for SQL function "count_vote"
2019-10-08 00:26:41 +02:00
f20964878f Improve Vote Comment
Add "targetReference" field into Extra Entity
Add VoteCommentRoute to OpenApi
2019-10-07 14:15:43 +02:00
d90d3117d5 Can vote on Comment 2019-10-06 23:50:42 +02:00
6d4339f2a5 Refactor SQL function Comment 2019-10-06 23:49:20 +02:00
c5a2f92b19 create SQL function for get citizen votes with multiple target ids
add updated_at field on vote table
2019-10-05 22:17:38 +02:00
51cc5b640d fix and improve cucumber step "findJsonElement" 2019-10-03 23:01:59 +02:00
fad625f204 Fix: get All vote of current citizen now return complete target 2019-10-03 15:43:31 +02:00
fc138790ea Can get current Citizen 2019-10-02 01:28:43 +02:00
5352c82bba Can get votes for one citizen 2019-10-01 13:58:25 +02:00
5d1bed5f22 Improve test "the response should contain object" 2019-10-01 13:57:05 +02:00
70c69bd626 Fix comment test 2019-10-01 13:55:41 +02:00
47bdc349c5 create SQL function find_votes_by_citizen 2019-10-01 11:30:07 +02:00
dc490dcac3 change parent_id in comment 2019-09-22 22:39:04 +02:00
93e32caa4c fix draft on SQL tests 2019-09-18 01:07:03 +02:00
acc6ecf114 add votes to article 2019-09-18 01:06:40 +02:00
c2beed416e replace Article entity by Article request for the HTTP request
Add draft
2019-09-16 22:47:37 +02:00
56ea1507f7 Add draft for article & constitution, auto set last_version column 2019-09-06 00:36:41 +02:00
d7d88a3295 fix sql test 2019-09-06 00:35:48 +02:00
742927a590 Add route for get all versions of one article 2019-09-05 17:45:24 +02:00
6423491be3 Add pagination on query find_articles_versions_by_* 2019-09-05 17:14:34 +02:00
3533eb4a5c Add query for get all versions of one article 2019-09-05 16:37:15 +02:00
cb91c50e58 Add security for follow 2019-08-31 00:14:05 +02:00
f5bff403f0 feature #8: create Vote Constitution route 2019-08-30 15:51:55 +02:00
45a8f42335 improve cucumber implementation 2019-08-30 14:25:57 +02:00
16b71fb1e6 rename annonymous to anonymous 2019-08-30 13:25:54 +02:00
1b8a02c2b3 feature #8: create Vote Article route 2019-08-30 13:24:37 +02:00
fffecd5072 feature #11: describe "create/delete follow to article" in openAPI 2019-08-30 10:12:57 +02:00
201430017e remove fixed raw citizen and use real current citizen
Fix tests
2019-08-29 14:38:11 +02:00
b00456b31a Application not run migration if test 2019-08-28 23:38:28 +02:00
4c2da6ab71 Implement comment constitution
fix bugs
2019-08-28 23:32:43 +02:00