Move zephyr/static to just static.
It's not really a part of the server (aka the rest of zephyr/). (imported from commit 27f6b6b064938ad927075a68d873e4b68710d279)
@@ -1,3 +1,3 @@
 | 
				
			|||||||
This directory contains e.g. the editable originals for image files.
 | 
					This directory contains e.g. the editable originals for image files.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The exported files we serve are checked in under zephyr/static.
 | 
					The exported files we serve are checked in under static/.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,5 +20,5 @@ for i in xrange(1,100):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Convert to PNG
 | 
					    # Convert to PNG
 | 
				
			||||||
    subprocess.check_call(['inkscape', '--without-gui', '--export-area-page',
 | 
					    subprocess.check_call(['inkscape', '--without-gui', '--export-area-page',
 | 
				
			||||||
        '--export-png=../../zephyr/static/images/favicon/favicon-%d.png' % (i,),
 | 
					        '--export-png=../../static/images/favicon/favicon-%d.png' % (i,),
 | 
				
			||||||
        'tmp.svg'])
 | 
					        'tmp.svg'])
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -219,11 +219,11 @@
 | 
				
			|||||||
       transform="matrix(0,0.04182885,-0.03977476,0,7.8218971,1034.3239)"
 | 
					       transform="matrix(0,0.04182885,-0.03977476,0,7.8218971,1034.3239)"
 | 
				
			||||||
       inkscape:export-xdpi="90"
 | 
					       inkscape:export-xdpi="90"
 | 
				
			||||||
       inkscape:export-ydpi="90"
 | 
					       inkscape:export-ydpi="90"
 | 
				
			||||||
       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/zephyr/static/images/presence/user-active.png" />
 | 
					       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/static/images/presence/user-active.png" />
 | 
				
			||||||
    <g
 | 
					    <g
 | 
				
			||||||
       id="g5762"
 | 
					       id="g5762"
 | 
				
			||||||
       transform="matrix(0.99431261,0,0,0.99685318,0.36497654,3.3956519)"
 | 
					       transform="matrix(0.99431261,0,0,0.99685318,0.36497654,3.3956519)"
 | 
				
			||||||
       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/zephyr/static/images/presence/user-away.png"
 | 
					       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/static/images/presence/user-away.png"
 | 
				
			||||||
       inkscape:export-xdpi="90"
 | 
					       inkscape:export-xdpi="90"
 | 
				
			||||||
       inkscape:export-ydpi="90">
 | 
					       inkscape:export-ydpi="90">
 | 
				
			||||||
      <path
 | 
					      <path
 | 
				
			||||||
@@ -266,7 +266,7 @@
 | 
				
			|||||||
       id="path5701-5"
 | 
					       id="path5701-5"
 | 
				
			||||||
       style="fill:none;stroke:#505050;stroke-width:19.18614006;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
 | 
					       style="fill:none;stroke:#505050;stroke-width:19.18614006;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
 | 
				
			||||||
       sodipodi:type="arc"
 | 
					       sodipodi:type="arc"
 | 
				
			||||||
       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/zephyr/static/images/presence/user-idle.png" />
 | 
					       inkscape:export-filename="/home/keegan/work/humbug/git/humbug/static/images/presence/user-idle.png" />
 | 
				
			||||||
    <text
 | 
					    <text
 | 
				
			||||||
       xml:space="preserve"
 | 
					       xml:space="preserve"
 | 
				
			||||||
       style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
 | 
					       style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
 | 
				
			||||||
@@ -281,6 +281,6 @@
 | 
				
			|||||||
         sodipodi:role="line"
 | 
					         sodipodi:role="line"
 | 
				
			||||||
         x="-20.234934"
 | 
					         x="-20.234934"
 | 
				
			||||||
         y="1108.5381"
 | 
					         y="1108.5381"
 | 
				
			||||||
         id="tspan3017">in zephyr/static/images/presence</tspan></text>
 | 
					         id="tspan3017">in static/images/presence</tspan></text>
 | 
				
			||||||
  </g>
 | 
					  </g>
 | 
				
			||||||
</svg>
 | 
					</svg>
 | 
				
			||||||
 
 | 
				
			|||||||
| 
		 Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.7 KiB  | 
@@ -245,6 +245,7 @@ else:
 | 
				
			|||||||
    else:
 | 
					    else:
 | 
				
			||||||
        STATIC_ROOT = 'prod-static/serve'
 | 
					        STATIC_ROOT = 'prod-static/serve'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					STATICFILES_DIRS = ['static/']
 | 
				
			||||||
STATIC_HEADER_FILE = 'zephyr/static_header.txt'
 | 
					STATIC_HEADER_FILE = 'zephyr/static_header.txt'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# To use minified files in dev, set PIPELINE = True.  For the full
 | 
					# To use minified files in dev, set PIPELINE = True.  For the full
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -200,7 +200,7 @@ urlpatterns += patterns('',
 | 
				
			|||||||
if not settings.DEPLOYED:
 | 
					if not settings.DEPLOYED:
 | 
				
			||||||
    use_prod_static = getattr(settings, 'PIPELINE', False)
 | 
					    use_prod_static = getattr(settings, 'PIPELINE', False)
 | 
				
			||||||
    static_root = os.path.join(settings.DEPLOY_ROOT,
 | 
					    static_root = os.path.join(settings.DEPLOY_ROOT,
 | 
				
			||||||
        'prod-static/serve' if use_prod_static else 'zephyr/static')
 | 
					        'prod-static/serve' if use_prod_static else 'static')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    urlpatterns += patterns('',
 | 
					    urlpatterns += patterns('',
 | 
				
			||||||
        url(r'^static/(?P<path>.*)$', 'django.views.static.serve',
 | 
					        url(r'^static/(?P<path>.*)$', 'django.views.static.serve',
 | 
				
			||||||
 
 | 
				
			|||||||
| 
		 Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB  | 
| 
		 Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB  | 
| 
		 Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB  | 
| 
		 Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB  | 
| 
		 Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB  | 
| 
		 Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 162 KiB  | 
| 
		 Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB  | 
| 
		 Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB  | 
| 
		 Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  |