summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-16Settings refreshrelease_2011-08-16Dan McGee
Update a few things in settings.py, but more importantly, update local_settings.py.template to be more in line with modern Django settings. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Add two new DB fields to reporeadDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Clean up and reformat default stylesheetOlivier Keun
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16News frontpage layout changesOlivier Keun
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Tabs -> spaces in templatesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16templates/flag.html: Improve the note about bug reports.Thomas Bächler
There are tons of morons out there who are not able to read. Thus, I keep getting bug reports via the "flag out of date" feature. This patch removes all occurrences of "please" from the note and adds a new sentence that explains our ignorance properly. The hint to file a bug report is now longer, so idiots might see it. Dan: add one more line in the early text. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Update README to use virtualenv2 (FS#25520)Evangelos Foutras
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16add "search wiki" link to package details pageSergej Pupykin
Dan: fix usage of urlencode() function. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Add a removed date for releng ISOsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Small Python convention fixupDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Link package provisions if availableDan McGee
Rather than just the blank 'virtual' text we used to have in the dependencies listing on the package page. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Add a template tag to link multiple packages at onceDan McGee
Comma-separated list. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Refactor get_depends() to use PackageDepends methodsDan McGee
The returned objects now also have a providers list if it makes sense. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Add some methods to PackageDepend objectDan McGee
This will allow for some future "find the best provider link" stuff as well as refactoring of the get_depends() method on Package. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Use new package details link tag in templatesDan McGee
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Add package details link tagDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29mirrors: do protocol formatting in templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29Select arch/repo for split package related fieldsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29Add index to package groups name fieldDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29Fix package sort fieldsDan McGee
Don't list pkgname twice, include pkgbase instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-25Small template updatesDan McGee
* Show full version in developer dashboard out of date pane * Link packages on flag confirmation screen Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-15Add pacakge count to group/split package details pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add a few more valid package sort fieldsDan McGee
Just for fun and for people that know what they are doing. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Delete old signoff modelrelease_2011-07-23Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Refactor code to use new signoff modelDan McGee
This moves signoff creation and display to the new packages.Signoff model. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add get_current_signoffs utility methodDan McGee
This is another SQL-based utility method that dramatically cuts back on how many queries we run and gets around the shortcoming of arbitrary joins in Django. It will be used by the new signoff page logic. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add new packages signoff modelDan McGee
This one is centered around pkgbase, much as our PackageRelation object is. However, it also tracks all of the versioning fields we have in order to making joining against the current package testing list possible. Finally, additional metadata including a created date, an (optional) revoke date, and a comments field are added. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Move package signoff URL to more logical locationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Initial signoff template changesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Recent updates refactorDan McGee
Pull out a few helpful objects and functions for use later elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Convert tabs to spaces in devel packages templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Allow more lenient data entry for PGP key fieldDan McGee
Don't allow the max_length parameter to make it through to the HTML form, silently cutting off HTML cut and pastes. Trim out spaces automatically, as well as '0x' and '2048R/' type prefixes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add a default datetime formatDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add rel="nofollow" to download package linksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Simplify package differences codeDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Move set_created_field() to shared utils classDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-29Use normal date format on signoffs pageDan McGee
Fixes FS#24949. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-28Add a bad compression ratio reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-28Add order_by to packager count queryDan McGee
No real idea why SQLite is returning wrong results without out this, but it is likely a bug in the ORM layer I'm not interested in digging into. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-27Adjust CSS to make front page news look betterDan McGee
A code element inside a pre block looked like ass, which is how markdown generates indented code blocks. Drop the bright yellow from these code elements, and while we are at it, also lighten up the yellow a bit as it stands out way too much. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Fix syntax errors, == not =release_2011-06-23Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Don't include staging packages in todolistsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Add Package.in_staging methodDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Set up queries for staging reposDan McGee
This treats repo.staging special in much the way we already have to treat repo.testing as special. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Add (hidden) ability to search by last packagerDan McGee
This is used from the developer dashboard to add a new column to the stats of # of packages for a given developer where they were the last to do the packaging. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Add a rematch_packager management commandDan McGee
This allows quick resolution of all unmatched packages, especially after tweaking the way find_user works. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Turn find_user into UserFinder classDan McGee
This moves the cache inside an instance. Also add a few more tests. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23find_user: add tests and fix no email address caseDan McGee
If a packager string was passed in without an email address, we would blow up on the matcher and not try to find a user. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Move find_user method to devel utilsDan McGee
This could be handy elsewhere as well, and it is loosely coupled to anything else in reporead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Revert "Remove unused flagged() manager method"Dan McGee
Far from unneeded, this is used on the developer dashboard. Silly me. Document this fact as well in the code so we don't screw it up again. This reverts commit 2a44855556531a27e949884d4084c6e5d37082e1.