Commit Graph

373 Commits

Author SHA1 Message Date
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
kikito
d575430645 Adds rake task for clearing the cache 2015-09-07 13:03:29 +02:00
Raimond Garcia
d27500b832 Merge pull request #384 from AyuntamientoMadrid/pending-filter-in-admin
Pending filters in admin
2015-09-06 22:38:17 +02:00
Juanjo Bazán
29ebff615c adds method to paranoia for unconfirmed hides 2015-09-06 21:04:21 +02:00
Álvaro Durán Tovar
4168e3c20a adds enviroment as a dependency for db:dev_seed task 2015-09-06 19:32:07 +02:00
kikito
50a8d4c854 adds task for updating the hot_score in debates 2015-09-04 14:11:01 +02:00
rgarcia
29ae0c68f8 removes unnecessary comments 2015-09-03 01:29:13 +02:00
rgarcia
abfc93ea78 hot fix to take into account preproduction 2015-09-02 11:36:30 +02:00
Juanjo Bazán
e604ca656a Merge pull request #316 from AyuntamientoMadrid/secrets
Secrets
2015-09-01 21:25:45 +02:00
Raimond Garcia
3974ee1870 Merge pull request #315 from AyuntamientoMadrid/dev-seed
rake db:dev_seed
2015-09-01 21:12:19 +02:00
rgarcia
a82eac8e16 adds capistrano task to upload secrets.yml 2015-09-01 20:12:44 +02:00
kikito
55bab0e535 Adds a rake db:dev_seeds task 2015-09-01 20:11:21 +02:00
rgarcia
0df72b9260 updates census api keys 2015-09-01 20:05:35 +02:00