Bertocq
327817ff36
Update version on install controller (late)
2018-01-03 21:07:19 +01:00
BertoCQ
d534b02b3c
Merge pull request #2206 from consul/related-contents-score
...
Related contents score
2017-12-20 15:13:12 +01:00
Bertocq
01d5656884
Fix valid related content url helper method
2017-12-20 14:51:39 +01:00
Bertocq
cf06d5b047
Refactor related content score methods to make them easier to follow
2017-12-20 10:24:00 +01:00
Bertocq
c67851df53
Fix relatedcontent creation and scoring on related content controller
2017-12-20 03:06:06 +01:00
Bertocq
d544d56722
Add correct user to RelatedContentScore on creation
2017-12-20 02:36:13 +01:00
Bertocq
2e0dd9caea
Relationable find_related_content should not be used to find, refactored to have a single purpose
2017-12-20 02:36:13 +01:00
Bertocq
f21f5ec05e
Refactor Related Content Controller score methods
2017-12-20 02:36:13 +01:00
rgarcia
19a084c0c7
adds map validations
2017-12-19 20:32:55 +01:00
María Checa
7d8b5838b9
Added new related contents score method
2017-12-19 13:14:12 +01:00
María Checa
3836b73482
Added related contents to debates
2017-12-18 23:56:32 +01:00
María Checa
d944a88c63
Added flag/unflag related content routes
2017-12-18 18:21:51 +01:00
Bertocq
b02e2729e7
Rubocop style autocorrections
2017-12-16 17:59:16 +01:00
Raimond Garcia
d0b407d4e5
Merge pull request #2183 from consul/related-content
...
Related contents functionalities
2017-12-15 10:00:43 +01:00
Raimond Garcia
cd89cb801c
Merge pull request #2190 from consul/related-content-form
...
Related content form
2017-12-15 09:59:56 +01:00
rgarcia
ebb3c075b0
fixes proposal's management specs
2017-12-15 09:58:12 +01:00
Alberto García
b4782f73f2
delete unnecessary parenthesis
2017-12-14 21:13:46 +01:00
María Checa
1830a7bb04
Added pagination for relationed content list
2017-12-14 20:54:35 +01:00
Alberto García
1737f85398
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 20:50:55 +01:00
María Checa
88fc740863
Moved RELATIONABLE_MODELS from controller to model
2017-12-14 20:48:32 +01:00
María Checa
5c7b5eed53
Added RelatedContentsController
2017-12-14 14:50:47 +01:00
iagirre
01a8c55936
Make Budget::Investment::Milestone class Documentable.
...
Add fields to the milestone form so that the admin can attach 0, 1 or multiple documents.
Add column to milestone list with a link to documents (if there is any).
Make documents accessible from the milestone view for users.
2017-12-14 10:53:01 +01:00
Angel Perez
6d57d76071
Admins can add a 'publication date' to milestones
2017-12-13 20:17:54 -04:00
iagirre
35986ea6b5
Budget::Investment::Milestone is imageable
...
Admin form attaches an image
Milestone list has a column "Image", empty or with a link to the image
2017-12-13 08:59:36 +01:00
Raimond Garcia
11e80fbc92
Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
...
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00
Raimond Garcia
22a8157165
Merge branch 'master' into aperez-email-specs-for-commentables
2017-12-07 13:05:25 +01:00
Bertocq
7339a98b74
Create installation controller with consul details method, add route on routes.rb
2017-12-04 18:32:04 +01:00
Bertocq
05a6c35b65
Switch case statement for if
2017-12-04 15:48:09 +01:00
Bertocq
b327420e72
Force setseed value range from -1 o 1
2017-12-04 15:42:59 +01:00
María Checa
f9e65b0f80
Merge pull request #2102 from wairbut-m2c/iagirre-admin-poll-stats
...
Iagirre admin poll stats
2017-11-29 20:07:53 +01:00
Bertocq
c5fa85e3f6
Prevent a division by zero from happening on sort by random investment scope
2017-11-29 11:40:10 +01:00
Raimond Garcia
778ddbee0f
Merge pull request #2131 from wairbut-m2c/iagirre-budget-pagination-bug
...
Iagirre budget pagination bug
2017-11-27 16:49:27 +01:00
BertoCQ
104a26db35
Merge pull request #2110 from wairbut-m2c/aperez-remove-valuator-role
...
Add option to unassign Valuator role
2017-11-21 16:34:16 +01:00
BertoCQ
ae71f4960b
Merge pull request #2068 from ortegacmanuel/add-investment-user-tags-admin-interface
...
Add investment user tags admin interface
2017-11-19 14:42:01 +01:00
Angel Perez
2bdc2c27d7
Add email specs for Poll
2017-11-17 13:14:03 -04:00
Angel Perez
db86cc5216
Enable 'destroy' action for Valuator on controller
2017-11-17 13:12:26 -04:00
Angel Perez
ab9d612128
'Proposals' feature can be enabled/disabled
...
Fixes #1886
2017-11-17 13:10:55 -04:00
iagirre
87f6f14d48
Bigger random seed range. Tests added to check the randomness between browsers
2017-11-15 11:50:06 +01:00
iagirre
fbb02095bb
Some fixes to new code to make the test pass
2017-11-15 09:02:19 +01:00
iagirre
7f0e447e0f
One aproach to make the randomness work with kaminari
2017-11-15 08:56:31 +01:00
Bertocq
f45cfc108a
Fix Style/AccessorMethodName rubocop issue
2017-11-13 02:34:00 +01:00
Bertocq
a34118dbb0
Fix Lint/ShadowingOuterLocalVariable rubocop issue
2017-11-13 02:23:49 +01:00
Bertocq
cd66ba5d54
Rubocop autocorrections
2017-11-13 02:22:00 +01:00
rgarcia
644ea9629f
uses correct order for permitted params
2017-11-08 12:05:02 +01:00
rgarcia
f3831de31c
fixes typo introduced while fixing conflicts
2017-11-08 11:56:49 +01:00
Raimond Garcia
ad37606129
Merge branch 'master' into legislation-processes-documents
2017-11-08 11:31:09 +01:00
Alberto García
164bc19b3e
Merge pull request #1906 from consul/1856-legislation_processes_proposals_phase
...
[WIP] Legislation Process Proposals
2017-10-27 12:41:09 +02:00
María Checa
5ae31a6d01
Prevent responsible_name and question from validation
2017-10-27 10:43:37 +02:00
María Checa
658d115c91
Removed share view for Legislation Proposals
2017-10-26 17:13:04 +02:00
María Checa
276baedcfa
Added votes to Legislation Proposals
2017-10-25 16:42:55 +02:00