summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2010-08-27Restore odd/even markup after JS sortDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add table sorting to a handful of pagesDan McGee
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 McGee
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 McGee
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-13Move update mirrorlist linkrelease_2010-08-13Dan McGee
It is no longer new, so get rid of that graphic and move it down to somewhere relatively relevant. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04Add more information to "package in testing" textDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Use userpkgs tag on package details pageDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-26Update OSDisc affiliate linkDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Fix up click events on developer dashboardrelease_2010-07-25Dan McGee
Rather than using 'onclick', attach an event at the end of page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add box style to public todo list pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add a link to the read only todo lists on the index page.Dusty Phillips
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Hide the details of the todo list until clickingDusty Phillips
Dan: don't load jQuery until late in the page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add a basic view for todo listsDusty Phillips
Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Remove ArchCon 2010 bannerDan McGee
FS#20276. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Don't link to the AUR if search term is blankDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Remove an extra trailing slash that is causing a broken url on todolists.Dusty Phillips
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add package groups model and display to packagesDan McGee
They show up but aren't hotlinked to anything...just yet. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10Remove unnecessary redirect on flaghelp linkDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10Add some more template fragment cachingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Enable template fragment caching on main pagerelease_2010-07-06Dan McGee
The left and right sidebars are the same for everyone, so cache both pieces as template fragments so we aren't constantly re-rendering them. Due to cookies being present in the 'Vary:' header, this at least allows some benefit of caching at a lower level than the middleware can handle. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Get news markdown formatting working everywhereDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Format all news items using markdownDan McGee
Implements FS#13741. A preview function is also added so working with news items is easier to make sure you get the formatting right. This will result in some older news items looking a bit weird if they didn't put linebreaks in all the right places, we can fix a few of these as we notice them. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Make package search box look better with wider fontsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Add note to package when version is in testingDan McGee
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-06Update code to use new flag_date columnDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-05Show incomplete todo list packages in dev dashboardDan McGee
Implements FS#20081. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-05Add absolute URL method for todo listsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Add mirrorlist link to main pageDan McGee
Not terribly thrilled with the location, but it will have to do for now. If we get a better idea later it can definitely be moved. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02mirrorlist: allow filtering by protocolDan McGee
And add some more "static" URLs to access the non-country filtered lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Link to the mirrorlist page from downloadsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Get mirrorlist view ready for general useDan McGee
Make the page much more flexible- allow multiple countries to be selected rather than just one in the form. Also add a lot more text to the page, and move the 'all' option out into its own subheading rather than being in the same form. Both GET and POST requests are now allowed for ease of use from non-browser scenarios or those that wish to update their mirrorlist automatically and submit parameters to the URL. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Remove arch from mirrorlist generationDan McGee
With pacman 3.4.0, we can now use the $arch variable so we don't need architecture-specific mirrorlists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Add some text when no packages could be foundDan McGee
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-24Get unit tests up and running againDan McGee
We had some dependency issues between migrations that needed to be explicitly defined in order to get things fully moving, and do to some braindeadness in Django tests not including the project url config, we need to do some clever business when using the url tag in the base template so tests don't doe with a NoReverseMatch exception. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20Fix template syntax errorrelease_2010-06-20Dan McGee
Whoops, forgot the closing tag when I was playing with autoescape. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20Move scripts to bottom of package searchDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20Fix missing calendar iconDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-16Fix autoescape in plain text emailsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11Remove action when submitting to same URLDan McGee
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 detailsrelease_2010-06-10Dan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Fix some validation issuesrelease_2010-06-02Dan McGee
We had a few issues with unescaped ampersands and extra or missing tags. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Rename todolist email templateDan McGee
More in line with our other templates that have .txt extensions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-31Fix flagged styling in package search resultsDan McGee
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 McGee
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 packagesrelease_2010-05-26Dan McGee
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 McGee
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-26Fix missing version in checksums on download pageDan McGee
Forgot to move the 'endwith' tag a bit further down the page below the last version reference. Fixes FS#19584. Signed-off-by: Dan McGee <dan@archlinux.org>