This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"newUserEmail":"jatuttle@**","id":1} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL http://localhost/intermap/store/index.cfm/api/v1/projects/1/share | |
Status Complete | |
Response Code 500 Internal Server Error | |
Protocol HTTP/1.1 | |
Method POST | |
Content-Type application/json | |
Client Address /127.0.0.1 | |
Remote Address localhost/127.0.0.1 | |
Timing | |
Request Start Time 8/4/11 1:55:18 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"newUserEmail":"[email protected]","id":3} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://code.google.com/p/mason/source/browse/trunk/contrib/socialnets/sim/field/network/stats/actorcentrality/InformationCentrality.java?r=355 | |
/* | |
Copyright 2010 by Sean Luke and George Mason University | |
Licensed under the Academic Free License version 3.0 | |
See the file "LICENSE" for more information | |
*/ | |
package sim.field.network.stats.actorcentrality; | |
import sim.field.network.stats.*; | |
import sim.field.network.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function startDelete(struct rc){ | |
//deleting of projects not yet allowed | |
//throw(type="API", errorCode="403"); | |
//before deleting the project, remove it from all assigned users | |
local.p = entityLoadByPK("project",rc.id); | |
for (local.u in local.p.getUsers()){ | |
local.u.removeProject(local.p); | |
} | |
ormFlush(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cffunction name="DELETE_term_cascades_to_interactions"> | |
<!--- delete termB instead of termA ---> | |
<cfset local.result = apiCall("DELETE", "/terms/2") /> | |
<cfset debug(local.result) /> | |
<cfset assertEquals("200 OK", local.result.statuscode, "Was not able to delete") /> | |
<cfset local.result = apiCall("GET", "/interactions/1") /> | |
<cfset debug(local.result) /> | |
<cfset assertEquals("404 Not Found", local.result.statuscode, "Delete was not successful") /> | |
<cfset local.result = apiCall("GET", "/interactions/3") /> | |
<cfset debug(local.result) /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/css/global.css | |
+++ b/css/global.css | |
@@ -300,6 +300,10 @@ ul#menu-main-menu li a { | |
#matrix #interactionMatrixParent { | |
padding-top: 10px; | |
} | |
+ #matrix #interactionMatrixParent h2 .button { | |
+ font-size: x-small; | |
+ float: right; | |
+ } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/intermap/models/Interaction.js b/js/intermap/models/Interaction.js | |
index 5b74c7b..c10c4e0 100644 | |
--- a/js/intermap/models/Interaction.js | |
+++ b/js/intermap/models/Interaction.js | |
@@ -7,7 +7,7 @@ var Interaction = Backbone.Model.extend({ | |
comment: '' | |
}, | |
initialize: function(args) { | |
- _.bindAll(this, 'hasTerm'); | |
+ _.bindAll(this, 'hasTerm', 'destroy'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitignore b/.gitignore | |
index 2831ed6..70cd85f 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -7,3 +7,4 @@ tmp/**/* | |
config/database.yml | |
.rvmrc | |
.DS_Store | |
+mysql2 | |
\ No newline at end of file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub SeparateCommentsFromActiveSheet() | |
SeparateComments (ActiveSheet.Name) | |
End Sub | |
Sub SeparateComments(sheetToExamineName As String) | |
Set sheetToExamine = ActiveWorkbook.Sheets(sheetToExamineName) | |
Dim startingCell As Range | |
Dim examineCells As Range | |
Dim cell As Range |