Commit Graph

136 Commits

Author SHA1 Message Date
rgarcia
712e576e75 adds email delivery of selected and unselected investments 2017-05-12 13:57:31 +02:00
Juanjo Bazán
fce4b75a9f Merge pull request #1520 from consul/cleanup
Cleanup
2017-05-05 10:39:18 +02:00
rgarcia
229f9cfefc renames class to migrate spending proposals to investments 2017-05-04 20:37:28 +02:00
rgarcia
deffc7f885 removes obsolete rake tasks 2017-05-04 20:34:39 +02:00
rgarcia
d80303395b extracts census document parser to a module 2017-05-04 03:39:38 +02:00
rgarcia
012d5297ed removes capistrano template configuration 2017-05-04 01:21:08 +02:00
Raimond Garcia
ead9b58d07 Merge branch 'master' into iss-1192-test 2017-04-12 11:51:48 +02:00
Alberto Miedes Garcés
468b88da6f Merge branch 'master' into iss-1192-test 2017-03-09 13:12:43 +01:00
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
113f9b32d7 Merge branch 'master' into polls 2017-01-19 16:51:19 +01:00
Alberto Miedes Garcés
98db33f623 Track email digests 2017-01-05 23:31:11 +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
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
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
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
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