Commit Graph

48 Commits

Author SHA1 Message Date
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
9e88b33595 improve security. 2019-08-30 22:32:30 +02:00
3e21884b38 add deleted_at on article and constitution 2019-08-30 14:26:28 +02:00
16b71fb1e6 rename annonymous to anonymous 2019-08-30 13:25:54 +02:00
4c2da6ab71 Implement comment constitution
fix bugs
2019-08-28 23:32:43 +02:00
51ea82d2a4 add query "find_reference_by_id" 2019-08-28 17:10:50 +02:00
1fb0e39038 feature #7: Add routes for comment article 2019-08-27 22:31:01 +02:00
b2230f2fed feature #7: add find_comment_by_id query 2019-08-27 22:30:56 +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
b285bad593 feature #7: add function "find_comments_by_parent" 2019-08-27 22:29:11 +02:00
d6fda26fbd feature #7: add function "find_comments_by_target" 2019-08-27 22:29:08 +02:00
0547cf5784 feature #7: add colum parents_ids into comment 2019-08-27 22:29:05 +02:00
ce38aa6fe2 feature #7: add query "find_comments_article_by_citizen" and "find_comments_constitution_by_citizen" 2019-08-27 22:28:58 +02:00
f167cf02f9 feature #7: add query "find_comments_by_citizen" 2019-08-27 22:26:39 +02:00
53e8bc024c Add some sql check 2019-08-25 00:11:37 +02:00
29463e310e Add SQL query for insert citizen with user 2019-08-24 00:28:25 +02:00
1adbef817a Move SQL tests 2019-08-23 17:09:45 +02:00
d5499576ed Fix SQL tests 2019-08-23 17:08:19 +02:00
4f5cd827c4 Add Security to Citizen 2019-08-23 16:45:33 +02:00
4e9f737e00 feature #14: Add routes for get follows of one citizen 2019-08-22 09:47:34 +02:00
7ae30bd3cd feature #23: create route for citizen 2019-08-22 09:47:34 +02:00
c1f228e3c5 fix unfollow function 2019-08-22 09:47:33 +02:00
f060943565 feature #12: add Constitution tests 2019-08-22 09:47:33 +02:00
86d699c9c0 feature #12: Add constitution Entity, repository and route 2019-08-22 09:47:16 +02:00
e31282e24e add fixture to tests 2019-08-22 09:46:43 +02:00
7c3028eca2 fixs and move files 2019-08-22 09:46:43 +02:00