Commit Graph

213 Commits

Author SHA1 Message Date
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
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
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
a37afc1ada return votes after vote 2019-09-20 22:42:50 +02:00
2311d3986e add PUT in CORS 2019-09-20 02:37:16 +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
742927a590 Add route for get all versions of one article 2019-09-05 17:45:24 +02:00
7151da1f3f deduplicate tags 2019-09-05 11:23:42 +02:00
9cf05865a0 fix citizen voter 2019-09-05 11:21:30 +02:00
70b11cec7c Add CORS 2019-09-05 11:19:33 +02:00
cb91c50e58 Add security for follow 2019-08-31 00:14:05 +02:00
9e88b33595 improve security. 2019-08-30 22:32:30 +02:00
f5bff403f0 feature #8: create Vote Constitution route 2019-08-30 15:51:55 +02:00
5d78f8d4c6 Refactor Voter 2019-08-30 15:15:29 +02:00
d1999d84ca feature #8: Add security for Vote Article 2019-08-30 14:34:24 +02:00
3e21884b38 add deleted_at on article and constitution 2019-08-30 14:26:28 +02:00
bc75f5d9e2 refactor Voter 2019-08-30 14:01:53 +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
cb7a2c2eaf Add articles to title entity 2019-08-29 22:28:13 +02:00
201430017e remove fixed raw citizen and use real current citizen
Fix tests
2019-08-29 14:38:11 +02:00
025153c4cd force createdBy on upsert constitution 2019-08-29 14:37:00 +02:00
83961fd202 force createdBy on upsert article 2019-08-29 14:25:00 +02:00
679dd2e4c5 Auth require for view citizens 2019-08-29 13:44:46 +02:00
8e94d97c2b force ROLE_USER on register 2019-08-29 02:21:49 +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
33f4992b5e fix "CommentRepository.findByCitizen" 2019-08-28 17:12:33 +02:00
b5cb238061 feature #7: check if comment content is realy edited
add somes tests
2019-08-27 23:18:42 +02:00
1fb0e39038 feature #7: Add routes for comment article 2019-08-27 22:31:01 +02:00
ff76bd55ef update postgresjson 2019-08-27 22:30:22 +02:00
67665350eb Create query for find citizen By Username 2019-08-27 22:29:14 +02:00
2c717609b1 Clean code 2019-08-27 22:29:14 +02:00
bfcbfee120 add citizen in ApplicationCall 2019-08-27 22:29:14 +02:00
0e50921a0a Move paths to separated files 2019-08-27 22:29:14 +02:00
d911109cd2 Add test for bad request 2019-08-25 01:19:35 +02:00
f887b99536 feature #9: Create route for register 2019-08-24 02:03:29 +02:00
29463e310e Add SQL query for insert citizen with user 2019-08-24 00:28:25 +02:00
4f5cd827c4 Add Security to Citizen 2019-08-23 16:45:33 +02:00
9b6f3aab88 Refactoring of cucumber implementation 2019-08-23 13:04:20 +02:00
46885ac599 Add insertUser into repo 2019-08-23 12:19:09 +02:00