summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-25Ensure long flag request text wraps on package details pageDan McGee
Fixes FS#28643; simply add the 'wrap' class to that table cell. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-23Remove actual link to PayPal from retro viewsDan McGee
The logo will still be there, but no need to have anyone click through to the actual donation box. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-23Remove template caching from package detailsrelease_2012-02-23Dan McGee
Now that we do user-specific stuff, this is more hassle than it is worth to ensure we keep the right bits around. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-22Merge branch 'retro'Dan McGee
2012-02-22import_signatures: code cleanup and ensure we update validity statusDan McGee
This adds a namedtuple so we aren't using magic numbers when processing our 'edges' (signatures). We also ensure we update any existing signature objects with their validity if they were later revoked. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-20Fix todolist sort by maintainerDan McGee
FS#28546. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-18Add retro views from 2003 through 2011Dan McGee
These follow the prior commit adding the framework and an initial 2002 retro view. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-18Add a retro site view and link it to a URLDan McGee
This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-18Factor out requiredby details into a templateDan McGee
This is similar to the previous commit doing the same for depends. We also add a '(staging)' text for use down the road. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-16Update sidebar linksrelease_2012-02-18Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-15Don't fail on missing descNicolás Reynolds
2012-02-14Require message when flagging package out of dateDan McGee
This is not a very high bar to meet, and should cut down on at least a few bogus or spam requests. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-13Don't select FTP by default in mirrorlistsDan McGee
More generally, add a new 'default' column to the mirror protocol model so we can determine what is selected and shown by default. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-12Reduce false positives returned by uncompressed manpages reportDan McGee
Explicitly exclude '.html' files from the report. This fixes the issue noted in FS#28372. We also add `is_directory=False` to both the manpage and info page queries; this could help the database come up with a better plan. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-12Protect urlencode calls against Unicode dataDan McGee
These would cause page errors if passed anything not in the ASCII character set. This change allows for packages to have names composed of any Unicode characters, not just those in the ASCII set. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-11Show current version in todolist details viewrelease_2012-02-11Dan McGee
This also reorders the columns to be in the same order as package search for consistency. Addresses FS#28369. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-11reporead: only reset flag date if upstream version changesDan McGee
This preserves the flag date if only a simple pkgrel bump occurred, which makes sense more often than not for rebuilds. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-08Update requirements.txtDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-07Show the latest flag request on package details if out of dateDan McGee
This only shows up for logged in users, but might be helpful for developers browsing around the site, especially if they did not receive the email themselves, or in the case of orphan packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-07FlagRequest model behavior tweaksDan McGee
* Add a default field to be used for latest() calls. * Remove signal-based set of created date; instead, set it explicitly so all of our packages and flag request have the exact same date and time attached. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-07Make rematch command do a bit moreDan McGee
Now that we have a few objects that can potentially link back to developers, allow flag requests to also be rematched. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-06Add testing version column to dashboard flagged packages tablerelease_2012-02-06Dan McGee
As requested in FS#28298. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-06Clean up details dependency display logicDan McGee
This moves this lengthy conditional block of template into an include so it is a bit more manageable. This makes the fix for FS#28286, where provided optional dependencies were not displayed as expected. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-06Encourage bug reports to have a summaryDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-02Extract split_package_details() methodDan McGee
This is never currently called directly as a view method, but is used by the normal package details view as a fallback if a package cannot be located. This also fixes an issue where looking up a package in a repo it is not in returns the split details page for one package, which is incorrect behavior. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-29Remove ambiguity in PGPSignature verbose field namesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-28Support more characters in package namesrelease_2012-01-28Dan McGee
Fixes FS#28106, where we couldn't view packages with names containing the '@' symbol. Rather than whitelist things, switch to a blacklist of only a space and slash character. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-26Add repo to flag request admin columnsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-21Update D3 JS resourcesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-19reporead: simplify and fix transaction management in update_common()Dan McGee
We can use the easier transaction.commit_on_success() decorator if we be sure to explicitly mark the transaction dirty. This fixes the issue where a raised exception in this code called neither commit nor rollback. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-10Add old version string to saved flag requestsrelease_2012-01-11Dan McGee
This makes it easier to match up a flag request with the package state at the time of flagging, and might also help to determine if flagging actions were legit. We only store it if it is the same across all packages to be marked. Also, move the various database write activities when flagging packages into a single transaction. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-05Adjust page and content caching lengths and decoratorsDan McGee
Remove never_cache from many places now that we don't actually need it since we aren't caching by default. Adjust our cache_function decorator times be shorter values, and also randomize them a bit to make cache invalidations not all line up. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-04Add new todolist pkgbase list viewDan McGee
This is for use after rebuilds when moving packages out of the staging and testing repositories. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-03Add a few cache headers and minor feed caching back inDan McGee
Now that we aren't using the middleware, add cache headers on our primary pages so we can prevent some repeat traffic, and cache all feeds for five minutes. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-03Remove all cache middlewareDan McGee
It's time to stop serving up stale pages. Remove this middleware caching and start pushing it down to spots where we can actually control it more appropriately (and only cache things that are expensive anyway). Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-03Add checkbox range selection to stale relations pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-03Add maintainer and packager data to package JSON viewDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-30Merge branch 'master' of /srv/git/repositories/parabolawebroot
2011-12-29Revert back to d3-2.4.3; There are some backward-incompatible changes.Luke Shumaker
I'm not sure if any hit Parabolaweb, but I'd rather be safe. But now they have copyright headers :)
2011-12-29Upgrade d3 to version 2.7.0, add copyright headers.Luke Shumaker
Create a Makefile that automatically updates d3, and adds copyright headers to the installed files.
2011-12-29Add copyright/authorship headers to Archweb-original .js filesLuke Shumaker
* media/archweb.js: GPLv2, (c) 2007-2011 The Archweb Team * media/visualize.js: GPLv2, (c) 2011 Dan McGee The "Archweb Team" thing is a cop-out, but it was pulled from many inline-js places, making a full list of edits hard.
2011-12-29Remove .min.js files.Luke Shumaker
The only way they can be created satisfactorily is with django's compress.py, which requires the Google Closure Compiler, which is not packaged for Parabola. They can be re-added when the Google Closure Compiler is packaged.
2011-12-22Fix mismatched URL keyword argDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-15Merge branch 'master' of ssh://parabolagnulinux.org:1863/parabolawebLuke Shumaker
2011-12-15Fix spelling error (thanks encyclomundi!)Luke Shumaker
2011-12-15Update comment in local_settings.py.exampleLuke Shumaker
2011-12-15Merge branch 'master' of /srv/git/repositories/parabolawebParabola
2011-12-15Fixed quotingNicolás Reynolds
2011-12-15Merge branch 'master' of /srv/git/repositories/parabolawebParabola
2011-12-14add a censored logo, to help fight SOPALuke Shumaker