Age | Commit message (Collapse) | Author |
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
At the request of barthalion. This bumps the report from currently
showing 36 packages to 109 packages.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Populate the form field with the chosen item before submitting the form.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Remove the need to press enter twice when using this typeahead box.
Submit the form on enter, regardless of whether an item is selected or
not.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This reverts commit 8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d.
Turns out we aren't updating packages quite as often anymore. There are
currently 1900+ packages in the repos built more than one year ago.
Signed-off-by: Dan McGee <dan@archlinux.org>
Conflicts:
devel/views.py
|
|
This helps when doing the irregular cleanup of these things and making
sure a relation has been stale for some time and not just a couple
minutes or hours.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Changed way back in commit ef9d1c1e, but I didn't update the actual text
at the same time. FS#38126.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This makes entering new releases a bit less cumbersome as we don't
really need to enter either the file size or the torrent infohash.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
README.md
|
|
Mirror URL page, other random stuff
|
|
Mostly changes related to mirror handling
|
|
|
|
|
|
|
|
End of month release, perf fixes
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This will allow those that care about mirrors to zoom into URL-level
details for each mirror and examine the individual check results.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The return value from get_recent_updates() was too big for memcached due
to all the attached objects, so the cache never actually worked. This
sucks, because we ended up doing all the work in this function and most
of the time we didn't use it because template fragment caching kicked
in.
Remove the cache_function decorator from this method, and instead
implement delayed calling of the function so we don't compute values we
aren't going to use. Template fragment caching will help us in most
cases.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This looks really crazy on our current Tier 1 mirrors, as some of them
have tons of downstream mirrors. Instead, do what we did on the package
details page and allow wrapping of the comma-separated list.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We were spending a lot of time getting the developer name for a given
key on this page, which involved sending one query per key ID. Use the
cache to our advantage here and save ourselves the "expensive" lookups.
This eliminates ~100 queries per page load.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
Django 1.6 upgrade and other changes
Conflicts:
templates/news/list.html
templates/public/index.html
|
|
Django 1.6 upgrade and other changes
Conflicts:
templates/news/list.html
templates/public/index.html
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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.
|
|
|
|
Parabola
|
|
|
|
|
|
|
|
|
|
Conflicts:
Makefile
templates/public/index.html
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
|
|
|
|
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>
|
|
For those that have permissions to do so. Makes it a heck of a lot
easier to navigate around and enable or disable mirrors as necessary.
Signed-off-by: Dan McGee <dan@archlinux.org>
|