Age | Commit message (Collapse) | Author |
|
|
|
Signed-off-by: Angel Velasquez <angvp@archlinux.org>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
Signed-off-by: Jakub Klinkovský <j.l.k@gmx.com>
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>
|
|
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>
|
|
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.
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
requirements.txt
requirements_prod.txt
|
|
We don't need typeahead and easter eggs working right away, so defer
them into a onload event.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is now the default in Django 1.5.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Put it after every bit of HTML content, including the page footer. Right
now this was the only page using this block in the main template; we
should move some other pages using a lot of JS to this format as well.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We had a lot going on here in the news section as far as Django template
tags go, so remove some whitespace to prevent so many empty lines from
being ommitted. This doesn't remove all of it from the generated HTML,
but does cut it down significantly.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
They've been good to us for several years, but our hardware requirements
have changed and we've moved on to using different machines for the
purposes this donated machine served. Thanks!
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The test builds are dead and nobody is taking care of them. With our
monthly releases, they serve no purpose.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Switch to the news model being able to spit out the HTML version of the
content, and don't use the markup contrib module. This is deprecated as
of Django 1.5 so we can move off it now to save trouble down the road
when it is fully removed.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Although we don't allow unauthenticated users to post content, we should
still cover our bases here and ensure people can't inject stuff into the
production website via an inadvertent XSS.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that some users see staging packages and others do not, we need to
be more careful about what variables the fragment depends on.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This uses the existing OpenSearch query endpoint to perform the search
and displays the results accordingly.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
These things aren't so new anymore.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We already use HTTPS exclusively for wiki, bugs, forums, etc. and we
have it available for our other sites, so link only to the https://
protocol locations when pointing users at other sites.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This starts the removal of this code I wrote a while ago in favor of the
now core Django static files application and the helpful static template
tag.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The old-style url template tag disappears in Django 1.5, so we can and
should convert to the new-style tag now.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
And 100 words of every other news item. We might as well make the most
recent item more prominent. I'm not displaying it in full only so the
front page doesn't look like a blog; 95% of our news items are under 300
words.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This prevents resizing jumps when fetching resources.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We can afford to update this more often.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that this has two different tables on it, we should make the page
title a bit more generic.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This adds the repo name, 'staging', and 'testing' as appropriate to a
classes field on the package updates object. This means we don't have to
update the CSS stylesheet to include hardcoded names of repositories
(e.g., 'kde-unstable').
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This ensures it gets served over HTTPS if the user was on a secure
session to begin with.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We are finally set up through SPI and Click&Pledge. Add the necessary
text, buttons, and links for our new donation home.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Why the hell not? Have fun clicking all the pretty buttons.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Addresses FS#25732.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|