Senén Rodero Rodríguez
|
f8d78ec4ab
|
Remove new_nested action from images controller. Use cocoon gem to manage new nested fields creation on images.
|
2017-09-26 13:57:13 +02:00 |
|
Senén Rodero Rodríguez
|
88a7a29d27
|
Remove new_nested action from documents controller. Use cocoon gem to manage new nested fields creation on documents.
|
2017-09-26 13:57:13 +02:00 |
|
Senén Rodero Rodríguez
|
826385f659
|
Extract ajax upload and destroy_upload actions from images and documents controllers and place them at new controllers to manage direct uploads
|
2017-09-26 13:55:28 +02:00 |
|
Senén Rodero Rodríguez
|
d1d2a31876
|
Remove permissions of obsolete actions. Add missing image managment abilities to common and administrator specs.
|
2017-09-26 13:55:03 +02:00 |
|
Senén Rodero Rodríguez
|
6f71da07ee
|
Duplicate documentable code and rename for imageable
|
2017-09-26 13:55:03 +02:00 |
|
Senén Rodero Rodríguez
|
4469aa9b32
|
Allow to remove budget investment image from edit image page to authors and administrators.
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
ce0c0f7024
|
Allow administrators to edit and update images of any budget investment.
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
acc79cbe31
|
Add edit_image and update_image action to budget/investments controller.
|
2017-09-26 13:53:42 +02:00 |
|
iagirre
|
e90ac7e72d
|
Admins can see the preview of the budgets' results before the balloting phase is finished.
Cambios para hacer commit:
modificado: app/models/abilities/administrator.rb
modificado: app/views/budgets/show.html.erb
modificado: spec/models/abilities/administrator_spec.rb
modificado: spec/models/abilities/everyone_spec.rb
|
2017-09-26 11:16:32 +02:00 |
|
María Checa
|
ebfa3fb011
|
Disallow users to edit their legislation proposals
|
2017-09-22 11:39:17 +02:00 |
|
iagirre
|
4db2584f87
|
The tags are suggested based on the entries the user makes.
Cambios para hacer commit:
modificado: app/assets/javascripts/tag_autocomplete.js.coffee
modificado: app/assets/stylesheets/autocomplete_overrides.scss
nuevo archivo: app/controllers/tags_controller.rb
modificado: app/models/abilities/common.rb
modificado: app/views/debates/_form.html.erb
modificado: app/views/proposals/_form.html.erb
modificado: config/initializers/acts_as_taggable_on.rb
modificado: config/routes.rb
modificado: spec/lib/acts_as_taggable_on_spec.rb
|
2017-09-21 18:21:45 +02:00 |
|
María Checa
|
ba041f90c8
|
Removed unnecessary parts in Legislation Proposals
|
2017-09-21 16:17:11 +02:00 |
|
María Checa
|
393e9f2b6a
|
Added permissions for Legislation:Proposal
|
2017-09-14 17:38:42 +02:00 |
|
rgarcia
|
45d2fdd201
|
adds available booths
|
2017-09-08 21:59:54 +02:00 |
|
taitus
|
64774b0d2d
|
Refactor topics controller. Add Common abilities. Add destroy action.
|
2017-09-06 13:30:12 +02:00 |
|
taitus
|
4539c5fa00
|
Refactor and tests.
|
2017-09-05 12:52:14 +02:00 |
|
Senén Rodero Rodríguez
|
0fbffdc73e
|
Fix abilities definition and related specs
|
2017-08-25 18:34:53 +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
|
c92827e89e
|
Add abilities to documentable authors and admins to create and destroy documents.
|
2017-08-25 17:27:37 +02:00 |
|
taitus
|
b0c571e658
|
Do not display send notification button when proposal is from another author.
|
2017-07-13 20:33:57 +02:00 |
|
BertoCQ
|
9c4eb4cef3
|
Merge pull request #1727 from rockandror/followable
Followable
|
2017-07-11 13:19:42 +02:00 |
|
Bertocq
|
fafec293e8
|
Remove duplicated ability for everyone
|
2017-07-11 12:51:39 +02:00 |
|
BertoCQ
|
204ea13c85
|
Merge branch 'master' into followable
|
2017-07-11 11:30:49 +02:00 |
|
Bertocq
|
69f4e1c683
|
Fix all rubocop Metrics/LineLength issues (140+)
|
2017-07-10 13:22:49 +02:00 |
|
Senén Rodero Rodríguez
|
84dbef16a4
|
Create followable concern, follow model. Add followable to proposal model.
|
2017-07-07 12:02:00 +02:00 |
|
Bertocq
|
2888c20489
|
Fix all Style/RedundantSelf rubocop issues
|
2017-07-05 11:55:52 +02:00 |
|
Eduardo Martinez Echevarria
|
a599a0b91e
|
Set legislation processes visibility depending on publication
|
2017-06-30 15:08:23 +02:00 |
|
Bertocq
|
c9bc028524
|
Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file
|
2017-06-28 14:12:51 +02:00 |
|
Bertocq
|
154cdac332
|
Add calculate_winners on Admin Budget controller, route and ability for admins
|
2017-06-25 15:47:04 +02:00 |
|
Bertocq
|
e55328caf4
|
Rename legislation process final_version_publication phase name to more descriptive result_publication
|
2017-06-13 22:04:36 +02:00 |
|
Raimond Garcia
|
58da3b43e6
|
Merge pull request #1638 from entantoencuanto/issue#1595-results_url_permissions
Issue#1595 results url permissions
|
2017-06-12 13:09:27 +02:00 |
|
Eduardo Martinez Echevarria
|
2380b97bd0
|
Make budgets result show action available only when budget is finished
|
2017-06-11 23:33:05 +02:00 |
|
Eduardo Martinez Echevarria
|
180ed1ce99
|
Set cancan permissions for suggest on Budget::Investment
|
2017-06-11 13:13:50 +02:00 |
|
Amaia Castro
|
b616210607
|
View and search users from admin panel
|
2017-06-09 17:30:06 +02:00 |
|
Juanjo Bazán
|
16edbf15a2
|
Merge pull request #1620 from consul/medialab-legislation
Adds Collaborative Legislation
|
2017-06-07 18:06:15 +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
|
1a46b4d4cb
|
fixes conflicts with master
|
2017-05-31 10:36:38 +02:00 |
|
Bertocq
|
9506855a44
|
Add Admin Administrator route, controller and manage ability for admin users
|
2017-05-23 22:49:44 +02:00 |
|
decabeza
|
5e0d5fc8c3
|
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
|
2017-05-22 18:43:49 +02:00 |
|
Amaia Castro
|
9e5324cc1b
|
Merge branch 'master' into site-customization
|
2017-04-07 17:29:33 +02:00 |
|
Amaia Castro
|
c1de2dced4
|
Custom content blocks for top_links and footer
|
2017-04-06 17:00:05 +02:00 |
|
Amaia Castro
|
8143fe1037
|
Site customization: images uploads
|
2017-04-06 17:00:04 +02:00 |
|
Amaia Castro
|
255b57cc85
|
Admin for custom pages
|
2017-04-06 16:25:07 +02:00 |
|
Alberto
|
6bbcc71ecb
|
Merge branch 'master' into polls
|
2017-04-06 14:16:49 +02:00 |
|
Amaia Castro
|
d95f902fdf
|
Merge branch 'master' into legislation-module-stable
|
2017-03-07 23:19:26 +01:00 |
|
kikito
|
24920e73f6
|
Adds permissions for authors to destroy budget investments
|
2017-03-06 13:42:52 +01:00 |
|
Juanjo Bazán
|
909114bcf5
|
cleans common can answer ability
|
2017-02-12 19:40:08 +01:00 |
|
Amaia Castro
|
5d37997a69
|
Redirect to allegations phase if open
|
2017-02-09 16:59:02 +01:00 |
|
kikito
|
5d13bdc15d
|
Removes 'manage' from admin permissions in Polls
|
2017-01-30 11:29:49 +01:00 |
|
Juanjo Bazán
|
113f9b32d7
|
Merge branch 'master' into polls
|
2017-01-19 16:51:19 +01:00 |
|