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
d34ae52522
Fix unfollow on multiple version of article/constitution
2020-02-27 22:56:41 +01:00
3bf20a971a
Fix find_citizen_votes_by_target_ids
...
lint
2020-02-27 19:09:25 +01:00
967b370a41
implement route /articles/{article}/follows
...
create repository for find_follow
2020-02-27 17:14:56 +01:00
3a08052728
Create find_follow.sql
2020-02-27 17:12:32 +01:00
b678f7f2cc
Add consumer for Notification
2020-02-24 20:44:37 +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
4a2d18ff87
Create route for Opinions
...
create OpinionRepository
create OpinionVoter
create OpinionChoiceRef
create extention String.toUUID() and List<String>.toUUID()
create OpinionAggregation
create interface RequestBuilderWithCreator for create entity by request
rename opinion_list to opinion_choice
create sql function find_citizen_opinions
fix sql function find_citizen_opinions_by_target_id
fix sql funciton find_opinion_choices
2020-02-12 14:47:18 +01:00
ec6e39b130
Create OpinionChoice
2020-02-11 23:03:12 +01:00
42781565dd
fix find_citizen_opinions_by_target_ids.sql
...
change opinion_list.target to array
2020-02-08 02:28:19 +01:00
976f8fac6a
Add find_opinions.sql
2020-02-08 01:24:16 +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
de6ca63165
Add opinion Tables and request
2020-02-07 02:06:06 +01:00
a4dbd43cfb
Fix get comments by target
2020-02-06 01:45:21 +01:00
eb7a0c7210
Add sort on comments -> findByTarget
2020-02-05 15:20:38 +01:00
24bc1520f7
Improve change password
2020-01-30 14:18:40 +01:00
41a98f23b8
Clean code
2020-01-28 22:35:50 +01:00
813d6857e9
Split Entities for remove nullable variables
2020-01-28 22:00:44 +01:00
e68b5d87ce
remove wrong line in sql file
2020-01-22 01:04:14 +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
32417d3276
VoteAggregation return total votes and the score
2019-10-16 16:27:49 +02:00
54393000b3
Fix comment::children_count
2019-10-16 14:40:21 +02:00
8cb5c35296
Can Comment a Comment
2019-10-15 15:46:19 +02:00
499fbd6dcf
add 401 to OpenAPI
2019-10-15 15:00:13 +02:00
11b0fad0ed
define missin route "/citizens/{citizen}/comments/articles" into OpenAPI
2019-10-15 13:30:14 +02:00
e73a7b5a18
Add App into docker
2019-10-13 16:24:13 +02:00
f5030933ef
add openApi for sso and change password
2019-10-09 23:40:27 +02:00
a6f25bcbb2
Can login with SSO & change Password
2019-10-09 21:57:56 +02:00
20416ce108
create SQL function "change_user_password"
2019-10-09 12:27:20 +02:00
ebc552a431
add email to citizen table
2019-10-08 14:36:45 +02:00
afb7f7a1a6
Implement Mailer
2019-10-08 02:31:23 +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
f20964878f
Improve Vote Comment
...
Add "targetReference" field into Extra Entity
Add VoteCommentRoute to OpenApi
2019-10-07 14:15:43 +02:00
646c199292
Improve error message on sql function
2019-10-06 23:50:27 +02:00
6d4339f2a5
Refactor SQL function Comment
2019-10-06 23:49:20 +02:00
9cbba66a36
Can search article by tags
2019-10-06 00:01:28 +02:00
5b44d4766d
OpenApi: Add tags
2019-10-05 22:17:39 +02:00
f7feb513e0
OpenApi: move comment path parameter to generic type
2019-10-05 22:17:39 +02:00
bc8d187914
OpenApi: move constitution path parameter to generic type
2019-10-05 22:17:39 +02:00
e55e0aea44
OpenApi: move article path parameter to generic type
2019-10-05 22:17:38 +02:00
c5a2f92b19
create SQL function for get citizen votes with multiple target ids
...
add updated_at field on vote table
2019-10-05 22:17:38 +02:00
fc138790ea
Can get current Citizen
2019-10-02 01:28:43 +02:00
9de2c91191
Add openApi for /citizens/{citizen}/votes/articles
2019-10-01 17:13:11 +02:00
47bdc349c5
create SQL function find_votes_by_citizen
2019-10-01 11:30:07 +02:00
be03bc4df8
GET comments of article is paginate
2019-10-01 09:54:18 +02:00
3a77eff86e
can get comment children of an other comment
2019-09-22 23:54:53 +02:00
dc490dcac3
change parent_id in comment
2019-09-22 22:39:04 +02:00
a37afc1ada
return votes after vote
2019-09-20 22:42:50 +02:00