Commit Graph

46 Commits

Author SHA1 Message Date
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
eb7a0c7210 Add sort on comments -> findByTarget 2020-02-05 15:20:38 +01:00
24bc1520f7 Improve change password 2020-01-30 14:18:40 +01:00
41a98f23b8 Clean code 2020-01-28 22:35:50 +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
8cb5c35296 Can Comment a Comment 2019-10-15 15:46:19 +02:00
499fbd6dcf add 401 to OpenAPI 2019-10-15 15:00:13 +02:00
11b0fad0ed define missin route "/citizens/{citizen}/comments/articles" into OpenAPI 2019-10-15 13:30:14 +02:00
f5030933ef add openApi for sso and change password 2019-10-09 23:40:27 +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
f20964878f Improve Vote Comment
Add "targetReference" field into Extra Entity
Add VoteCommentRoute to OpenApi
2019-10-07 14:15:43 +02:00
5b44d4766d OpenApi: Add tags 2019-10-05 22:17:39 +02:00
f7feb513e0 OpenApi: move comment path parameter to generic type 2019-10-05 22:17:39 +02:00
bc8d187914 OpenApi: move constitution path parameter to generic type 2019-10-05 22:17:39 +02:00
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
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
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
68acd3b075 fix migration with function upsert_article 2019-09-18 01:07:37 +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
4990015769 fix openApi 2019-09-05 16:37:26 +02:00
3a4a90abfe fix openAPI 2019-09-05 11:21:01 +02:00
52dfaaf814 Add Pagination Object on OpenApi 2019-08-30 22:33:34 +02:00
f5bff403f0 feature #8: create Vote Constitution route 2019-08-30 15:51:55 +02:00
5e5405e5f9 feature #8: Add definition in openApi for Vote Article 2019-08-30 15:40:17 +02:00
7a8f8d3d6a add IDEA config for local connexion "test" 2019-08-30 12:09:26 +02:00
e861c29b69 feature #11: describe "create/delete follow to constitution" in openAPI 2019-08-30 10:12:57 +02:00
fffecd5072 feature #11: describe "create/delete follow to article" in openAPI 2019-08-30 10:12:57 +02:00
2f079d9d9d feature #11: describe "Extra" component in openAPI 2019-08-30 10:10:03 +02:00
9c3dce7511 feature #11: describe "get/edit comment to constitution" in openAPI 2019-08-30 10:10:03 +02:00
31f1504e56 feature #11: describe "get/edit comment to article" in openAPI 2019-08-30 10:10:03 +02:00
639b839058 feature #11: describe "get/edit comment" in openAPI 2019-08-29 22:58:49 +02:00
00dbcaf7ab feature #11: describe "post article" in openAPI
add security
2019-08-29 22:36:41 +02:00
569f8a5fc3 feature #11: describe "constitutions routes" in openAPI 2019-08-29 22:27:26 +02:00
fb2b393c2e feature #11: add schemas CreatedAt in openAPI 2019-08-29 14:42:24 +02:00
299304f379 feature #11: describe "get article(s)" in openAPI 2019-08-29 14:23:14 +02:00
20e9c3f7ef Refactor openApi parameters 2019-08-29 14:11:08 +02:00
9fb6440736 feature #11: describe "get citizens" in openAPI 2019-08-29 13:42:22 +02:00
11fae5f19c feature #11: describe "get citizen" in openAPI 2019-08-29 13:30:08 +02:00
c057a4aad3 feature #11: describe login in openAPI 2019-08-29 10:30:57 +02:00
bff45ab9cf feature #11: describe register in openAPI 2019-08-29 02:22:50 +02:00