Skip to content

Commit

Permalink
Fixed broken commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard C. Davis committed Nov 1, 2013
1 parent 4880b5f commit 0e6e7ed
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 178 deletions.
4 changes: 0 additions & 4 deletions app/js/angular/console-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function ConsoleController($scope,$resource,sharedProperties, sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.showdetails = false;
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/groups-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function GroupsController($scope,$resource,sharedProperties, sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.showdetails = false;
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/index-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function IndexController($scope,$resource,sharedProperties, sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.showdetails = false;
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/profile-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ function ProfileController($scope,$resource,sharedProperties, sharedFunctions){
$scope.profile_user = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "g_hash": "", 'u_isadmin': false, 'u_isactive': false, 'u_changed': 0};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.showdetails = false;
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/search-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function SearchController($scope,$resource,sharedProperties, sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.showdetails = false;
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/sketch-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function SketchController($scope,$resource,sharedProperties,sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.search = "";
Expand Down
4 changes: 0 additions & 4 deletions app/js/angular/view-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function ViewController($scope,$resource,sharedProperties,sharedFunctions){
$scope.User = {"id": 0, "u_name" :"Anonymous User", "u_realname" :"Anonymous User", "u_login": false, "u_email": "", "g_hash": "", 'u_created': "", 'u_lastlogin': "", 'u_logincount': "", 'u_version': 1.0, 'u_isadmin': false, 'u_isactive': false};

$scope.backend_locations = [
<<<<<<< HEAD
{url : 'ksketchweb.appspot.com', urlName : 'remote backend' },
=======
{url : sharedProperties.getBackendUrl(), urlName : 'remote backend' },
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
{url : 'localhost:8080', urlName : 'localhost' } ];

$scope.search = "";
Expand Down
37 changes: 0 additions & 37 deletions app/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,45 +48,8 @@

<script type="text/javascript" src="swf/swfobject.js"></script>

<<<<<<< HEAD
<!-- SWF Save/Load JS Code Go HERE! This was originally taken from "KSketchCallBacks.js". -->

<!-- script type="text/javascript" src="KSketchCallBacks.js"></script -->
<script type="text/javascript">

//Function to trigger Janrain login plugin

(function() {
if (typeof window.janrain !== 'object') window.janrain = {};
if (typeof window.janrain.settings !== 'object') window.janrain.settings = {};

janrain.settings.tokenUrl = 'http://ksketchweb.appspot.com/user/janrain';

function isReady() { janrain.ready = true; };
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", isReady, false);
} else {
window.attachEvent('onload', isReady);
}

var e = document.createElement('script');
e.type = 'text/javascript';
e.id = 'janrainAuthWidget';

if (document.location.protocol === 'https:') {
e.src = 'https://rpxnow.com/js/lib/ksketch/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/ksketch/engage.js';
}

var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
})();
</script>
=======
<script type="text/javascript" src="js/janrain/janrain_widget.js"></script>
<script type="text/javascript" src="js/common/notification.js"></script>
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c

<script type="text/javascript">
function QueryString() {
Expand Down
37 changes: 0 additions & 37 deletions app/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,45 +48,8 @@

<script type="text/javascript" src="swf/swfobject.js"></script>

<<<<<<< HEAD
<!-- SWF Save/Load JS Code Go HERE! This was originally taken from "KSketchCallBacks.js". -->

<!-- script type="text/javascript" src="KSketchCallBacks.js"></script -->
<script type="text/javascript">

//Function to trigger Janrain login plugin

(function() {
if (typeof window.janrain !== 'object') window.janrain = {};
if (typeof window.janrain.settings !== 'object') window.janrain.settings = {};

janrain.settings.tokenUrl = 'http://ksketchweb.appspot.com/user/janrain';

function isReady() { janrain.ready = true; };
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", isReady, false);
} else {
window.attachEvent('onload', isReady);
}

var e = document.createElement('script');
e.type = 'text/javascript';
e.id = 'janrainAuthWidget';

if (document.location.protocol === 'https:') {
e.src = 'https://rpxnow.com/js/lib/ksketch/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/ksketch/engage.js';
}

var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
})();
</script>
=======
<script type="text/javascript" src="js/janrain/janrain_widget.js"></script>
<script type="text/javascript" src="js/common/notification.js"></script>
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c

<script type="text/javascript">
function QueryString() {
Expand Down
37 changes: 0 additions & 37 deletions app/sketch.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,8 @@

<script type="text/javascript" src="swf/swfobject.js"></script>

<<<<<<< HEAD
<!-- SWF Save/Load JS Code Go HERE! This was originally taken from "KSketchCallBacks.js". -->

<!-- script type="text/javascript" src="swf/KSketchCallBacks.js"></script -->
<script type="text/javascript">

//Function to trigger Janrain login plugin

(function() {
if (typeof window.janrain !== 'object') window.janrain = {};
if (typeof window.janrain.settings !== 'object') window.janrain.settings = {};

janrain.settings.tokenUrl = 'http://ksketchweb.appspot.com/user/janrain';

function isReady() { janrain.ready = true; };
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", isReady, false);
} else {
window.attachEvent('onload', isReady);
}

var e = document.createElement('script');
e.type = 'text/javascript';
e.id = 'janrainAuthWidget';

if (document.location.protocol === 'https:') {
e.src = 'https://rpxnow.com/js/lib/ksketch/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/ksketch/engage.js';
}

var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
})();
</script>
=======
<script type="text/javascript" src="js/janrain/janrain_widget.js"></script>
<script type="text/javascript" src="js/common/notification.js"></script>
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c

<script type="text/javascript">
window.onbeforeunload = function(){
Expand Down
30 changes: 0 additions & 30 deletions app/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,37 +51,7 @@
<script type="text/javascript" src="js/janrain/janrain_widget.js"></script>
<script type="text/javascript" src="js/common/notification.js"></script>

<<<<<<< HEAD
<!-- script type="text/javascript" src="swf/KSketchCallBacks.js"></script -->
<script type="text/javascript">

//Function to trigger Janrain login plugin

(function() {
if (typeof window.janrain !== 'object') window.janrain = {};
if (typeof window.janrain.settings !== 'object') window.janrain.settings = {};

janrain.settings.tokenUrl = 'http://ksketchweb.appspot.com/user/janrain';

function isReady() { janrain.ready = true; };
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", isReady, false);
} else {
window.attachEvent('onload', isReady);
}

var e = document.createElement('script');
e.type = 'text/javascript';
e.id = 'janrainAuthWidget';

if (document.location.protocol === 'https:') {
e.src = 'https://rpxnow.com/js/lib/ksketch/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/ksketch/engage.js';
}
=======
<!-- SWF Save/Load JS Code Go HERE! This was originally taken from "KSketchCallBacks.js". -->
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c

<script type="text/javascript">
//Function to trigger a save procedure in the flash object
Expand Down
10 changes: 1 addition & 9 deletions rpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@
else:
BASE_URL = 'localhost:%s' % os.environ['SERVER_PORT']
else:
<<<<<<< HEAD
BASE_URL = 'ksketchweb.appspot.com'
=======
BASE_URL = 'k-sketch-test.appspot.com' #Change this to desired URL
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
LOGIN_IFRAME = '<iframe src="http://gae-sesssions-demo.rpxnow.com/openid/embed?token_url=http%3A%2F%2F' + BASE_URL + '%2Frpx_response" scrolling="no" frameBorder="no" allowtransparency="true" style="width:400px;height:240px"></iframe>'

class UTC(datetime.tzinfo):
Expand Down Expand Up @@ -399,11 +395,7 @@ def post(self): #/user/janrain
url = 'https://rpxnow.com/api/v2/auth_info'
args = {
'format': 'json',
<<<<<<< HEAD
'apiKey': '6c8271a5a23692efa86799f3438e3ac7b0525ac0',
=======
'apiKey': '5fa9fabfa1141896e2d4025efd640ea5c1f54776', #Change to api key provided in Janrain
>>>>>>> 57f7773d73da6e3f5bb6a146206c037708c7111c
'apiKey': '6c8271a5a23692efa86799f3438e3ac7b0525ac0', #Change to api key provided in Janrain
'token': token
}
r = urlfetch.fetch(url=url,
Expand Down

0 comments on commit 0e6e7ed

Please sign in to comment.