taitus
|
51c53b6f31
|
Add missing specs from Maps on New, Edit and Show.
|
2017-09-27 14:50:54 +02:00 |
|
Senén Rodero Rodríguez
|
011ef41ae1
|
Add map location missing specs
|
2017-09-27 14:50:03 +02:00 |
|
Senén Rodero Rodríguez
|
130e4533ac
|
Allow to render map without marker on new forms.
|
2017-09-27 14:48:12 +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 |
|
Bertocq
|
1dde4cb3ec
|
Add types to Poll Shifts as an enum
|
2017-09-27 13:57:16 +02:00 |
|
Senén Rodero Rodríguez
|
2993ef8707
|
Remove documents single uploads
|
2017-09-27 11:04:56 +02:00 |
|
Senén Rodero Rodríguez
|
eef8ad1b73
|
Remove images single uploads
|
2017-09-27 10:41:48 +02:00 |
|
Senén Rodero Rodríguez
|
e58feb7d6d
|
Fix for remote filesytem paperclip configuration.
|
2017-09-26 13:57:14 +02:00 |
|
Senén Rodero Rodríguez
|
eb8ab83ac9
|
Remove cached files after complete uploads.
|
2017-09-26 13:57:13 +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
|
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
|
fe7b0edb38
|
Adjust filename obfuscation to be able to remove cached uploads
|
2017-09-26 13:56:06 +02:00 |
|
Senén Rodero Rodríguez
|
661bdda41f
|
Stronger direct upload model specs
|
2017-09-26 13:56:06 +02:00 |
|
Senén Rodero Rodríguez
|
baf9ce90a9
|
Obfuscate documentable and imageable file names.
|
2017-09-26 13:56:06 +02:00 |
|
Senén Rodero Rodríguez
|
824dd26d5a
|
User new direct uploads controllers action on documentable. Skipped spec.
|
2017-09-26 13:55:51 +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
|
c6dabedb4a
|
Add missing image model spec. Add shared specs to check image validations at any imageable model
|
2017-09-26 13:55:03 +02:00 |
|
Senén Rodero Rodríguez
|
bb57c1a7f5
|
Validate image dimensions only for valid attachment content types
|
2017-09-26 13:55:03 +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 |
|
Bertocq
|
614ff79ba1
|
WIP
|
2017-09-26 13:53:43 +02:00 |
|
Bertocq
|
886431b43d
|
Revert changes in Budget::Investment model that added image attachment directly
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
f23fd927d6
|
Add constant to set minimum size for budget investment image.
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
c914c772c0
|
Add budget investment image dimmensions validator.
|
2017-09-26 13:53:42 +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 |
|
Alessandro Cuoghi
|
dd1e73c5fd
|
Add image into investment show and add some change of css.
|
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 |
|
Alessandro Cuoghi
|
aa471974bd
|
Use different image versions on responsive sizes
|
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 |
|
Senén Rodero Rodríguez
|
515d6d7e70
|
Rename image_description column to image_title on budget investments.
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
673fc66011
|
Add budget investements images specs
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
c399692109
|
Add image description to budget investments
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
00a8f42797
|
Added image content type validation to only allowing jpg images.
|
2017-09-26 13:53:42 +02:00 |
|
taitus
|
c5bb6dca65
|
Add image to budget investments.
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
4f5a552486
|
Added image content type validation to only allowing jpg images.
|
2017-09-26 13:53:42 +02:00 |
|
taitus
|
7b88e63136
|
Add image to budget investments.
|
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 |
|
BertoCQ
|
feddc44267
|
Merge pull request #1922 from consul/rubocop
Rubocop 🤖 Cleanup
|
2017-09-26 10:19:47 +02:00 |
|
BertoCQ
|
73c47dcd0e
|
Merge pull request #1905 from wairbut-m2c/iagirre-autocomplete-tags
Iagirre autocomplete tags
|
2017-09-26 10:19:34 +02:00 |
|
Bertocq
|
43758ba830
|
Fix Style/EmptyCaseCondition rubocop issue
|
2017-09-25 22:52:38 +02:00 |
|
Bertocq
|
c5059f7292
|
Fix Style/ParenthesesAroundCondition rubocop issues
|
2017-09-25 22:46:09 +02:00 |
|
Bertocq
|
22822aa173
|
Fix Style/RedundantParentheses rubocop issues
|
2017-09-25 22:44:58 +02:00 |
|
María Checa
|
02fa3a83b5
|
Custom tags for Legislation Process available
Custom tags for Legislation Processes, editable in the admin section.
|
2017-09-22 17:16:04 +02:00 |
|
María Checa
|
ebfa3fb011
|
Disallow users to edit their legislation proposals
|
2017-09-22 11:39:17 +02:00 |
|
María Checa
|
ac5620c583
|
Merge branch 'master' into 1856-legislation_processes_proposals_phase
|
2017-09-21 21:24:56 +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
|
57c48fe596
|
Legislation proposals comments working
|
2017-09-21 17:13:12 +02:00 |
|
María Checa
|
5ae8cda0d5
|
Fixed legislation proposal vote action
|
2017-09-21 16:23:34 +02:00 |
|