summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-11-15Fix up empty table display on dev dashboardDan McGee1-2/+4
Fix the colspan for the existing tables, and add a notice for the new signoffs table which did not have one. Thanks-to: Andrea Scarpino <andrea@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-15Add ability to cache users by username on the UserFinderDan McGee2-7/+22
This is very useful in the signoff message population script where we are very likely to encounter the same users over and over. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-15Move certain settings above local settings importDan McGee1-7/+8
This ensures one can override them in local_settings.py if necesary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-15Show full names on developer user list pagesDan McGee4-4/+6
The old display format doesn't really make sense. Also fix the invalid HTML generated by the PGP tag link- we need to escape using &amp; inside the generated URLs. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-14Allow population of signoff specs with SVN commit messagesDan McGee7-3/+266
This pulls them from the latest SVN commit on trunk. We don't have a failproof method of getting the exact right commit, but this should be close if it is run on a regular basis via cron (aka hourly). Note that running locally, I needed the development version of South to get the migration included here to apply because of information_schema changes in the current version of MySQL. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-13Fix styling on new signoff list JS creationDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Add a split packages sitemapDan McGee3-3/+33
With very low priority, but this should at least give a few more cross-linking pages to any crawlers using sitemaps. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Show relevant signoffs on dashboardDan McGee3-3/+59
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Touch up signoff page stylesDan McGee2-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Add pkgnames array to JSON package signoffs viewDan McGee1-0/+1
This makes it easier to match up exact packages with their signoff entry. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11packages/view/search: refactor out the form parsing codeDan McGee1-51/+57
This is a block of very repetitive code that lends itself well to being a separate method. It would still be nice to find a way to clean this up but that can come later. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11packages/views: split out search viewDan McGee2-157/+164
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11packages/views: move signoff-related views into separate moduleDan McGee2-175/+191
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11packages/views: move flag-related views to own moduleDan McGee2-107/+124
One step in splitting the package views. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Move package views into subdirectoryDan McGee1-2/+3
This simply moves views.py to views/__init__.py and adjusts the imports accordingly; future patches will split this into multiple files as this module is getting quite large. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Add package signoffs JSON viewDan McGee3-2/+49
This allows access to the same data (and even a bit more) from the signoffs overview page in a machine-friendly way. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-08Always use same URL for both secure and non-secure CDN requestsDan McGee2-9/+3
Use a scheme-relative URL rather than serving different content to users based on HTTP or HTTPS. Should prevent mismatched certificate errors. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Rewrite get_target_repo_map() using raw SQLDan McGee1-8/+20
This improves the shitty query plan brought upon us by MySQL by rewriting it to use JOINs only and no dependent subqueries. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Fix misnamed JS function callDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Signoff email: prune empty contentDan McGee2-6/+11
Don't send the email at all if there are no packages even in the repository, and don't print empty sections. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Add filter by target repo on signoffs pageDan McGee3-4/+16
And add a count of displayed rows below the filter options. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Fix signoff target repo mappingDan McGee1-0/+1
I clearly should not have removed this code yesterday, otherwise packages have their target repo matched to a testing one. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Find all potential package signoff specifications upfrontDan McGee1-15/+39
This should save a significant amount of time in the case where there are a lot of signups to look up; at least one query per signoff row. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Make maintainer lookup on todo lists fastDan McGee3-5/+17
This is rather sick to look at. Sorry, Django gives me no other choice. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Add new attach_maintainers() utility methodDan McGee2-6/+42
This allows us to alleviate the N+1 query problem when we want maintainer data for a queryset of packages. We use it on signoffs here; we should also be able to apply this to the todolist section where this problem has existed for some time. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Minor signoff query tweaks/optimizationsDan McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff manipulation if you are a maintainerDan McGee3-2/+6
This is a more expensive and not-yet-optimized way of doing this, but we can fix that later as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff options to apply to all packages across architecturesDan McGee2-2/+32
If you check the new box, you can set the options for both the i686 and the x86_64 packages at the same time. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Ensure signoffs can only be created if allowedDan McGee1-2/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Signoffs changes and improvementsDan McGee9-35/+109
* Better signoff report with more detail * Show signoff specification in signoffs view * Honor disabled/bad flags and display in approval column * Various other small bugfixes and tweaks Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Add signoff options form and data entry pageDan McGee6-16/+113
This allows the criteria and other information about certain signoffs to be overridden as necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Add URL to todolist emailDan McGee2-4/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Make signoff_report command send emailDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Minor tweaks to style and sorting of signoffsDan McGee2-1/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Package signoff email report, initial revisionDan McGee4-0/+137
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Refactor more package signoff stuffDan McGee5-113/+144
This sets up some shared utility code for use in a later package signoff email report command. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Many signoff page improvementsDan McGee10-69/+379
Add a new 'SignoffSpecification' model which will capture metadata regarding a specific package if it differs from the norm- e.g. more or less than 2 required signoffs, is known to be bad, a comment from the maintainer, etc. The groundwork is laid here; much of this will still need to be wired up in the future. Enhance the view with a lot more JS prettiness and add revoking of signoffs. The signoff page can be filtered and the links and all the fun stuff are totally dynamic now. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Use UTC now everywhereDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Use copy of donate image in /media/Dan McGee2-2/+2
This ensures it gets served over HTTPS if the user was on a secure session to begin with. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Add Click&Pledge image locallyDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Add created column to Donor modelDan McGee3-4/+169
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Really ensure we don't catch any NULL or blank valuesDan McGee1-4/+4
Fuck you too, Django. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Update donation text and linksDan McGee3-48/+14
We are finally set up through SPI and Click&Pledge. Add the necessary text, buttons, and links for our new donation home. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-27Prettify filesizes in package visualization chartDan McGee2-5/+34
Add a general purpose formatter and mark up each value function with an 'is_size' attribute so we can add additional display formatting if asked for. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-27Add some legacy URL redirectsDan McGee1-0/+15
Amazing that we still see hits on these URLs... Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-27Don't require mirrorlist URLs to have ISOsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-26Ensure PGP signature values are not trimmedDan McGee1-1/+5
This makes them totally unusable for any real purpose down the road. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-25Save SVG as plain, not InkscapeDan McGee1-37/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-24Add a logo-only SVG fileDan McGee1-0/+76
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-24Add icons for Apple iOS web application bookmarksDan McGee4-0/+3
These will be used for an icon if adding a bookmark as a Home Screen icon on iOS devices. We add the three recommended sizes for old iPhone screen size, the new iPhone resolution, and the iPad. Signed-off-by: Dan McGee <dan@archlinux.org>