Commit Graph

18 Commits

Author SHA1 Message Date
13cdaaf01a Add validation on route FindCitizens 2021-04-08 22:25:43 +02:00
a1c1accc87 Refactors Articles and Voter
- Move files into components (article)
- Split articles routes
- Refactoring for remove ktor-voter (ArticleVoter)
- Remove mutability
- Move DataConversion to separate file (Converter.kt)
- Add Schemas for Articles routes
- Fix SQL Query for Workgroup roles
- rename container_name in docker-compose
2021-01-14 13:06:13 +01:00
5def84282d Improve vote count with cache 2020-09-04 15:22:15 +02:00
16feab9655 #57 I can filter articles by workgroup
update lib "postgres-json:1.2.1"
2020-08-24 16:55:18 +02:00
7874f5cec4 #55 Can be assign a role to members of my Workgroup
Remove Owner on Workgroup (use role MASTER instead)
"find_citizen_by_id" not return user anymore, use "find_citizen_by_id_with_user" instead
2020-06-01 13:46:15 +02:00
64e3fb0134 Add script to launch SQL test 2020-03-18 02:18:10 +01:00
491ca13284 #29 Implement Workgroup (create query)
Create SQL query to get/set workgroup
Add workgroup to article query
2020-03-13 20:56:58 +01:00
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
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
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
9cbba66a36 Can search article by tags 2019-10-06 00:01:28 +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
05c28a2f62 find only the last version of article on listing 2019-09-06 02:20:35 +02:00
cbec0e134b feature #26: use ZDB index to find article and constitution 2019-09-01 01:32:18 +02:00
c1f228e3c5 fix unfollow function 2019-08-22 09:47:33 +02:00
7c3028eca2 fixs and move files 2019-08-22 09:46:43 +02:00