Commit Graph

20 Commits

Author SHA1 Message Date
Angel Perez
e194240a0a Add rake task to enable recommendations for existing users 2018-07-15 21:28:59 -04:00
rgarcia
deffc7f885 removes obsolete rake tasks 2017-05-04 20:34:39 +02: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
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
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
1b1f2bc2c9 renames genre to gender in code 2016-04-13 14:27:27 +02:00
kikito
708b77721c aligns rake task with Census API response 2016-04-12 18:22:38 +02:00
kikito
0ae97eada8 adds rake task to assign demographic info to users 2016-04-12 17:06:50 +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
Josep Jaume Rey Peroy
5de3d700e4 Simplify Settings API 2016-01-18 12:43:34 +01:00
Jakub
e4b31cfe29 Move automatic official_level assignment to the controller. 2015-12-01 23:18:23 +01:00
Jakub
ea9a2b3be6 Better names for the official email methods 2015-11-30 21:52:48 +01:00
Jakub
da490a4661 Officials level 1 is auto-assigned on email confirmation. Settings option is now optional. Also working on subdomains 2015-11-30 20:48:12 +01:00
Jakub
b4be4259b7 Level 1 officials are now auto-assigned. Rake user:check_email_domains created. 2015-11-29 00:55:15 +01:00
Juanjo Bazán
a5874e7b34 batches task using find_each instead of all 2015-09-27 19:38:38 +02:00
Juanjo Bazán
43d7745abf favors rake users:count_failed_census_calls
instead of rake failed_census_count:count
2015-09-27 19:37:29 +02:00