summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-27Add styles for tablesorter sortingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add jQuery tablesorter 2.0.3 pluginDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Use new repository fields in link generation coderelease_2010-08-25Dan McGee
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 McGee
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 McGee
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 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-25Fix multilib SVN linkDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-17Make package size fields big integersDan McGee
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 McGee
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 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-09Enable the cached_db session engine by defaultDan McGee
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 McGee
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 McGee
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 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-08-04Add a title to the userpkgs linkDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01Fix stupid mistake in user parsingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01adjust some colors to match forums and wikiPierre Schmitz
2010-07-28Clean up find_user() code a bitrelease_2010-07-28Dan McGee
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>
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-28Add new 'userpkgs' template tagDan McGee
For easy linking to a given person's packages when we have a user object. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Add missing group delete in reporeadDan McGee
Otherwise we get duplicate groups each time we update the package, and any group removals would never actually happen. 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-28Add packager support to reporeadDan McGee
This is a bit more work than just a simple field addition. We attempt to map packager specs (e.g. "A. U. Thor <author@example.com>") to actual Django users in a relatively robust way- first try matching on User.email, then fall back to UserProfile.public_email, then finally try a name-based match. For those packages we can't generate a mapping, the raw string is still stored so it can be displayed. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Add packager fields to package modelDan 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-10Make the cache_function key a bit more descriptiveDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10Turn off L10N and I18NDan 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-06Add a requirements.txt file for pipDan McGee
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-06Add helper method to package to find self in testing repoDan McGee
This will be useful in templates getting touched in an upcoming commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Remove old needupdate columnDan McGee
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-06Make flag column on packages a dateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>