path: root/visualize
AgeCommit message (Collapse)AuthorFilesLines
2019-04-27Revert "visualize: remove unrequired list() calls added"Jelle van der Waa1-2/+2
This reverts commit 1560c4d9040bab7b21b47d5d82599fd69b2eb324.
2019-04-27visualize: remove unrequired list() calls addedJelle van der Waa1-2/+2
2to3 added list() for safety reasons, but not the right reasons, remove the conversion.
2019-03-17visualize: update d3js to 3.5.0Jelle van der Waa4-7794/+9431
Update to the latest version 3 release which does not break backwards compatibility yet. Signed-off-by: Jelle van der Waa <>
2019-01-21main: run 2to3Jelle van der Waa1-2/+2
2018-11-18Move format_filesize to the visualize.jsJelle van der Waa1-0/+16
The only user of format_filesize is visualize.js, move the code there to reduce archewb.js which is loaded on multiple pages.
2018-04-08Update to non relative importsJelle van der Waa1-1/+1
2018-04-08Change from patterns to list of url()Johannes Löthberg1-6/+9
Signed-off-by: Johannes Löthberg <>
2017-06-11visualize: add testsJelle van der Waa1-0/+11
2014-11-07Master signing keys page improvementsDan McGee1-3/+2
* Don't show non-packagers * Don't hardcode group names in view code * Reduce number of database queries for all of the cross-signature developer name lookups Signed-off-by: Dan McGee <>
2014-09-11Remove now unnecessary empty filesDan McGee1-0/+0
Signed-off-by: Dan McGee <>
2013-04-16Various minor code cleanups and fixesrelease_2013-04-16Dan McGee1-1/+1
Most of these were suggested by PyCharm, and include everything from little syntax issues and other bad smells to dead or bad code. Signed-off-by: Dan McGee <>
2013-02-08Upgrade D3 to 3.0.6release_2013-02-08Dan McGee3-161/+142
Signed-off-by: Dan McGee <>
2013-01-13Use content_type and not mimetype on HttpResponse()Dan McGee1-2/+2
Bug #16519 in Django deprecates mimetype, so update our code accordingly. Signed-off-by: Dan McGee <>
2012-12-27Update D3 to 3.0.0Dan McGee4-9410/+7813
Signed-off-by: Dan McGee <>
2012-11-16Use Python 2.7 dictionary comprehension syntaxDan McGee1-2/+2
Rather than the old idiom of dict((k, v) for <> in <>). Signed-off-by: Dan McGee <>
2012-11-13Move JSON keys view to public/ appDan McGee2-47/+5
This seems like a more appropriate place, and now the visualization is done here anyway so we should move the data backing it. Signed-off-by: Dan McGee <>
2012-11-12Add comments to visualize JSDan McGee1-0/+2
Signed-off-by: Dan McGee <>
2012-07-24Replace deprecated direct_to_template() with render() shortcutDan McGee1-2/+2
Now that Django actually provides a concise way to use a RequestContext object without instantiating it, we can use that rather than the old function-based generic view that worked well to do the same. Additionally, these function-based generic views will be gone in Django 1.5, so might as well make the move now. Signed-off-by: Dan McGee <>
2012-07-08Update d3.js resourcesDan McGee2-290/+354
Signed-off-by: Dan McGee <>
2012-05-12Use python json module directly in place of simplejsonDan McGee1-4/+4
As of Python 2.6, this is a builtin module that has all the same functions and capabilities of the Django simplejson module. Additionally simplejson is deprecated in the upcoming Django 1.5 release. Signed-off-by: Dan McGee <>
2012-04-27Tweak the PGP key visualization a bitDan McGee1-8/+44
* Add mouseover/mouseout events to highlight the incoming and outgoing signatures from a given key when moused over. * Change the border color of each developer key based on how many signatures from keys besides the master key they have. Thus, devs that have a lot of signatures from other devs will have a more green border; those with none will have a white border. Signed-off-by: Dan McGee <>
2012-03-29Add developer status table to master keys pageDan McGee1-1/+1
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 <>
2012-03-23Change Django importDan McGee1-1/+1
Until Django 1.3, the functions include(), patterns() and url() plus handler404, handler500 were located in a django.conf.urls.defaults module. In Django 1.4, they live in django.conf.urls. Signed-off-by: Dan McGee <>
2012-03-02Update d3 to 2.8.1Dan McGee8-7427/+9346
Signed-off-by: Dan McGee <>
2012-01-21Update D3 JS resourcesDan McGee4-59/+80
Signed-off-by: Dan McGee <>
2011-12-05Convert to and enable staticfiles contrib applicationDan McGee7-0/+7659
This moves our site static files into the sitestatic directory if they are shared resources, and also moves a handful of things (such as the artwork logos) into application-specific static/ directories. This allows the staticfiles contrib app to work after a few settings tweaks, a run of collectstatic, and massaging the hardcoded '/media/' prefix out of our templates. Django 1.4 is going to make this a lot easier to move things to a CDN and provides better template tags; for now this is setting the stage before we can move to that. Signed-off-by: Dan McGee <>
2011-12-05Add pgp_keys visualize JSON viewDan McGee2-1/+48
This will be used for an SVG graph of all of the master and developer PGP keys. Signed-off-by: Dan McGee <>
2011-10-11Pylint suggested and other cleanupsDan McGee1-2/+12
Signed-off-by: Dan McGee <>
2011-10-05Add package visualizations pageDan McGee5-0/+68
Why the hell not? Have fun clicking all the pretty buttons. Signed-off-by: Dan McGee <>