Commit Graph

367 Commits

Author SHA1 Message Date
e55e0aea44 OpenApi: move article path parameter to generic type 2019-10-05 22:17:38 +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
9de2c91191 Add openApi for /citizens/{citizen}/votes/articles 2019-10-01 17:13:11 +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
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
2311d3986e add PUT in CORS 2019-09-20 02:37:16 +02:00
68acd3b075 fix migration with function upsert_article 2019-09-18 01:07:37 +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
a5b55c2d87 add draft to constitution 2019-09-16 22:55:09 +02:00
bb555ce69f docker elastic always restart 2019-09-16 22:50:17 +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
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
4990015769 fix openApi 2019-09-05 16:37:26 +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
7151da1f3f deduplicate tags 2019-09-05 11:23:42 +02:00
9cf05865a0 fix citizen voter 2019-09-05 11:21:30 +02:00
3a4a90abfe fix openAPI 2019-09-05 11:21:01 +02:00
70b11cec7c Add CORS 2019-09-05 11:19:33 +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
cb91c50e58 Add security for follow 2019-08-31 00:14:05 +02:00
52dfaaf814 Add Pagination Object on OpenApi 2019-08-30 22:33:34 +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
96362bbb66 update idea config 2019-08-30 15:50:59 +02:00
5e5405e5f9 feature #8: Add definition in openApi for Vote Article 2019-08-30 15:40:17 +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
45a8f42335 improve cucumber implementation 2019-08-30 14:25:57 +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
7a8f8d3d6a add IDEA config for local connexion "test" 2019-08-30 12:09:26 +02:00