Age | Commit message (Collapse) | Author |
|
For reference, FF changed behavior:
https://bugzilla.mozilla.org/show_bug.cgi?id=738862
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This can happen when we add a new developer but the key isn't in the
system yet.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Depends, conflicts, provides, etc. can all be done via bulk_create.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
templates/releng/result_section.html
|
|
Can't believe this went unnoticed for so long.
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>
|
|
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to
ensure we don't mix aware and non-aware datetime objects when dealing
with datetimes in the code. Add a utc_now() helper method that we can
use most places, and ensure there is always a timezone attached when
necessary.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Until Django 1.3, the functions include(), patterns() and url() plus
handler404, handler500 were located in a django.conf.urls.defaults
module.
In Django 1.4, they live in django.conf.urls.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
As per TODO comments in the existing code.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Django hashcompat is now deprecated.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The default manage.py script has been updated in Django 1.4, and the old
version and functions it calls is deprecated.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This was a rather careless oversight on my part.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This really just makes me look bad, but an interesting fact none the
less for people to look at.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
For those items less than one day old, mark change frequency as 'daily';
for those less than one week old, mark as 'weekly'. Finally, bump
everything else up from 'never' to 'yearly' to ensure it gets crawled at
least once in a while.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The bytes saved on the shorter name aren't worth it.
Also ensure 'desc' is always initialized to None in case packages do not
provide one.
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>
|
|
If a user was in both Developer and TU groups, they would show up twice.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a meta tag for all search results pages past the first.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that we have a way to decode and process the signature data, we can
match the key_id to a known developer if possible and show this data on
the package page.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Allow key_id to be a large integer value that gets converted to hex, and
allow overriding of the default link text.
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>
|
|
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>
|
|
Fixes FS#28643; simply add the 'wrap' class to that table cell.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The logo will still be there, but no need to have anyone click through
to the actual donation box.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that we do user-specific stuff, this is more hassle than it is
worth to ensure we keep the right bits around.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
This adds a namedtuple so we aren't using magic numbers when processing
our 'edges' (signatures). We also ensure we update any existing
signature objects with their validity if they were later revoked.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
FS#28546.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
These follow the prior commit adding the framework and an initial 2002
retro view.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is from our friends at web.archive.org, who's earliest capture of
the Arch Linux website was on March 28, 2002. Seems like something nice
to do around the 10th anniversary of the website being up and the distro
being around, and not hotlinking their servers also seems like a good
idea.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is similar to the previous commit doing the same for depends. We
also add a '(staging)' text for use down the road.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is not a very high bar to meet, and should cut down on at least a
few bogus or spam requests.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
More generally, add a new 'default' column to the mirror protocol model
so we can determine what is selected and shown by default.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Explicitly exclude '.html' files from the report. This fixes the issue
noted in FS#28372.
We also add `is_directory=False` to both the manpage and info page
queries; this could help the database come up with a better plan.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
These would cause page errors if passed anything not in the ASCII
character set. This change allows for packages to have names composed of
any Unicode characters, not just those in the ASCII set.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This also reorders the columns to be in the same order as package search
for consistency.
Addresses FS#28369.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This preserves the flag date if only a simple pkgrel bump occurred,
which makes sense more often than not for rebuilds.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This only shows up for logged in users, but might be helpful for
developers browsing around the site, especially if they did not receive
the email themselves, or in the case of orphan packages.
Signed-off-by: Dan McGee <dan@archlinux.org>
|