Commit Graph

6051 Commits

Author SHA1 Message Date
kikito
ba87eaa47c Moves Age calculation to a module instead of monkeypatching Date 2017-02-03 15:35:41 +01:00
kikito
3535cfc0d6 implements Date#age_in_years extension method 2017-02-03 12:46:07 +01:00
Juanjo Bazán
b88de40ebe restricts access to residence validations to assigned officers 2017-02-03 10:43:03 +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
Raimond Garcia
3dd33c4247 Merge pull request #1388 from consul/recounting
Creation of Partial Results for Poll Officers
2017-02-02 16:39:24 +01:00
Juanjo Bazán
f060969422 adds changes logging to poll partial results 2017-02-02 16:26:21 +01:00
Juanjo Bazán
ec8d45f3cd adds index view for poll results in officing 2017-02-02 16:10:40 +01:00
Juanjo Bazán
592fdffe4e adds results creation by poll officers 2017-02-02 14:44:44 +01:00
Alberto Garcia Cabeza
62f946525e updates texts on specs 2017-02-02 12:57:27 +01:00
Juanjo Bazán
1f985ef8f3 adds link to results for each final recount in officing 2017-02-02 11:53:57 +01:00
Juanjo Bazán
5f55c9a10f fixes spec 2017-02-02 11:53:57 +01:00
Juanjo Bazán
aa6eee6df0 Merge pull request #1385 from consul/polls-design
polls design
2017-02-01 18:33:19 +01:00
Alberto Garcia Cabeza
006cd87188 updates text on specs 2017-02-01 17:43:56 +01:00
rgarcia
22b0cb0346 removes poll voter demographic validations 2017-02-01 14:25:08 +01:00
rgarcia
5c676498e2 fixes specs 2017-02-01 11:37:11 +01:00
rgarcia
495a753a5a cleans up 2017-02-01 11:21:41 +01:00
rgarcia
2bc4649aa7 uses year of birth instead of date of birth 2017-02-01 11:13:59 +01:00
Juanjo Bazán
01a52cc61a fixes ambiguous match error in specs 2017-01-31 19:09:58 +01:00
Alberto Miedes Garcés
70a1dbde94 Fix bug when parsing query variables sent by the GraphiQL desktop client 2017-01-31 13:52:25 +01:00
Juanjo Bazán
a05297ea1a adds Recounting tab to Poll's admin show view 2017-01-31 13:40:53 +01:00
Juanjo Bazán
547168be3f adds recounts to poll_officer view in admin zone
Admin can see recounts and final recounts made by poll_officer next to
their officing shifts
2017-01-31 12:38:53 +01:00
Juanjo Bazán
09a9761c87 removes daily recounts from officers doing final recounts 2017-01-31 11:37:19 +01:00
Raimond Garcia
178dd303c6 Merge pull request #1379 from consul/polls-polish
polls polish
2017-01-30 22:21:42 +01:00
Alberto Garcia Cabeza
b13b27dcaa removes answers on polls questions show specs 2017-01-30 22:06:01 +01:00
Raimond Garcia
b0bc97eb37 Merge pull request #1378 from consul/recounting
Final recounts info to Admin
2017-01-30 21:54:35 +01:00
Juanjo Bazán
4ee50c86c0 adds final recounts info to admins 2017-01-30 20:42:30 +01:00
Juanjo Bazán
70d00a9768 adds all recounts to offering final recounts list
so poll officers can compare
2017-01-30 20:16:02 +01:00
kikito
883658e391 removes summary from factory 2017-01-30 19:23:47 +01:00
kikito
cca6758f71 Removes poll::question.summary from specs 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
Raimond Garcia
bc0a4d65b4 Merge pull request #1374 from consul/polls-index
Polls index
2017-01-30 13:52:48 +01:00
kikito
01039c00e3 fixes failing spec 2017-01-30 12:58:02 +01:00
kikito
5d13bdc15d Removes 'manage' from admin permissions in Polls 2017-01-30 11:29:49 +01:00
rgarcia
c74587d921 fixes specs 2017-01-29 14:13:24 +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
Juanjo Bazán
e634e80113 adds system recounting to admin booth_assignments 2017-01-27 15:19:03 +01:00
Alberto Miedes Garcés
cb06075c68 Clarify spec message 2017-01-27 13:47:09 +01:00
Alberto Miedes Garcés
c52602e04b Simplify the way ApiTypesCreator is used 2017-01-27 13:13:19 +01:00
Alberto Miedes Garcés
620c83fb69 Simplify the way QueryTypeCreator is used 2017-01-27 12:54:33 +01:00
Juanjo Bazán
51be80eedc removes answer <-> voter association 2017-01-27 11:59:37 +01:00
Alberto Miedes Garcés
4b7cebf686 Improved public_for_api scopes and corresponding specs 2017-01-26 18:29:59 +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
7cbd8da994 Move outdated Tag specs to ActsAsTaggableOn::Tag specs file 2017-01-26 12:26:42 +01:00
kikito
47abeff7fa fixes specs 2017-01-26 11:39:25 +01:00
kikito
183f8432eb Merge branch 'polls' into polls-question-show 2017-01-26 11:36:34 +01:00
Alberto Miedes Garcés
e8fc387574 Add Organization to API 2017-01-26 10:57:02 +01:00