Commit Graph

8099 Commits

Author SHA1 Message Date
Bertocq
08823153a9 Correct answer inclusion validation for no question scenario 2017-10-18 02:03:58 +02:00
Bertocq
c044fb293c Create poll_question trait with answers 2017-10-18 01:59:30 +02:00
Bertocq
e9294f2a22 Switch from valid_answers to question_answers usage for Poll Questions 2017-10-18 01:32:15 +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
c6d1f727af Correct dev_seeds to correctly create Poll::Question::Answers instead of valid_answers, plus style fixes 2017-10-18 01:29:40 +02:00
Bertocq
fbcf8678c3 Remove no longer needed question model tests for valid_answers 2017-10-18 01:28:59 +02:00
Bertocq
39f23d3b7b Switch from valid_answers to question_answers on specs 2017-10-18 01:28:38 +02:00
Bertocq
60f2815010 Add missing total_results check on poll result specs 2017-10-18 01:27:39 +02:00
Bertocq
9e22a1812f Remove no longer needed valid_answers attribute from poll_question factory 2017-10-18 01:22:15 +02:00
Bertocq
f05e5291b2 Replace valid_answers usage for question_answers on factories 2017-10-18 01:21:40 +02:00
Bertocq
b5255afb2d Remove deprecated Poll::Question valid_answers attribute 2017-10-18 00:17:01 +02:00
Bertocq
ce03251c72 Filter officing results officer assigments to current date 2017-10-17 23:15:26 +02:00
Bertocq
7b40c84166 Rubocop fixes and rubocop todo update for those that can't be done right now 2017-10-17 22:23:53 +02:00
Bertocq
ce0a7f6fad Rubocop autocorrections 2017-10-17 22:00:00 +02:00
Bertocq
ceec71e558 Remove no actions message for citizen that already voted at officing panel 2017-10-17 21:42:03 +02:00
BertoCQ
d3fb4e2615 Merge pull request #2066 from consul/poll-voting
Adds spec for user voting in booth and then verifying account
2017-10-17 21:21:12 +02:00
Bertocq
04910fea5b Remove officing results date picker for current date 2017-10-17 21:00:19 +02:00
María Checa
e2b06ef259 Minor change 2017-10-17 20:43:42 +02:00
María Checa
20fd8c0515 Officing tests improvements 2017-10-17 20:41:48 +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
bfe0addf3b Added poll results view 2017-10-17 18:29:53 +02:00
María Checa
49118ea312 Gave permission to everyone to access poll results 2017-10-17 18:29:32 +02:00
María Checa
55c15bca86 Added poll results route 2017-10-17 18:29:14 +02:00
Manuel Ortega
12ac758e8e Added investment's user generated tags to admin interface form 2017-10-17 18:11:29 +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
rgarcia
6b7d38c27a adds spec for user voting in poll and then verifying account 2017-10-17 15:00:34 +02:00
BertoCQ
da95d298b7 Merge pull request #2063 from consul/2032-officing_multiple_sessions
Added officing tests for officers logged in at the same time
2017-10-17 14:47:52 +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
BertoCQ
3a8bf6c143 Merge pull request #2065 from consul/dropdown-menus
Dropdown menus
2017-10-17 14:39:14 +02:00
Manuel Ortega
10d7a1d89b Added investment's user generated tags to admin show and sort to the valuation tags 2017-10-17 14:37:27 +02:00
decabeza
46744d95ac fixes admin login items menu on mobile size for admin panel 2017-10-17 13:31:17 +02:00
decabeza
ea3187ff80 fixes header on management panel 2017-10-17 13:26:53 +02:00
decabeza
6c2384fd74 uses underscore for ids names 2017-10-17 13:26:27 +02:00
decabeza
a14d54d56e include text for notification menu on mobile size 2017-10-17 13:26:00 +02:00
decabeza
548fd03ac8 fixes admin login items menu on mobile size 2017-10-17 13:25:09 +02:00
María Checa
712151b395 Tests improvements 2017-10-17 13:17:20 +02:00
María Checa
58f57bc15b Added poll method voted_in_web? 2017-10-17 13:16:46 +02:00
Bertocq
c8568d16aa Fix wrongful expectation on add video to answer scenario 2017-10-17 13:13:51 +02:00
Bertocq
68e09e8a9a Fix vote collection date expectations 2017-10-17 12:16:09 +02:00
María Checa
c24fab427e Completed tests 2017-10-17 10:20:36 +02:00
María Checa
e1e9b431d7 Added tests 2017-10-16 20:10:49 +02:00
BertoCQ
78410242e9 Merge pull request #2064 from consul/admin-layout
Admin layout
2017-10-16 20:06:52 +02:00
BertoCQ
a476019c49 Merge pull request #2020 from consul/poll-videos
Poll answer videos
2017-10-16 20:03:34 +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
Bertocq
64db7e1dec Merge branch 'master' into fix/shift_date_range_expired 2017-10-16 19:43:00 +02:00
decabeza
92dbb4fb73 removes unnecessary close button for admin menu 2017-10-16 19:39:29 +02:00