Permissions fix

This commit is contained in:
Fergal Moran
2012-09-18 15:03:50 +01:00
parent 07a5ba530f
commit 55024412ee
538 changed files with 23 additions and 3 deletions

0
LICENSE Normal file → Executable file
View File

0
README Normal file → Executable file
View File

0
_working/create Normal file → Executable file
View File

0
_working/event.sql Normal file → Executable file
View File

0
_working/label.sql Normal file → Executable file
View File

0
_working/mix.sql Normal file → Executable file
View File

0
_working/recurrence.sql Normal file → Executable file
View File

0
_working/release.sql Normal file → Executable file
View File

0
_working/release_audio.sql Normal file → Executable file
View File

0
_working/social.sql Normal file → Executable file
View File

0
_working/venue.sql Normal file → Executable file
View File

0
apache/django_live.wsgi Normal file → Executable file
View File

0
core/__init__.py Normal file → Executable file
View File

0
core/analytics/__init__.py Normal file → Executable file
View File

0
core/analytics/google.py Normal file → Executable file
View File

0
core/decorators.py Normal file → Executable file
View File

0
core/serialisers/__init__.py Normal file → Executable file
View File

0
core/serialisers/json.py Normal file → Executable file
View File

0
core/social/Facebook.py Normal file → Executable file
View File

0
core/social/_Social.py Normal file → Executable file
View File

0
core/social/__init__.py Normal file → Executable file
View File

0
core/tasks.py Normal file → Executable file
View File

0
core/tests/__init__.py Normal file → Executable file
View File

0
core/tests/mix.py Normal file → Executable file
View File

0
core/utils/__init__.py Normal file → Executable file
View File

0
core/utils/file.py Normal file → Executable file
View File

0
core/utils/html.py Normal file → Executable file
View File

0
core/utils/live.py Normal file → Executable file
View File

0
core/utils/waveform.py Normal file → Executable file
View File

0
core/widgets/__init__.py Normal file → Executable file
View File

0
core/widgets/upload.py Normal file → Executable file
View File

0
dss/__init__.py Normal file → Executable file
View File

0
dss/settings.py Normal file → Executable file
View File

0
dss/urls.py Normal file → Executable file
View File

0
dss/wsgi.py Normal file → Executable file
View File

0
initial_data.json Normal file → Executable file
View File

0
manage.py Normal file → Executable file
View File

0
requirements.txt Normal file → Executable file
View File

0
spa/__init__.py Normal file → Executable file
View File

0
spa/admin.py Normal file → Executable file
View File

0
spa/ajax.py Normal file → Executable file
View File

0
spa/api/__init__.py Normal file → Executable file
View File

0
spa/api/v1/BackboneCompatibleResource.py Normal file → Executable file
View File

0
spa/api/v1/CommentResource.py Normal file → Executable file
View File

0
spa/api/v1/EventResource.py Normal file → Executable file
View File

0
spa/api/v1/MixResource.py Normal file → Executable file
View File

0
spa/api/v1/ReleaseAudioResource.py Normal file → Executable file
View File

0
spa/api/v1/ReleaseResource.py Normal file → Executable file
View File

0
spa/api/v1/UserResource.py Normal file → Executable file
View File

0
spa/api/v1/__init__.py Normal file → Executable file
View File

0
spa/audio.py Normal file → Executable file
View File

0
spa/forms.py Normal file → Executable file
View File

0
spa/management/__init__.py Normal file → Executable file
View File

0
spa/management/commands/__init__.py Normal file → Executable file
View File

0
spa/management/commands/cleanup.py Normal file → Executable file
View File

0
spa/management/commands/drop.py Normal file → Executable file
View File

0
spa/management/commands/purchaselinks.py Normal file → Executable file
View File

0
spa/management/commands/tracklists.py Normal file → Executable file
View File

0
spa/management/commands/waveforms.py Normal file → Executable file
View File

0
spa/models/Comment.py Normal file → Executable file
View File

0
spa/models/Event.py Normal file → Executable file
View File

0
spa/models/Label.py Normal file → Executable file
View File

0
spa/models/Mix.py Normal file → Executable file
View File

0
spa/models/MixFavourite.py Normal file → Executable file
View File

0
spa/models/MixLike.py Normal file → Executable file
View File

0
spa/models/MixPlay.py Normal file → Executable file
View File

0
spa/models/PurchaseLink.py Normal file → Executable file
View File

0
spa/models/Recurrence.py Normal file → Executable file
View File

0
spa/models/Release.py Normal file → Executable file
View File

0
spa/models/Tracklist.py Normal file → Executable file
View File

0
spa/models/UserProfile.py Normal file → Executable file
View File

0
spa/models/Venue.py Normal file → Executable file
View File

0
spa/models/_Activity.py Normal file → Executable file
View File

0
spa/models/_BaseModel.py Normal file → Executable file
View File

0
spa/models/_Lookup.py Normal file → Executable file
View File

0
spa/models/__init__.py Normal file → Executable file
View File

7
spa/social.py Normal file → Executable file
View File

@@ -18,6 +18,7 @@ class SocialHandler(object):
def urls(self):
pattern_list = [
url(r'^redirect/mix/(?P<mix_id>\d+)/$', 'spa.social.redirect_mix', name='social_redirect'),
url(r'^mix/(?P<mix_id>\d+)/$', 'spa.social.mix', name='social_mix'),
url(r'^$', 'spa.social.index', name='social_index'),
]
return pattern_list
@@ -29,7 +30,7 @@ def _getPayload(request):
"site_image_url": '%s/img/dss-large.png' % settings.STATIC_URL,
}
def redirect_mix(request, mix_id):
def mix(request, mix_id):
try:
mix = Mix.objects.get(pk=mix_id)
except Mix.DoesNotExist:
@@ -39,7 +40,7 @@ def redirect_mix(request, mix_id):
audio_url = mix.get_stream_path()
redirect_url = mix.get_absolute_url()
response = render_to_response(
'inc/fb_like.html',
'inc/facebook/mix.html',
_getPayload(request) + {
"description" : mix.title,
"audio_url" : 'http://%s:%s%s' % (Site.objects.get_current().domain, request.META['SERVER_PORT'], audio_url),
@@ -58,7 +59,7 @@ def index(request):
def social_redirect(request):
try:
resolver = resolve('/social' + request.path)
resolver = resolve('/social' + request.path.replace('#', ''))
if resolver is not None:
return resolver.func(request)
except Http404:

0
spa/templates.py Normal file → Executable file
View File

0
spa/templatetags/__init__.py Normal file → Executable file
View File

0
spa/templatetags/spa_extras.py Normal file → Executable file
View File

0
spa/urls.py Normal file → Executable file
View File

0
spa/views.py Normal file → Executable file
View File

0
static/bin/sm/soundmanager2.swf Normal file → Executable file
View File

0
static/bin/sm/soundmanager2_debug.swf Normal file → Executable file
View File

0
static/bin/sm/soundmanager2_flash9.swf Normal file → Executable file
View File

0
static/bin/sm/soundmanager2_flash9_debug.swf Normal file → Executable file
View File

0
static/bin/sm/soundmanager2_flash_xdomain.zip Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap-datepicker.css vendored Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap-responsive.css vendored Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap-responsive.min.css vendored Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap-timepicker.css vendored Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap.css vendored Normal file → Executable file
View File

0
static/css/bootstrap/bootstrap.min.css vendored Normal file → Executable file
View File

0
static/css/colorbox.css Normal file → Executable file
View File

0
static/css/com.podnoms.player.css Normal file → Executable file
View File

0
static/css/deepsouthsounds.css Normal file → Executable file
View File

0
static/css/jasny/jasny-bootstrap-responsive.css Normal file → Executable file
View File

0
static/css/jasny/jasny-bootstrap-responsive.min.css vendored Normal file → Executable file
View File

0
static/css/jasny/jasny-bootstrap.css Normal file → Executable file
View File

0
static/css/jasny/jasny-bootstrap.min.css vendored Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More