# HG changeset patch # User Brian Neal # Date 1379470411 18000 # Node ID f68694669023548f5cc3ace9bafc5b49018d7533 # Parent 13a1713d05b5cea08cd53028e87a5c0e48faef52# Parent 820e57e621e8631c7f2160819980f734b41f43be Merge with maintenance work. diff -r 13a1713d05b5 -r f68694669023 messages/static/js/tabbed_messages.js --- a/messages/static/js/tabbed_messages.js Tue Sep 17 17:54:21 2013 -0500 +++ b/messages/static/js/tabbed_messages.js Tue Sep 17 21:13:31 2013 -0500 @@ -18,7 +18,13 @@ }, load: function(event, ui) { selectedTab = ui; - if (doReply && ui.tab.index() == 1) + + if (ui.tab.index() == 1 && receiver && !doReply) + { + $('#id_receiver').val(receiver); + receiver = ''; + } + else if (doReply && ui.tab.index() == 1) { doReply = false; var msg = msgCache[$msgDialog.msgId]; diff -r 13a1713d05b5 -r f68694669023 requirements.txt --- a/requirements.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/requirements.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,4 +1,4 @@ -Django==1.5.2 +Django==1.5.4 Markdown==2.3.1 MySQL-python==1.2.4 -e git+https://github.com/gremmie/django-elsewhere.git@1203bd331aba4c5d4e702cc4e64d807310f2b591#egg=django_elsewhere-dev diff -r 13a1713d05b5 -r f68694669023 requirements_dev.txt --- a/requirements_dev.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/requirements_dev.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,4 +1,4 @@ -Django==1.5.2 +Django==1.5.4 Markdown==2.3.1 MySQL-python==1.2.4 django-debug-toolbar==0.9.4 diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/bio/userprofile_text.txt --- a/sg101/templates/search/indexes/bio/userprofile_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/bio/userprofile_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,11 +1,11 @@ -{{ object.user.username }} -{{ object.user.get_full_name }} -{{ object.location }} -{{ object.occupation }} -{{ object.interests }} -{{ object.profile_text }} -{{ object.signature }} +{{ object.user.username|safe }} +{{ object.user.get_full_name|safe }} +{{ object.location|safe }} +{{ object.occupation|safe }} +{{ object.interests|safe }} +{{ object.profile_text|safe }} +{{ object.signature|safe }} {% for website in object.user.website_profiles.all %} -{{ website.name }} +{{ website.name|safe }} {{ website.url }} {% endfor %} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/downloads/download_text.txt --- a/sg101/templates/search/indexes/downloads/download_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/downloads/download_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,4 +1,4 @@ -{{ object.title }} -{{ object.user.username }} -{{ object.user.get_full_name }} -{{ object.description }} +{{ object.title|safe }} +{{ object.user.username|safe }} +{{ object.user.get_full_name|safe }} +{{ object.description|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/forums/post_text.txt --- a/sg101/templates/search/indexes/forums/post_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/forums/post_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,3 +1,3 @@ -{{ object.user.username }} -{{ object.user.get_full_name }} -{{ object.body }} +{{ object.user.username|safe }} +{{ object.user.get_full_name|safe }} +{{ object.body|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/forums/topic_text.txt --- a/sg101/templates/search/indexes/forums/topic_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/forums/topic_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,3 +1,3 @@ -{{ object.name }} -{{ object.user.username }} -{{ object.user.get_full_name }} +{{ object.name|safe }} +{{ object.user.username|safe }} +{{ object.user.get_full_name|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/news/story_text.txt --- a/sg101/templates/search/indexes/news/story_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/news/story_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,6 +1,6 @@ -{{ object.title }} -{{ object.submitter.username }} -{{ object.submitter.get_full_name }} -{{ object.short_text }} -{{ object.long_text }} -{{ object.tags }} +{{ object.title|safe }} +{{ object.submitter.username|safe }} +{{ object.submitter.get_full_name|safe }} +{{ object.short_text|safe }} +{{ object.long_text|safe }} +{{ object.tags|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/podcast/item_text.txt --- a/sg101/templates/search/indexes/podcast/item_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/podcast/item_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,5 +1,5 @@ -{{ object.title }} -{{ object.author }} -{{ object.subtitle }} -{{ object.summary }} -{{ object.keywords }} +{{ object.title|safe }} +{{ object.author|safe }} +{{ object.subtitle|safe }} +{{ object.summary|safe }} +{{ object.keywords|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/weblinks/link_text.txt --- a/sg101/templates/search/indexes/weblinks/link_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/weblinks/link_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,5 +1,5 @@ -{{ object.title }} +{{ object.title|safe }} {{ object.url }} -{{ object.user.username }} -{{ object.user.get_full_name }} -{{ object.description }} +{{ object.user.username|safe }} +{{ object.user.get_full_name|safe }} +{{ object.description|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/indexes/ygroup/post_text.txt --- a/sg101/templates/search/indexes/ygroup/post_text.txt Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/indexes/ygroup/post_text.txt Tue Sep 17 21:13:31 2013 -0500 @@ -1,2 +1,2 @@ -{{ object.title }} -{{ object.msg }} +{{ object.title|safe }} +{{ object.msg|safe }} diff -r 13a1713d05b5 -r f68694669023 sg101/templates/search/search.html --- a/sg101/templates/search/search.html Tue Sep 17 17:54:21 2013 -0500 +++ b/sg101/templates/search/search.html Tue Sep 17 21:13:31 2013 -0500 @@ -9,13 +9,13 @@ var chkboxes = $('#search-form input[type="checkbox"]'); $('#chk_all').click(function() { chkboxes.each(function(index) { - $(this).attr('checked', true); + $(this).prop('checked', true); }); return false; }); $('#chk_none').click(function() { chkboxes.each(function(index) { - $(this).attr('checked', false); + $(this).prop('checked', false); }); return false; });