summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2010-07-05Set font color for package search boxrelease_2010-07-05Dan McGee
Since we explicitly set a background color for this text input, we should set a foreground font color as well so those with dark themes don't see white text on a white background. Addresses FS#19290. 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-02Defer loading news content when listing news itemsDan McGee
No need to pull back some 500 news articles when we just want the basics of title, date, and author. Speaking of author, we might as well load that at the same time too. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Add styling to errorlist classrelease_2010-07-02Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Default country selection to AnyDan 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-02Add mirror protocols fixtureDan McGee
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-07-02Only use cached template loader in productionDan McGee
Otherwise it is really confusing when you make template changes during development and they don't show up immediately. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-28Mark the todolists' flag view as never_cacheEvangelos Foutras
Also remove the @vary_on_headers('X-Requested-With') since it's irrelevant now. Dan: remove now unnecessary import. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-24Mark a few more pages as never cacherelease_2010-06-24Dan McGee
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>