Commit Graph

83 Commits

Author SHA1 Message Date
flecomte 1bc7293660 move JWT secret into ENV 2021-03-31 17:58:47 +02:00
flecomte f458d7b674 Move SQL test files 2021-03-24 19:07:01 +01:00
flecomte 0cf1aea9bf Test openapi schema of Register
Fix some routes
Improve Schema Validation
2021-03-16 00:53:10 +01:00
flecomte d382a89905 Fix tests 2021-02-28 01:42:11 +01:00
flecomte 7446bd506a create gradle tasks "test", "testSql", "migrations" and run docker before tasks 2021-02-27 23:20:57 +01:00
flecomte 7985ea67e5 remove cucumber 2021-02-25 01:09:44 +01:00
flecomte d83ba2d54d Add Integration test for workgroup routes 2021-02-25 00:48:52 +01:00
flecomte 7b4066b928 Add Integration test for vote routes 2021-02-24 00:21:29 +01:00
flecomte 9fb2262107 Add Integration test for opinion routes 2021-02-23 22:51:16 +01:00
flecomte b0aec9bea0 Add Integration test for follow constitution routes 2021-02-23 17:24:12 +01:00
flecomte a17bd11e9e Add Integration test for follow article routes 2021-02-19 23:30:04 +01:00
flecomte 8cf79a791e Rename annonymous to anonymous 2021-02-19 22:27:47 +01:00
flecomte 0ecf0c205f Add Integration test for comment 2021-02-19 00:42:10 +01:00
flecomte c85401aa86 move createCitizen of Integration test 2021-02-10 18:10:21 +01:00
flecomte dcf35eaccd Clean Citizen entities
Change plainPassword to just password
Add request Input for /login
2021-02-09 00:39:26 +01:00
flecomte 89c15eb1cf cleanup and refactoring of notification
close rabbit and redis connexion on application close
Refactoring of Configuration class
fix notification id increment
Add builder for NotificationPush
Add close to notificationPush to remove listener
Clean tags of tests
purge queue before functional tests
2021-02-04 02:37:29 +01:00
flecomte 1c644768e6 remove raiseEvent for notifications
Add Test for EventNotification
Add application.conf for test
2021-01-26 23:58:25 +01:00
flecomte 78e01ba981 upgrade logback, corouties, json-path, mockk, junit-jupiter 2021-01-18 13:24:51 +01:00
flecomte ba673943d8 Refactoring of OpinionVoter 2021-01-18 09:51:48 +01:00
flecomte 1b6549eae3 Rename wrong naming SSO to Passwordless 2021-01-17 22:46:43 +01:00
flecomte 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
flecomte 16feab9655 #57 I can filter articles by workgroup
update lib "postgres-json:1.2.1"
2020-08-24 16:55:18 +02:00
flecomte ee60f5b4e7 Fix tests 2020-06-02 15:08:05 +02:00
flecomte 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
flecomte 5db451ef0e Fix cucumber tests 2020-05-12 12:04:18 +02:00
flecomte 07315a5624 Add route put/delete 2020-03-25 00:23:40 +01:00
flecomte a99eaf3eef Fix comment voter 2020-03-18 00:51:42 +01:00
flecomte 676baa4e28 Refactoring Workgroup Tests 2020-03-17 01:26:44 +01:00
flecomte 0932da452b Refactoring Vote Tests 2020-03-17 01:11:04 +01:00
flecomte 8c7e5bdf9b Refactoring Opinion Tests
upsert_opinion_choice
2020-03-17 00:31:24 +01:00
flecomte 6b4a6f4075 Refactoring Constitution Tests 2020-03-16 22:35:23 +01:00
flecomte 0e912ef4b1 Refactoring Follows Tests
Add missing route GET /constitutions/{constitution}/follows
2020-03-16 21:24:24 +01:00
flecomte 10b2844620 Refactoring CommentArticle Tests 2020-03-16 20:39:16 +01:00
flecomte bbe54c3115 Refactoring CommentArticle Tests 2020-03-16 20:27:20 +01:00
flecomte 74503c9d3a Refactoring Comment Tests 2020-03-16 15:02:43 +01:00
flecomte 561905f7ab Refactoring Citizen Tests 2020-03-16 15:01:50 +01:00
flecomte 68238494e5 Refactoring Auth Tests 2020-03-16 13:35:12 +01:00
flecomte 0221d7023a Refactoring Article Tests 2020-03-16 13:30:24 +01:00
flecomte 8ad0281003 #29 Implement Workgroup members routes (Add, remove, update) 2020-03-15 20:15:39 +01:00
flecomte 373ce8e593 Create Test for extension readResource 2020-03-13 23:33:51 +01:00
flecomte 27232c5ca9 #29 Implement Workgroup (route, voter, repo, entity)
Create tests for workgroup routes
add CitizenWithUserI
2020-03-13 23:33:50 +01:00
flecomte 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
flecomte 977d59b60b Add Test for get follow of article 2020-02-27 20:34:46 +01:00
flecomte 5d26497cdb Minor refactoring of cucumber steps 2020-02-27 20:34:29 +01:00
flecomte 471013984c Continue to implement opinion
improve target reference
Improve Tests for Opinion
fix SQL:upsert_opinion
2020-02-19 12:33:29 +01:00
flecomte eb7a0c7210 Add sort on comments -> findByTarget 2020-02-05 15:20:38 +01:00
flecomte 77658c5f6b Fix get comments children 2020-01-30 17:30:11 +01:00
flecomte 5161dca1d5 Fix get all commet of article 2020-01-30 15:02:52 +01:00
flecomte 24bc1520f7 Improve change password 2020-01-30 14:18:40 +01:00
flecomte 813d6857e9 Split Entities for remove nullable variables 2020-01-28 22:00:44 +01:00