Commit Graph

335 Commits

Author SHA1 Message Date
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
kikito
3bcea097c6 Moves model concerns from lib to app/models/concerns 2015-09-12 16:53:35 +02:00
Juanjo Bazán
d11a6a039a refactors method to keep consistency in sync 2015-09-12 14:29:26 +02:00
kikito
d57d538f3b Extracts Flammable module from comment & debate 2015-09-12 14:05:24 +02:00
kikito
800fa7c47f Adds some methods to to Verification module 2015-09-12 14:05:24 +02:00
rgarcia
ea8c7e25cd updates sms text 2015-09-11 17:05:38 +02:00
Juanjo Bazán
8bf71e818b adds verification status methods to user 2015-09-11 14:39:43 +02:00
David Gil
8ed434cc8b uses more rails-like syntax in scopes 2015-09-10 18:44:33 +02:00
kikito
95fc7ea949 remove constants / replace by class methods 2015-09-10 18:07:30 +02:00
kikito
c750765bca Modifies the tag sanitizer to truncate tags longer than 40
I could not make a nice ActAsTaggable error message, this is way faster
2015-09-09 18:30:27 +02:00
kikito
12bf3856c1 adds a capistrano task to clear memcached easily 2015-09-07 13:15:56 +02:00