María Checa
d83bb9e31f
Legislation proposal controller adaptation
2017-09-19 10:08:36 +02:00
Bertocq
a3bf69e78d
Remove final result usage on admin poll officer assignments results
2017-09-19 01:13:04 +02:00
BertoCQ
87eeefff41
Merge pull request #1867 from consul/chore/rubocop_autocorrections
...
🤖 Rubocop autocorrections
2017-09-15 14:04:01 +02:00
Bertocq
7be1f0315e
Update Officing Polls final condition up to 2 weeks after poll ending
2017-09-15 12:37:42 +02:00
BertoCQ
87c99018e7
Merge branch 'master' into user-recomendations
2017-09-14 23:45:56 +02:00
Bertocq
e8d748a881
Add Poll Total recount to officing and admin
2017-09-14 15:33:58 +02:00
Bertocq
e4e78c8f16
Rubocop autocorrections
2017-09-14 15:08:35 +02:00
Bertocq
f7568a394f
Remove officing final recounts controller, spec and view
2017-09-14 13:39:21 +02:00
Bertocq
27d56ad104
Refactor officing polls #final method to be cleaner
2017-09-14 12:57:04 +02:00
María Checa
0245605f19
Added Legislation Proposals controller
2017-09-14 12:51:36 +02:00
Angel Perez
0b708397df
Add base controller for Admin:Poll controller
...
Fixes #1848
On branch aperez-fix-for-issue-1848
Changes to be committed:
new file: app/controllers/admin/poll/base_controller.rb
modified: app/controllers/admin/poll/booth_assignments_controller.rb
modified: app/controllers/admin/poll/booths_controller.rb
modified: app/controllers/admin/poll/officer_assignments_controller.rb
modified: app/controllers/admin/poll/officers_controller.rb
modified: app/controllers/admin/poll/polls_controller.rb
modified: app/controllers/admin/poll/questions_controller.rb
modified: app/controllers/admin/poll/recounts_controller.rb
modified: app/controllers/admin/poll/results_controller.rb
modified: app/controllers/admin/poll/shifts_controller.rb
2017-09-13 12:22:57 -04:00
María Checa
c811fd46f0
Proposals description migration and form
...
- Added to legislation processes a new attribute called `proposals_description`.
- Then created new views to show a form for the `@process` to edit this attribute **from in the proposals section**.
- Completed translations for new views.
2017-09-13 15:48:07 +02:00
María Checa
f521a9023b
Added Proposal model to Legislation
...
This new Legislation::Proposal model inherits from the original Proposal, as it will behave in a very similar way.
2017-09-13 15:43:36 +02:00
María Checa
dc9fe973f4
Added proposals phase attributes to legislation processes form
...
Also added them to the list of accepted params and completed translations.
2017-09-13 12:33:16 +02:00
Senén Rodero Rodríguez
4c225aac62
Remove document cached_attachment value after destroy_upload action.
2017-09-11 14:39:58 +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
BertoCQ
dd02c83fa3
Merge branch 'master' into poll-shifts-search-officers
2017-09-11 00:07:12 +02:00
rgarcia
45d2fdd201
adds available booths
2017-09-08 21:59:54 +02:00
rgarcia
4527236284
adds searching for officers when creating shifts
2017-09-07 22:38:42 +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
taitus
9b6b57a24c
Remove all white spaces
2017-09-06 14:12:32 +02:00
taitus
64774b0d2d
Refactor topics controller. Add Common abilities. Add destroy action.
2017-09-06 13:30:12 +02:00
taitus
5ea16976f7
Refactor communities controller. Add missing specs on topics order.
2017-09-06 12:34:38 +02:00
rgarcia
618c6f8f36
uses method instead of db attribute to check for sms verification
2017-09-06 12:25:55 +02:00
María Checa
4af44a45a1
Documents upload for questions working
2017-09-06 12:00:46 +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
taitus
5d22558c2b
Fix specs
2017-09-05 12:54:32 +02:00
taitus
e1a7f9c58c
Add community to Global Settings
2017-09-05 12:54:32 +02:00
taitus
54cf210b07
Fix rebase with master.
2017-09-05 12:53:37 +02:00
taitus
4539c5fa00
Refactor and tests.
2017-09-05 12:52:14 +02:00
taitus
a1d37fa6c4
Add order on topic index.
2017-09-05 12:51:08 +02:00
taitus
1dc3cd4bb3
Add paginate to topics
2017-09-05 12:51:08 +02:00
taitus
bc95b6f28d
Add description as comment on topic.
2017-09-05 12:51:08 +02:00
taitus
bea393bcde
Add comments to topics
2017-09-05 12:51:08 +02:00
taitus
c6e48946bd
Add timestamps to Topic. Add fields on topic list.
2017-09-05 12:51:08 +02:00
taitus
43c17c3fc7
Add communities and topics
2017-09-05 12:51:08 +02:00
Alberto
c3b3a837a9
Merge branch 'master' into user-recomendations
2017-09-05 11:31:05 +02:00
Senén Rodero Rodríguez
15a4d26f39
Keep original filename for attachments
2017-09-01 13:08:34 +02:00
Senén Rodero Rodríguez
5581445fff
Use different path to store ajax uploaded cached attachments
2017-08-31 12:37:41 +02:00
Senén Rodero Rodríguez
6d66077a94
Make documentable capable to work with local or remote storage system.
2017-08-30 17:07:52 +02:00
Senén Rodero Rodríguez
5e6d1d799f
Use absolute urls on document cached_attachment
2017-08-30 15:50:32 +02:00
Senén Rodero Rodríguez
f4ac8b17d0
Store AJAX uploaded documents with timestamp prefix to avoid file name collision. Remove cached_attachments after document save.
2017-08-25 18:34:54 +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
4081dded5f
Add nested documents to new budgetinvestments.
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
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