summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-09-07Use flagged style on versions in package differencesDan McGee1-2/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-07Make flagged style class apply to all tablesDan McGee1-3/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-06Move mirror models out of main appDan McGee10-117/+342
South actually makes this relatively painless if you get everything right, so might as well start getting these out of the legacy main application to eventually eliminate models being separate from their views. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-06Put mirrors app under South controlDan McGee3-0/+17
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-06Remove unnecessary commentsDan McGee1-9/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-03Use direct_to_template in all remaining possible placesDan McGee5-65/+47
Rather than the need to include RequestContext() calls directly, we can just use direct_to_template to do all the work for us. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-03Use direct_to_template in public viewsDan McGee1-10/+5
Saves the hassle of needing to wrap everything in RequestContext() manually. 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 McGee2-35/+55
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 ability to get versions of a package elsewhereDan McGee1-0/+7
E.g. if we are looking at one version for a particular architecture, I want to see all versions for all architectures in all repositories. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-02Add 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 wraprelease_2010-09-02Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-01Dev dashboard: enable sorting by package countDan McGee1-3/+12
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 McGee1-1/+13
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-28PyLint suggested cleanupsDan McGee9-67/+75
We had a bunch of extra imports, non-conventional variable names, spacing issues, etc. that were relatively low-hanging fruit to clean up. Fix them and make the code a bit cleaner in the process. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Mark todo desc as safe on dev dashboardDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Move package utility functionsDan McGee3-102/+111
We now have a few of them, so move them to their own file like we do in the other applications. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Move differences into it's own functionDan McGee1-5/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add package groups to front page and cache resultsrelease_2010-08-27-2Dan McGee2-1/+4
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 a package groups sitemapDan McGee2-6/+22
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add last updated column to package groups viewDan McGee2-4/+10
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 McGee3-2/+76
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Link to the package group view from package detailsDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add a group details viewDan McGee3-1/+64
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-27Remove an unnecessary iexactDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Make public todolist view more usefulrelease_2010-08-27Dan McGee4-23/+44
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 McGee5-6/+7
Hopefully we can trust our developers on this one. :) Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add missing RequestContext in feeds viewDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Restore odd/even markup after JS sortDan McGee5-10/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add table sorting to a handful of pagesDan McGee6-12/+46
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-27Add styles for tablesorter sortingDan McGee4-4/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add jQuery tablesorter 2.0.3 pluginDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Use new repository fields in link generation coderelease_2010-08-25Dan McGee1-13/+2
We can rip out a lot of the code for SVN and bugs links now that this data is pulled off the model instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Simple migration to populate repo dataDan McGee2-5/+219
Also update the repos fixture to include the new fields and [multilib] repository. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Add more metadata to repo modelDan McGee3-2/+207
Things like the flyspray project ID and SVN repo path should go here rather than being hardcoded in the code. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Package Differences by Architecture viewDan McGee3-0/+105
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-25Fix multilib SVN linkDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-17Make package size fields big integersDan McGee2-2/+201
We had a package go in today that has an installed size > 2GB, which makes PostgreSQL blow up when trying to create the package entry. Enlarge these fields to big integers so they can store all conceivable package size values. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13Show maintainer full names in search dropdownDan McGee1-8/+6
Instead of just showing usernames. It is especially helpful since we have many similarly named developers at this point. In addition, only show active developers/TUs and remove the rest from the list. Also remove some cargo-cult code that set widget.choices; this is not necesary as the widget automatically grabs the choices from the field. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13Clarify what the date field means on package searchDan McGee2-2/+3
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 McGee1-3/+2
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-09Enable the cached_db session engine by defaultDan McGee1-1/+2
This will work out well when using memcached in production, and should just fall back to using the DB when developing locally with no cache or any other sort of caching. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-09Clean up settings fileDan McGee1-5/+5
Unify to using single quotes everywhere. No functional changes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04reporead: Add ability to generate traceback via signalrelease_2010-08-08Dan McGee1-0/+4
Every once in a while we see this command hanging on the main server but it isn't making any system calls, so it is hard to tell where it is getting stuck. Add a signal handler on SIGQUIT that will listen and print a traceback when signaled. This is the easiest thing to implement; future additions may need to be able to hook up to a remote debugger (e.g. pdb) if this doesn't work. 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-08-04Add a title to the userpkgs linkDan McGee1-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01Fix stupid mistake in user parsingDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01adjust some colors to match forums and wikiPierre Schmitz2-7/+8
2010-07-28Clean up find_user() code a bitrelease_2010-07-28Dan McGee1-23/+24
With suggestions from Jason Chu, make the code a bit less repetitive with regards to exception handling and fallthrough to the next method of finding the user. Signed-off-by: Dan McGee <dan@archlinux.org>