Commit Graph

193 Commits

Author SHA1 Message Date
Alberto Miedes Garcés
cdc3b46370 Extract TypeCreator methods into AssociationResolver class 2017-01-03 16:52:13 +01:00
Alberto Miedes Garcés
4e12e9055c Refactor GraphQL::TypeCreator 2017-01-03 16:27:11 +01:00
Alberto Miedes Garcés
0b4004042f Expose age_range instead of date_of_birth for Voter/User class 2017-01-02 14:12:37 +01:00
Alberto Miedes Garcés
4783f14eb4 Show voter info in api 2017-01-02 00:13:16 +01:00
Alberto Miedes Garcés
7dc4d80e7b Read GraphQL field types from file instead of from database 2017-01-01 19:36:07 +01:00
Alberto Miedes Garcés
0aed5338f6 Customize resolvers to only permit allowed records 2016-12-29 14:17:44 +01:00
Juanjo Bazán
5ec12e4b5b Merge branch 'master' into redux-polling 2016-12-27 18:22:06 +01:00
kikito
9d97421b0e Merge branch 'master' into budgets 2016-12-27 14:02:12 +01:00
rgarcia
398206c375 updates census api with invalid stubbed response 2016-12-20 12:21:35 +01:00
Alberto Miedes Garcés
402b07d959 Expose Proposal public_author using scopes instead of modules 2016-12-13 14:04:53 +01:00
Alberto Miedes Garcés
82954c922a Expose public_author for proposals 2016-12-11 15:42:17 +01:00
Alberto Miedes Garcés
b2730b6239 DRY GraphQL::TypeCreator 2016-12-11 15:20:17 +01:00
Alberto Miedes Garcés
42355e770c Fixed bug related to wrong use of GraphQL::Relay connection helper 2016-12-11 12:22:15 +01:00
Alberto Miedes Garcés
fdea4ad6ac Merge branch 'master' into api-dev 2016-12-03 13:53:13 +01:00
Alberto Miedes Garcés
d1e1ee9d41 Moved api_types into TypeCreator 2016-11-30 13:43:10 +01:00
kikito
2a2179d0f3 Merge branch 'master' into budget 2016-11-28 11:41:49 +01:00
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