summaryrefslogtreecommitdiffstats
path: root/templates/packages
AgeCommit message (Collapse)AuthorFilesLines
2010-09-03Enable template fragment caching on package details pageDan McGee1-0/+5
We can't cache most of the package actions links stuff because we look at the user there, but we can cache everything on the left and the content of the bottom boxes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-03Add links to 'Versions Elsewhere' on package details pageDan McGee1-32/+50
This will allow clicking through to a few more associated packages from a given package, including those for the other architecture and potentially in other repositories. The box floats to the right with the package actions, which have also been restyled slightly so the whole area is a bit more styled and set off from the rest of the page. This should allow us to close the current oldest bug open in the Arch bug tracker, FS#7787. I remember the days when every bug was a four-digit number... Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-03Add pkgcount sort helper to count column on groups pageDan McGee1-1/+11
Forgot it here when adding it to all of the tables on the devel dashboard. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-01Ensure long package descriptions wrapDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add last updated column to package groups viewDan McGee1-0/+2
Just another annotation to the queryset to get this data, and a little more manipulation in the group data function. This will help when adding a sitemap in a subsequent commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add a package group overview pageDan McGee1-0/+35
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Link to the package group view from package detailsDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add a group details viewDan McGee1-0/+45
This makes the support asked for in FS#19801 a lot more useful since we actually have an overview page for the entire group. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Restore odd/even markup after JS sortDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add table sorting to a handful of pagesDan McGee2-0/+14
Anything that it makes sense to add it to gets the treatment here. Anything with pagination can wait as that will be tougher. We also need to deal with odd/even formatting. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Package Differences by Architecture viewDan McGee1-0/+37
Implements FS#20416. Port over the architecture differences view from archlinux.de and reimplement in Django with our DB schema. Also use a far simpler SQL query to do the dirty work rather than the triple UNION operation. This is accomplished by doing a bit more of the fetching work in code once we know what packages are actually involved. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13Clarify what the date field means on package searchDan McGee1-1/+1
It sounded like the date had to match exactly which wasn't true, so clarify the label on the form field. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04Add more information to "package in testing" textDan McGee1-2/+5
Make it a link to the testing package itself, and add a title so we have these attributes on every link. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04Add missing or update title attribute on linksDan McGee2-4/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Use userpkgs tag on package details pageDan McGee1-2/+3
To link to a given person's maintained packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Display packager info on details pageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Don't link to the AUR if search term is blankDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add package groups model and display to packagesDan McGee1-0/+10
They show up but aren't hotlinked to anything...just yet. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-11Remove unnecessary redirect on flaghelp linkDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Add note to package when version is in testingDan McGee1-9/+9
And the package has been flagged out of date. Should make people relax a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Update code to use new flag_date columnDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Add some text when no packages could be foundDan McGee1-0/+7
This text also includes a link to search the AUR for the same keywords. This implements FS#19904. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix template syntax errorDan McGee1-1/+1
Whoops, forgot the closing tag when I was playing with autoescape. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Move scripts to bottom of package searchDan McGee1-5/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix missing calendar iconDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-17Fix autoescape in plain text emailsDan McGee1-5/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-12Remove action when submitting to same URLDan McGee1-1/+1
It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-09Enhance base package listing in package detailsDan McGee1-3/+22
Add two methods to the package class, base_package() and split_packages(), that allow us to grab other related packages to one we are interested in. This allows us to list the Base Package on the package details page as a link. With the split_packages() method, we can also now list and link all sub-packages on the package details page; e.g. for 'kernel26' we can now link through to 'kernel26-firmware' and 'kernel26-headers'. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05Updates for CSRF protection in Django 1.2.XDan McGee3-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Fix some validation issuesDan McGee1-1/+0
We had a few issues with unescaped ampersands and extra or missing tags. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-31Fix flagged styling in package search resultsDan McGee1-1/+1
We had 'style=' instead of 'class=' here, making the highlight disappear. Fix it and things will work again. Fixes FS#19652. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26Add ability to download package from web interfaceDan McGee1-0/+1
After adding filename to the database, this is a rather simple request (see FS#19546). Right now the "randomly" chosen mirror happens to always be mirrors.kernel.org as it is the only one filed under the 'Any' country which is what we screen on. Perhaps this logic could be improved in the future but I don't see these links being all that high traffic anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26Highlight 'Packages' in navbar when browsing packagesDan McGee6-0/+6
Get this working by doing some class business with CSS in order to highlight the correct tab. I had to add some stuff to a variety of pages but it should be working correctly now. Addresses FS#19591. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26Move package flagging URLs below the packageDan McGee1-2/+2
We were still using the user-facing package IDs here which we have eliminated everywhere else Change it to use the same user-friendly URL pattern we are using elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-25Fix some link title issuesDan McGee1-7/+3
We can't wrap inside the title attribute on links, so fix all the places where this was happening. The following command helped: $ grep -R --color 'title="[^"]*$' templates/ Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flagged pageThayer Williams1-3/+10
* indentation * consistent semantics Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Filelists: Touch up the HTML of file list viewsThayer Williams2-13/+14
Remove some unnecessary classes and touch up the direct and AJAX views. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Package Search pageThayer Williams1-109/+126
* moved non-tabular data out of tables * added tbody for pretty printing * form accessibility * descriptive href titles throughout * code cleanup (removing unnecessary line breaks, styling, etc.) * renamed page to Package Database * add descriptive text to bottom of database pages Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Signoffs pageThayer Williams1-17/+26
* descriptive href titles * better semantics (page titles, etc) * added tbody for prettier printing * proper django cycling Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flaghelp pageThayer Williams1-21/+31
* better semantics * consistent appearance with archweb theme * descriptive href titles Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flag pageThayer Williams1-22/+34
* form accessibility * descriptive href titles * better semantics Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Package Details pageThayer Williams1-113/+145
* better semantics * removed unnecessary CSS * form accessibility * dynamic/descriptive href titles throughout 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-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-03Fix 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-03-27Move package maintainer off of package modelDan McGee3-6/+11
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-12Add link from files back to packageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Use repo.testing flag instead of test-based checksDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-03Make files view use jquery CDN template tagDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Add '(testing)' suffix to dependencies listDan McGee1-2/+2
Just like it already was in the required by list. This should address FS#10475. Signed-off-by: Dan McGee <dan@archlinux.org>