Commit Graph

255 Commits

Author SHA1 Message Date
b028ff05b9 Move files
Move Application and configurations file to the application package
Move JWT files to the auth.jwt package
Move ApplicationContext to auth package an rename to CitizenContext
2021-01-17 22:29:32 +01:00
c380ba47a5 Refactoring of WorkgroupVoter 2021-01-17 15:01:49 +01:00
ecda29abe5 Move Workgroup to a component 2021-01-17 14:18:19 +01:00
299495a03c ktlint 2021-01-17 00:10:51 +01:00
d87b433398 Move Comment article to a Component 2021-01-17 00:05:37 +01:00
b61fc3c7d1 Fix Auth request 2021-01-17 00:04:48 +01:00
b421b03575 Fix Double token generation in SSO 2021-01-15 23:43:49 +01:00
128510fe88 Add TODO's 2021-01-15 23:43:49 +01:00
ce90884758 Move Auth to a Component 2021-01-15 23:27:47 +01:00
7c106f7cf8 Refactoring of CommentVoter 2021-01-15 01:45:32 +01:00
caadc2a969 klint 2021-01-14 22:53:48 +01:00
91ab800272 Move comments classes into comment component 2021-01-14 22:51:33 +01:00
64f74d0449 fix namespace of article refactoring 2021-01-14 22:15:51 +01:00
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
46ee98c97f Increase article fixtures 2020-10-01 15:51:36 +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
32510652d1 Fix upsert_workgroup 2020-06-02 01:01:08 +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
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()
2020-05-12 16:15:35 +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
36d60ce6a3 Fix openapi filename 2020-05-11 02:29:20 +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
7dc1772708 Move Entity.Request to Routes 2020-04-15 00:43:59 +02:00
e572ca0024 #24 Move voter code to an external library 2020-03-25 02:08:31 +01:00
07315a5624 Add route put/delete 2020-03-25 00:23:40 +01:00
8c25f7633e Add delete workgroup query & repo 2020-03-24 23:48:11 +01:00
75af31ab73 Fix following in other version of article 2020-03-22 03:44:26 +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
ddea05aea0 Change 404 to 200 if no comment/vote/follow on article 2020-03-20 02:11:56 +01:00
c55eba4219 Fix Mark as read notification 2020-03-20 01:33:48 +01:00
a99eaf3eef Fix comment voter 2020-03-18 00:51:42 +01:00
cf2881c890 #42 Improve VoteVoter 2020-03-17 15:49:59 +01:00
4b96080051 #42 Improve CommentVoter 2020-03-17 15:14:44 +01:00
890c84c762 #42 Add tests for WorkgroupVoter 2020-03-17 15:01:13 +01:00
c0becd8fbd #42 Add tests for VoteVoter 2020-03-17 14:21:38 +01:00
622deb0f7d #42 Add tests for OpinionVoter 2020-03-17 14:08:14 +01:00
86b569123c #42 Add tests for OpinionChoiceVoter 2020-03-17 12:13:14 +01:00
d8251f1dd2 #42 Add tests for FollowVoter 2020-03-17 11:47:25 +01:00
559adb7e2a #42 Add tests for CommentVoter 2020-03-17 11:20:29 +01:00
60d887c5cc #42 Add tests for CitizenVoter 2020-03-17 02:20:32 +01:00
8c7e5bdf9b Refactoring Opinion Tests
upsert_opinion_choice
2020-03-17 00:31:24 +01:00