summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-13Merge tag 'release_2014-10-19' into archweb-genericLuke Shumaker
Jinja2 switch for some templates, exact matches in package search
2015-04-13Add JSON-LD search engine configurationDan McGee
Implemented as documented here: http://googlewebmastercentral.blogspot.com/2014/09/improved-sitelinks-search-box.html Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-13Use UTF-8 copyright sign; save a few bytesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-12Force minimum last modified date for package files pages in sitemapDan McGee
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 McGee
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 locationsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-02The usual requirements bumpingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-02Update to latest django-countriesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-20Turn off real user/JavaScript NewRelic monitoringDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-20Update newrelic configuration to more recent templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-15More dependency version bumpsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-03-15FS#44192 fix dead link to ftp.archlinux.orgDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Fix URL precedence due to /json/ and mirror name overlapDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Break out mirror JSON API viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Break out mirrorlist viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Pylint suggested cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Move mirrors views into subdirectoryDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-26Add details links to third mirror status tableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-15Requirements updates for various packagesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-02-03Sort packages correctly in the todolist notification emailsDan McGee
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 updatesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-29Ensure packager=unknown query works as expectedDan McGee
I broke this in commit dca00e7aab, whoops! Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-19Update to latest django-countriesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-13Slight tweaks to login and logout pagesDan McGee
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 releaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-11Bump to latest pyinotify versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-03Add lower bounds for bad compression reportDan McGee
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 requirementsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-17Fix thinko in leaving old code behind in keys_jsonDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-11Don't blow up if lastsync file wasn't correctly fetchedDan McGee
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 QSDan McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Fix fixture dependency problem in README data loadingDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-12-02Filter maintainer list on developer dashboardDan McGee
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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add paginator template for todolistsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add a todolists sitemapDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Paginate the todolist listing pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Minor news listing tweaksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Add a news-specific sitemapDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Override default sitemap.xml templateDan McGee
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 filtersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>