Commit Graph
100 Commits
Author SHA1 Message Date
flecomte 70c69bd626 Fix comment test 2019-10-01 13:55:41 +02:00
flecomte 47bdc349c5 create SQL function find_votes_by_citizen 2019-10-01 11:30:07 +02:00
flecomte be03bc4df8 GET comments of article is paginate 2019-10-01 09:54:18 +02:00
flecomte 3a77eff86e can get comment children of an other comment 2019-09-22 23:54:53 +02:00
flecomte dc490dcac3 change parent_id in comment 2019-09-22 22:39:04 +02:00
flecomte a37afc1ada return votes after vote 2019-09-20 22:42:50 +02:00
flecomte 2311d3986e add PUT in CORS 2019-09-20 02:37:16 +02:00
flecomte 68acd3b075 fix migration with function upsert_article 2019-09-18 01:07:37 +02:00
flecomte 93e32caa4c fix draft on SQL tests 2019-09-18 01:07:03 +02:00
flecomte acc6ecf114 add votes to article 2019-09-18 01:06:40 +02:00
flecomte a5b55c2d87 add draft to constitution 2019-09-16 22:55:09 +02:00
flecomte bb555ce69f docker elastic always restart 2019-09-16 22:50:17 +02:00
flecomte c2beed416e replace Article entity by Article request for the HTTP request
Add draft
2019-09-16 22:47:37 +02:00
flecomte 05c28a2f62 find only the last version of article on listing 2019-09-06 02:20:35 +02:00
flecomte 56ea1507f7 Add draft for article & constitution, auto set last_version column 2019-09-06 00:36:41 +02:00
flecomte d7d88a3295 fix sql test 2019-09-06 00:35:48 +02:00
flecomte 742927a590 Add route for get all versions of one article 2019-09-05 17:45:24 +02:00
flecomte 6423491be3 Add pagination on query find_articles_versions_by_* 2019-09-05 17:14:34 +02:00
flecomte 4990015769 fix openApi 2019-09-05 16:37:26 +02:00
flecomte 3533eb4a5c Add query for get all versions of one article 2019-09-05 16:37:15 +02:00
flecomte 369967d5f3 add versions on articles fixtures 2019-09-05 16:36:48 +02:00
flecomte 7151da1f3f deduplicate tags 2019-09-05 11:23:42 +02:00
flecomte 9cf05865a0 fix citizen voter 2019-09-05 11:21:30 +02:00
flecomte 3a4a90abfe fix openAPI 2019-09-05 11:21:01 +02:00
flecomte 70b11cec7c Add CORS 2019-09-05 11:19:33 +02:00
flecomte 1b6b748b01 increment created_at column on fixtures for article and constitution 2019-09-01 01:33:40 +02:00
flecomte cbec0e134b feature #26: use ZDB index to find article and constitution 2019-09-01 01:32:18 +02:00
flecomte befa456a38 feature #26: Add ZDB index to constitution, article and comment 2019-09-01 01:31:29 +02:00
flecomte cb91c50e58 Add security for follow 2019-08-31 00:14:05 +02:00
flecomte 52dfaaf814 Add Pagination Object on OpenApi 2019-08-30 22:33:34 +02:00
flecomte 9e88b33595 improve security. 2019-08-30 22:32:30 +02:00
flecomte f5bff403f0 feature #8: create Vote Constitution route 2019-08-30 15:51:55 +02:00
flecomte 96362bbb66 update idea config 2019-08-30 15:50:59 +02:00
flecomte 5e5405e5f9 feature #8: Add definition in openApi for Vote Article 2019-08-30 15:40:17 +02:00
flecomte 5d78f8d4c6 Refactor Voter 2019-08-30 15:15:29 +02:00
flecomte d1999d84ca feature #8: Add security for Vote Article 2019-08-30 14:34:24 +02:00
flecomte 3e21884b38 add deleted_at on article and constitution 2019-08-30 14:26:28 +02:00
flecomte 45a8f42335 improve cucumber implementation 2019-08-30 14:25:57 +02:00
flecomte bc75f5d9e2 refactor Voter 2019-08-30 14:01:53 +02:00
flecomte 16b71fb1e6 rename annonymous to anonymous 2019-08-30 13:25:54 +02:00
flecomte 1b8a02c2b3 feature #8: create Vote Article route 2019-08-30 13:24:37 +02:00
flecomte 7a8f8d3d6a add IDEA config for local connexion "test" 2019-08-30 12:09:26 +02:00
flecomte e861c29b69 feature #11: describe "create/delete follow to constitution" in openAPI 2019-08-30 10:12:57 +02:00
flecomte fffecd5072 feature #11: describe "create/delete follow to article" in openAPI 2019-08-30 10:12:57 +02:00
flecomte 2f079d9d9d feature #11: describe "Extra" component in openAPI 2019-08-30 10:10:03 +02:00
flecomte 9c3dce7511 feature #11: describe "get/edit comment to constitution" in openAPI 2019-08-30 10:10:03 +02:00
flecomte 31f1504e56 feature #11: describe "get/edit comment to article" in openAPI 2019-08-30 10:10:03 +02:00
flecomte 639b839058 feature #11: describe "get/edit comment" in openAPI 2019-08-29 22:58:49 +02:00
flecomte 00dbcaf7ab feature #11: describe "post article" in openAPI
add security
2019-08-29 22:36:41 +02:00
flecomte cb7a2c2eaf Add articles to title entity 2019-08-29 22:28:13 +02:00
flecomte 569f8a5fc3 feature #11: describe "constitutions routes" in openAPI 2019-08-29 22:27:26 +02:00
flecomte fb2b393c2e feature #11: add schemas CreatedAt in openAPI 2019-08-29 14:42:24 +02:00
flecomte 201430017e remove fixed raw citizen and use real current citizen
Fix tests
2019-08-29 14:38:11 +02:00
flecomte 025153c4cd force createdBy on upsert constitution 2019-08-29 14:37:00 +02:00
flecomte 83961fd202 force createdBy on upsert article 2019-08-29 14:25:00 +02:00
flecomte 299304f379 feature #11: describe "get article(s)" in openAPI 2019-08-29 14:23:14 +02:00
flecomte 20e9c3f7ef Refactor openApi parameters 2019-08-29 14:11:08 +02:00
flecomte 679dd2e4c5 Auth require for view citizens 2019-08-29 13:44:46 +02:00
flecomte 9fb6440736 feature #11: describe "get citizens" in openAPI 2019-08-29 13:42:22 +02:00
flecomte 11fae5f19c feature #11: describe "get citizen" in openAPI 2019-08-29 13:30:08 +02:00
flecomte c057a4aad3 feature #11: describe login in openAPI 2019-08-29 10:30:57 +02:00
flecomte bff45ab9cf feature #11: describe register in openAPI 2019-08-29 02:22:50 +02:00
flecomte 8e94d97c2b force ROLE_USER on register 2019-08-29 02:21:49 +02:00
flecomte b00456b31a Application not run migration if test 2019-08-28 23:38:28 +02:00
flecomte 4c2da6ab71 Implement comment constitution
fix bugs
2019-08-28 23:32:43 +02:00
flecomte 33f4992b5e fix "CommentRepository.findByCitizen" 2019-08-28 17:12:33 +02:00
flecomte 51ea82d2a4 add query "find_reference_by_id" 2019-08-28 17:10:50 +02:00
flecomte b5cb238061 feature #7: check if comment content is realy edited
add somes tests
2019-08-27 23:18:42 +02:00
flecomte 1fb0e39038 feature #7: Add routes for comment article 2019-08-27 22:31:01 +02:00
flecomte ff1e34c616 Add cucumbers steps for article 2019-08-27 22:31:01 +02:00
flecomte b2230f2fed feature #7: add find_comment_by_id query 2019-08-27 22:30:56 +02:00
flecomte ff76bd55ef update postgresjson 2019-08-27 22:30:22 +02:00
flecomte 67665350eb Create query for find citizen By Username 2019-08-27 22:29:14 +02:00
flecomte 2c717609b1 Clean code 2019-08-27 22:29:14 +02:00
flecomte bfcbfee120 add citizen in ApplicationCall 2019-08-27 22:29:14 +02:00
flecomte adba5a5aad Refactor cucumber steps 2019-08-27 22:29:14 +02:00
flecomte 0e50921a0a Move paths to separated files 2019-08-27 22:29:14 +02:00
flecomte b285bad593 feature #7: add function "find_comments_by_parent" 2019-08-27 22:29:11 +02:00
flecomte d6fda26fbd feature #7: add function "find_comments_by_target" 2019-08-27 22:29:08 +02:00
flecomte 0547cf5784 feature #7: add colum parents_ids into comment 2019-08-27 22:29:05 +02:00
flecomte ce38aa6fe2 feature #7: add query "find_comments_article_by_citizen" and "find_comments_constitution_by_citizen" 2019-08-27 22:28:58 +02:00
flecomte f167cf02f9 feature #7: add query "find_comments_by_citizen" 2019-08-27 22:26:39 +02:00
flecomte d911109cd2 Add test for bad request 2019-08-25 01:19:35 +02:00
flecomte 53e8bc024c Add some sql check 2019-08-25 00:11:37 +02:00
flecomte f887b99536 feature #9: Create route for register 2019-08-24 02:03:29 +02:00
flecomte 29463e310e Add SQL query for insert citizen with user 2019-08-24 00:28:25 +02:00
flecomte 1adbef817a Move SQL tests 2019-08-23 17:09:45 +02:00
flecomte d5499576ed Fix SQL tests 2019-08-23 17:08:19 +02:00
flecomte 36be09eed2 hide log of jasync lib 2019-08-23 16:47:14 +02:00
flecomte 4f5cd827c4 Add Security to Citizen 2019-08-23 16:45:33 +02:00
flecomte 9b6f3aab88 Refactoring of cucumber implementation 2019-08-23 13:04:20 +02:00
flecomte 46885ac599 Add insertUser into repo 2019-08-23 12:19:09 +02:00
flecomte 0108d496e0 feature #9: Create Voter for Article 2019-08-23 09:41:41 +02:00
flecomte 21b6a525fd feature #9: Add security for route "create article" 2019-08-23 00:03:53 +02:00
flecomte 5542eede27 feature #9: Add routes for login 2019-08-22 23:23:25 +02:00
flecomte 4e9f737e00 feature #14: Add routes for get follows of one citizen 2019-08-22 09:47:34 +02:00
flecomte 9b2b5e681f feature #14: Add routes for follow/unfollow coonstitution 2019-08-22 09:47:34 +02:00
flecomte 7ae30bd3cd feature #23: create route for citizen 2019-08-22 09:47:34 +02:00
flecomte 9821833dd8 feature #14: create route for unfollow article 2019-08-22 09:47:34 +02:00
flecomte 17746d9b1e improve speed of cucumber tests 2019-08-22 09:47:33 +02:00