Senén Rodero Rodríguez
92c774cdeb
Merge with master
2017-09-28 13:36:20 +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
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
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
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
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
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
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
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
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
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
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
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
7e4d9b749b
Fix Style/ColonMethodCall rubocop issues
2017-09-25 22:53:15 +02:00
Bertocq
22822aa173
Fix Style/RedundantParentheses rubocop issues
2017-09-25 22:44:58 +02:00
BertoCQ
34568567a3
Merge pull request #1885 from consul/chore/remove_final_recounts
...
Remove Poll Final Recounts, replace with Total Results
2017-09-20 23:00:03 +02:00
BertoCQ
f67ba62c49
Merge branch 'master' into user-recomendations
2017-09-19 18:56:12 +02:00
BertoCQ
5d6c4f0bbc
Merge pull request #1868 from wairbut-m2c/aperez-validate-poll-question-is-selected
...
Validate presence 'poll_id' attribute on Poll::Question model
2017-09-19 18:15:32 +02:00
rgarcia
6de47e7f1d
fixes flaky spec
...
Maybe using `build` instead of `create` was confusing the spec
2017-09-19 17:30:40 +02:00
BertoCQ
5cf862064d
Merge pull request #1888 from consul/flaky-specs
...
Fixes some flaky specs
2017-09-19 16:43:41 +02:00
rgarcia
0de87c19c6
fixes flaky spec
...
Maybe using `build` instead of `create` was confusing the spec
2017-09-19 15:14:29 +02:00
Angel Perez
15ccef8c97
Poll::Question model spec refactor to improve DRYness
...
On branch aperez-validate-poll-question-is-selected
Changes to be committed:
modified: spec/models/poll/question_spec.rb
2017-09-19 07:08:18 -04:00
Bertocq
2e3b5aad49
Totally remove Poll::FinalRecount model, table spec and factory
2017-09-19 01:22:30 +02:00
BertoCQ
87eeefff41
Merge pull request #1867 from consul/chore/rubocop_autocorrections
...
🤖 Rubocop autocorrections
2017-09-15 14:04:01 +02:00
BertoCQ
87c99018e7
Merge branch 'master' into user-recomendations
2017-09-14 23:45:56 +02:00
Angel Perez
0611e0f4ea
Validate presence of 'poll_id' attribute on Poll::Question model
...
Fixes #1831
On branch aperez-validate-poll-question-is-selected
Changes to be committed:
modified: app/models/poll/question.rb
modified: spec/models/poll/question_spec.rb
modified: spec/features/admin/poll/polls_spec.rb
2017-09-14 11:52:19 -04:00
Bertocq
e4e78c8f16
Rubocop autocorrections
2017-09-14 15:08:35 +02:00
Bertocq
1f867fb227
Add new model Poll Total Result with specs and relations
2017-09-14 13:51:27 +02:00
Angel Perez
2181a65bc2
Allow only YouTube/Vimeo URLs on 'video_url' attribute
...
Fixes #1841
On branch aperez-valid-video-url
Changes to be committed:
modified: app/models/proposal.rb
modified: spec/factories.rb
modified: spec/models/proposal_spec.rb
Allow only YouTube/Vimeo URLs on 'video_url' attribute
Fixes #1841
On branch aperez-valid-video-url
Changes to be committed:
modified: app/helpers/embed_videos_helper.rb
modified: app/models/proposal.rb
modified: spec/features/management/proposals_spec.rb
modified: spec/features/proposals_spec.rb
modified: spec/features/tags/proposals_spec.rb
modified: spec/models/proposal_spec.rb
2017-09-13 08:35:59 -04:00
BertoCQ
fa8b9a69a3
Merge branch 'master' into polls-persist-officer-data
2017-09-11 00:11:36 +02:00
BertoCQ
1ced54f0e3
Merge pull request #1835 from consul/1677-poll_questions_documents
...
Poll questions document and video
2017-09-11 00:08:31 +02:00
rgarcia
4d1f61a87e
adds specs
2017-09-08 22:00:50 +02:00
rgarcia
47564a91a0
persist a shift's officer data
2017-09-08 20:08:45 +02:00
Raimond Garcia
d01b1476fd
Merge pull request #1833 from rockandror/improve-community
...
Improve community
2017-09-07 11:11:55 +02:00
María Checa
9f2522c106
Merge branch 'master' into 1677-poll_questions_documents
2017-09-06 18:28:31 +02:00
María Checa
288cedc4c4
Poll questions documents tests added
2017-09-06 18:25:41 +02:00
decabeza
1de763a737
removes deprecated specs
2017-09-06 18:07:46 +02:00
taitus
9b6b57a24c
Remove all white spaces
2017-09-06 14:12:32 +02:00
Raimond Garcia
2519f232ab
Merge branch 'master' into user-recomendations
2017-09-05 17:15:42 +02:00
Raimond Garcia
6f9d48f0eb
Merge branch 'master' into community
2017-09-05 15:40:03 +02:00
Raimond Garcia
eb4528eaa0
Merge branch 'master' into poll-shifts
2017-09-05 14:45:31 +02:00