Juanjo Bazán
|
590a7bce44
|
reassigns erased user votes when returning user is verified
|
2017-02-09 20:20:30 +01:00 |
|
Juanjo Bazán
|
35078848c3
|
adds methods to take votes from other user (generic & erased)
|
2017-02-09 20:09:06 +01:00 |
|
Juanjo Bazán
|
ae5ba97f1e
|
adds erased scope to User
|
2017-02-09 18:43:50 +01:00 |
|
Amaia Castro
|
28de717300
|
Show only active phases
|
2017-02-09 17:32:38 +01:00 |
|
Amaia Castro
|
5d37997a69
|
Redirect to allegations phase if open
|
2017-02-09 16:59:02 +01:00 |
|
Fernando Blat
|
5d060d6d8c
|
Merge pull request #110 from medialab-prado/101-open-rsponses-only-for-verified-users
Check open phase and user verification for questions open answers
|
2017-02-09 14:45:42 +01:00 |
|
Amaia Castro
|
08ab7474d0
|
Make process texts optional
|
2017-02-09 12:27:16 +01:00 |
|
Amaia Castro
|
3009706b0d
|
Don’t allow comments on questions for unverified users and when the phase is closed
|
2017-02-08 18:19:10 +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 |
|
kikito
|
c473f9856f
|
makes age errors visible
|
2017-02-07 16:48:19 +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 |
|
kikito
|
386a5aa941
|
Fixes typos
|
2017-02-03 16:08:58 +01:00 |
|
kikito
|
ba87eaa47c
|
Moves Age calculation to a module instead of monkeypatching Date
|
2017-02-03 15:35:41 +01:00 |
|
kikito
|
95f80651b1
|
uses Date#age_in_years when calculating ages
|
2017-02-03 12:56:40 +01:00 |
|
Juanjo Bazán
|
de4a7a6b39
|
Merge pull request #1389 from consul/polls-answerable-by
Adds specs for Poll.answerable_by, fixing issue with SQL join
|
2017-02-02 17:13:11 +01:00 |
|
kikito
|
86d42ce094
|
Adds specs for Poll.answerable_by, fixing issue with SQL join
|
2017-02-02 16:41:04 +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 |
|
rgarcia
|
2bc4649aa7
|
uses year of birth instead of date of birth
|
2017-02-01 11:13:59 +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 |
|
Raimond Garcia
|
bc0a4d65b4
|
Merge pull request #1374 from consul/polls-index
Polls index
|
2017-01-30 13:52:48 +01:00 |
|
kikito
|
e394470634
|
Improves order of polls when listing them in index
|
2017-01-30 11:29:59 +01:00 |
|
kikito
|
5d13bdc15d
|
Removes 'manage' from admin permissions in Polls
|
2017-01-30 11:29:49 +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 |
|
Juanjo Bazán
|
cf6ca50a3b
|
adds optional officer_assignment_id to poll::voters
|
2017-01-27 18:39:25 +01:00 |
|
Alberto Miedes Garcés
|
6b47ce065f
|
Fix buggy associations
|
2017-01-27 14:27:28 +01:00 |
|
Alberto Miedes Garcés
|
073ce38a8d
|
Improved API docs autogeneration
|
2017-01-27 12:39:44 +01:00 |
|
Juanjo Bazán
|
51be80eedc
|
removes answer <-> voter association
|
2017-01-27 11:59:37 +01:00 |
|
Alberto Miedes Garcés
|
5b7cbccd19
|
Merge branch 'master' into api-dev
|
2017-01-26 12:39:59 +01:00 |
|
Alberto Miedes Garcés
|
e8fc387574
|
Add Organization to API
|
2017-01-26 10:57:02 +01:00 |
|
Alberto Miedes Garcés
|
69fc161b83
|
Show taggings in API
|
2017-01-26 10:48:05 +01:00 |
|
Alberto Miedes Garcés
|
83267330a7
|
Group methods related to text generation for GraphQL documentation into a module
|
2017-01-26 10:47:12 +01:00 |
|
Juanjo Bazán
|
cc6d841978
|
refactors age calculation
|
2017-01-25 17:16:17 +01:00 |
|
Amaia Castro
|
53d13d8524
|
Create a new comment instead of a new annotation with the same ranges
|
2017-01-25 16:04:10 +01:00 |
|
Juanjo Bazán
|
b13a76963a
|
records participation of user via web
answering a poll question creates a voter with the user data to record
participation in question’s poll
|
2017-01-25 14:21:03 +01:00 |
|
Juanjo Bazán
|
086f4a4170
|
refactors Poll::Voter
|
2017-01-25 14:19:36 +01:00 |
|
Juanjo Bazán
|
0b2454fb97
|
adds User#age
|
2017-01-25 14:17:49 +01:00 |
|
Alberto Miedes Garcés
|
e7f55b10e2
|
Remove obsolete specs
|
2017-01-25 13:58:44 +01:00 |
|
Alberto Miedes Garcés
|
e3fca5c49f
|
Remove functionality related to votes demographic info
Since this was giving me too much pain and nobody actually requested
this functionality, I decided to remove it.
|
2017-01-25 13:37:29 +01:00 |
|
Juanjo Bazán
|
6bc4f5b307
|
adds Poll::Answer model for web users
PartialResults is kept for booth results
|
2017-01-25 12:46:44 +01:00 |
|
Juanjo Bazán
|
8f235c25d3
|
poll has_many voters
|
2017-01-25 12:18:15 +01:00 |
|
Juanjo Bazán
|
900563e31c
|
adds poll_id and stats fields to poll_voters
|
2017-01-25 12:03:48 +01:00 |
|
kikito
|
499f9b51e2
|
makes it possible to create orphan poll questions
|
2017-01-25 11:19:18 +01:00 |
|