- 27 Nov, 2013 5 commits
-
-
Dan McGee authored
It turns out this is a HUGE part of our slow mirror status template rendering, due to the internal workings. Everything is converted to a Python decimal object which is way slower than just staying in native floating point. Given we are always dealing with floats when we need to do our formatting, a home-rolled template tag can accomplish this much faster. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
I was never using this and it adds some pretty substantial overhead to each render of the admin page, so toss it. Add the simple date filter to the sidebar instead. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
This allows the tag to be used in a few more places we weren't already able to use it, and hopefully speeds up rendering a tad on the package differences page. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 26 Nov, 2013 6 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
-
Dan McGee authored
-
Dan McGee authored
-
- 12 Nov, 2013 1 commit
-
-
Dan McGee authored
From our friends over at web.archive.org again, thanks! Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 11 Nov, 2013 1 commit
-
-
Dan McGee authored
For something like gambas3 which has a makedepend on postgresql, we end up getting every single split package listed in the required by list for postgresql. This is a bit crazy and unnecessary, so slim it down a bit when possible by using a slightly crazy groupby function and some smarts in our get_requiredby function. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 08 Nov, 2013 1 commit
-
-
Dan McGee authored
Use get_or_create, even though it leaves a bad taste in my mouth. The first user created won't have a profile becuase Django doesn't create one for users created at the command line, causing an exception when the user goes to edit it. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 07 Nov, 2013 9 commits
-
-
Dan McGee authored
We've moved onto bytes only now. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Now that we have a BinaryField option in Django 1.6, put it to use. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
PendingDeprecationWarning: commit_on_success is deprecated in favor of atomic. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
PendingDeprecationWarning: 'The `cycle` template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the `future` tag library to start using the new behavior. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
PendingDeprecationWarning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form needs updating Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
PendingDeprecationWarning: `queryset` method should be renamed `get_queryset` Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Not a common case, but one we can and should support and hasn't been noticed up until this point. That pesky colon! Fixes FS#37477. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 04 Nov, 2013 1 commit
-
-
Dario Giovannetti authored
Also avoid internal redirect to the Installation Guide article. Fixes FS#36111. Dan: remove "Official" from install guide link text as well to match wiki page name.
-
- 27 Oct, 2013 1 commit
-
-
Dan McGee authored
-
- 01 Oct, 2013 3 commits
-
-
Dan McGee authored
The 'valid' column wasn't quite right. Add a new 'revoked' column that works similar to the one we have on keys and use it instead, properly parsing the output from `gpg` signature data and looking for the magic prefix string. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 12 Aug, 2013 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 13 Jul, 2013 6 commits
-
-
Dan McGee authored
We sometimes record a duration even on a failed fetch attempt, such as if we get an HTTP 404. However, we never record a last_sync value on a failed fetch. Use this field instead to sum up the total number of successful checks. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
No need to call out to the template engine to format... nothing at all. Just fetch the attribute directly and save the render step. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 20 Jun, 2013 2 commits
-
-
Dan McGee authored
This should be a small enough chunk of data that it isn't super expensive to put into and pull out of memcached. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
We didn't link this page from anywhere so it was hard to find. Also add it to the sitemap so it gets indexed. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 14 Jun, 2013 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 01 Jun, 2013 2 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
This fixes things up on the download page as well as the individual mirror details page. Signed-off-by:
Dan McGee <dan@archlinux.org>
-