Commit Graph

545 Commits

Author SHA1 Message Date
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
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
rgarcia
4be9f7b065 renaming rake tasks to touch debates and proposals 2015-11-18 17:57:57 +01:00
rgarcia
0557300c73 decreases time unit for score calculations 2015-11-18 14:38:51 +01:00
kikito
4987da2e03 adds a task for recalculating the proposals hot_score 2015-11-17 11:14:52 +01:00
rgarcia
883b9f80b0 increases time unit in score calculations 2015-11-17 10:06:31 +01:00
rgarcia
f7d8b28378 decreases time unit in hot score calculations 2015-11-17 10:02:35 +01:00
rgarcia
c1c9ed6340 increases comment weight on hot scores 2015-11-17 09:57:47 +01:00
rgarcia
d502a64507 increases time units for hot scores 2015-11-17 09:50:50 +01:00
kikito
f3007280cb Changes the rake comments:confidence_score task to include hidden comments 2015-11-03 18:54:11 +01:00
kikito
2fab210ac8 merges with master and fixes conflicts 2015-10-31 17:09:52 +01:00
kikito
0cf592af71 Fixes two issues in comment_tree
* The descendants list for a comment was not being built correctly
* The root comments must be ordered “newest first”, but their
descendants must be ordered “newest last”
2015-10-30 20:06:36 +01:00
kikito
60b3c65b05 Refactor comment tree calculation using a PORO 2015-10-30 17:00:32 +01:00
Juanjo Bazán
1e0ac137bb removes beta testers functionality 2015-10-29 13:19:00 +01:00
kikito
4aa364a561 Adds a rake task to calculate the confidence score of all the comments in the system 2015-10-28 17:23:04 +01:00
Raimond Garcia
32f2680663 Merge pull request #612 from AyuntamientoMadrid/login-uweb
Login en management
2015-10-15 19:19:37 +02:00
Juanjo Bazán
31788ff7eb changes capistrano task description 2015-10-15 16:40:34 +02:00
Juanjo Bazán
89cc26c261 adds managers login via ManagerAuthenticators 2015-10-15 15:57:53 +02:00
Juanjo Bazán
3e9dc458bc adds manager_authenticator for UWeb Web Services 2015-10-15 13:43:15 +02:00
kikito
cc1a69c7a5 fixes error in census_api and refactors constructor 2015-09-30 10:56:57 +02:00
kikito
1c372328d9 Refactor in residence verification + census api
Needed for a new census api verification using only the document type
(no date of birth and no postal code)
2015-09-29 20:18:52 +02:00
Juanjo Bazán
4a5dafd6e2 Merge pull request #551 from AyuntamientoMadrid/verification_tracking-500
Verification tracking
2015-09-28 20:04:15 +02: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
rgarcia
fbb5db8062 removes unnecessary address from users 2015-09-26 13:45:37 +02:00
rgarcia
459cf00c78 adds rake task to reset failed verification attempts counter [#500] 2015-09-24 17:21:09 +02:00
kikito
af1b2fc217 adds rake task to recalculate all comment counts in proposals and comments 2015-09-18 11:00:18 +02:00
kikito
d6db2387b9 Adds rake task for recalculating tag custom counters 2015-09-17 16:59:15 +02:00
kikito
8ff8a1df7f Makes tags count only visible debates and proposals 2015-09-17 16:54:10 +02:00
kikito
8f8afdfd62 Proposals hot_score 2015-09-14 20:37:32 +02:00
kikito
47c95078f2 Extract score calculation to a module 2015-09-14 20:36:04 +02:00