diff --git a/LICENSE b/LICENSE
old mode 100755
new mode 100644
diff --git a/README b/README
old mode 100755
new mode 100644
diff --git a/_working/create b/_working/create
old mode 100755
new mode 100644
diff --git a/_working/event.sql b/_working/event.sql
old mode 100755
new mode 100644
diff --git a/_working/label.sql b/_working/label.sql
old mode 100755
new mode 100644
diff --git a/_working/mix.sql b/_working/mix.sql
old mode 100755
new mode 100644
diff --git a/_working/recurrence.sql b/_working/recurrence.sql
old mode 100755
new mode 100644
diff --git a/_working/release.sql b/_working/release.sql
old mode 100755
new mode 100644
diff --git a/_working/release_audio.sql b/_working/release_audio.sql
old mode 100755
new mode 100644
diff --git a/_working/social.sql b/_working/social.sql
old mode 100755
new mode 100644
diff --git a/_working/venue.sql b/_working/venue.sql
old mode 100755
new mode 100644
diff --git a/apache/django_live.wsgi b/apache/django_live.wsgi
old mode 100755
new mode 100644
diff --git a/core/__init__.py b/core/__init__.py
old mode 100755
new mode 100644
diff --git a/core/analytics/__init__.py b/core/analytics/__init__.py
old mode 100755
new mode 100644
diff --git a/core/analytics/google.py b/core/analytics/google.py
old mode 100755
new mode 100644
diff --git a/core/decorators.py b/core/decorators.py
old mode 100755
new mode 100644
diff --git a/core/serialisers/__init__.py b/core/serialisers/__init__.py
old mode 100755
new mode 100644
diff --git a/core/serialisers/json.py b/core/serialisers/json.py
old mode 100755
new mode 100644
diff --git a/core/social/Facebook.py b/core/social/Facebook.py
old mode 100755
new mode 100644
diff --git a/core/social/_Social.py b/core/social/_Social.py
old mode 100755
new mode 100644
diff --git a/core/social/__init__.py b/core/social/__init__.py
old mode 100755
new mode 100644
diff --git a/core/tasks.py b/core/tasks.py
old mode 100755
new mode 100644
diff --git a/core/tests/__init__.py b/core/tests/__init__.py
old mode 100755
new mode 100644
diff --git a/core/tests/mix.py b/core/tests/mix.py
old mode 100755
new mode 100644
diff --git a/core/utils/__init__.py b/core/utils/__init__.py
old mode 100755
new mode 100644
diff --git a/core/utils/file.py b/core/utils/file.py
old mode 100755
new mode 100644
diff --git a/core/utils/html.py b/core/utils/html.py
old mode 100755
new mode 100644
diff --git a/core/utils/live.py b/core/utils/live.py
old mode 100755
new mode 100644
diff --git a/core/utils/string.py b/core/utils/string.py
new file mode 100644
index 0000000..3506273
--- /dev/null
+++ b/core/utils/string.py
@@ -0,0 +1,14 @@
+__author__ = 'fergalm'
+import re
+
+def lreplace(string, pattern, sub):
+ """
+ Replaces 'pattern' in 'string' with 'sub' if 'pattern' starts 'string'.
+ """
+ return re.sub('^%s' % pattern, sub, string)
+
+def rreplace(string, pattern, sub):
+ """
+ Replaces 'pattern' in 'string' with 'sub' if 'pattern' ends 'string'.
+ """
+ return re.sub('%s$' % pattern, sub, string)
\ No newline at end of file
diff --git a/core/utils/waveform.py b/core/utils/waveform.py
old mode 100755
new mode 100644
diff --git a/core/widgets/__init__.py b/core/widgets/__init__.py
old mode 100755
new mode 100644
diff --git a/core/widgets/upload.py b/core/widgets/upload.py
old mode 100755
new mode 100644
diff --git a/dss/__init__.py b/dss/__init__.py
old mode 100755
new mode 100644
diff --git a/dss/settings.py b/dss/settings.py
old mode 100755
new mode 100644
diff --git a/dss/urls.py b/dss/urls.py
old mode 100755
new mode 100644
diff --git a/dss/wsgi.py b/dss/wsgi.py
old mode 100755
new mode 100644
diff --git a/initial_data.json b/initial_data.json
old mode 100755
new mode 100644
diff --git a/manage.py b/manage.py
old mode 100755
new mode 100644
diff --git a/requirements.txt b/requirements.txt
old mode 100755
new mode 100644
diff --git a/spa/__init__.py b/spa/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/admin.py b/spa/admin.py
old mode 100755
new mode 100644
diff --git a/spa/ajax.py b/spa/ajax.py
old mode 100755
new mode 100644
diff --git a/spa/api/__init__.py b/spa/api/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/BackboneCompatibleResource.py b/spa/api/v1/BackboneCompatibleResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/CommentResource.py b/spa/api/v1/CommentResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/EventResource.py b/spa/api/v1/EventResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/MixResource.py b/spa/api/v1/MixResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/ReleaseAudioResource.py b/spa/api/v1/ReleaseAudioResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/ReleaseResource.py b/spa/api/v1/ReleaseResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/UserResource.py b/spa/api/v1/UserResource.py
old mode 100755
new mode 100644
diff --git a/spa/api/v1/__init__.py b/spa/api/v1/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/audio.py b/spa/audio.py
old mode 100755
new mode 100644
diff --git a/spa/forms.py b/spa/forms.py
old mode 100755
new mode 100644
diff --git a/spa/management/__init__.py b/spa/management/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/__init__.py b/spa/management/commands/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/cleanup.py b/spa/management/commands/cleanup.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/drop.py b/spa/management/commands/drop.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/purchaselinks.py b/spa/management/commands/purchaselinks.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/tracklists.py b/spa/management/commands/tracklists.py
old mode 100755
new mode 100644
diff --git a/spa/management/commands/waveforms.py b/spa/management/commands/waveforms.py
old mode 100755
new mode 100644
diff --git a/spa/models/Comment.py b/spa/models/Comment.py
old mode 100755
new mode 100644
diff --git a/spa/models/Event.py b/spa/models/Event.py
old mode 100755
new mode 100644
diff --git a/spa/models/Label.py b/spa/models/Label.py
old mode 100755
new mode 100644
diff --git a/spa/models/Mix.py b/spa/models/Mix.py
old mode 100755
new mode 100644
diff --git a/spa/models/MixFavourite.py b/spa/models/MixFavourite.py
old mode 100755
new mode 100644
diff --git a/spa/models/MixLike.py b/spa/models/MixLike.py
old mode 100755
new mode 100644
diff --git a/spa/models/MixPlay.py b/spa/models/MixPlay.py
old mode 100755
new mode 100644
diff --git a/spa/models/PurchaseLink.py b/spa/models/PurchaseLink.py
old mode 100755
new mode 100644
diff --git a/spa/models/Recurrence.py b/spa/models/Recurrence.py
old mode 100755
new mode 100644
diff --git a/spa/models/Release.py b/spa/models/Release.py
old mode 100755
new mode 100644
diff --git a/spa/models/Tracklist.py b/spa/models/Tracklist.py
old mode 100755
new mode 100644
diff --git a/spa/models/UserProfile.py b/spa/models/UserProfile.py
old mode 100755
new mode 100644
diff --git a/spa/models/Venue.py b/spa/models/Venue.py
old mode 100755
new mode 100644
diff --git a/spa/models/_Activity.py b/spa/models/_Activity.py
old mode 100755
new mode 100644
diff --git a/spa/models/_BaseModel.py b/spa/models/_BaseModel.py
old mode 100755
new mode 100644
diff --git a/spa/models/_Lookup.py b/spa/models/_Lookup.py
old mode 100755
new mode 100644
diff --git a/spa/models/__init__.py b/spa/models/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/social.py b/spa/social.py
old mode 100755
new mode 100644
index 0a7f920..7e3b45a
--- a/spa/social.py
+++ b/spa/social.py
@@ -30,22 +30,26 @@ def _getPayload(request):
"site_image_url": '%s/img/dss-large.png' % settings.STATIC_URL,
}
-def mix(request, mix_id):
+def mix(request, args):
try:
- mix = Mix.objects.get(pk=mix_id)
+ mix = Mix.objects.get(pk=args['mix_id'])
except Mix.DoesNotExist:
raise Http404
image = mix.get_image_url()
audio_url = mix.get_stream_path()
- redirect_url = mix.get_absolute_url()
+ mix_url = mix.get_absolute_url()
+ default = _getPayload(request)
+ extras = {
+ "description" : mix.title,
+ "image_url" : image,
+ "audio_url" : 'http://%s:%s%s' % (Site.objects.get_current().domain, request.META['SERVER_PORT'], audio_url),
+ "mix_url" : 'http://%s:%s%s' % (Site.objects.get_current().domain, request.META['SERVER_PORT'], mix_url)
+ }
+ payload = dict(default.items() + extras.items())
response = render_to_response(
'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),
- "redirect" : 'http://%s:%s#%s' % (Site.objects.get_current().domain, request.META['SERVER_PORT'], redirect_url)
- },
+ payload,
context_instance = RequestContext(request)
)
return response
@@ -59,8 +63,11 @@ def index(request):
def social_redirect(request):
try:
- resolver = resolve('/social' + request.path.replace('#', ''))
+ resolver = resolve('/social' + request.path)
if resolver is not None:
- return resolver.func(request)
+ return resolver.func(request, resolver.kwargs)
except Http404:
return index(request)
+ except Exception, ex:
+ return index(request)
+
diff --git a/spa/templates.py b/spa/templates.py
old mode 100755
new mode 100644
diff --git a/spa/templatetags/__init__.py b/spa/templatetags/__init__.py
old mode 100755
new mode 100644
diff --git a/spa/templatetags/spa_extras.py b/spa/templatetags/spa_extras.py
old mode 100755
new mode 100644
diff --git a/spa/urls.py b/spa/urls.py
old mode 100755
new mode 100644
diff --git a/spa/views.py b/spa/views.py
old mode 100755
new mode 100644
index db9002d..73417ff
--- a/spa/views.py
+++ b/spa/views.py
@@ -1,6 +1,7 @@
from django.shortcuts import render_to_response, redirect
from django.template.context import RequestContext
import re
+from core.utils.string import lreplace, rreplace
from spa.social import social_redirect
def _app(request):
@@ -15,8 +16,11 @@ def app(request):
context_instance=RequestContext(request))
def default(request):
- backbone_url = "http://%s/#%s" % (request.get_host(), re.sub('/$', '', request.path))
- return redirect(backbone_url)
+ if request.META['HTTP_USER_AGENT'].startswith('facebookexternalhit'):
+ return social_redirect(request)
+ else:
+ backbone_url = "http://%s/#%s" % (request.get_host(), rreplace(lreplace(request.path, '/', ''), '/', ''))
+ return redirect(backbone_url)
def upload(request):
return render_to_response("inc/upload.html", context_instance=RequestContext(request))
diff --git a/static/bin/sm/soundmanager2.swf b/static/bin/sm/soundmanager2.swf
old mode 100755
new mode 100644
diff --git a/static/bin/sm/soundmanager2_debug.swf b/static/bin/sm/soundmanager2_debug.swf
old mode 100755
new mode 100644
diff --git a/static/bin/sm/soundmanager2_flash9.swf b/static/bin/sm/soundmanager2_flash9.swf
old mode 100755
new mode 100644
diff --git a/static/bin/sm/soundmanager2_flash9_debug.swf b/static/bin/sm/soundmanager2_flash9_debug.swf
old mode 100755
new mode 100644
diff --git a/static/bin/sm/soundmanager2_flash_xdomain.zip b/static/bin/sm/soundmanager2_flash_xdomain.zip
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap-datepicker.css b/static/css/bootstrap/bootstrap-datepicker.css
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap-responsive.css b/static/css/bootstrap/bootstrap-responsive.css
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap-responsive.min.css b/static/css/bootstrap/bootstrap-responsive.min.css
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap-timepicker.css b/static/css/bootstrap/bootstrap-timepicker.css
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap.css b/static/css/bootstrap/bootstrap.css
old mode 100755
new mode 100644
diff --git a/static/css/bootstrap/bootstrap.min.css b/static/css/bootstrap/bootstrap.min.css
old mode 100755
new mode 100644
diff --git a/static/css/colorbox.css b/static/css/colorbox.css
old mode 100755
new mode 100644
diff --git a/static/css/com.podnoms.player.css b/static/css/com.podnoms.player.css
old mode 100755
new mode 100644
diff --git a/static/css/deepsouthsounds.css b/static/css/deepsouthsounds.css
old mode 100755
new mode 100644
diff --git a/static/css/jasny/jasny-bootstrap-responsive.css b/static/css/jasny/jasny-bootstrap-responsive.css
old mode 100755
new mode 100644
diff --git a/static/css/jasny/jasny-bootstrap-responsive.min.css b/static/css/jasny/jasny-bootstrap-responsive.min.css
old mode 100755
new mode 100644
diff --git a/static/css/jasny/jasny-bootstrap.css b/static/css/jasny/jasny-bootstrap.css
old mode 100755
new mode 100644
diff --git a/static/css/jasny/jasny-bootstrap.min.css b/static/css/jasny/jasny-bootstrap.min.css
old mode 100755
new mode 100644
diff --git a/static/css/uploadifive.css b/static/css/uploadifive.css
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_fill.eot b/static/fonts/iconic_fill.eot
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_fill.otf b/static/fonts/iconic_fill.otf
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_fill.svg b/static/fonts/iconic_fill.svg
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_fill.ttf b/static/fonts/iconic_fill.ttf
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_fill.woff b/static/fonts/iconic_fill.woff
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_stroke.eot b/static/fonts/iconic_stroke.eot
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_stroke.otf b/static/fonts/iconic_stroke.otf
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_stroke.svg b/static/fonts/iconic_stroke.svg
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_stroke.ttf b/static/fonts/iconic_stroke.ttf
old mode 100755
new mode 100644
diff --git a/static/fonts/iconic_stroke.woff b/static/fonts/iconic_stroke.woff
old mode 100755
new mode 100644
diff --git a/static/html/fb_channel.html b/static/html/fb_channel.html
old mode 100755
new mode 100644
diff --git a/static/html/privacy.html b/static/html/privacy.html
old mode 100755
new mode 100644
diff --git a/static/html/robots.txt b/static/html/robots.txt
old mode 100755
new mode 100644
diff --git a/static/html/test.html b/static/html/test.html
old mode 100755
new mode 100644
diff --git a/static/html/test2.html b/static/html/test2.html
old mode 100755
new mode 100644
diff --git a/static/html/tos.html b/static/html/tos.html
old mode 100755
new mode 100644
diff --git a/static/img/500.png b/static/img/500.png
old mode 100755
new mode 100644
diff --git a/static/img/asc.png b/static/img/asc.png
old mode 100755
new mode 100644
diff --git a/static/img/bg.png b/static/img/bg.png
old mode 100755
new mode 100644
diff --git a/static/img/colorbox/border.png b/static/img/colorbox/border.png
old mode 100755
new mode 100644
diff --git a/static/img/colorbox/controls.png b/static/img/colorbox/controls.png
old mode 100755
new mode 100644
diff --git a/static/img/colorbox/loading.gif b/static/img/colorbox/loading.gif
old mode 100755
new mode 100644
diff --git a/static/img/colorbox/loading_background.png b/static/img/colorbox/loading_background.png
old mode 100755
new mode 100644
diff --git a/static/img/default-avatar-32.png b/static/img/default-avatar-32.png
old mode 100755
new mode 100644
diff --git a/static/img/default-avatar.png b/static/img/default-avatar.png
old mode 100755
new mode 100644
diff --git a/static/img/default-track.png b/static/img/default-track.png
old mode 100755
new mode 100644
diff --git a/static/img/desc.png b/static/img/desc.png
old mode 100755
new mode 100644
diff --git a/static/img/download-progress-overlay.png b/static/img/download-progress-overlay.png
old mode 100755
new mode 100644
diff --git a/static/img/dss-large.png b/static/img/dss-large.png
old mode 100755
new mode 100644
diff --git a/static/img/favicon.ico b/static/img/favicon.ico
old mode 100755
new mode 100644
diff --git a/static/img/glyphicons-halflings-white.png b/static/img/glyphicons-halflings-white.png
old mode 100755
new mode 100644
diff --git a/static/img/glyphicons-halflings.png b/static/img/glyphicons-halflings.png
old mode 100755
new mode 100644
diff --git a/static/img/info.png b/static/img/info.png
old mode 100755
new mode 100644
diff --git a/static/img/loader.gif b/static/img/loader.gif
old mode 100755
new mode 100644
diff --git a/static/img/mix-loader.gif b/static/img/mix-loader.gif
old mode 100755
new mode 100644
diff --git a/static/img/pause.png b/static/img/pause.png
old mode 100755
new mode 100644
diff --git a/static/img/play.png b/static/img/play.png
old mode 100755
new mode 100644
diff --git a/static/img/playhead.png b/static/img/playhead.png
old mode 100755
new mode 100644
diff --git a/static/img/sheen3.png b/static/img/sheen3.png
old mode 100755
new mode 100644
diff --git a/static/img/signin_facebook.png b/static/img/signin_facebook.png
old mode 100755
new mode 100644
diff --git a/static/img/signin_twitter.png b/static/img/signin_twitter.png
old mode 100755
new mode 100644
diff --git a/static/img/site-logo-gr.png b/static/img/site-logo-gr.png
old mode 100755
new mode 100644
diff --git a/static/img/slide-nav.png b/static/img/slide-nav.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_handle-OLD.png b/static/img/switch_handle-OLD.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_handle-gray.png b/static/img/switch_handle-gray.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_handle-light.png b/static/img/switch_handle-light.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_handle.png b/static/img/switch_handle.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_handle_pressed.png b/static/img/switch_handle_pressed.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_track-dark.png b/static/img/switch_track-dark.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_track-gray.png b/static/img/switch_track-gray.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_track-light.png b/static/img/switch_track-light.png
old mode 100755
new mode 100644
diff --git a/static/img/switch_track.png b/static/img/switch_track.png
old mode 100755
new mode 100644
diff --git a/static/img/transmogrifying.png b/static/img/transmogrifying.png
old mode 100755
new mode 100644
diff --git a/static/img/twitter-ico.png b/static/img/twitter-ico.png
old mode 100755
new mode 100644
diff --git a/static/img/twitter.png b/static/img/twitter.png
old mode 100755
new mode 100644
diff --git a/static/img/uploadifive-cancel.png b/static/img/uploadifive-cancel.png
old mode 100755
new mode 100644
diff --git a/static/img/whats-on.png b/static/img/whats-on.png
old mode 100755
new mode 100644
diff --git a/static/js/app/app.js b/static/js/app/app.js
old mode 100755
new mode 100644
index b2eb4a2..4e4c9b6
--- a/static/js/app/app.js
+++ b/static/js/app/app.js
@@ -71,15 +71,6 @@ var AppRouter = Backbone.Router.extend({
if (com.podnoms.player.isPlayingId(mix.get('id'))) {
com.podnoms.settings.setupPlayer(mix.toJSON(), mix.get('id'));
}
-
- var comments = new CommentCollection();
- comments.url = com.podnoms.settings.urlRoot + mix.attributes.item_url + "/comments/";
- comments.mix_id = id;
- comments.mix = mix.get("resource_uri");
- comments.fetch({success:function (data) {
- var content = new CommentListView({collection:comments}).render();
- $('#site-content-fill').html(content.el);
- }});
}});
},
mixUpload:function (id) {
diff --git a/static/js/app/models/comment.js b/static/js/app/models/comment.js
old mode 100755
new mode 100644
diff --git a/static/js/app/models/event.js b/static/js/app/models/event.js
old mode 100755
new mode 100644
diff --git a/static/js/app/models/mix.js b/static/js/app/models/mix.js
old mode 100755
new mode 100644
diff --git a/static/js/app/models/release.js b/static/js/app/models/release.js
old mode 100755
new mode 100644
diff --git a/static/js/app/models/release_audio.js b/static/js/app/models/release_audio.js
old mode 100755
new mode 100644
diff --git a/static/js/app/models/user.js b/static/js/app/models/user.js
old mode 100755
new mode 100644
diff --git a/static/js/app/site.js b/static/js/app/site.js
old mode 100755
new mode 100644
diff --git a/static/js/app/social.js b/static/js/app/social.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/comment.js b/static/js/app/views/comment.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/event.js b/static/js/app/views/event.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/header.js b/static/js/app/views/header.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/mix.js b/static/js/app/views/mix.js
old mode 100755
new mode 100644
index 7a4baa0..f9721a8
--- a/static/js/app/views/mix.js
+++ b/static/js/app/views/mix.js
@@ -106,7 +106,7 @@ window.MixListItemView = Backbone.View.extend({
});
window.MixListView = Backbone.View.extend({
- itemPlaying: null,
+ itemPlaying:null,
initialize:function () {
this.render();
},
@@ -117,8 +117,8 @@ window.MixListView = Backbone.View.extend({
$(this.el).html(this.template()).append('
');
this.collection.each(function (item) {
$('.mix-listing', el).append(new MixListItemView({model:item}).render().el);
- if (com.podnoms.player.isPlayingId(item.get('id'))){
- console.log("Item "+ item.get('id') + " is playing...");
+ if (com.podnoms.player.isPlayingId(item.get('id'))) {
+ console.log("Item " + item.get('id') + " is playing...");
ref.itemPlaying = item;
}
});
@@ -133,11 +133,22 @@ window.MixView = Backbone.View.extend({
this.render();
},
render:function () {
+ var el = this.el;
$(this.el).html(this.template());
var item = new MixListItemView({model:this.model}).render();
$('.mix-listing', this.el).append(item.el);
$('#mix-description', this.el).html(this.model.get("description"));
+ var comments = new CommentCollection();
+ comments.url = com.podnoms.settings.urlRoot + this.model.get("item_url") + "/comments/";
+ comments.mix_id = this.model.id;
+ comments.mix = this.model.get("resource_uri");
+ comments.fetch({success:function (data) {
+ var content = new CommentListView({collection:comments}).render();
+ $('#mix-comments', el).html(content.el);
+
+ }});
+ $('#mix-tab a:first', el).tab('show');
return this;
}
});
@@ -166,7 +177,7 @@ window.MixCreateView = DSSEditableView.extend({
if (this.model.id == undefined) {
$('#mix-upload', this.el).uploadifive({
'uploadScript':'ajax/upload_mix_file_handler/',
- 'buttonText': "Select audio file (mp3 for now please)",
+ 'buttonText':"Select audio file (mp3 for now please)",
'formData':{
'upload-hash':this.guid
},
diff --git a/static/js/app/views/release.js b/static/js/app/views/release.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/release_audio.js b/static/js/app/views/release_audio.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/sidebar.js b/static/js/app/views/sidebar.js
old mode 100755
new mode 100644
diff --git a/static/js/app/views/user.js b/static/js/app/views/user.js
old mode 100755
new mode 100644
diff --git a/static/js/com.podnoms.player.js b/static/js/com.podnoms.player.js
old mode 100755
new mode 100644
diff --git a/static/js/com.podnoms.storage.js b/static/js/com.podnoms.storage.js
old mode 100755
new mode 100644
diff --git a/static/js/com.podnoms.utils.js b/static/js/com.podnoms.utils.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/ICanHaz.js b/static/js/libs/ICanHaz.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/ajaxfileupload.js b/static/js/libs/ajaxfileupload.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/backbone/backbone-localstorage.js b/static/js/libs/backbone/backbone-localstorage.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/backbone/backbone-tastypie.js b/static/js/libs/backbone/backbone-tastypie.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/backbone/backbone.js b/static/js/libs/backbone/backbone.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/backbone/backbone.mine.js b/static/js/libs/backbone/backbone.mine.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/backbone/underscore.js b/static/js/libs/backbone/underscore.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/bootstrap/bootstrap-datepicker.js b/static/js/libs/bootstrap/bootstrap-datepicker.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/bootstrap/bootstrap-timepicker.js b/static/js/libs/bootstrap/bootstrap-timepicker.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/bootstrap/bootstrap.js b/static/js/libs/bootstrap/bootstrap.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/bootstrap/bootstrap.min.js b/static/js/libs/bootstrap/bootstrap.min.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/clickify.js b/static/js/libs/clickify.js
old mode 100755
new mode 100644
index 9f400d6..3366220
--- a/static/js/libs/clickify.js
+++ b/static/js/libs/clickify.js
@@ -1,48 +1,45 @@
-(function($){
- // Declare the rootUrl used for filtering internal links.
- var rootUrl =
- document.location.protocol + '//' +
- (document.location.hostname || document.location.host) +
- (document.location.port ? ':' + document.location.port : '') + '/';
-
- // Helper functions
- var getFragment = function(url, root) { // Grab the fragment and format it how Backbone expects
- var fragment = url;
- if (fragment.indexOf(':') !== -1)
- fragment = fragment.replace(/.*:\/\/[^\/]+/, '');
- if (!fragment.indexOf(root)) fragment = fragment.substr(root.length);
- return fragment.replace(/^[#\/]/, '');
- }
-
- // jQuery selector for tagging internal links
- $.expr[':'].internal = function(obj, index, meta, stack) {
- var url = $(obj).attr('href') || '';
- return (url.substring(0, rootUrl.length) === rootUrl || url.indexOf(':') === -1); // same domain || relative link
- };
-
- $.fn.clickify = function(options) {
- options = $.extend({ 'root': '/' }, options); // Set the root option if your single-page app isn't in the site root
-
- var anchorTags = this.find('a:internal:not(.no-click)');
-
- anchorTags.click(function (event) {
- var $this = $(this),
- url = $this.attr('href');
-
- if (event.which == 2 || event.metaKey)
- return true;
-
- // Make the call to Backbone.History
- // Backbone will call pushState, update the hash or change window.location depending on what our browser supports
- // Regardless, the part you should care about is that your routes are being called.
- Backbone.history.navigate(getFragment(url), { trigger: true });
-
- event.preventDefault();
- return false;
- });
-
- anchorTags.addClass('no-click'); // Mark tags we've already added our event handler to
-
- return this; // chainability
- };
+(function($){
+ // Declare the rootUrl used for filtering internal links.
+ var rootUrl = document.location.protocol + '//' + (document.location.hostname || document.location.host) + (document.location.port ? ':' + document.location.port : '') + '/';
+
+ // Helper functions
+ var getFragment = function(url, root) { // Grab the fragment and format it how Backbone expects
+ var fragment = url;
+ if (fragment.indexOf(':') !== -1)
+ fragment = fragment.replace(/.*:\/\/[^\/]+/, '');
+ if (!fragment.indexOf(root)) fragment = fragment.substr(root.length);
+ return fragment.replace(/^[#\/]/, '');
+ }
+
+ // jQuery selector for tagging internal links
+ $.expr[':'].internal = function(obj, index, meta, stack) {
+ var url = $(obj).attr('href') || '';
+ return (url.substring(0, rootUrl.length) === rootUrl || url.indexOf(':') === -1); // same domain || relative link
+ };
+
+ $.fn.clickify = function(options) {
+ options = $.extend({ 'root': '/' }, options); // Set the root option if your single-page app isn't in the site root
+
+ var anchorTags = this.find('a:internal:not(.no-click)');
+
+ anchorTags.click(function (event) {
+ var $this = $(this),
+ url = $this.attr('href');
+
+ if (event.which == 2 || event.metaKey)
+ return true;
+
+ // Make the call to Backbone.History
+ // Backbone will call pushState, update the hash or change window.location depending on what our browser supports
+ // Regardless, the part you should care about is that your routes are being called.
+ Backbone.history.navigate(getFragment(url), { trigger: true });
+
+ event.preventDefault();
+ return false;
+ });
+
+ anchorTags.addClass('no-click'); // Mark tags we've already added our event handler to
+
+ return this; // chainability
+ };
})(jQuery);
\ No newline at end of file
diff --git a/static/js/libs/jasny/bootstrap-fileupload.js b/static/js/libs/jasny/bootstrap-fileupload.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jasny/bootstrap-inputmask.js b/static/js/libs/jasny/bootstrap-inputmask.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jasny/bootstrap-rowlink.js b/static/js/libs/jasny/bootstrap-rowlink.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jasny/jasny-bootstrap.js b/static/js/libs/jasny/jasny-bootstrap.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jasny/jasny-bootstrap.min.js b/static/js/libs/jasny/jasny-bootstrap.min.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jquery.colorbox.js b/static/js/libs/jquery.colorbox.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jquery.form.js b/static/js/libs/jquery.form.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jquery.iphone-switch.js b/static/js/libs/jquery.iphone-switch.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jquery.min.js b/static/js/libs/jquery.min.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/jquery.tablesorter.js b/static/js/libs/jquery.tablesorter.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/modernizr.js b/static/js/libs/modernizr.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/sm/soundmanager2-jsmin.js b/static/js/libs/sm/soundmanager2-jsmin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/sm/soundmanager2-nodebug-jsmin.js b/static/js/libs/sm/soundmanager2-nodebug-jsmin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/sm/soundmanager2-nodebug.js b/static/js/libs/sm/soundmanager2-nodebug.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/sm/soundmanager2.js b/static/js/libs/sm/soundmanager2.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/jquery.tinymce.js b/static/js/libs/tiny_mce/jquery.tinymce.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/langs/en.js b/static/js/libs/tiny_mce/langs/en.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/css/advhr.css b/static/js/libs/tiny_mce/plugins/advhr/css/advhr.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advhr/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advhr/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/js/rule.js b/static/js/libs/tiny_mce/plugins/advhr/js/rule.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advhr/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advhr/rule.htm b/static/js/libs/tiny_mce/plugins/advhr/rule.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/css/advimage.css b/static/js/libs/tiny_mce/plugins/advimage/css/advimage.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advimage/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advimage/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/image.htm b/static/js/libs/tiny_mce/plugins/advimage/image.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/img/sample.gif b/static/js/libs/tiny_mce/plugins/advimage/img/sample.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/js/image.js b/static/js/libs/tiny_mce/plugins/advimage/js/image.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advimage/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advimage/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/css/advlink.css b/static/js/libs/tiny_mce/plugins/advlink/css/advlink.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advlink/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advlink/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/js/advlink.js b/static/js/libs/tiny_mce/plugins/advlink/js/advlink.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advlink/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlink/link.htm b/static/js/libs/tiny_mce/plugins/advlink/link.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlist/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advlist/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/advlist/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advlist/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autolink/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autolink/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autolink/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autolink/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autosave/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autosave/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autosave/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autosave/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/autosave/langs/en.js b/static/js/libs/tiny_mce/plugins/autosave/langs/en.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin.js b/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin.js b/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/directionality/editor_plugin.js b/static/js/libs/tiny_mce/plugins/directionality/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/directionality/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/directionality/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/editor_plugin.js b/static/js/libs/tiny_mce/plugins/emotions/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/emotions/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/emotions.htm b/static/js/libs/tiny_mce/plugins/emotions/emotions.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cool.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cool.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cry.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cry.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-frown.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-frown.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-innocent.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-kiss.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-laughing.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-sealed.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-smile.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-smile.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-surprised.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-undecided.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-wink.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-wink.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-yell.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-yell.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/js/emotions.js b/static/js/libs/tiny_mce/plugins/emotions/js/emotions.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/emotions/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/emotions/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/dialog.htm b/static/js/libs/tiny_mce/plugins/example/dialog.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/editor_plugin.js b/static/js/libs/tiny_mce/plugins/example/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/example/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/img/example.gif b/static/js/libs/tiny_mce/plugins/example/img/example.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/js/dialog.js b/static/js/libs/tiny_mce/plugins/example/js/dialog.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/langs/en.js b/static/js/libs/tiny_mce/plugins/example/langs/en.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/example/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin.js b/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/css/fullpage.css b/static/js/libs/tiny_mce/plugins/fullpage/css/fullpage.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin.js b/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/fullpage.htm b/static/js/libs/tiny_mce/plugins/fullpage/fullpage.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/js/fullpage.js b/static/js/libs/tiny_mce/plugins/fullpage/js/fullpage.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullpage/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/fullpage/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin.js b/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/fullscreen.htm b/static/js/libs/tiny_mce/plugins/fullscreen/fullscreen.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/iespell/editor_plugin.js b/static/js/libs/tiny_mce/plugins/iespell/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/iespell/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/iespell/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin.js b/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/template.htm b/static/js/libs/tiny_mce/plugins/inlinepopups/template.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin.js b/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/layer/editor_plugin.js b/static/js/libs/tiny_mce/plugins/layer/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/layer/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/layer/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin.js b/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/lists/editor_plugin.js b/static/js/libs/tiny_mce/plugins/lists/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/lists/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/lists/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/css/media.css b/static/js/libs/tiny_mce/plugins/media/css/media.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/editor_plugin.js b/static/js/libs/tiny_mce/plugins/media/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/media/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/js/embed.js b/static/js/libs/tiny_mce/plugins/media/js/embed.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/js/media.js b/static/js/libs/tiny_mce/plugins/media/js/media.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/media/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/media.htm b/static/js/libs/tiny_mce/plugins/media/media.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/media/moxieplayer.swf b/static/js/libs/tiny_mce/plugins/media/moxieplayer.swf
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin.js b/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin.js b/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin.js b/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/editor_plugin.js b/static/js/libs/tiny_mce/plugins/paste/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/paste/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/js/pastetext.js b/static/js/libs/tiny_mce/plugins/paste/js/pastetext.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/js/pasteword.js b/static/js/libs/tiny_mce/plugins/paste/js/pasteword.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/paste/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/pastetext.htm b/static/js/libs/tiny_mce/plugins/paste/pastetext.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/paste/pasteword.htm b/static/js/libs/tiny_mce/plugins/paste/pasteword.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/preview/editor_plugin.js b/static/js/libs/tiny_mce/plugins/preview/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/preview/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/preview/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/preview/example.html b/static/js/libs/tiny_mce/plugins/preview/example.html
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/preview/jscripts/embed.js b/static/js/libs/tiny_mce/plugins/preview/jscripts/embed.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/preview/preview.html b/static/js/libs/tiny_mce/plugins/preview/preview.html
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/print/editor_plugin.js b/static/js/libs/tiny_mce/plugins/print/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/print/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/print/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/save/editor_plugin.js b/static/js/libs/tiny_mce/plugins/save/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/save/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/save/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/css/searchreplace.css b/static/js/libs/tiny_mce/plugins/searchreplace/css/searchreplace.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin.js b/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/js/searchreplace.js b/static/js/libs/tiny_mce/plugins/searchreplace/js/searchreplace.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/searchreplace/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/searchreplace.htm b/static/js/libs/tiny_mce/plugins/searchreplace/searchreplace.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/css/content.css b/static/js/libs/tiny_mce/plugins/spellchecker/css/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin.js b/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/img/wline.gif b/static/js/libs/tiny_mce/plugins/spellchecker/img/wline.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/css/props.css b/static/js/libs/tiny_mce/plugins/style/css/props.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/editor_plugin.js b/static/js/libs/tiny_mce/plugins/style/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/style/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/js/props.js b/static/js/libs/tiny_mce/plugins/style/js/props.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/style/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/props.htm b/static/js/libs/tiny_mce/plugins/style/props.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/style/readme.txt b/static/js/libs/tiny_mce/plugins/style/readme.txt
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin.js b/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/cell.htm b/static/js/libs/tiny_mce/plugins/table/cell.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/css/cell.css b/static/js/libs/tiny_mce/plugins/table/css/cell.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/css/row.css b/static/js/libs/tiny_mce/plugins/table/css/row.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/css/table.css b/static/js/libs/tiny_mce/plugins/table/css/table.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/editor_plugin.js b/static/js/libs/tiny_mce/plugins/table/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/table/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/js/cell.js b/static/js/libs/tiny_mce/plugins/table/js/cell.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/js/merge_cells.js b/static/js/libs/tiny_mce/plugins/table/js/merge_cells.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/js/row.js b/static/js/libs/tiny_mce/plugins/table/js/row.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/js/table.js b/static/js/libs/tiny_mce/plugins/table/js/table.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/table/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/merge_cells.htm b/static/js/libs/tiny_mce/plugins/table/merge_cells.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/row.htm b/static/js/libs/tiny_mce/plugins/table/row.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/table/table.htm b/static/js/libs/tiny_mce/plugins/table/table.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/blank.htm b/static/js/libs/tiny_mce/plugins/template/blank.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/css/template.css b/static/js/libs/tiny_mce/plugins/template/css/template.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/editor_plugin.js b/static/js/libs/tiny_mce/plugins/template/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/template/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/js/template.js b/static/js/libs/tiny_mce/plugins/template/js/template.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/template/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/template/template.htm b/static/js/libs/tiny_mce/plugins/template/template.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/css/visualblocks.css b/static/js/libs/tiny_mce/plugins/visualblocks/css/visualblocks.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin.js b/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin.js b/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin.js b/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/abbr.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/abbr.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/acronym.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/acronym.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/attributes.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/attributes.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/cite.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/cite.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/attributes.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/popup.css b/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/popup.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/del.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/del.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/ins.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/ins.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/acronym.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/attributes.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/cite.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/cite.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/del.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/del.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/element_common.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/ins.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/ins.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/about.htm b/static/js/libs/tiny_mce/themes/advanced/about.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/anchor.htm b/static/js/libs/tiny_mce/themes/advanced/anchor.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/charmap.htm b/static/js/libs/tiny_mce/themes/advanced/charmap.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/color_picker.htm b/static/js/libs/tiny_mce/themes/advanced/color_picker.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/editor_template.js b/static/js/libs/tiny_mce/themes/advanced/editor_template.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/editor_template_src.js b/static/js/libs/tiny_mce/themes/advanced/editor_template_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/image.htm b/static/js/libs/tiny_mce/themes/advanced/image.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/colorpicker.jpg b/static/js/libs/tiny_mce/themes/advanced/img/colorpicker.jpg
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/flash.gif b/static/js/libs/tiny_mce/themes/advanced/img/flash.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/icons.gif b/static/js/libs/tiny_mce/themes/advanced/img/icons.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/iframe.gif b/static/js/libs/tiny_mce/themes/advanced/img/iframe.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/pagebreak.gif b/static/js/libs/tiny_mce/themes/advanced/img/pagebreak.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/quicktime.gif b/static/js/libs/tiny_mce/themes/advanced/img/quicktime.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/realmedia.gif b/static/js/libs/tiny_mce/themes/advanced/img/realmedia.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/shockwave.gif b/static/js/libs/tiny_mce/themes/advanced/img/shockwave.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/trans.gif b/static/js/libs/tiny_mce/themes/advanced/img/trans.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/video.gif b/static/js/libs/tiny_mce/themes/advanced/img/video.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/img/windowsmedia.gif b/static/js/libs/tiny_mce/themes/advanced/img/windowsmedia.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/about.js b/static/js/libs/tiny_mce/themes/advanced/js/about.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/anchor.js b/static/js/libs/tiny_mce/themes/advanced/js/anchor.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/charmap.js b/static/js/libs/tiny_mce/themes/advanced/js/charmap.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/color_picker.js b/static/js/libs/tiny_mce/themes/advanced/js/color_picker.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/image.js b/static/js/libs/tiny_mce/themes/advanced/js/image.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/link.js b/static/js/libs/tiny_mce/themes/advanced/js/link.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/js/source_editor.js b/static/js/libs/tiny_mce/themes/advanced/js/source_editor.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/langs/en.js b/static/js/libs/tiny_mce/themes/advanced/langs/en.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/langs/en_dlg.js b/static/js/libs/tiny_mce/themes/advanced/langs/en_dlg.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/link.htm b/static/js/libs/tiny_mce/themes/advanced/link.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/shortcuts.htm b/static/js/libs/tiny_mce/themes/advanced/shortcuts.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/dialog.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/buttons.png b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/buttons.png
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/items.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/items.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/progress.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/progress.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/tabs.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/ui.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/ui.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/dialog.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/advanced/source_editor.htm b/static/js/libs/tiny_mce/themes/advanced/source_editor.htm
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/editor_template.js b/static/js/libs/tiny_mce/themes/simple/editor_template.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/editor_template_src.js b/static/js/libs/tiny_mce/themes/simple/editor_template_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/img/icons.gif b/static/js/libs/tiny_mce/themes/simple/img/icons.gif
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/langs/en.js b/static/js/libs/tiny_mce/themes/simple/langs/en.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/skins/default/content.css b/static/js/libs/tiny_mce/themes/simple/skins/default/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/skins/default/ui.css b/static/js/libs/tiny_mce/themes/simple/skins/default/ui.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/content.css b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/content.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/ui.css b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/ui.css
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/tiny_mce.js b/static/js/libs/tiny_mce/tiny_mce.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/tiny_mce_popup.js b/static/js/libs/tiny_mce/tiny_mce_popup.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/tiny_mce_src.js b/static/js/libs/tiny_mce/tiny_mce_src.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/utils/editable_selects.js b/static/js/libs/tiny_mce/utils/editable_selects.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/utils/form_utils.js b/static/js/libs/tiny_mce/utils/form_utils.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/utils/mctabs.js b/static/js/libs/tiny_mce/utils/mctabs.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/tiny_mce/utils/validate.js b/static/js/libs/tiny_mce/utils/validate.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/uploadify/jquery.uploadifive.js b/static/js/libs/uploadify/jquery.uploadifive.js
old mode 100755
new mode 100644
diff --git a/static/js/libs/uploadify/jquery.uploadifive.min.js b/static/js/libs/uploadify/jquery.uploadifive.min.js
old mode 100755
new mode 100644
diff --git a/static/js/old__dss_sound_handler.js b/static/js/old__dss_sound_handler.js
old mode 100755
new mode 100644
diff --git a/static/test.html b/static/test.html
old mode 100755
new mode 100644
diff --git a/templates/404.html b/templates/404.html
old mode 100755
new mode 100644
diff --git a/templates/500.html b/templates/500.html
old mode 100755
new mode 100644
diff --git a/templates/account/base.html b/templates/account/base.html
old mode 100755
new mode 100644
diff --git a/templates/account/email.html b/templates/account/email.html
old mode 100755
new mode 100644
diff --git a/templates/account/login.html b/templates/account/login.html
old mode 100755
new mode 100644
diff --git a/templates/account/logout.html b/templates/account/logout.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_change.html b/templates/account/password_change.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_delete.html b/templates/account/password_delete.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_delete_done.html b/templates/account/password_delete_done.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html
old mode 100755
new mode 100644
diff --git a/templates/account/password_reset_key_message.txt b/templates/account/password_reset_key_message.txt
old mode 100755
new mode 100644
diff --git a/templates/account/password_set.html b/templates/account/password_set.html
old mode 100755
new mode 100644
diff --git a/templates/account/registration_form.html b/templates/account/registration_form.html
old mode 100755
new mode 100644
diff --git a/templates/account/signup.html b/templates/account/signup.html
old mode 100755
new mode 100644
diff --git a/templates/account/snippets/already_logged_in.html b/templates/account/snippets/already_logged_in.html
old mode 100755
new mode 100644
diff --git a/templates/account/user_details.html b/templates/account/user_details.html
old mode 100755
new mode 100644
diff --git a/templates/account/verification_sent.html b/templates/account/verification_sent.html
old mode 100755
new mode 100644
diff --git a/templates/account/verified_email_required.html b/templates/account/verified_email_required.html
old mode 100755
new mode 100644
diff --git a/templates/base.html b/templates/base.html
old mode 100755
new mode 100644
diff --git a/templates/emailconfirmation/confirm_email.html b/templates/emailconfirmation/confirm_email.html
old mode 100755
new mode 100644
diff --git a/templates/emailconfirmation/email_confirmation_message.txt b/templates/emailconfirmation/email_confirmation_message.txt
old mode 100755
new mode 100644
diff --git a/templates/emailconfirmation/email_confirmation_subject.txt b/templates/emailconfirmation/email_confirmation_subject.txt
old mode 100755
new mode 100644
diff --git a/templates/inc/_MixItemInsert.html b/templates/inc/_MixItemInsert.html
old mode 100755
new mode 100644
diff --git a/templates/inc/analytics.html b/templates/inc/analytics.html
old mode 100755
new mode 100644
diff --git a/templates/inc/ancient_browser.html b/templates/inc/ancient_browser.html
old mode 100755
new mode 100644
diff --git a/templates/inc/app.html b/templates/inc/app.html
old mode 100755
new mode 100644
diff --git a/templates/inc/comment_list.html b/templates/inc/comment_list.html
old mode 100755
new mode 100644
diff --git a/templates/inc/facebook.html b/templates/inc/facebook.html
old mode 100755
new mode 100644
diff --git a/templates/inc/facebook/index.html b/templates/inc/facebook/index.html
old mode 100755
new mode 100644
diff --git a/templates/inc/facebook/mix.html b/templates/inc/facebook/mix.html
old mode 100755
new mode 100644
index 4796cd3..bdbe847
--- a/templates/inc/facebook/mix.html
+++ b/templates/inc/facebook/mix.html
@@ -2,17 +2,13 @@
+
+
-
-
-
-
diff --git a/templates/inc/facebook_init.html b/templates/inc/facebook_init.html
old mode 100755
new mode 100644
diff --git a/templates/inc/fb_like.html b/templates/inc/fb_like.html
old mode 100755
new mode 100644
diff --git a/templates/inc/image_insert.html b/templates/inc/image_insert.html
old mode 100755
new mode 100644
diff --git a/templates/inc/meta.html b/templates/inc/meta.html
old mode 100755
new mode 100644
diff --git a/templates/inc/mix_edit_toolbar.html b/templates/inc/mix_edit_toolbar.html
old mode 100755
new mode 100644
diff --git a/templates/inc/track_player_ajax.html b/templates/inc/track_player_ajax.html
old mode 100755
new mode 100644
diff --git a/templates/inc/twitter.html b/templates/inc/twitter.html
old mode 100755
new mode 100644
diff --git a/templates/javascript/settings.js b/templates/javascript/settings.js
old mode 100755
new mode 100644
diff --git a/templates/openid/base.html b/templates/openid/base.html
old mode 100755
new mode 100644
diff --git a/templates/openid/login.html b/templates/openid/login.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/account_inactive.html b/templates/socialaccount/account_inactive.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/authentication_error.html b/templates/socialaccount/authentication_error.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/base.html b/templates/socialaccount/base.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/connections.html b/templates/socialaccount/connections.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/login_cancelled.html b/templates/socialaccount/login_cancelled.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/signup.html b/templates/socialaccount/signup.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/snippets/login_extra.html b/templates/socialaccount/snippets/login_extra.html
old mode 100755
new mode 100644
diff --git a/templates/socialaccount/snippets/provider_list.html b/templates/socialaccount/snippets/provider_list.html
old mode 100755
new mode 100644
diff --git a/templates/views/CommentListItemView.html b/templates/views/CommentListItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/CommentListView.html b/templates/views/CommentListView.html
old mode 100755
new mode 100644
diff --git a/templates/views/EventCreateView.html b/templates/views/EventCreateView.html
old mode 100755
new mode 100644
diff --git a/templates/views/EventItemView.html b/templates/views/EventItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/EventListItemView.html b/templates/views/EventListItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/EventListView.html b/templates/views/EventListView.html
old mode 100755
new mode 100644
diff --git a/templates/views/EventView.html b/templates/views/EventView.html
old mode 100755
new mode 100644
diff --git a/templates/views/HeaderView.html b/templates/views/HeaderView.html
old mode 100755
new mode 100644
diff --git a/templates/views/LoginView.html b/templates/views/LoginView.html
old mode 100755
new mode 100644
diff --git a/templates/views/MixCreateView.html b/templates/views/MixCreateView.html
old mode 100755
new mode 100644
diff --git a/templates/views/MixListItemView.html b/templates/views/MixListItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/MixListView.html b/templates/views/MixListView.html
old mode 100755
new mode 100644
diff --git a/templates/views/MixView.html b/templates/views/MixView.html
old mode 100755
new mode 100644
index 48b8777..85bb499
--- a/templates/views/MixView.html
+++ b/templates/views/MixView.html
@@ -1,4 +1,17 @@
-
+
+
+
+
diff --git a/templates/views/ReleaseAudioItemView.html b/templates/views/ReleaseAudioItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseAudioListView.html b/templates/views/ReleaseAudioListView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseCreateView.html b/templates/views/ReleaseCreateView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseItemView.html b/templates/views/ReleaseItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseListItemView.html b/templates/views/ReleaseListItemView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseListView.html b/templates/views/ReleaseListView.html
old mode 100755
new mode 100644
diff --git a/templates/views/ReleaseView.html b/templates/views/ReleaseView.html
old mode 100755
new mode 100644
diff --git a/templates/views/SidebarView.html b/templates/views/SidebarView.html
old mode 100755
new mode 100644
diff --git a/templates/views/UserView.html b/templates/views/UserView.html
old mode 100755
new mode 100644
diff --git a/utils.py b/utils.py
old mode 100755
new mode 100644