Juanjo Bazán
ab61d94d2d
changes Time.now to Time.current
2016-12-27 18:26:03 +01:00
Juanjo Bazán
5ec12e4b5b
Merge branch 'master' into redux-polling
2016-12-27 18:22:06 +01:00
Juanjo Bazán
a0118cb163
associates officer_assignments to officer
2016-12-27 17:45:01 +01:00
Juanjo Bazán
2f918e8eef
adds validations to officer_assignments
2016-12-27 17:44:35 +01:00
Juanjo Bazán
ee8c057a46
adds officer search to admin polls
2016-12-27 12:36:16 +01:00
Juanjo Bazán
f0156c5b5a
adds admin search/add/remove question to poll
2016-12-26 16:19:35 +01:00
rgarcia
316f9a0370
creates users with email nil to avoid index constraint
2016-12-26 14:28:45 +01:00
rgarcia
5281bb8181
fixes typo
2016-12-26 12:59:23 +01:00
rgarcia
c1b06b6501
creates user without email nor username
2016-12-26 12:45:48 +01:00
rgarcia
42b0ff2696
optimize census call to return after finding a valid element
2016-12-26 11:51:28 +01:00
Juanjo Bazán
8b4f519d71
adds booth assignation to admin poll
2016-12-23 19:06:55 +01:00
Juanjo Bazán
89979e549f
adds search to Booth model
2016-12-23 19:06:55 +01:00
rgarcia
ddeca6f06d
fixes specs
2016-12-23 19:05:25 +01:00
rgarcia
25729ac259
cleans up
2016-12-21 18:55:28 +01:00
rgarcia
675081141c
refactors signatures
2016-12-21 18:46:31 +01:00
Juanjo Bazán
78db093e49
moves validation error message
2016-12-21 14:21:02 +01:00
Juanjo Bazán
bc690748fd
adds dates validation to polls
2016-12-21 13:50:15 +01:00
rgarcia
b10dbd7cb5
adds specs
2016-12-20 18:00:36 +01:00
rgarcia
4eb700e3d4
refactors signature sheets
2016-12-20 16:46:08 +01:00
rgarcia
3c682b8a9b
adds signature sheets
2016-12-20 12:21:05 +01:00
Raimond Garcia
392f00cdbd
Merge pull request #1282 from amiedes/crud-geozones-PRs
...
[Finished] Allow admins to manage geozones
2016-12-14 19:25:17 +01:00
Alberto Miedes Garcés
c22a80b48f
Move geozone 'safe to destroy' check from controller to model
2016-12-13 12:30:47 +01:00
rgarcia
6b0f8eb62b
do not allow verification of deregistered accounts
2016-12-12 19:11:00 +01:00
rgarcia
b12c8d3a5d
validates document uniqueness only for active accounts
2016-12-12 19:11:00 +01:00
rgarcia
93841b87ad
maintains associated document number when erasing account
2016-12-12 19:11:00 +01:00
Alberto Miedes Garcés
fea2009396
Ability to edit geozones from admin dashboard
2016-12-07 22:08:22 +01:00
Alberto Miedes Garcés
4b31360d2e
Updated geozone model associations
2016-12-07 22:04:39 +01:00
Juanjo Bazán
bdf16395d3
removes poll_id from voter
...
YAGNI
2016-12-07 19:11:43 +01:00
Juanjo Bazán
45d26f6dee
refactors poll::voter
...
now belongs_to booth_assignment instead of to booth
2016-12-06 20:20:18 +01:00
Juanjo Bazán
ad2dd7d267
adds officer-polls relation and spec
2016-12-06 14:51:53 +01:00
Juanjo Bazán
891516a0b9
changes officer assignments to polls via new model/relation
2016-12-06 14:33:06 +01:00
Alberto Miedes Garcés
6175990533
Admin geozones: index, create
...
Modified Geozone factory and seeds to be more complete
2016-12-04 21:19:36 +01:00
Juanjo Bazán
6419878741
fixes booth-poll relation
2016-12-02 14:24:31 +01:00
Juanjo Bazán
bd59ba3b82
adds poll/booth_assigments
2016-12-01 13:02:03 +01:00
Juanjo Bazán
9583c052f0
removes poll-booth direct association
2016-12-01 13:02:03 +01:00
rgarcia
c1ea074be4
adds question, booth and officer tabs for a poll
2016-11-29 11:46:37 +01:00
rgarcia
20cb044015
adds search and filter for poll questions
2016-11-29 11:46:30 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
rgarcia
ceebae644f
removes question column from poll_questions
2016-11-22 11:41:10 +01:00
rgarcia
e12f183775
fixes typo
2016-11-19 14:03:10 +01:00
rgarcia
5f6d0590e8
tmp commit refactoring answerable questions
2016-11-18 03:57:31 +01:00
rgarcia
4955daf886
adds poll and poll question's specs
2016-11-17 22:48:00 +01:00
rgarcia
626a8e9154
updates specs for admin poll questions
2016-11-17 21:31:51 +01:00
rgarcia
d9ad658758
adds admin interface for poll questions
2016-11-17 09:30:42 +01:00
rgarcia
1dbdabb69a
adds consistency to spacing
2016-11-16 19:42:35 +01:00
rgarcia
348a6dc970
everybody can vote for now
2016-11-16 19:42:05 +01:00
rgarcia
b104859da3
adds question comments
2016-11-16 19:41:52 +01:00
rgarcia
6fe965a9b8
adds question's show
2016-11-16 19:41:29 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
kikito
598b1b9c01
Adds group by to answerable_by scope to avoid duplicates
2016-11-14 13:35:23 +01:00