iagirre
166caa3b4c
Deleted code in views and concerns that lets polls have more images and documentes attached, like it was at first.
...
Added missing text for english and new texts in english and spanish.
Cambios para hacer commit:
modificado: app/assets/stylesheets/participation.scss
modificado: app/models/concerns/imageable.rb
modificado: app/models/poll.rb
modificado: app/views/admin/poll/polls/_form.html.erb
modificado: app/views/images/_admin_image.html.erb
modificado: config/locales/en/images.yml
modificado: config/locales/es/admin.yml
modificado: config/locales/es/images.yml
modificado: spec/features/admin/poll/polls_spec.rb
2017-10-02 12:59:26 +02:00
BertoCQ
121109f967
Merge branch 'master' into feature/1924#poll_shifts_creation
2017-09-28 13:03:34 +02:00
Bertocq
3da4ee4ee3
Check Poll Shift creation date ranges are correct
2017-09-28 12:18:47 +02:00
Bertocq
49b4af5e04
Add flash error for shift creation without date, increase spec
2017-09-28 10:53:15 +02:00
Bertocq
13aa5a3ba8
Increase Admin Shift creation scenarios for both tasks options
2017-09-27 18:47:06 +02:00
taitus
a0603985ef
Refactor.
2017-09-27 14:51:35 +02:00
taitus
51c53b6f31
Add missing specs from Maps on New, Edit and Show.
2017-09-27 14:50:54 +02:00
taitus
7b54451491
Add missing specs on admin
2017-09-27 14:50:03 +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
6c1d1c2cde
Add map settings to backend. Install leaflet assets to render maps.
2017-09-27 14:46:02 +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
92f66a6db9
Fix rpspec styub deprecated syntax
2017-09-26 13:57:14 +02:00
Senén Rodero Rodríguez
1a8fda9352
Fix broken specs
2017-09-26 13:57:13 +02:00
Senén Rodero Rodríguez
ce29185b76
Fix documentable on admin poll questions. Adapt nested documentable shared specs to admin fetaure specs and include at admin poll questions specs.
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
95016a1bf3
Some renaming and cleaning
2017-09-26 13:56:06 +02:00
Senén Rodero Rodríguez
4457a55a9a
Add direct upload model specs
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
966ff4dc03
User new direct uploads controllers action on imageable.
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
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
52f35c0360
Remove sleep from nested documentable shared feature specs. Use matchers able to wait new content to appear.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
60e91c7a24
Remove sleep from documentable shared feature specs. Use matchers able to wait new content to appear.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
314b7d73f7
Remove sleep from nested imageable shared feature specs. Use matchers able to wait new content to appear.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
4f53865b25
Remove sleep from imageable shared feature specs. Use matchers able to wait new content to appear.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
2a12b222ed
Fix some tranlations on new image page. Add missing shared specs for imageable feature.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
16692c933e
Move specs from imageable shared feature spec to proposals and budget investments path.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
ceabd16d57
Refactor. Create index scope inside imageable shared examples to check index action of any imageable model. Add image to proposals index.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
3310089208
Add nested imageable shared spec to check nested images behavior at imageable any recipients.
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
Senén Rodero Rodríguez
5ecf228b09
Add spec to check image attachment destroy method on budget investment model.
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
e7ac27a2b8
Add missing specs to check validation errors on new investmentand edit image pages.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
a9f1d41179
Fix some specs names
2017-09-26 13:53:42 +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
1327b7276d
Create investments helper. Fix indentation error and some specs names and structure.
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
Senén Rodero Rodríguez
0925d33c5b
Add dynamic texts to investment image button.
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
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
4f5a552486
Added image content type validation to only allowing jpg images.
2017-09-26 13:53:42 +02:00