summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-14WIP on search stuffenhanced-searchDan McGee5-5/+96
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-14Rename search results templateDan McGee2-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-14Remove most of quick searchDan McGee1-28/+2
This will set up development of a full-featured search form; only leave the base keyword type search here. An advanced search form will help in assembling a more extensive search. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-14Make CDN not dependent on DEBUG settingDan McGee1-3/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Add a hacked version of Django UpdateCacheMiddlewarerelease_2010-05-04Dan McGee2-1/+53
This is to address a rather large issue with caching of feed objects in Django. Because they are built up using an XML library that does multiple writes on a file-like object, a single feed object, even when pulled from memcached, generates 1582 writes to the open socket rather than the optimal one it could do. Some version of this fix will be making it upstream, but I need to figure out how to approach that before I do so and for now this will address one of our larger performance issues on the live site since the packages feed is hit as often as it is. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Fix invalid template syntaxDan McGee1-2/+2
Django 1.1 doesn't support arbitrary logic in if statements, but we can use ifnotequal instead. Fixes breakage from commit 58566e. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04todo: fix maintainer display textDan McGee1-1/+1
We were showing 'orphan' for every package due to our maintainer information moving. This is going to make the page a bit slow again, but we'll try and fix that later using some other tricks if possible. Fixes FS#18920. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Ensure changing profile email doesn't reset passwordDan McGee1-9/+6
We weren't checking to see if the password form fields were empty before setting the user password, causing it to get reset if anything was filled out and submitted on this page. FS#19345. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04feeds: move link from method to attributeDan McGee1-3/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-29Package details view: Show the pkgbase if it differs from pkgnameThomas Bächler1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-27Add a link to AirVM to the front page and the donations pageThomas Bächler3-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-27Dedupe entries in required by listDan McGee1-1/+1
Use distinct() on a query. Fixes FS#19195. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Updated maintainer in AUTHORS fileThayer Williams1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Migration to remove external projectsDan McGee1-0/+197
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Remove Arch-Based ProjectsDan McGee7-50/+3
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Migration to delete AltForum modelDan McGee1-0/+204
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Remove International CommunitiesDan McGee7-69/+3
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Migration to remove press modelrelease_2010-04-18Dan McGee1-0/+210
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Remove Press model and adminDan McGee2-17/+1
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-18Re-add italics for testing styleDan McGee1-1/+1
Lost this when I moved the links from the package name to the architecture. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Remove IRC ChannelsDan McGee4-78/+1
And link to wiki instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17Improve front page recent updates listrelease_2010-04-17Dan McGee2-7/+18
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-17Maintainer doesn't exist on package anymoreDan McGee1-1/+1
So remove it from the select_related() call on todo lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-16reporead: allow removal of last package in an archDan McGee1-10/+8
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-02Fix filelists AJAX replacementDan McGee2-12/+12
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-02Improve flag out-of-date logicDan McGee1-2/+2
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-02Fix package URL in todo list emailsDan McGee1-1/+1
Fixes FS#18935. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-29Fix todolist dealing with package maintainersDan McGee1-3/+3
Forgot to update this, whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Simplify code now that pkgbase is always definedrelease_2010-03-28Dan McGee3-13/+7
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-27Make pkgbase non-null and indexedDan McGee2-1/+212
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-27Make reporead always populate pkgbaseDan McGee2-1/+212
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-27Drop maintainer column off packages modelDan McGee2-1/+211
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee12-45/+410
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-22s/newsletter/magazine/ on front pagerelease_2010-03-22Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22Make sure 'More' links don't wrapDan McGee1-2/+2
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-22Replaced titlebar.png with OS X compatible PNGThayer Williams1-0/+0
Signed-off-by: Thayer Williams <thayerw@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-22Add ArchCon logo and place in front page templateDan McGee2-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-20Make rsync fields on mirrors optionalrelease_2010-03-20Dan McGee2-2/+203
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-20Switch some hardcoded urls to url tag usageDan McGee3-14/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-11urls: add several named URL patternsDan McGee1-16/+15
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-11Add link from files back to packageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10Make the new 'testing' flag on repo a bit clearerrelease_2010-03-10Dan McGee2-2/+8
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-10Fix one missed testing repo checkDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10Sitemaps: split and index, add package filesDan McGee2-6/+20
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-06Fix up get_depends logic a bitDan McGee1-12/+16
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-06Use repo.testing flag instead of test-based checksDan McGee4-8/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Add a flag to the repo to indicate its 'testing' statusDan McGee3-0/+389
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-06Fix get_depends() method descriptionDan McGee1-10/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Make mirror notes a text fieldrelease_2010-03-06Dan McGee2-1/+199
Rather than a short 255 character field. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Add tier column to mirrorlist pageDan McGee1-0/+2
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>