María Checa
|
a1f840e8fd
|
Added improvements to related contents
|
2018-01-12 18:35:15 +01:00 |
|
María Checa
|
1e23281c28
|
Fixed related content tests
|
2017-12-20 13:43:56 +01:00 |
|
Bertocq
|
cf06d5b047
|
Refactor related content score methods to make them easier to follow
|
2017-12-20 10:24:00 +01:00 |
|
Bertocq
|
3eecabe9a8
|
Prevent authors or users that already scored from scoring related content
|
2017-12-20 03:06:41 +01:00 |
|
Bertocq
|
e6a5071160
|
Fix typo on RelatedContentScore attribute score to value
|
2017-12-20 02:36:14 +01:00 |
|
Bertocq
|
e19153a26e
|
Fix typo on RelatedContentsScore call to RelatedContentScore
|
2017-12-20 02:36:14 +01:00 |
|
Bertocq
|
585eb36871
|
Hide related content when scoring goes under threshold
|
2017-12-20 02:36:13 +01:00 |
|
Bertocq
|
d544d56722
|
Add correct user to RelatedContentScore on creation
|
2017-12-20 02:36:13 +01:00 |
|
Bertocq
|
2688f2a919
|
Add author user to related content
|
2017-12-20 02:36:13 +01:00 |
|
Bertocq
|
4d2d7c1a0a
|
Add act as paranoid to related content, with not_hidden scope using hidden_at
|
2017-12-20 02:36:13 +01:00 |
|
Bertocq
|
f21f5ec05e
|
Refactor Related Content Controller score methods
|
2017-12-20 02:36:13 +01:00 |
|
Bertocq
|
065b0ed3c8
|
Create Related Content Scores
|
2017-12-20 02:36:10 +01:00 |
|
María Checa
|
a8ca3ec5f7
|
Added related content one positive score by default on create
|
2017-12-19 20:15:29 +01:00 |
|
María Checa
|
7d8b5838b9
|
Added new related contents score method
|
2017-12-19 13:14:12 +01:00 |
|
María Checa
|
8d7509917c
|
Prevent relationable models from being cached
|
2017-12-18 22:25:22 +01:00 |
|
María Checa
|
97f74ac531
|
Renamed related content times_reported column to flags_count
|
2017-12-18 18:21:46 +01:00 |
|
Bertocq
|
b02e2729e7
|
Rubocop style autocorrections
|
2017-12-16 17:59:16 +01:00 |
|
María Checa
|
88fc740863
|
Moved RELATIONABLE_MODELS from controller to model
|
2017-12-14 20:48:32 +01:00 |
|
Bertocq
|
e02f511b3a
|
Add times_reported integer attribute to RelatedContent
|
2017-11-29 19:02:14 +01:00 |
|
Bertocq
|
04dfc98c3f
|
Create RelatedContent model spec to check relationable destroy
|
2017-11-29 19:01:50 +01:00 |
|
Bertocq
|
03f0534b2f
|
Add scenario to RelatedContent model spec to check opposite related content creation
|
2017-11-29 19:01:12 +01:00 |
|
Bertocq
|
a138cda364
|
Create RelatedContent model
|
2017-11-29 19:00:54 +01:00 |
|