summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-04-12Force minimum last modified date for package files pages in sitemaprelease_2015-04-13Dan McGee1-1/+6
We fixed the embarrassing '/usr/bin/None' bug here; force Google and others to reindex these pages if possible by marking them as modified. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-12Add true parameter to Jinja2 default filterDan McGee4-7/+7
We need this to make it act more like the Django filter, which prints the default value not only when the variable is undefined, but also when it evaluates to being false (such as a None value). Noticed by felixonmars on packages that provided other packages; None was always showing as the comparison operator. More embarrassing is that our file lists were always showing 'None' concatenated onto all directory entries. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-07Fix URL details page when checks don't have locationsrelease_2015-04-09Dan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-02The usual requirements bumpingDan McGee2-7/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-02Update to latest django-countriesDan McGee3-3/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-20Turn off real user/JavaScript NewRelic monitoringDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-20Update newrelic configuration to more recent templateDan McGee1-9/+27
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-15More dependency version bumpsDan McGee2-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-15FS#44192 fix dead link to ftp.archlinux.orgDan McGee1-3/+3
Use the new sources.archlinux.org domain instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-08Django version bump to 1.7.5Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Fix URL precedence due to /json/ and mirror name overlapDan McGee1-12/+12
Move these back into one block and just use function references rather than the string-based way. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Include error message in JSON detail responseDan McGee1-1/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Break out mirror JSON API viewsDan McGee3-103/+114
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Break out mirrorlist viewsDan McGee3-123/+131
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Pylint suggested cleanupsDan McGee2-6/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Move mirrors views into subdirectoryDan McGee1-2/+2
We'll start splitting these up as we did in packages/. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Bump some package requirementsDan McGee2-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Add details links to third mirror status tableDan McGee3-8/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-15Requirements updates for various packagesDan McGee2-5/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-03Sort packages correctly in the todolist notification emailsDan McGee1-1/+3
Just using sorted() here is bogus without a key function; the default sort order is by the return value from id() in Python since we have no __lt__ definition on the Package model. Add an explicit sort key. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-29Requirements version updatesrelease_2015-01-29Dan McGee2-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-29Ensure packager=unknown query works as expectedDan McGee1-3/+5
I broke this in commit dca00e7aab, whoops! Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-19Update to latest django-countriesDan McGee3-8/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-13Slight tweaks to login and logout pagesDan McGee4-19/+14
Turns out has_errors hasn't worked since Django pre-1.0, wow. Remove that old code and clean up some other small things while we're in there. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-13Bump to latest Django 1.7.x releaserelease_2015-01-13Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-11Bump to latest pyinotify versionDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-03Add lower bounds for bad compression reportDan McGee1-3/+3
Packages smaller than 25 KiB shouldn't really come into play here; this was meant to show huge packages spending too much time on compression. Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-03Update several requirementsrelease_2015-01-03Dan McGee2-8/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-17Fix thinko in leaving old code behind in keys_jsonDan McGee1-2/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-11Don't blow up if lastsync file wasn't correctly fetchedDan McGee1-3/+6
Instead, pass None value in which is handled accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-08Fix issue with memcache being unable to pickle new QSrelease_2014-12-08Dan McGee1-1/+2
When we changed the query here, things got a little weird and we could no longer pickle. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-08Upgrade to python-markdown 2.5.2Dan McGee6-14/+24
safe_mode is now deprecated, so adjust things accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Don't suggest FTP mirror for DB downloadDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Fix fixture dependency problem in README data loadingDan McGee1-10/+13
django.core.serializers.base.DeserializationError: Problem installing fixture '.../devel/fixtures/staff_groups.json': Group matching query does not exist. Alphabetical ordering bit us here. Stop cheating in the README and spell out the fixtures in an order that should work. Noticed-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Make dev stats section look better when loadingDan McGee1-4/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Filter maintainer list on developer dashboardDan McGee1-1/+4
Thank Johannes for this one. Only reason I didn't take his patches is for consistency with the way we were already doing this on the master keys page. Noticed-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Filter maintainer list on packages page by allowed reposDan McGee1-7/+10
We do this elsewhere on the master keys page, so do the same thing here. Noticed-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Fix filtering of minor versions on differences pageDan McGee1-2/+2
This has been broken for a long time; looks like it happened when we switched over to using our standard details tag and no longer emit a <span/> element unconditionally. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-01Update to latest django-jinja releaseDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add paginator template for todolistsrelease_2014-11-08.2Dan McGee1-0/+22
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add a todolists sitemapDan McGee2-1/+22
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Paginate the todolist listing pageDan McGee4-9/+28
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Minor news listing tweaksDan McGee2-4/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add a news-specific sitemapDan McGee3-1/+29
This follows the spec at https://support.google.com/news/publisher/answer/74288?hl=en#tagdefinitions Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Convert sitemap.xml template to Jinja2Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Override default sitemap.xml templateDan McGee2-1/+10
The Django one uses the spaceless tag, which isn't all that useful when we are gzipping the response anyway. Remove it to make generation a tad faster. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Remove percentage filter from Django templates filtersrelease_2014-11-08Dan McGee1-7/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Break out available URLs into Jinja2 templateDan McGee4-40/+38
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Make delay a property, not a functionDan McGee2-27/+28
And re-indent the URL details log template now that we've broken it out. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Convert mirror status tables to Jinja2Dan McGee6-39/+57
Yay for way improved performance. Local testing showed render times going from 265 ms to 135 ms. Signed-off-by: Dan McGee <dan@archlinux.org>