summaryrefslogtreecommitdiffstats
path: root/main/templatetags/pgp.py
AgeCommit message (Collapse)AuthorFilesLines
2013-12-14Speed up master key listing pageDan McGee1-5/+13
We were spending a lot of time getting the developer name for a given key on this page, which involved sending one query per key ID. Use the cache to our advantage here and save ourselves the "expensive" lookups. This eliminates ~100 queries per page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-07-13Use the unicode char representation of &nbsp;Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-03Update user_pgp_key_link template tag to use DeveloperKey modelDan McGee1-6/+11
The first of several small updates to use the new data we have available. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-30Move needs_autoescape attribute to @register.filterDan McGee1-2/+2
This is the preferred and non-deprecated way of doing this in Django 1.4+. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-01PGP key handling updatesDan McGee1-0/+8
* Import signatures for all known keys, not just active developers * Ensure we are only showing and accounting for active developers on the master keys page * Add a new table showing signatures between developers Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-29Add developer status table to master keys pageDan McGee1-0/+8
This shows the cross-product of each master key with each developer key so you can see who has been signed, where signatures are missing, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-08Allow more flexibility in pgp_key_linkDan McGee1-3/+14
Allow key_id to be a large integer value that gets converted to hex, and allow overriding of the default link text. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-30Add master key overview pageDan McGee1-0/+13
And a bunch of text that may suck, but is better than nothing. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-15Show full names on developer user list pagesDan McGee1-1/+1
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-10-22Accept 40 hex char PGP key signatures onlyDan McGee1-3/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-21Nicer formatting of PGP key display valueDan McGee1-3/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-02Add a PGP key field on the dev profileDan McGee1-0/+19
Signed-off-by: Dan McGee <dan@archlinux.org>