Bertocq
58069b35a3
Remove Poll White/Null/Total Results models, tables, specs and references
2017-10-02 16:24:57 +02:00
rgarcia
085991c624
allows voting only in one origin: booth or web
2017-10-02 16:22:31 +02:00
rgarcia
0147401fbe
adds origin to poll voters
2017-10-02 16:18:08 +02:00
Bertocq
b5cf28cb35
Swap Poll White/Null/Total usage for Poll Recount
2017-10-02 15:46:49 +02:00
Bertocq
6c297ae789
Add Poll Recount model, factory and spec
2017-10-02 14:57:40 +02:00
Bertocq
35f6a5bb65
Add task to unique triple index on Shift for booth, officer and task
2017-10-02 13:45:19 +02:00
rgarcia
60fb142fff
adds comprehensive validation specs
2017-10-02 13:39:55 +02:00
rgarcia
b623422805
allows users to change their vote without refreshing the page
2017-10-02 13:14:58 +02:00
Bertocq
1dde4cb3ec
Add types to Poll Shifts as an enum
2017-09-27 13:57:16 +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
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
Bertocq
d9575baaab
Correct end at file ending
2017-09-19 17:30:40 +02:00
Bertocq
2e3b5aad49
Totally remove Poll::FinalRecount model, table spec and factory
2017-09-19 01:22:30 +02:00
Bertocq
a3bf69e78d
Remove final result usage on admin poll officer assignments results
2017-09-19 01:13:04 +02:00
Bertocq
485b94eab9
Correct end at file ending
2017-09-15 14:06:26 +02:00
BertoCQ
87eeefff41
Merge pull request #1867 from consul/chore/rubocop_autocorrections
...
🤖 Rubocop autocorrections
2017-09-15 14:04:01 +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
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
45d2fdd201
adds available booths
2017-09-08 21:59:54 +02:00
rgarcia
47564a91a0
persist a shift's officer data
2017-09-08 20:08:45 +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
4af44a45a1
Documents upload for questions working
2017-09-06 12:00:46 +02:00
rgarcia
456429f08b
adds shifts
2017-08-04 21:27:30 +02:00
Bertocq
361e0efe00
Remove Poll Recount model and all usages
2017-07-23 23:29:24 +02:00
María Checa
d576fd5951
Merge branch 'master' into 1725-census_local_copy_user_verification
2017-07-14 15:50:26 +02:00
Bertocq
beb4bc119c
Fix Rails/Delegate rubocop issue
2017-07-10 23:02:27 +02:00
María Checa
089c690b49
Created new entry point CensusCaller
...
Here's a better alternative than the first one. Added a new abstraction level from which are performed both types of census calls, while the logic of those is managed in their own library.
2017-07-10 12:22:30 +02:00
Bertocq
2888c20489
Fix all Style/RedundantSelf rubocop issues
2017-07-05 11:55:52 +02:00
Bertocq
c9bc028524
Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file
2017-06-28 14:12:51 +02:00
Bertocq
b79df113cd
Switch all Time.curren.to_date for Date.current, same result but better syntax
2017-06-11 10:41:09 +02:00
Bertocq
02524b164a
Rubocop autocorrections (indentations, revers unless to if, extra spaces)
2017-06-08 12:14:35 +02:00
Bertocq
9e74249b02
Always use Time.current (aliases internally to Time.zone.now)
...
Some specs where breaking close to midnight because 30.years.ago uses zone.now and Time.now.utc.to_date doesn't.
Also this will make all codebase consistent in the way time is deal with
2017-05-24 07:54:57 +02:00
kikito
3b2f2b0fd7
Changes models so that officers can make failed census calls
2017-02-12 14:22:46 +01:00
Juanjo Bazán
db9ee74828
removes max restriction on title length
2017-02-12 13:08:26 +01:00
Juanjo Bazán
d7000e399f
logs user info in officer_assignments
...
In case user is no longer a poll officer, info on who did what is
stored in officer_assignment
2017-02-08 15:50:13 +01:00
Juanjo Bazán
35540cdcf1
adds poll results to admin
...
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Juanjo Bazán
c9c4b30ffc
adds Null/White Results models
2017-02-03 19:08:40 +01:00
Juanjo Bazán
f060969422
adds changes logging to poll partial results
2017-02-02 16:26:21 +01:00
Juanjo Bazán
592fdffe4e
adds results creation by poll officers
2017-02-02 14:44:44 +01:00
rgarcia
22b0cb0346
removes poll voter demographic validations
2017-02-01 14:25:08 +01:00
kikito
043e2e3586
Removes summary from poll::Question model
2017-01-30 18:41:24 +01:00
Juanjo Bazán
72ac75abeb
adds final recounting to poll officers' zone
2017-01-30 17:44:39 +01:00
Juanjo Bazán
b96cfbc837
adds methods to poll_officer to return assigned polls
2017-01-30 17:44:39 +01:00
Juanjo Bazán
2859975e81
adds scopes for final/voting_days officer_assignments
2017-01-30 17:44:39 +01:00
Juanjo Bazán
01d115dd7a
adds poll::final_recounts
2017-01-30 17:44:39 +01:00
rgarcia
ea701e9963
fixes conflicts with polls
2017-01-29 00:44:56 +01:00
rgarcia
6c34599e1e
adds officer residence check and user voting
2017-01-29 00:36:20 +01:00