Commit Graph

382 Commits

Author SHA1 Message Date
6a8c5bf717 Refactors Citizen into component
Refactor CitizenVoter
Split citizens routes
2021-01-14 15:24:05 +01: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
03401f711e Update ktor-voter to version 2.2.0 2020-10-05 15:32:44 +02:00
74923891d0 Fix security 2020-10-04 01:10:22 +02:00
317e029f79 remove "restart: always" on docker compose 2020-10-01 15:52:08 +02:00
46ee98c97f Increase article fixtures 2020-10-01 15:51:36 +02:00
269bf09c66 update installation doc 2020-10-01 15:17:40 +02:00
9d6ad08834 Update idea config 2020-09-29 09:51:00 +02:00
06b1296192 Add commande to reset database in Makefile 2020-09-04 15:22:36 +02:00
5def84282d Improve vote count with cache 2020-09-04 15:22:15 +02:00
24d8f1d58b Fix route /citizens/current if not logged 2020-09-04 11:10:22 +02:00
a3b44588a9 Can filter workgroup by members #58
add filterNotNull to toUUID() function
2020-08-25 15:30:36 +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
01c3d85a17 #54 Can create article under the name of the Workgroup 2020-07-10 15:41:39 +02:00
3d319605de Fix find_workgroups SQL query 2020-06-14 00:32:39 +02:00
63c4568aeb Fix find_citizens SQL query 2020-06-14 00:30:45 +02:00
e2d1b697b7 add missing parameters in openApi definition for "GET /workgroups" route 2020-06-14 00:30:24 +02:00
70092efaf5 Improve README 0.0.3 2020-06-02 16:31:38 +02:00
9c10a88a36 Improve Makefile 2020-06-02 15:20:11 +02:00
2ee8b80596 Add descriptions on OpenAPI 2020-06-02 15:08:12 +02:00
ee60f5b4e7 Fix tests 2020-06-02 15:08:05 +02:00
10928251e6 Can update roles of one citizen on workgroup 2020-06-02 14:20:35 +02:00
9b79301662 update workgroup in OpenApi 2020-06-02 01:01:29 +02:00
32510652d1 Fix upsert_workgroup 2020-06-02 01:01:08 +02:00
a6c36c542e Fixture not delete table content before apply 2020-06-01 13:52:48 +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
8ff6fcc970 Add volume to docker for redis 2020-05-27 09:56:54 +02:00
bd123d03e9 Fix fixtures script 2020-05-14 13:46:55 +02:00
ac852baaf6 Improve README 2020-05-14 13:46:44 +02:00
159b9de19a Create a auto build docker image
Version of application is calculated by the git tags
0.0.2
2020-05-14 00:54:21 +02:00
e4a85722f1 Move Elasticsearch configuration into external function "configElasticIndexes" 2020-05-13 13:58:17 +02:00
eca5d1fe33 #39 I must be notified by email when an article is changed
add function CitizenI.Name.getFullName()
0.0.1
2020-05-12 16:15:35 +02:00
5db451ef0e Fix cucumber tests 2020-05-12 12:04:18 +02:00
5008b8b69f Add repository Opinion.addOpinion() 2020-05-12 12:03:52 +02:00
4504600268 Remove sub directories 2020-05-12 10:36:16 +02:00
678a2f48d2 #48 Can view workgroup of citizen 2020-05-12 01:26:22 +02:00
460222bf69 Create bash script to insert fixtures 2020-05-12 01:25:01 +02:00
b497c61cfc Create bash script to execute SQL tests 2020-05-12 00:59:16 +02:00
36d60ce6a3 Fix openapi filename 2020-05-11 02:29:20 +02:00
0253480b10 Improve SQL test script 2020-05-11 02:29:02 +02:00
ecae3848ea Add script to launch fixtures 2020-05-11 01:51:30 +02:00
8640d9146d Update postgres-json to Add ShadowJar compatibility
Add .env for redis and ES
change group name of project
2020-05-11 01:50:40 +02:00
b4be28ddc8 fix sql tests command 2020-04-15 09:22:42 +02:00
8d5ee0c130 Fix postgresql setup files 2020-04-15 01:21:54 +02:00
e16c1eedc3 remove .idea/vcs file 2020-04-15 00:57:59 +02:00
7dc1772708 Move Entity.Request to Routes 2020-04-15 00:43:59 +02:00
9e50e3af58 update dependencies 2020-03-25 16:42:12 +01:00
e572ca0024 #24 Move voter code to an external library 2020-03-25 02:08:31 +01:00
575752cdc7 Add workgroups routes to openapi 2020-03-25 00:24:50 +01:00
07315a5624 Add route put/delete 2020-03-25 00:23:40 +01:00