summaryrefslogtreecommitdiffstats
path: root/templates/packages
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17Read in optional deps and show in web interfaceDan McGee1-11/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Move license to a related modelDan McGee1-2/+2
This allows us to store multiple licenses per package in a more elegant fashion, and will later allow us to search and filter on this information. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Clean up Package related objects codeDan McGee1-1/+1
Main change is just to move groups from the default packagegroup_set location to a related_name of groups. Also refer to the Package class directly rather than by text string if we have it available. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-21Add an 'unflag all' optionDan McGee1-0/+1
This allows the exact opposite of the 'flag' option as presented to the end user, especially helpful for split packages. The original single unflag package option is also still available. Implements FS#22520. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Add arch-specific group overview pagesDan McGee2-3/+3
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Make package signoffs AJAX if JS is enabledDan McGee1-2/+5
This makes the signoffs page a heck of a lot more usable as you can go through and click a bunch at once without waiting for the rather slow page to reload. Hopefully the first step to bringing life back into this part of the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-04Display flag date in package search and allow sortingDan McGee1-0/+3
This exposes something we added a while back, and has been shown elsewhere, but will now be available for everyone to see. Also change the default search order to just be by pkgname; we don't need to do a multi-column search by default. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-29Convert a bunch of links to HTTPSDan McGee1-1/+1
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>
2010-10-29Use HTTPS for links to AURDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26Make package differences JS a bit more efficientDan McGee1-1/+1
Use an id-based selector so we can get the necessary table rows to filter a lot more quickly than a lengthy CSS selector. Also use traversal rather than selectors when grabbing the package versions. This looked like a 3x-4x increase in speed while testing locally. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Show a message when filelist is out of dateDan McGee2-3/+6
This addresses FS#21394 and ensures that the website is less misleading when a package gets new files but they are not yet reflected in the shown list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Package differences small updatesDan McGee1-2/+2
* Add 'multilib-testing' to the CSS class list to hide for [multilib] * Select 'Only In Both' by default, which is probably the most useful option * Unselect 'Minor Version Mismatches' by default Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-19Show flag out-of-date date on package details pageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-19Unify hyphenation of out-of-date textDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Move most inline JS into script fileDan McGee2-48/+2
We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-23Update BBS and bugs links to use HTTPSDan McGee2-2/+2
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>
2010-09-20Fix package differences pkgrel comparisonDan McGee1-3/+4
Using the right index in the array might help; we were comparing pkgver again and not pkgrel at all. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-15Ensure consistent date formatting everywhereDan McGee4-4/+4
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>
2010-09-09Remove redundant text from groups package count columnDan McGee1-12/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09Hide multilib by defaultDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Remove leftover console.logDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Add 'for' attributes to search form labelsDan McGee1-8/+8
And also add the new style class we will need so the search form retains the prior look, now that we are using this style elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Implement package difference filteringDan McGee1-14/+81
This is done as client-side JS which makes the page nice and fast. Minor versions can be excluded, as can packages in [multilib]. In addition, architecture filtering is in place so you can limit the subset of shown packages to those in any, both, one or the other. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-07Use flagged style on versions in package differencesDan McGee1-2/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
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>