Julian Herrero
d24376f6ad
Use double quotes in controllers/
2019-03-13 22:19:49 +01:00
decabeza
25c8212e80
Remove proposal improvement path setting
2019-02-19 11:07:58 +01:00
rogelio-o
f1bb1ff8de
Moves attributes to a concern.
2019-01-14 20:26:47 +01:00
rogelio-o
ea76179002
Solves #3153 . It refactors images attributes.
2019-01-12 17:42:55 +01:00
decabeza
37da986014
Adds settings for featured proposals
2018-12-04 18:04:36 +01:00
decabeza
609d2083f8
Changes proposals controller to always load featured proposals
2018-12-04 17:46:46 +01:00
Angel Perez
a143fa447b
Ensure recommendations are only shown when enabled
2018-07-15 21:28:58 -04:00
Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
Angel Perez
a58f6a2662
Enable 'Recommended proposals' setting for users
2018-07-15 21:28:57 -04:00
decabeza
bdb3f30e40
Adds recommendations on proposals index
2018-07-15 21:28:57 -04:00
iagirre
21b1d00205
Add backend for the moderators
...
Add new routes for the proposal notifications edition and
abilities to let moderators edit it (mark as ignored, hide, etc.).
The notifications are not flaggable because they doesn't work like that,
but in a similar way. The moderator/administrator is in charge of hidding
them through the UI, so the normal users don't flag it as inappropriate.
New controller Moderation::ProposalNotification to manage the moderators
work.
2018-07-02 18:17:45 +02:00
decabeza
bdedb023d1
Adds view mode on proposals
2018-04-02 17:27:52 +02:00
Angel Perez
665a5b57ab
Empty instances of MapLocation won't result in a new DB record ( #2220 )
2018-01-26 09:26:48 -04:00
rgarcia
19a084c0c7
adds map validations
2017-12-19 20:32:55 +01:00
Raimond Garcia
d0b407d4e5
Merge pull request #2183 from consul/related-content
...
Related contents functionalities
2017-12-15 10:00:43 +01:00
María Checa
1830a7bb04
Added pagination for relationed content list
2017-12-14 20:54:35 +01:00
Angel Perez
ab9d612128
'Proposals' feature can be enabled/disabled
...
Fixes #1886
2017-11-17 13:10:55 -04:00
Raimond Garcia
f68d86a2e5
Merge pull request #1824 from rockandror/user-recomendations
...
User recomendations
2017-09-29 19:02:03 +02:00
Senén Rodero Rodríguez
92c774cdeb
Merge with master
2017-09-28 13:36:20 +02:00
Senén Rodero Rodríguez
5956207a00
Add map locations. Each map location can belongs to proposal or budget investment.
2017-09-27 14:48:12 +02:00
Senén Rodero Rodríguez
f6fba64012
Remove uneeded document and image initializations
2017-09-26 13:57:14 +02:00
Senén Rodero Rodríguez
0a86727c6a
Move method 'recover_image_from_cache' from imageable controllers to image.
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
c22637c349
Move method 'recover_documents_from_cache' from documentable controllers to document.
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
d98d1312ca
Add _destroy parameter to nested image
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
77f63a4c44
Add _destroy parameter to nested documents
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
6f71da07ee
Duplicate documentable code and rename for imageable
2017-09-26 13:55:03 +02:00
BertoCQ
f67ba62c49
Merge branch 'master' into user-recomendations
2017-09-19 18:56:12 +02:00
Bertocq
e4e78c8f16
Rubocop autocorrections
2017-09-14 15:08:35 +02:00
Alberto
c3b3a837a9
Merge branch 'master' into user-recomendations
2017-09-05 11:31:05 +02:00
Senén Rodero Rodríguez
cc89907bff
Add nested documents to proposal form.
2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
723173ae39
Show validation errors on nested documents.
2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
f226d2ac94
Fix edit and update actions
2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
e9c5f77368
Accept nested attributes for documents on proposals. Adapt documentable js file to allow many input files at the same page.
2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
586776efd8
Add documentable to proposal model.
2017-08-25 17:27:37 +02:00
taitus
6e2063310f
Add empty recommended messages text.
2017-08-04 13:27:03 +02:00
taitus
fe3bb7a389
Add recommended tab on proposals and debates index.
2017-08-01 16:31:44 +02:00
Bertocq
69f4e1c683
Fix all rubocop Metrics/LineLength issues (140+)
2017-07-10 13:22:49 +02:00
Juanjo Bazán
616efbffed
uses path instead of url for proposal improvement link
2017-06-23 13:12:46 +02:00
decabeza
ea38f79442
removes specs of proposals successful banner
2017-06-05 17:55:37 +02:00
decabeza
c76bd65b40
removes old proposals successful banner
2017-06-05 16:29:48 +02:00
Bertocq
cf8bc486e4
Rename proposal_improvement_url to proposal_improvement_path to truly describe the value that the variable holds
2017-05-31 12:51:01 +02:00
Bertocq
438aaa65f6
Merge author param into Proposal building at proposal controller create action
2017-05-31 11:10:27 +02:00
Bertocq
520563d54f
Add proposal improvement info link to share page, and make it option through Setting variable
2017-05-31 10:59:31 +02:00
Bertocq
29f59e2af5
Add create method on proposals controller to redirect to proposal share page with notice after save
2017-05-31 10:59:30 +02:00
Bertocq
b2c79174aa
Add new Proposal share endpoint, plus ability for ereryone to use it
2017-05-31 10:59:30 +02:00
rgarcia
87dd15b7bf
includes search concern in commendable actions
2017-05-04 20:42:21 +02:00
rgarcia
37d8693049
extracts advanced search to controller concern
2017-05-04 04:23:53 +02:00
Juanjo Bazán
5ec12e4b5b
Merge branch 'master' into redux-polling
2016-12-27 18:22:06 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
rgarcia
e12f183775
fixes typo
2016-11-19 14:03:10 +01:00