Age | Commit message (Collapse) | Author |
|
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>
|
|
* Move URL prefix to /releng/feedback/
* Move link on main page to Development, not Community
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* isotests/fixtures/clockchoices.json: changed 'default' to 'unchanged'
* isotests/fixtures/filesystems.json: removed 'check the installed
system' line from one of the options
* isotests/fixtures/modules.json: added
'ext2','ext3','ext4','swap','xfs','jfs','reiserFS'
* isotests/models.py:
* Added RollbackOption abstract class that adds the functions
get_rollback_success_test and get_rollback_failed_test on top of
the IsoOption abstract class for use with the Filesystem and
Module classes since Test uses these both in 2 ways (regular and
rollback). This keeps them seperated.
* renamed the related names of these properties from rollback_test
to rollback_test_set (seems more in-tune with the other relations)
* isotests/views.py:
* changed the order of the fields, the automatic order makes no
sense.
* Added help texts to the fields success, filesystem,
rollback_filesystem and rollback_modules.
* Removed help text from modules (made no sense)
* Added a website field, should remain empty, a simplistic way to
hopefully reduce spambot entries.
* templates/isotests/results.html:
* Removed the rollback yes/no section
* The rollback labels should check get_rollback_success_test and
get_rollback_failed_test.
* Rollback checkbox removed.
* Clearly tell users that success must only be selected if everything
works right.
* Clearly tell users to only fill in the rollback options if they did a
rollback.
* Added a thanks page that tells people thanks.
* Added links between the pages.
* Added links to lists with tests of either a specific iso or of any
iso where a specific option was selected.
Signed-off-by: Dan McGee <dan@archlinux.org>
Conflicts:
templates/isotests/results.html
|
|
I was getting sick of seeing the *-i18n packages completely blow away
anything else useful out of the recent updates sidebar. Revamp the logic
here again to do something about it. As we did before, grab packages
from the database and attempt to group them, but this time do it by only
repo and pkgbase.
From there, if we have packages in the group with a pkgname matching
pkgbase, we will link just those. If not, we will create some stub
objects that link to our relatively new virtual package overview screen.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Addresses FS#23399.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a full_version property method to our package object that does the
version formatting, and switch all templates displaying package versions
over to this new method.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Should handle the suggestion/question in FS#11078 in the easiest way
possible.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that the wiki is HTTPS for the most part, we should skip the redirects
and link directly. Also switch some www links for mailman resources to the
mailman subdomain.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The index page is obviously hit more than just about every other page, so
this will benefit the most from moving the sponsor images to a different
domain. The donate page uses the same images.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
And also update the lingo we use here, 'schwag' implies free and can be a
bit confusing for people to see, especially non-English speakers.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Since we only do HTTPS now on these services, no point in sending someone
through a useless redirect.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Set up a default DATE_FORMAT in settings.py and use it everywhere we do the
'|date' template filter rather than hardcoding the value in the template.
This also fixes a regression with news date/time now that we changed the
field to store both date and time.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Hopefully finishes FS#20416.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Make it more visible to the public, and cache the results of the group
information function since it was designed and made separate for that
purpose and the results can safely be reused without needing to worry too
much about it being stale.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
It is no longer new, so get rid of that graphic and move it down to
somewhere relatively relevant.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
FS#20276.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The left and right sidebars are the same for everyone, so cache both pieces
as template fragments so we aren't constantly re-rendering them. Due to
cookies being present in the 'Vary:' header, this at least allows some
benefit of caching at a lower level than the middleware can handle.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|