summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 updatesrelease_2015-01-29Dan 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 releaserelease_2015-01-13Dan 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 requirementsrelease_2015-01-03Dan 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 QSrelease_2014-12-08Dan 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 todolistsrelease_2014-11-08.2Dan 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 filtersrelease_2014-11-08Dan 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>
2014-11-02Add new StaffGroup objectrelease_2014-11-02Dan McGee
This will allow us to be a bit more dynamic in showing the people listings on the website. We'll be adding a Support Staff category to recognize those that do things around here but aren't technically developers. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-02Mirror view tweaks and enhancementsDan McGee
* Add country column to main mirror list overview page. Most mirrors are strictly in one country, so do a little magic to show the right country if it makes sense. * Use new way of getting country names so we respect the overrides now present in the django_countries package. * Make the country selection box on the mirrorlist generation page a lot taller by default so it is easier to use. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-01Add bandwidth field to mirror URLsDan McGee
Not using this anywhere just yet, but suggested by Florian so we can do some more fancy things down the road, like determine bandwidth by country. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-28Bump to django_countries bugfix releaserelease_2014-10-28Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Add last modified date to releasesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Double batch size in BatchWritesWrapperDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Kill now unneeded workaround for Django issue #9800Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Remove Etag header from feedsDan McGee
We have Last-Modified here, and from what I can tell with some more reading and playing with caching, it isn't necessarily wise to set both of them in the same response. Set the one that we actually trust. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-24Reorganize sidebar links involving peopleDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-23Bump to Django 1.7.1release_2014-10-23Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>