Commit Graph

26 Commits

Author SHA1 Message Date
2ef9f65f2c Clean BadRequest response 2021-04-05 01:40:12 +02:00
ab418ae300 Add openapi response of error 400 2021-04-05 00:48:11 +02:00
a300e275d4 Valid FindArticles request with Konform 2021-04-04 21:02:02 +02:00
f17277c0e9 Test all security of routes #76 2021-03-31 02:35:59 +02:00
5f0b8de159 #69 Format HTTP error
add 403 for /articles route
2021-03-26 01:53:41 +01:00
dcf7a2bc06 Rename openapi file 2021-03-24 19:34:39 +01:00
118af0170a Remove unused openapi file 2021-03-24 19:34:00 +01:00
97c1e47db2 Fix openapi.yaml 2021-03-08 23:07:23 +01:00
bb637dd96a #71 Use response object for route FindArticles 2021-03-05 00:39:49 +01:00
8cf79a791e Rename annonymous to anonymous 2021-02-19 22:27:47 +01:00
dcf35eaccd Clean Citizen entities
Change plainPassword to just password
Add request Input for /login
2021-02-09 00:39:26 +01:00
1b6549eae3 Rename wrong naming SSO to Passwordless 2021-01-17 22:46:43 +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
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
e2d1b697b7 add missing parameters in openApi definition for "GET /workgroups" route 2020-06-14 00:30:24 +02:00
2ee8b80596 Add descriptions on OpenAPI 2020-06-02 15:08:12 +02:00
9b79301662 update workgroup in OpenApi 2020-06-02 01:01:29 +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
eca5d1fe33 #39 I must be notified by email when an article is changed
add function CitizenI.Name.getFullName()
2020-05-12 16:15:35 +02:00
575752cdc7 Add workgroups routes to openapi 2020-03-25 00:24:50 +01:00
589b6f5245 Refactoring of updateOpinions (route/repo/query)
Can nw be set multiple opinion on sigle query
fix OpinionVoter on CREATE
2020-03-22 00:53:08 +01:00
90e7e0254d #15 Count total view
Create Viewable interface
Set Article as Viewable
Create ES client
Now view article increment view count
Create index on start application

add an extention in ApplicationCall, to get citizen or return null
2020-03-11 12:55:39 +01:00
967b370a41 implement route /articles/{article}/follows
create repository for find_follow
2020-02-27 17:14:56 +01:00
af33ed9ec3 Publish message into rabbitmq on create article
Create Redis and Rabbit in docker-compose
2020-02-22 02:26:52 +01:00
471013984c Continue to implement opinion
improve target reference
Improve Tests for Opinion
fix SQL:upsert_opinion
2020-02-19 12:33:29 +01:00