summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2014-11-08Convert some of URL details to Jinja2Dan McGee4-29/+60
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 McGee4-33/+32
* 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 McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-05Add icons, more detail to releases pagesDan McGee4-11/+29
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-05Always link to torrent and magnet, even if not availableDan McGee1-3/+3
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 McGee2-466/+567
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-02Add new StaffGroup objectrelease_2014-11-02Dan McGee9-65/+86
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 McGee4-13/+39
* 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 McGee3-2/+23
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 McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Add last modified date to releasesDan McGee5-0/+51
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Double batch size in BatchWritesWrapperDan McGee1-3/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Kill now unneeded workaround for Django issue #9800Dan McGee1-25/+13
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Remove Etag header from feedsDan McGee1-15/+2
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 McGee1-13/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-23Bump to Django 1.7.1release_2014-10-23Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Move all homepage JavaScript into single fileDan McGee2-38/+43
We had two small files plus a handful of inline stuff in the HTML; move as much of it as possible into a single static file. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Fix error when viewing mirror with no active URLsDan McGee2-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Fix 500 when no URLs have been checkedrelease_2014-10-21Dan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Remove old suggested recommended settingsDan McGee1-4/+0
Signed-off-by: Dan McGee <dan@archlinux.org>