aurweb/web/lib
Lukas Fleischer 29bffe64ad stats.inc.php: Improve definition of "added"
Until now, a package is listed under "Packages added in the past 7 days"
if it was added at most one week ago and if the last modification time
matches the submission time stamp. A package is considered "updated" if
it was modified at most one week ago and the modification time stamp
differs from the submission time stamp.

Since we are using Git to store packages now, there always is a delay
between package creation (which is handled in git-serve) and last
modification (which is handled by git-update). Thus, by the above
definitions, almost every package is considered "updated".

Since there is no reason for excluding packages that were both added and
updated within the past seven days from the "Packages added in the past
7 days" counter, we can drop the check whether the last modification
time matches the submission time stamp. Also, to identify packages that
were actually updated, we now only count packages that were modified at
least one hour after the initial submission.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-07-14 11:17:19 +02:00
..
acctfuncs.inc.php Accept SSH keys with whitespace in comments 2015-06-29 08:59:35 +02:00
aur.inc.php use rel="nofollow" for links in comments 2015-07-12 20:37:42 +02:00
aurjson.class.php RPC: Add decimal_fields array for floating-point fields 2015-07-04 13:02:37 +02:00
cachefuncs.inc.php Remove unnecessary database connection parameter from all functions 2013-02-10 12:10:38 +01:00
confparser.inc.php confparser: Add function for getting the items of a section 2015-06-14 17:58:56 +02:00
credentials.inc.php Remove can_submit_blacklisted() 2015-06-19 16:52:07 +02:00
DB.class.php Use an INI-style configuration file 2014-10-24 10:03:54 +02:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Style fixes: Capitalization of "true" and "false" 2014-02-06 16:32:31 +01:00
pkgbasefuncs.inc.php Let co-maintainers edit package keywords 2015-06-20 14:27:00 +02:00
pkgfuncs.inc.php Display (reverse) optional dependencies as "Required by" 2015-06-27 13:04:03 +02:00
pkgreqfuncs.inc.php Make the type parameter of pkgreq_by_pkgbase() optional 2015-05-21 17:10:33 +02:00
routing.inc.php Move registration code to a separate unit 2015-06-27 13:04:03 +02:00
stats.inc.php stats.inc.php: Improve definition of "added" 2015-07-14 11:17:19 +02:00
streams.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
translator.inc.php Add Arabic translation 2015-06-27 13:04:03 +02:00
version.inc.php Release 4.0.0-rc6 2015-06-28 12:59:41 +02:00