kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
Alberto Miedes Garcés
8b30aaa6d4
Merge branch 'master' into api-dev
2016-11-18 16:40:33 +01:00
Alberto Miedes Garcés
6fca1f02fe
Added clarifying comments related to GraphQL return types
2016-11-17 17:23:57 +01:00
Alberto Miedes Garcés
36bdad8851
Fixed bug in GraphQL::TypeCreator
2016-11-17 17:23:27 +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
Alberto Miedes Garcés
195d1c5f69
Fixed bug in GraphQL::TypeCreator
2016-11-14 15:11:41 +01:00
rgarcia
b54aee5702
displays voter name if 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 Miedes Garcés
fc2d4fda5b
Fixed bug in TypeCreator and improved field descriptions
2016-11-11 12:52:54 +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
Marcia
680c0636ed
expired password last
2016-10-06 14:19:48 +02:00
Marcia
78c6a30424
optimize code
2016-09-27 13:07:06 +02:00
kikito
857a4ba42b
Adds comment to the final part of spending_proposals_importer
2016-09-07 18:08:33 +02:00
kikito
b4c7675c31
imports votes
2016-09-07 15:58:39 +02:00
kikito
c1bf89a09e
adds more functionality to spending proposal importer
2016-09-07 13:02:26 +02:00
kikito
bdfd326907
implements some parts of the spending proposals importer
2016-09-07 11:53:24 +02:00
rgarcia
63274dfe08
marks notifications as emailed after rake
2016-08-03 19:48:43 +02:00
rgarcia
b087fe8fb7
refactors email digest
2016-08-03 19:33:37 +02:00
Alberto Garcia Cabeza
42722080fc
Changes references to Madrid
2016-07-05 13:47:14 +02:00
rgarcia
6e800c5120
adds email digest for proposal notifications
2016-06-14 17:53:36 +02:00
kikito
8569e4f22e
adds rake task to destroy identities from erased users
2016-04-19 13:33:52 +02:00
kikito
581253219b
adds rake task to mark some users with duplicated usernames so they change them
2016-04-19 13:33:52 +02:00
kikito
edb56b24ce
removes lying comment
2016-04-13 14:30:58 +02:00
kikito
1b1f2bc2c9
renames genre to gender in code
2016-04-13 14:27:27 +02:00
kikito
3880ef9e24
aligns document verification with census API
2016-04-12 18:35:23 +02:00
kikito
708b77721c
aligns rake task with Census API response
2016-04-12 18:22:38 +02:00
kikito
7987a3410b
Updates residence to handle CensusAPI's new response
2016-04-12 18:19:05 +02:00
kikito
4f724ef3bf
Modifies census_api to parse genre and dob
2016-04-12 18:18:25 +02:00
kikito
0ae97eada8
adds rake task to assign demographic info to users
2016-04-12 17:06:50 +02:00
kikito
6229097032
Fixes typo
2016-04-12 13:38:01 +02:00
kikito
9cc831bbc1
adds genre to the census api response
2016-04-11 18:41:33 +02:00
Raimond Garcia
5e19f33c49
Merge pull request #1048 from consul/management-delete-accounts
...
Management delete accounts
2016-04-08 18:58:19 +02:00
Juanjo Bazán
6f5a23bb4f
makes manager a HashWithIndifferentAccess
2016-04-08 11:01:36 +02:00
kikito
9a74b79eab
Fixes typo in rake task. Adds comment.
2016-04-06 19:27:39 +02:00
Juanjo Bazán
948436f130
adds rake task to touch all spending proposals
...
(it triggers the recalculating of the tsvector for pg_search)
2016-03-30 12:11:15 +02:00
rgarcia
cfe7593288
updates method name to be more accurate
2016-03-28 18:43:56 +02:00
rgarcia
57299ec968
adds rake task to send current unfeasible spending proposals
2016-03-28 18:26:09 +02:00
rgarcia
dc4c8788f9
catches and logs census api exceptions
2016-02-22 23:15:41 +01:00
kikito
e2891918fc
makes the user rake task output something to know it is not frozen
2016-02-19 18:29:14 +01:00
kikito
8fde9a77ac
adds a rake task to assign missing geozones
2016-02-19 18:29:14 +01:00
kikito
bcf41c786a
Adds district code to census_api
2016-02-19 18:29:14 +01:00
Juanjo Bazán
5ed3a2280e
Merge branch 'master' of https://github.com/danibaena/consul into danibaena-master
2016-01-21 17:47:29 +01:00
Josep Jaume Rey Peroy
5de3d700e4
Simplify Settings API
2016-01-18 12:43:34 +01:00
rgarcia
35704f2be9
refactors comment tree
2016-01-07 15:18:45 +01:00
kikito
5e1fba288c
refactors method in census_api.rb
2015-12-22 11:49:38 +01:00
kikito
d8e6584bfe
fixes comments
2015-12-21 17:10:07 +01:00
kikito
57e72206d2
makes the census api try several variants before failing a verification
2015-12-21 17:07:48 +01:00
Daniel Baena
f8e1fc70a1
#670
2015-12-11 21:06:27 +01:00
Jakub
e4b31cfe29
Move automatic official_level assignment to the controller.
2015-12-01 23:18:23 +01:00