summaryrefslogtreecommitdiff
path: root/lib/grouptagcloudsection.php
AgeCommit message (Collapse)Author
2010-02-04Add time-based cutoffs for public tag cloud, favorited lists to speed up ↵Brion Vibber
those queries. Defaulting to only looking at last 90 days of activity, can be adjusted up or down. $config['tag']['cutoff'] = 86400 * 90; $config['popular']['cutoff'] = 86400 * 90; Per-user and per-group tag clouds do not use the cutoff (and it doesn't help with indexing on them).
2010-01-04Ticket 2141: bugs with weighted popularity lists across year boundary.Brion Vibber
Consolidated several separate implementations of the same weighting algorithm into common_sql_weight() and fixed some bugs... For MySQL, now using timestampdiff() instead of subtraction for the comparison, so we get sane results when the year doesn't match, and utc_timestamp() rather than now() so we don't get negative ages for recent items with local server timezone. Unknown whether the same problems affect PostgreSQL, but note that it lacks the timestampdiff() SQL function.
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change controlyourself.ca to status.netEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-07-15use single quotes in sqlBrenda Wallace
2009-06-17hide group name and aliases in group tag cloud sectionEvan Prodromou
2009-03-04PostgreSQL - made all 'weight' calculating SQL expressions compatible with ↵CiaranG
both databases, and made some GROUP BY queries more explicit about the fields they are selecting, for the same reason.
2009-01-22A tag cloud section for groupsEvan Prodromou