Commit Graph

76 Commits

Author SHA1 Message Date
64e3fb0134 Add script to launch SQL test 2020-03-18 02:18:10 +01:00
8c7e5bdf9b Refactoring Opinion Tests
upsert_opinion_choice
2020-03-17 00:31:24 +01:00
ca78db4155 #42 Add tests to ArticleVoter
Refactor ArticleVoter
2020-03-16 03:47:22 +01:00
f277613820 #29 Implement Workgroup members query 2020-03-13 23:33:51 +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
d34ae52522 Fix unfollow on multiple version of article/constitution 2020-02-27 22:56:41 +01:00
3bf20a971a Fix find_citizen_votes_by_target_ids
lint
2020-02-27 19:09:25 +01:00
3a08052728 Create find_follow.sql 2020-02-27 17:12:32 +01:00
b678f7f2cc Add consumer for Notification 2020-02-24 20:44:37 +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
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
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
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
813d6857e9 Split Entities for remove nullable variables 2020-01-28 22:00:44 +01:00
e68b5d87ce remove wrong line in sql file 2020-01-22 01:04:14 +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
32417d3276 VoteAggregation return total votes and the score 2019-10-16 16:27:49 +02:00
54393000b3 Fix comment::children_count 2019-10-16 14:40:21 +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
ebc552a431 add email to citizen table 2019-10-08 14:36:45 +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
646c199292 Improve error message on sql function 2019-10-06 23:50:27 +02:00
6d4339f2a5 Refactor SQL function Comment 2019-10-06 23:49:20 +02:00
9cbba66a36 Can search article by tags 2019-10-06 00:01:28 +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
47bdc349c5 create SQL function find_votes_by_citizen 2019-10-01 11:30:07 +02:00
be03bc4df8 GET comments of article is paginate 2019-10-01 09:54:18 +02:00
3a77eff86e can get comment children of an other comment 2019-09-22 23:54:53 +02:00
dc490dcac3 change parent_id in comment 2019-09-22 22:39:04 +02:00
a37afc1ada return votes after vote 2019-09-20 22:42:50 +02:00
68acd3b075 fix migration with function upsert_article 2019-09-18 01:07:37 +02:00
acc6ecf114 add votes to article 2019-09-18 01:06:40 +02:00
a5b55c2d87 add draft to constitution 2019-09-16 22:55:09 +02:00
c2beed416e replace Article entity by Article request for the HTTP request
Add draft
2019-09-16 22:47:37 +02:00
05c28a2f62 find only the last version of article on listing 2019-09-06 02:20:35 +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
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
369967d5f3 add versions on articles fixtures 2019-09-05 16:36:48 +02:00
1b6b748b01 increment created_at column on fixtures for article and constitution 2019-09-01 01:33:40 +02:00
cbec0e134b feature #26: use ZDB index to find article and constitution 2019-09-01 01:32:18 +02:00
befa456a38 feature #26: Add ZDB index to constitution, article and comment 2019-09-01 01:31:29 +02:00