From 3ac0ec2ff403338ce7ab258c6a47e0b969706d78 Mon Sep 17 00:00:00 2001 From: asm582 Date: Fri, 10 Oct 2014 23:52:26 -0400 Subject: [PATCH 1/2] Removed blackbox.cs.washington It was already commented --- website/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/settings.py b/website/settings.py index ddcbd11..4c106f3 100644 --- a/website/settings.py +++ b/website/settings.py @@ -56,7 +56,7 @@ # Not currently used. This is left in for legacy installs #The url that corresponds to SEATTLECLEARINGHOUSE_USER_INSTALLERS_DIR -#SEATTLECLEARINGHOUSE_USER_INSTALLERS_URL = "https://blackbox.cs.washington.edu/dist/geni" + # Need to specify the LOGIN_URL, as our login page isn't at the default login # location (the default is /accounts/login). From d047755ae5cb4c6bfc5c09b8c0a66e5e26322947 Mon Sep 17 00:00:00 2001 From: asm582 Date: Sun, 5 Apr 2015 20:01:08 -0400 Subject: [PATCH 2/2] Removed dos style endings --- website/html/media/scripts/register.js | 46 +- website/html/templates/control/profile.html | 608 ++--- .../html/templates/download/installers.html | 78 +- website/html/tests/test_change_api_key.py | 234 +- website/html/tests/test_change_key.py | 400 +-- website/html/tests/test_del_resources.py | 314 +-- website/html/tests/test_get_resources.py | 370 +-- website/html/tests/test_register.py | 784 +++--- website/html/tests/test_renew_resources.py | 314 +-- website/html/tests/test_urls.py | 634 ++--- .../html/tests/ut_html_test_change_api_key.py | 238 +- website/html/tests/ut_html_test_change_key.py | 404 +-- .../html/tests/ut_html_test_del_resources.py | 318 +-- .../html/tests/ut_html_test_get_resources.py | 376 +-- website/html/tests/ut_html_test_register.py | 788 +++--- .../tests/ut_html_test_renew_resources.py | 318 +-- website/html/tests/ut_html_test_urls.py | 638 ++--- website/html/views.py | 2332 ++++++++--------- website/reports/views.py | 390 +-- website/xmlrpc/tests/ut_xmlrpc_frontend.py | 1018 +++---- xmlrpc_clients/seattleclearinghouse_xmlrpc.py | 1164 ++++---- 21 files changed, 5883 insertions(+), 5883 deletions(-) diff --git a/website/html/media/scripts/register.js b/website/html/media/scripts/register.js index 55d3365..87067d0 100644 --- a/website/html/media/scripts/register.js +++ b/website/html/media/scripts/register.js @@ -1,24 +1,24 @@ -/* - Edited by: Gaetano Pressimone - Last Modfied: Sept 20 2012 -*/ -$(document).ready(function() { - toggle_upload(); - get_resources_loading_indicator(); - $("#id_gen_upload_choice").change(toggle_upload); -}); - -function toggle_upload() { - if ($("#id_gen_upload_choice").val() == "1") { - $("#uploadkey").hide(); - } else { - $("#uploadkey").show(); - } -} -/* Disables submit button on press and shows the loading icon */ -function get_resources_loading_indicator() { - $("#middle > form").submit(function () { - $('input:submit').attr("disabled", true); - $("#loading_indicator").css('visibility', 'visible'); - }); +/* + Edited by: Gaetano Pressimone + Last Modfied: Sept 20 2012 +*/ +$(document).ready(function() { + toggle_upload(); + get_resources_loading_indicator(); + $("#id_gen_upload_choice").change(toggle_upload); +}); + +function toggle_upload() { + if ($("#id_gen_upload_choice").val() == "1") { + $("#uploadkey").hide(); + } else { + $("#uploadkey").show(); + } +} +/* Disables submit button on press and shows the loading icon */ +function get_resources_loading_indicator() { + $("#middle > form").submit(function () { + $('input:submit').attr("disabled", true); + $("#loading_indicator").css('visibility', 'visible'); + }); } \ No newline at end of file diff --git a/website/html/templates/control/profile.html b/website/html/templates/control/profile.html index 164ac88..fc480d3 100755 --- a/website/html/templates/control/profile.html +++ b/website/html/templates/control/profile.html @@ -1,304 +1,304 @@ -{% extends "control/control_base.html" %} - -{% comment %} - - profile.html - - - Originally by?: - Justin Samuel 2009 - - Modified: - Gaetano Pressimone Aug 2012 - - - Django template file for Seattle Clearinghouse's 'Profile' page. The page - shows user information and also allows editing of certain user fields. - - - control/control_base.html - - - common.css - profile.css - - - edit_profile.js - -