Raimond Garcia
|
778ddbee0f
|
Merge pull request #2131 from wairbut-m2c/iagirre-budget-pagination-bug
Iagirre budget pagination bug
|
2017-11-27 16:49:27 +01:00 |
|
BertoCQ
|
104a26db35
|
Merge pull request #2110 from wairbut-m2c/aperez-remove-valuator-role
Add option to unassign Valuator role
|
2017-11-21 16:34:16 +01:00 |
|
Juanjo Bazán
|
21b2a11339
|
adds poll comments to API
|
2017-11-21 14:31:03 +01:00 |
|
Angel Perez
|
2bdc2c27d7
|
Add email specs for Poll
|
2017-11-17 13:14:03 -04:00 |
|
Angel Perez
|
db86cc5216
|
Enable 'destroy' action for Valuator on controller
|
2017-11-17 13:12:26 -04:00 |
|
iagirre
|
f3527b1311
|
Test added to check the repetition of elements between pages when random order used. Scope variable initialized to 1
|
2017-11-15 09:01:35 +01:00 |
|
iagirre
|
7f0e447e0f
|
One aproach to make the randomness work with kaminari
|
2017-11-15 08:56:31 +01:00 |
|
Bertocq
|
db54273dad
|
Replace == 0 comparisions for .zero?
|
2017-11-13 02:27:38 +01:00 |
|
Bertocq
|
cd66ba5d54
|
Rubocop autocorrections
|
2017-11-13 02:22:00 +01:00 |
|
Raimond Garcia
|
0e5c8d6aaf
|
Merge pull request #2100 from deivid-rodriguez/fix/direct_messages_max_per_day
Fix `direct_messages_max_per_day` set to nil
|
2017-11-09 19:14:29 +01:00 |
|
Raimond Garcia
|
ad37606129
|
Merge branch 'master' into legislation-processes-documents
|
2017-11-08 11:31:09 +01:00 |
|
iagirre
|
bfcbb6c0ad
|
Validation in model and in form added. When users makes the on focus on population field an explanation appears. Some specs added to test the model validations
|
2017-10-31 13:04:30 +01:00 |
|
iagirre
|
1077e25b2b
|
Shifts are destroyed when a booths is unassigned. An alert appears if there are shifts, but it doesn't if there aren't.
|
2017-10-30 12:36:07 +01:00 |
|
iagirre
|
89425f50ef
|
First steps to destroy shifts when booth_assignments are destroyed
|
2017-10-27 14:57:32 +02:00 |
|
María Checa
|
5ae31a6d01
|
Prevent responsible_name and question from validation
|
2017-10-27 10:43:37 +02:00 |
|
María Checa
|
b556617a80
|
Changed permissions to vote Legislation Proposals and Answers
|
2017-10-25 16:43:25 +02:00 |
|
María Checa
|
b5f2f9aa21
|
Added cached_votes_total and cached_votes_down to Legislation Proposals
|
2017-10-25 16:42:24 +02:00 |
|
decabeza
|
f0cfe50de4
|
Merge branch 'master' into 1856-legislation_processes_proposals_phase
|
2017-10-25 11:52:31 +02:00 |
|
rgarcia
|
ca63e4998f
|
adds permissions for poll's results and stats
|
2017-10-23 21:34:13 +02:00 |
|
Bertocq
|
f9458b9ef0
|
Show booth associated to current/recounting/incoming polls on shift management admin panel
|
2017-10-23 19:09:57 +02:00 |
|
María Checa
|
84f67db26d
|
Added restrictions to access Poll results and stats
|
2017-10-23 14:17:25 +02:00 |
|
María Checa
|
5a9ee4642e
|
Merge branch 'master' into 1786-poll_results
|
2017-10-23 13:43:58 +02:00 |
|
David Rodríguez
|
97331cb1c9
|
Fix direct_messages_max_per_day set to nil
When set to nil, it should mean not zero, but "infinite".
|
2017-10-23 12:15:31 +02:00 |
|
María Checa
|
e85c98f4b4
|
Improved results and stats percentages
|
2017-10-20 17:18:54 +02:00 |
|
María Checa
|
9bbf0b1ef9
|
Improved most_voted method
|
2017-10-20 16:48:54 +02:00 |
|
Bertocq
|
7507f43ea8
|
Add helper method on Booth model to get booth assigment for a given poll
|
2017-10-19 21:30:31 +02:00 |
|
Bertocq
|
45d91a7e50
|
Add Poll booth_assignments and :Poll::BoothAssignment manage routes, actions and views
|
2017-10-19 19:27:26 +02:00 |
|
María Checa
|
f029cc2016
|
Cached Poll stats methods
|
2017-10-19 12:17:33 +02:00 |
|
María Checa
|
6e680c187f
|
Added new column most_voted to Poll::Question::Answers
|
2017-10-19 12:17:20 +02:00 |
|
Manuel Ortega
|
2fef9c14d0
|
Moving humanized_content_type from DocumentablesHelper to Document model. Removing humanized_file_size in favor of direct use of number_to_human_size form ActionViewHelper. Added additional documentens to all concerned views
|
2017-10-18 22:21:01 +02:00 |
|
Manuel Ortega
|
97fb986626
|
Added documentable feature to legislation processes
|
2017-10-18 19:50:34 +02:00 |
|
María Checa
|
70a35fbe58
|
Poll views improvements
Reorganized poll `#show`, `#stats` and `#results` views. Gave stats section its own route.
|
2017-10-18 18:35:53 +02:00 |
|
María Checa
|
35f24b519d
|
Merge branch 'master' into 1786-poll_results
|
2017-10-18 17:33:16 +02:00 |
|
Alberto García
|
91b8ed67f6
|
Merge pull request #2075 from wairbut-m2c/iagirre-poll-stats
Iagirre poll stats
|
2017-10-18 17:25:02 +02:00 |
|
iagirre
|
f7bb3ec8b7
|
Merge remote-tracking branch 'consul/master' into iagirre-poll-stats
|
2017-10-18 09:48:02 +02:00 |
|
Bertocq
|
08823153a9
|
Correct answer inclusion validation for no question scenario
|
2017-10-18 02:03:58 +02:00 |
|
Bertocq
|
8d2945e8a2
|
Fix answer attribute validation to check question's question_answers inclusion
|
2017-10-18 01:31:34 +02:00 |
|
Bertocq
|
0a5ee3f861
|
Remove valid_answers usage on Poll Question model
|
2017-10-18 01:30:21 +02:00 |
|
Bertocq
|
ce0a7f6fad
|
Rubocop autocorrections
|
2017-10-17 22:00:00 +02:00 |
|
María Checa
|
610aea2c72
|
Added new methods to Poll question and Poll answers
|
2017-10-17 18:30:20 +02:00 |
|
María Checa
|
49118ea312
|
Gave permission to everyone to access poll results
|
2017-10-17 18:29:32 +02:00 |
|
iagirre
|
0f73b787b2
|
Fixed views and Poll::Stats model to pass the specs
|
2017-10-17 16:07:44 +02:00 |
|
iagirre
|
6a292daf42
|
Partial to render the polls stats and model methods to get the information from DB
|
2017-10-17 15:04:29 +02:00 |
|
BertoCQ
|
db7c80ef13
|
Merge pull request #2021 from consul/fixed-already-voted-message
Fixed already voted message in poll show
|
2017-10-17 14:42:46 +02:00 |
|
BertoCQ
|
d1c67212b0
|
Merge pull request #1964 from consul/chore/remove_results
Remove deprecated Poll results models
|
2017-10-17 14:39:42 +02:00 |
|
María Checa
|
58f57bc15b
|
Added poll method voted_in_web?
|
2017-10-17 13:16:46 +02:00 |
|
BertoCQ
|
72ab14a11a
|
Merge pull request #2056 from consul/fix/shift_date_range_expired
Fix Shift date ranges
|
2017-10-16 20:02:32 +02:00 |
|
Bertocq
|
0b5eed090e
|
Fix no-answer scenario for question valid answers
|
2017-10-16 19:54:07 +02:00 |
|
iagirre
|
78cc09cc5a
|
Controllers and models to see the polls stats. Routes related also added.
|
2017-10-16 17:25:04 +02:00 |
|
Bertocq
|
9146d68c53
|
Add current_or_recounting_or_incoming method to Poll model
|
2017-10-13 16:53:03 +02:00 |
|