Commit Graph

680 Commits

Author SHA1 Message Date
Dan McGee
d9e4a36fc9 Migration to delete AltForum model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:25:56 -05:00
Dan McGee
1709def7f1 Remove International Communities
Add link to wiki instead. Also remove AltForum model and associated
dealings.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:14:53 -05:00
Dan McGee
94b735a181 Migration to remove press model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:56:42 -05:00
Dan McGee
8e6bb3d794 Remove Press model and admin
A link to the wiki was already present, but the model and admin had not
been removed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:54:10 -05:00
Dan McGee
d38d1cbd34 Re-add italics for testing style
Lost this when I moved the links from the package name to the architecture.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:52:07 -05:00
Dan McGee
c4ddff2f48 Remove IRC Channels
And link to wiki instead.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:40:01 -05:00
Dan McGee
ad33813bc1 Improve front page recent updates list
Instead of linking the package name, link the architecture. This will
prevent the lost links we had when we collapsed the list to show multiple
architectures at the same time.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17 11:10:26 -05:00
Dan McGee
8ea4aa21d1 Maintainer doesn't exist on package anymore
So remove it from the select_related() call on todo lists.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17 11:09:31 -05:00
Dan McGee
8ec2e40451 reporead: allow removal of last package in an arch
We had a situation where the last 'any' architecture package was present in
the [testing] repo and never got removed because we never did the
db_update() call on that architecture. Instead of looping all possible
architectures and only calling if len() > 0, always call db_update() for
both the primary architecture and the 'any' architecture.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-16 20:02:22 -05:00
Dan McGee
5fb2fca70a Fix filelists AJAX replacement
We were double nesting the filelist div. Have the AJAX call only return the
contents and not the enclosing div.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-02 17:53:33 -05:00
Dan McGee
5c7d507eea Improve flag out-of-date logic
Attempt to mark all packages built from the same PKGBUILD out of date at the
same time by using pkgbase instead of pkgname. Ensure testing and
non-testing repos are segregated as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-02 17:39:41 -05:00
Dan McGee
a52e3901c9 Fix package URL in todo list emails
Fixes FS#18935.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-02 17:32:45 -05:00
Dan McGee
e790c2b744 Fix todolist dealing with package maintainers
Forgot to update this, whoops.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-29 20:17:11 -05:00
Dan McGee
1113462edc Simplify code now that pkgbase is always defined
This allows some of our queries to get a lot simpler as well as removing the
pkgbase_safe property added earlier.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 18:09:42 -05:00
Dan McGee
e317cf560a Make pkgbase non-null and indexed
Now that we always populate it, this change will make it a lot easier to use
when relating to other tables, such as our maintainer relations.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 18:09:42 -05:00
Dan McGee
c0633aa76f Make reporead always populate pkgbase
And also add a data migration to add the value retroactively for anything
already in our database. We simply fall back to pkgname if pkgbase isn't
available.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 18:09:33 -05:00
Dan McGee
2af0ac721b Drop maintainer column off packages model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 16:21:58 -05:00
Dan McGee
fe832ea845 Move package maintainer off of package model
This is an attempt to fix our long-standing problems dealing with maintainer
information. Move the actual maintainer information off of the package model
into a PackageRelation object, which has some flexibility to later represent
more than just maintainership.

This solves multiple problems:
* If a package gets accidentally deleted, so did the maintainer info
* Testing packages have always shown up as orphans
* With split packages, it was easy to miss some of the sub-packages

This commit does not include the deletion of the original maintainer column;
that will come at a later time when I feel more confident that the data was
migrated correctly.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 16:15:20 -05:00
Dan McGee
f3b3117d1f s/newsletter/magazine/ on front page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22 23:26:49 -05:00
Dan McGee
6e331cc462 Make sure 'More' links don't wrap
They look kind of silly on the front page when they are wrapped even though
the text is extremely short. Add a CSS property to hopefully prevent
wrapping.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22 23:24:54 -05:00
Thayer Williams
7619b773ee Replaced titlebar.png with OS X compatible PNG
Signed-off-by: Thayer Williams <thayerw@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22 23:12:58 -05:00
Dan McGee
07f32d8c4b Add ArchCon logo and place in front page template
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22 23:06:40 -05:00
Dan McGee
97202e429a Make rsync fields on mirrors optional
I think I bumbled this up a while back, but make sure they aren't required
and we use the empty string for all of those that don't provide a value.
Fixes FS#18763.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-20 14:02:38 -05:00
Dan McGee
cb6df87f94 Switch some hardcoded urls to url tag usage
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-20 12:09:21 -05:00
Dan McGee
6c0d7e73c4 urls: add several named URL patterns
This will allow us to kill some hardcoded paths elsewhere as well as play
some games with the sitemap.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-11 21:03:05 -06:00
Dan McGee
234bec4bba Add link from files back to package
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-11 19:56:49 -06:00
Dan McGee
21fe1460d4 Make the new 'testing' flag on repo a bit clearer
Since at least two repositories currently fall under this flag, add some
help text and visibility to this column.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10 20:50:29 -06:00
Dan McGee
73baf1b967 Fix one missed testing repo check
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10 20:45:13 -06:00
Dan McGee
5f9d98d407 Sitemaps: split and index, add package files
Split it up as it is growing rather large, and add all the package files
views to the mix so Google or anyone can pick those up. They get a slightly
lower priority (if that even matters).

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10 00:17:51 -06:00
Dan McGee
9374a2821c Fix up get_depends logic a bit
We were not handing depends of 'any' packages correctly if they depended on
arch-dependent packages; we labeled them all as virtual. If we have an 'any'
package, drop the arch screening and just pick one to link to.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 16:03:41 -06:00
Dan McGee
d4155f7d0f Use repo.testing flag instead of test-based checks
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 15:37:02 -06:00
Dan McGee
96b4c52f6d Add a flag to the repo to indicate its 'testing' status
This will eventually lead into a cleanup where we don't do checks on the
repo name all over the place like we currently do.

There are two migrations involved here; one to add the column and one to
deduce the correct value from the existing names of the repos.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 15:36:20 -06:00
Dan McGee
05d0b8232e Fix get_depends() method description
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 15:29:43 -06:00
Dan McGee
65990ccebe Make mirror notes a text field
Rather than a short 255 character field.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:42:51 -06:00
Dan McGee
e485ab5310 Add tier column to mirrorlist page
Obviously this page could use some more work anyway, but for now just
quickly throw it in there.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:36:35 -06:00
Dan McGee
8cf1ee31ae Kill rsync IP hostname field
This wasn't strictly necessary and was more hassle than it was worth.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:34:04 -06:00
Dan McGee
e676a22764 Add mirror rsync credentials data
Allow this to be stored in the database for later use by an external
generation script for the rsyncd secrets file.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:29:19 -06:00
Dan McGee
93e0552e3d Mirror tiering enhancements
Add ability to track tier and upstream mirror in the database.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:13:28 -06:00
Dan McGee
cefb969d3c Merge branch 'cdn-jquery' 2010-03-03 07:02:19 -06:00
Dan McGee
37e393ab6c Make files view use jquery CDN template tag
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-03 06:57:12 -06:00
Dan McGee
83b7b94c0b Merge branch 'master' into cdn-jquery
Conflicts:
	templates/todolists/view.html
2010-03-03 06:55:54 -06:00
Dan McGee
f7e15ed728 Add '(testing)' suffix to dependencies list
Just like it already was in the required by list. This should address
FS#10475.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 22:25:11 -06:00
Dan McGee
8777ccf001 Fix up HTML titles on a lot of pages
We didn't include them on many pages, or the ones we did weren't always
useful. Also try to keep the boilerplate to a minimum so you can see the
important bits in the title. 'Arch Linux - ' comes first in all titles, and
from there it can be filled in with something useful.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:43:52 -06:00
Dan McGee
6e9477ca63 Unify spelling of 'Todo'
We used 'Todo', 'ToDo', and 'To-do' in different places. Unify them all to
the first.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:43:12 -06:00
Dan McGee
9b59f7e1ad Fix busted HTML on flag package page
Missing a closing div and no real need for the br tag.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:41:44 -06:00
Dan McGee
096c6ef26f Merge branch 'package-files' 2010-03-01 21:07:23 -06:00
Dan McGee
c19cec1820 Drop wiki styles
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 19:15:43 -06:00
Dan McGee
106ce6f19e Revert "Update logo"
This reverts commit f3db1bb123.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-28 18:50:59 -06:00
Dan McGee
51e642f7dc Make reporead.py not executable
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 19:16:10 -06:00
Dan McGee
558fad8bee Upgrade jQuery to 1.4.2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 14:14:40 -06:00