summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2014-11-08Break out available URLs into Jinja2 templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08Make delay a property, not a functionDan McGee
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 McGee
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>
2014-11-08Convert some of URL details to Jinja2Dan McGee
Anytime we have a loop with >100 items, the Django template engine begins to be the bottleneck. This one is relatively straightforward to convert, and sets the stage for converting the mirror status page as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-07Master signing keys page improvementsDan McGee
* Don't show non-packagers * Don't hardcode group names in view code * Reduce number of database queries for all of the cross-signature developer name lookups Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-05Add torrent/magnet icons to download pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-05Add icons, more detail to releases pagesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-05Always link to torrent and magnet, even if not availableDan McGee
We were already doing this on the details page; no need to hide it on the listing page. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-03Update fixtures for new staff groupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>