rgarcia
|
de330b1c02
|
adds booth info to poll show
|
2016-11-14 13:57:16 +01:00 |
|
rgarcia
|
e810fe3e34
|
maintains poll date and status in index for demo
|
2016-11-14 13:57:16 +01:00 |
|
rgarcia
|
963bb4b602
|
removes unused attributes from poll show
|
2016-11-14 13:57:16 +01:00 |
|
rgarcia
|
63ccac963a
|
adds booth backend for index, show, create and edit actions
|
2016-11-14 13:57:16 +01:00 |
|
rgarcia
|
6d7d6e67ea
|
adds consistency to syntax
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
c4bc484afb
|
updates dev seeds with booths
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
6e6d2ac753
|
moves poll spec to poll folder
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
daac86a7a8
|
removes poll unused attributes
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
3251e4944e
|
allow officers to be created without a poll
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
fda2f3c89e
|
adds admin submit button helper
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
c1a9caeab0
|
adds poll CRU actions
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
304743f64e
|
tmp commit poll index, show and new
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
ebb9a5fa1d
|
fixes specs
|
2016-11-14 13:56:49 +01:00 |
|
Alberto Garcia Cabeza
|
5e3fff6825
|
Adds content to booths index and show views
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
5b424d1793
|
updates query to be more efficient
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
1ac77fad7a
|
adds spacing to factories
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
f0a7d19f72
|
removes officer factory
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
5b7783b180
|
updates db schema
|
2016-11-14 13:56:49 +01:00 |
|
rgarcia
|
b54aee5702
|
displays voter name if already voted
|
2016-11-14 13:52:38 +01:00 |
|
rgarcia
|
8dc7285681
|
validates user has not already voted
|
2016-11-14 13:52:38 +01:00 |
|
rgarcia
|
44df91346a
|
validates voter in census
|
2016-11-14 13:51:59 +01:00 |
|
Alberto Garcia Cabeza
|
7f0d233bce
|
Add views for admin booths
|
2016-11-14 13:51:09 +01:00 |
|
Alberto Garcia Cabeza
|
faecb51054
|
Adds booths index content
|
2016-11-14 13:51:09 +01:00 |
|
rgarcia
|
5d2a9bead3
|
hot fix to load last poll on officer's index
|
2016-11-14 13:51:09 +01:00 |
|
Alberto Garcia Cabeza
|
7b24e73999
|
Adds content to edit and show views
|
2016-11-14 13:51:09 +01:00 |
|
Alberto Garcia Cabeza
|
2acd1a69cd
|
Adds i18n and styles to admin polls index and new
|
2016-11-14 13:51:09 +01:00 |
|
rgarcia
|
00721bac12
|
updates dev_seeds with polls
|
2016-11-14 13:51:09 +01:00 |
|
rgarcia
|
503338e47b
|
adds view placeholders for officing polls
|
2016-11-14 13:51:09 +01:00 |
|
rgarcia
|
08fbe745a8
|
fixes translation key
|
2016-11-14 13:51:09 +01:00 |
|
rgarcia
|
1ca821c520
|
creates polling officers from admin
|
2016-11-14 13:51:09 +01:00 |
|
kikito
|
1f9945d0aa
|
Implements answering questions
|
2016-11-14 13:36:00 +01:00 |
|
kikito
|
598b1b9c01
|
Adds group by to answerable_by scope to avoid duplicates
|
2016-11-14 13:35:23 +01:00 |
|
Alberto Miedes Garcés
|
f6cd7a3456
|
Disable CSRF protection for GraphQL controller
Related documentation at:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtec
tion/ClassMethods.html
|
2016-11-13 20:07:09 +01:00 |
|
kikito
|
38efad77f3
|
Changes the way question#copy_attributes_from_proposal works
|
2016-11-11 19:11:53 +01:00 |
|
kikito
|
e5e3fe32da
|
Removes save_and_open_page from spec
|
2016-11-11 19:11:18 +01:00 |
|
kikito
|
219e139efb
|
Adds poll_partial_result factory
|
2016-11-11 19:10:56 +01:00 |
|
kikito
|
11a98dce07
|
Refactors in poll/question model
|
2016-11-11 19:10:36 +01:00 |
|
kikito
|
0c9e6db04d
|
Implements answers in a partial
|
2016-11-11 19:10:11 +01:00 |
|
kikito
|
63311d6cd1
|
reimplements routes for questions
|
2016-11-11 19:08:46 +01:00 |
|
kikito
|
048ada3e17
|
Adds poll partial result
|
2016-11-11 19:08:32 +01:00 |
|
kikito
|
3ce7f671fb
|
Adds poll partial result
|
2016-11-11 19:08:15 +01:00 |
|
Alberto Miedes Garcés
|
fc2d4fda5b
|
Fixed bug in TypeCreator and improved field descriptions
|
2016-11-11 12:52:54 +01:00 |
|
Alberto Miedes Garcés
|
0a23533a02
|
Refactor creation of the QueryRoot
Also incremented the max_depth for nested queries since the use of
pagination increases the needed depth to retrieve useful data (edges,
nodes, etc.)
|
2016-11-11 12:51:45 +01:00 |
|
Alberto Miedes Garcés
|
dd4b29898c
|
Ran forgotten migration added by my last pull from consul/master
|
2016-11-10 22:38:22 +01:00 |
|
Alberto Miedes Garcés
|
c42bfbc9a0
|
Merge branch 'master' into api-coding-madrid
|
2016-11-10 22:33:27 +01:00 |
|
Alberto Miedes Garcés
|
59a355df1b
|
First working version of new GraphQL::TypeCreator after major refactoring
|
2016-11-10 20:53:15 +01:00 |
|
Alberto Miedes Garcés
|
49317e2c11
|
Added support for associations (WITHOUT PAGINATION)
|
2016-11-08 22:19:16 +01:00 |
|
Alberto Miedes Garcés
|
277c784234
|
First simple API version with autogenerated GraphQL types
|
2016-11-08 17:40:13 +01:00 |
|
Alberto Miedes Garcés
|
e7de5c3a7f
|
Deleted old GraphQL type files
|
2016-11-08 16:38:51 +01:00 |
|
kikito
|
4db6ae489f
|
Adds new passing test to poll questions
|
2016-11-08 15:53:49 +01:00 |
|