summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2010-09-01Dev dashboard: enable sorting by package countDan McGee
Add another custom parser to the mix here so we can sort by package count, which just involves extracting the digits from the table cell contents and ignoring the text. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-01Make sort work on developer todo list statusDan McGee
Because it was a link, the sort didn't properly sort on the complete/incomplete status when viewing a todo list. Add a custom parser to fix it. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Mark todo desc as safe on dev dashboardDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add package groups to front page and cache resultsrelease_2010-08-27-2Dan McGee
Make it more visible to the public, and cache the results of the group information function since it was designed and made separate for that purpose and the results can safely be reused without needing to worry too much about it being stale. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add last updated column to package groups viewDan McGee
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-27Add a package group overview pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Link to the package group view from package detailsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add a group details viewDan McGee
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-27Make public todolist view more usefulrelease_2010-08-27Dan McGee
Show all the details the developer page does, make the lists always visible, and add JS table sorting to each table on the page. This commit also adds table sorting to the developer list view as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Mark todolist description as being safe to contain HTMLDan McGee
Hopefully we can trust our developers on this one. :) Signed-off-by: Dan McGee <dan@archlinux.org>
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>