diff options
Diffstat (limited to 'src')
105 files changed, 1839 insertions, 0 deletions
diff --git a/src/client-tests/anotherScript.js b/src/client-tests/anotherScript.js index 93da9fbf..3b65bab1 100644 --- a/src/client-tests/anotherScript.js +++ b/src/client-tests/anotherScript.js @@ -1,2 +1,20 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + debugger console.log(window.__myObject); diff --git a/src/client-tests/base.js b/src/client-tests/base.js index 64c34b3a..e922e0f1 100644 --- a/src/client-tests/base.js +++ b/src/client-tests/base.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var fs = require('fs'), jsdom = require('jsdom'), addScript = require('./test_util').addScript; diff --git a/src/client-tests/run_tests.js b/src/client-tests/run_tests.js index bfc129eb..fd440fe7 100644 --- a/src/client-tests/run_tests.js +++ b/src/client-tests/run_tests.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var fs = require('fs'); var spawn = require('child_process').spawn; diff --git a/src/client-tests/test2.js b/src/client-tests/test2.js index 0f8db81f..a8cf9368 100644 --- a/src/client-tests/test2.js +++ b/src/client-tests/test2.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define('test2', function() { console.log('hello from test2 factory'); return {'me': 'not you'}; diff --git a/src/client-tests/test_analyzer.js b/src/client-tests/test_analyzer.js index 441f0dde..593e39f1 100644 --- a/src/client-tests/test_analyzer.js +++ b/src/client-tests/test_analyzer.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var base = require('./base'); var data = [ diff --git a/src/client-tests/test_app.js b/src/client-tests/test_app.js index 6696c1fc..b8b36193 100644 --- a/src/client-tests/test_app.js +++ b/src/client-tests/test_app.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + // mocks just to all run_tests to succeed if (typeof define == 'undefined') { function define(mod, cb) { diff --git a/src/client-tests/test_globals.js b/src/client-tests/test_globals.js index 03dd1cf9..04345c36 100644 --- a/src/client-tests/test_globals.js +++ b/src/client-tests/test_globals.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var base = require('./base'); var util = require('../src/util'); diff --git a/src/client-tests/test_require_js.js b/src/client-tests/test_require_js.js index aa71018e..3ee63e74 100644 --- a/src/client-tests/test_require_js.js +++ b/src/client-tests/test_require_js.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var jsdom = require("jsdom").jsdom; var document = jsdom(); var window = document.parentWindow; diff --git a/src/client-tests/test_script_jsdom.js b/src/client-tests/test_script_jsdom.js index 1ae5835f..53fca12a 100644 --- a/src/client-tests/test_script_jsdom.js +++ b/src/client-tests/test_script_jsdom.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var jsdom = require("jsdom").jsdom; var window = jsdom().parentWindow; diff --git a/src/client-tests/test_util.js b/src/client-tests/test_util.js index 7780b0ad..ab829310 100644 --- a/src/client-tests/test_util.js +++ b/src/client-tests/test_util.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + function new_deffer() { var deffer = { cb: null, diff --git a/src/client-tests/util/RhiziHTTPServer.py b/src/client-tests/util/RhiziHTTPServer.py index 29e8980d..55e3e13d 100644 --- a/src/client-tests/util/RhiziHTTPServer.py +++ b/src/client-tests/util/RhiziHTTPServer.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Inherits from python-2 SimpleHTTPServer (same bug exists in python3 http.server) to fix issue where query argument is mistakenly treated as a diff --git a/src/client/app.js b/src/client/app.js index 7b74724c..d2c25b1d 100644 --- a/src/client/app.js +++ b/src/client/app.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + (function() { var lib_path = '/static/lib/'; diff --git a/src/client/build.js b/src/client/build.js index df63be02..43a3aee4 100644 --- a/src/client/build.js +++ b/src/client/build.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + ({ baseUrl: ".", shim: { diff --git a/src/client/buttons.js b/src/client/buttons.js index 9bb4159d..92b3b41e 100644 --- a/src/client/buttons.js +++ b/src/client/buttons.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery', 'rz_core', 'rz_api_backend', 'view/selection', 'view/cmd_bar'], diff --git a/src/client/consts.js b/src/client/consts.js index b1baa5d9..e3485c8f 100644 --- a/src/client/consts.js +++ b/src/client/consts.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(function() { diff --git a/src/client/devtools.js b/src/client/devtools.js index 9e0bd308..aeb4d93b 100644 --- a/src/client/devtools.js +++ b/src/client/devtools.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery', 'rz_core', 'FileSaver'], diff --git a/src/client/drag_n_drop.js b/src/client/drag_n_drop.js index aae79497..cb429f6b 100644 --- a/src/client/drag_n_drop.js +++ b/src/client/drag_n_drop.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'rz_core'], function($, rz_core) { function init() { diff --git a/src/client/history.js b/src/client/history.js index 8bd571fb..5b511778 100644 --- a/src/client/history.js +++ b/src/client/history.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" // Once upon a time we shall have a versioned property graph from which history // will be one extractable aspect, much like a git for graphs. Now we just have diff --git a/src/client/keyshortcuts.js b/src/client/keyshortcuts.js index e2daaef7..d443c265 100644 --- a/src/client/keyshortcuts.js +++ b/src/client/keyshortcuts.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'rz_core', 'view/selection'], function($, rz_core, selection) { diff --git a/src/client/main.js b/src/client/main.js index e4735afe..c0f042f5 100644 --- a/src/client/main.js +++ b/src/client/main.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + /** * [!] order must match function args order */ diff --git a/src/client/messages.js b/src/client/messages.js index 8c4a1b2e..655b0d29 100644 --- a/src/client/messages.js +++ b/src/client/messages.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define( ['underscore', 'util', 'model/graph'], function (_, util, graph) { diff --git a/src/client/model/core.js b/src/client/model/core.js index dd5dc6d1..a98e9641 100644 --- a/src/client/model/core.js +++ b/src/client/model/core.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/client/model/diff.js b/src/client/model/diff.js index 5d515998..66969b9b 100644 --- a/src/client/model/diff.js +++ b/src/client/model/diff.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/client/model/graph.js b/src/client/model/graph.js index 4b8117f2..46e05030 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['underscore', 'Bacon', 'consts', 'util', 'model/core', 'model/util', 'model/diff', 'rz_api_backend', 'rz_api_mesh', 'history', 'model/types'], diff --git a/src/client/model/types.js b/src/client/model/types.js index 9e4512f5..d4c4aa81 100644 --- a/src/client/model/types.js +++ b/src/client/model/types.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['underscore', 'util', 'domain_types'], function(_, util, domain_types) { diff --git a/src/client/model/util.js b/src/client/model/util.js index 21d7dbca..179c480d 100644 --- a/src/client/model/util.js +++ b/src/client/model/util.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/client/pw_reset.js b/src/client/pw_reset.js index ffdeb0ad..a314f579 100644 --- a/src/client/pw_reset.js +++ b/src/client/pw_reset.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define('pw_reset__common', ['jquery'], function($) { diff --git a/src/client/robot.js b/src/client/robot.js index cfe13482..580153f0 100644 --- a/src/client/robot.js +++ b/src/client/robot.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'consts'], function($, consts) { diff --git a/src/client/rz_api_backend.js b/src/client/rz_api_backend.js index d8dbcc50..8f4dbbdd 100644 --- a/src/client/rz_api_backend.js +++ b/src/client/rz_api_backend.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict"; /** diff --git a/src/client/rz_api_mesh.js b/src/client/rz_api_mesh.js index 9014dbac..81d10882 100644 --- a/src/client/rz_api_mesh.js +++ b/src/client/rz_api_mesh.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + /** * API calls designed to execute in decentralized fashion */ diff --git a/src/client/rz_bus.js b/src/client/rz_bus.js index 444573a4..891d2981 100644 --- a/src/client/rz_bus.js +++ b/src/client/rz_bus.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['consts', 'Bacon'], diff --git a/src/client/rz_core.js b/src/client/rz_core.js index 8a097a02..a4872ff5 100644 --- a/src/client/rz_core.js +++ b/src/client/rz_core.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery', 'd3', 'consts', 'rz_bus', 'util', 'model/graph', 'model/core', 'view/item_info', 'rz_observer', 'view/selection', 'rz_mesh', 'model/diff', "view/graph_view", 'view/svg_input', 'view/filter_menu', 'view/activity', 'rz_api_backend', 'view/toolbar__status'], diff --git a/src/client/rz_mesh.js b/src/client/rz_mesh.js index d464ba0a..cc68914f 100644 --- a/src/client/rz_mesh.js +++ b/src/client/rz_mesh.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/client/rz_observer.js b/src/client/rz_observer.js index 718fd0a2..a961626a 100644 --- a/src/client/rz_observer.js +++ b/src/client/rz_observer.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/client/textanalysis.js b/src/client/textanalysis.js index ba55cef7..d493d259 100644 --- a/src/client/textanalysis.js +++ b/src/client/textanalysis.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['rz_core', 'model/core', 'model/util', 'model/diff', 'model/types', 'consts', 'util'], function(rz_core, model_core, model_util, model_diff, model_types, consts, util) { "use strict"; diff --git a/src/client/textanalysis.ui.js b/src/client/textanalysis.ui.js index 13c861d0..d20b03e1 100644 --- a/src/client/textanalysis.ui.js +++ b/src/client/textanalysis.ui.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery', 'Bacon', 'consts', 'rz_bus', 'rz_core', 'textanalysis', 'util', 'view/textanalyser_input', 'model/types'], diff --git a/src/client/user_login.js b/src/client/user_login.js index 638e0add..92dbe570 100644 --- a/src/client/user_login.js +++ b/src/client/user_login.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" function submit_login_form() { diff --git a/src/client/user_signup.js b/src/client/user_signup.js index 84e2a2e1..24651a8e 100644 --- a/src/client/user_signup.js +++ b/src/client/user_signup.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" function signup_form__submit() { diff --git a/src/client/util.js b/src/client/util.js index 69647972..6fd3bb0e 100644 --- a/src/client/util.js +++ b/src/client/util.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['underscore', 'jquery'], function(_, $) { diff --git a/src/client/view/activity.js b/src/client/view/activity.js index be1ce7b0..93b106f1 100644 --- a/src/client/view/activity.js +++ b/src/client/view/activity.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'underscore', 'Bacon', 'view/selection'], function($, _, Bacon, selection) { diff --git a/src/client/view/bubble.js b/src/client/view/bubble.js index c9f45701..fa8811c9 100644 --- a/src/client/view/bubble.js +++ b/src/client/view/bubble.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(["jquery", "Bacon"], function ($, Bacon) { diff --git a/src/client/view/cmd_bar.js b/src/client/view/cmd_bar.js index 31690850..d4214856 100644 --- a/src/client/view/cmd_bar.js +++ b/src/client/view/cmd_bar.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery'], diff --git a/src/client/view/completer.js b/src/client/view/completer.js index 368690c3..4dc3bfc4 100644 --- a/src/client/view/completer.js +++ b/src/client/view/completer.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define( ['jquery', 'Bacon', 'util', 'consts'], function($, Bacon, util, consts) { diff --git a/src/client/view/filter_menu.js b/src/client/view/filter_menu.js index d7e95a98..0c07a5a5 100644 --- a/src/client/view/filter_menu.js +++ b/src/client/view/filter_menu.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery'], function($) { diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 4d736f78..721e71ed 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + /* view of a single graph in a graph tree. * * Usage is of a two graph system: diff --git a/src/client/view/item_info.js b/src/client/view/item_info.js index 6f2466c9..c0631553 100644 --- a/src/client/view/item_info.js +++ b/src/client/view/item_info.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'util', 'consts', 'model/diff', 'model/types', 'model/graph', 'messages'], function($, util, consts, model_diff, model_types, graph, messages) { diff --git a/src/client/view/layouts.js b/src/client/view/layouts.js index a384ee4c..26e9ead4 100644 --- a/src/client/view/layouts.js +++ b/src/client/view/layouts.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['consts', 'jquery', 'd3', 'underscore'], function(consts, $, d3, _) { diff --git a/src/client/view/search.js b/src/client/view/search.js index c68f5098..41075c28 100644 --- a/src/client/view/search.js +++ b/src/client/view/search.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['consts', 'view/completer', 'textanalysis', 'rz_core', 'view/selection'], function(consts, completer, textanalysis, rz_core, selection) { diff --git a/src/client/view/selection.js b/src/client/view/selection.js index ae3be8b2..ae4d3d45 100644 --- a/src/client/view/selection.js +++ b/src/client/view/selection.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['Bacon', 'jquery', 'underscore', 'messages', 'util'], function(Bacon, $, _, messages, util) { diff --git a/src/client/view/svg_input.js b/src/client/view/svg_input.js index 0e466c64..bb80aa65 100644 --- a/src/client/view/svg_input.js +++ b/src/client/view/svg_input.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'Bacon', 'consts', 'model/diff', 'rz_bus', 'consts'], function($, Bacon, consts, model_diff, rz_bus, consts) { diff --git a/src/client/view/textanalyser_input.js b/src/client/view/textanalyser_input.js index 89602008..a8769d07 100644 --- a/src/client/view/textanalyser_input.js +++ b/src/client/view/textanalyser_input.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define(['jquery', 'Bacon', 'underscore', 'util', 'view/completer', 'rz_bus', 'textanalysis', 'consts'], function($, Bacon, _, util, completer, rz_bus, textanalysis, consts) { diff --git a/src/client/view/timeline.js b/src/client/view/timeline.js index 0a26c0a7..aac9de3c 100644 --- a/src/client/view/timeline.js +++ b/src/client/view/timeline.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" define(['jquery', 'rz_core'], diff --git a/src/client/view/toolbar__status.js b/src/client/view/toolbar__status.js index b58aedab..400530a0 100644 --- a/src/client/view/toolbar__status.js +++ b/src/client/view/toolbar__status.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + "use strict" /** diff --git a/src/local/domain/__init__.py b/src/local/domain/__init__.py index e69de29b..a39f290c 100644 --- a/src/local/domain/__init__.py +++ b/src/local/domain/__init__.py @@ -0,0 +1,17 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + diff --git a/src/local/domain/cri.rhizi.net/__init__.py b/src/local/domain/cri.rhizi.net/__init__.py index e69de29b..a39f290c 100644 --- a/src/local/domain/cri.rhizi.net/__init__.py +++ b/src/local/domain/cri.rhizi.net/__init__.py @@ -0,0 +1,17 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + diff --git a/src/local/domain/cri.rhizi.net/deliverables_generator.js b/src/local/domain/cri.rhizi.net/deliverables_generator.js index c4454609..20131105 100644 --- a/src/local/domain/cri.rhizi.net/deliverables_generator.js +++ b/src/local/domain/cri.rhizi.net/deliverables_generator.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + var fs = require('fs'); function randomDate(start, end) { diff --git a/src/local/domain/cri.rhizi.net/domain_types.js b/src/local/domain/cri.rhizi.net/domain_types.js index b7604874..3d7c3492 100644 --- a/src/local/domain/cri.rhizi.net/domain_types.js +++ b/src/local/domain/cri.rhizi.net/domain_types.js @@ -1,3 +1,21 @@ +/* + This file is part of rhizi, a collaborative knowledge graph editor. + Copyright (C) 2014-2015 Rhizi + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + define({ type_attributes: [ ['internship', { diff --git a/src/local/domain/cri.rhizi.net/test_domain__CRI.py b/src/local/domain/cri.rhizi.net/test_domain__CRI.py index 5a28c803..cb4696b4 100644 --- a/src/local/domain/cri.rhizi.net/test_domain__CRI.py +++ b/src/local/domain/cri.rhizi.net/test_domain__CRI.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import inspect import logging import tempfile diff --git a/src/local/domain/sage/sage_csv_to_sage_json.py b/src/local/domain/sage/sage_csv_to_sage_json.py index b89670ab..6c7ad932 100755 --- a/src/local/domain/sage/sage_csv_to_sage_json.py +++ b/src/local/domain/sage/sage_csv_to_sage_json.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/bin/env python """ diff --git a/src/local/rz-mux/rz-mux-tool.py b/src/local/rz-mux/rz-mux-tool.py index 270f57e4..5c450f1f 100644 --- a/src/local/rz-mux/rz-mux-tool.py +++ b/src/local/rz-mux/rz-mux-tool.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Multiplexed-Rhizi instance configuration generator: - generate Apache instance configuration files diff --git a/src/local/server-tools/rz.py b/src/local/server-tools/rz.py index 001512b8..fd989be4 100644 --- a/src/local/server-tools/rz.py +++ b/src/local/server-tools/rz.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # hack to setup rhizi path - needs a proper install import sys import os diff --git a/src/local/server-tools/rz_backup.py b/src/local/server-tools/rz_backup.py index 115727db..f40d24b7 100755 --- a/src/local/server-tools/rz_backup.py +++ b/src/local/server-tools/rz_backup.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python2.7 import click diff --git a/src/local/server-tools/rz_doc.py b/src/local/server-tools/rz_doc.py index 09cca6c9..91d85d0a 100755 --- a/src/local/server-tools/rz_doc.py +++ b/src/local/server-tools/rz_doc.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python2.7 import argparse # TODO - use the newer / shorter argument parser. y? diff --git a/src/local/server-tools/rz_user.py b/src/local/server-tools/rz_user.py index e0404f32..1f01f699 100755 --- a/src/local/server-tools/rz_user.py +++ b/src/local/server-tools/rz_user.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python2.7 import argparse diff --git a/src/server-tests/neo4j_test_util.py b/src/server-tests/neo4j_test_util.py index 6ea940e7..ef777150 100644 --- a/src/server-tests/neo4j_test_util.py +++ b/src/server-tests/neo4j_test_util.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from random import choice import string import uuid diff --git a/src/server-tests/test_db_controller.py b/src/server-tests/test_db_controller.py index 27275f08..7abf60e0 100644 --- a/src/server-tests/test_db_controller.py +++ b/src/server-tests/test_db_controller.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import logging import unittest diff --git a/src/server-tests/test_neo4j_cypher.py b/src/server-tests/test_neo4j_cypher.py index b6601076..6310b4ec 100644 --- a/src/server-tests/test_neo4j_cypher.py +++ b/src/server-tests/test_neo4j_cypher.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # coding=utf-8 # TODO: rm on python 3 migration import unittest diff --git a/src/server-tests/test_rhizi_api.py b/src/server-tests/test_rhizi_api.py index 2924f4e8..f4ad906a 100644 --- a/src/server-tests/test_rhizi_api.py +++ b/src/server-tests/test_rhizi_api.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import json import logging import unittest diff --git a/src/server-tests/test_rz_mesh.py b/src/server-tests/test_rz_mesh.py index 6e6b8b3f..7c8f8cbe 100644 --- a/src/server-tests/test_rz_mesh.py +++ b/src/server-tests/test_rz_mesh.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from greenlet import greenlet import json import logging diff --git a/src/server-tests/test_rz_user.py b/src/server-tests/test_rz_user.py index 0ad70063..4360789a 100644 --- a/src/server-tests/test_rz_user.py +++ b/src/server-tests/test_rz_user.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import json import logging import unittest diff --git a/src/server-tests/test_rz_user_db.py b/src/server-tests/test_rz_user_db.py index b791f879..42f2fc8c 100644 --- a/src/server-tests/test_rz_user_db.py +++ b/src/server-tests/test_rz_user_db.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import tempfile import unittest diff --git a/src/server-tests/test_rzdoc.py b/src/server-tests/test_rzdoc.py index d32c2b45..5a0dede3 100644 --- a/src/server-tests/test_rzdoc.py +++ b/src/server-tests/test_rzdoc.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import logging import time import unittest diff --git a/src/server-tests/test_util.py b/src/server-tests/test_util.py index 461ec401..4f409830 100644 --- a/src/server-tests/test_util.py +++ b/src/server-tests/test_util.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Various test utilities """ diff --git a/src/server-tests/test_util__pydev.py b/src/server-tests/test_util__pydev.py index 87e9f7b4..ac7d011e 100644 --- a/src/server-tests/test_util__pydev.py +++ b/src/server-tests/test_util__pydev.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ PYDev test utilities """ diff --git a/src/server-tests/test_util__rzdoc.py b/src/server-tests/test_util__rzdoc.py index f2ad2004..5371c4aa 100644 --- a/src/server-tests/test_util__rzdoc.py +++ b/src/server-tests/test_util__rzdoc.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from db_op import DBO_raw_query_set import neo4j_util diff --git a/src/server/__init__.py b/src/server/__init__.py index e69de29b..a39f290c 100644 --- a/src/server/__init__.py +++ b/src/server/__init__.py @@ -0,0 +1,17 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + diff --git a/src/server/crypt_util.py b/src/server/crypt_util.py index 057ed4bc..a8815c22 100644 --- a/src/server/crypt_util.py +++ b/src/server/crypt_util.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import hashlib import logging diff --git a/src/server/db_controller.py b/src/server/db_controller.py index 76cb540a..6eda785a 100644 --- a/src/server/db_controller.py +++ b/src/server/db_controller.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python import logging diff --git a/src/server/db_driver.py b/src/server/db_driver.py index 574b4a60..6063f1dd 100644 --- a/src/server/db_driver.py +++ b/src/server/db_driver.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import logging from neo4j_util import Neo4JException diff --git a/src/server/db_op.py b/src/server/db_op.py index 265d745d..2f745b57 100644 --- a/src/server/db_op.py +++ b/src/server/db_op.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from copy import deepcopy import hashlib import logging diff --git a/src/server/model/__init__.py b/src/server/model/__init__.py index e69de29b..a39f290c 100644 --- a/src/server/model/__init__.py +++ b/src/server/model/__init__.py @@ -0,0 +1,17 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + diff --git a/src/server/model/graph.py b/src/server/model/graph.py index da38a652..6244af6c 100644 --- a/src/server/model/graph.py +++ b/src/server/model/graph.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import json class Attr_Diff(dict): diff --git a/src/server/model/model.py b/src/server/model/model.py index 1f97d69b..81da8d81 100644 --- a/src/server/model/model.py +++ b/src/server/model/model.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import base64 import gzip import json diff --git a/src/server/neo4j_cypher.py b/src/server/neo4j_cypher.py index 31a73450..e9856c70 100644 --- a/src/server/neo4j_cypher.py +++ b/src/server/neo4j_cypher.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Neo4j DB object """ diff --git a/src/server/neo4j_cypher_parser.py b/src/server/neo4j_cypher_parser.py index b038000e..4cf82e0c 100644 --- a/src/server/neo4j_cypher_parser.py +++ b/src/server/neo4j_cypher_parser.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Cypher language parser - clear logical separation between lexing/parsing still missing diff --git a/src/server/neo4j_qt.py b/src/server/neo4j_qt.py index 5bdb9604..4b4ffa3f 100644 --- a/src/server/neo4j_qt.py +++ b/src/server/neo4j_qt.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from neo4j_cypher import Query_Struct_Type, DB_Query from neo4j_util import rzdoc__ns_label, rzdoc__meta_ns_label from neo4j_cypher_parser import p_path, p_node diff --git a/src/server/neo4j_schema.py b/src/server/neo4j_schema.py index 3c87daef..8ebe7814 100644 --- a/src/server/neo4j_schema.py +++ b/src/server/neo4j_schema.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # # meta label schema # diff --git a/src/server/neo4j_util.py b/src/server/neo4j_util.py index e4d36267..e1dca82a 100644 --- a/src/server/neo4j_util.py +++ b/src/server/neo4j_util.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Utility code in speaking the neo4j REST api """ diff --git a/src/server/rz_api.py b/src/server/rz_api.py index 38db7640..82b2c719 100644 --- a/src/server/rz_api.py +++ b/src/server/rz_api.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Rhizi web API diff --git a/src/server/rz_api_common.py b/src/server/rz_api_common.py index 63954dc3..0440e1d5 100644 --- a/src/server/rz_api_common.py +++ b/src/server/rz_api_common.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Common public API logic: - object sanitization for inbound data diff --git a/src/server/rz_api_rest.py b/src/server/rz_api_rest.py index f6bc0089..81d92f19 100644 --- a/src/server/rz_api_rest.py +++ b/src/server/rz_api_rest.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Rhizi REST web API: - make use of rz_kernel for core logic execution diff --git a/src/server/rz_api_websocket.py b/src/server/rz_api_websocket.py index 871237e6..cd5a6fa6 100644 --- a/src/server/rz_api_websocket.py +++ b/src/server/rz_api_websocket.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Rhizi websocket web API """ diff --git a/src/server/rz_blob.py b/src/server/rz_blob.py index 03fbf321..f07199e0 100644 --- a/src/server/rz_blob.py +++ b/src/server/rz_blob.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from flask import Flask, send_from_directory, request from werkzeug import secure_filename diff --git a/src/server/rz_config.py b/src/server/rz_config.py index 28d25fcf..e49d57aa 100644 --- a/src/server/rz_config.py +++ b/src/server/rz_config.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # -*- coding: utf-8 -*- import logging diff --git a/src/server/rz_feedback.py b/src/server/rz_feedback.py index 48f64258..2f6074c4 100644 --- a/src/server/rz_feedback.py +++ b/src/server/rz_feedback.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import base64 from flask import current_app from flask import json diff --git a/src/server/rz_kernel.py b/src/server/rz_kernel.py index c482637b..d02b5b62 100644 --- a/src/server/rz_kernel.py +++ b/src/server/rz_kernel.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Rhizi kernel, home to core operation login """ diff --git a/src/server/rz_mail.py b/src/server/rz_mail.py index 7680dd38..23258681 100644 --- a/src/server/rz_mail.py +++ b/src/server/rz_mail.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from email import Encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart diff --git a/src/server/rz_mesh.py b/src/server/rz_mesh.py index 8a46b7b2..761403ae 100644 --- a/src/server/rz_mesh.py +++ b/src/server/rz_mesh.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from collections import namedtuple from flask import request from functools import wraps diff --git a/src/server/rz_req_handling.py b/src/server/rz_req_handling.py index b39d7c0c..36f0fa7b 100644 --- a/src/server/rz_req_handling.py +++ b/src/server/rz_req_handling.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from flask import make_response from functools import wraps import json diff --git a/src/server/rz_server.py b/src/server/rz_server.py index ebc2444e..6c2b1a0d 100644 --- a/src/server/rz_server.py +++ b/src/server/rz_server.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python2.7 import argparse diff --git a/src/server/rz_server_ctrl.py b/src/server/rz_server_ctrl.py index e9344fa4..cb1647bf 100644 --- a/src/server/rz_server_ctrl.py +++ b/src/server/rz_server_ctrl.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ Server control/monitoring logic """ diff --git a/src/server/rz_server_fcgi.py b/src/server/rz_server_fcgi.py index 710f1040..88815d68 100755 --- a/src/server/rz_server_fcgi.py +++ b/src/server/rz_server_fcgi.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + #!/usr/bin/python import cgitb diff --git a/src/server/rz_user.py b/src/server/rz_user.py index 1b6e6244..3aff7485 100644 --- a/src/server/rz_user.py +++ b/src/server/rz_user.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + from datetime import datetime from datetime import timedelta from flask import current_app diff --git a/src/server/rz_user_db.py b/src/server/rz_user_db.py index 5a63c585..808d29eb 100644 --- a/src/server/rz_user_db.py +++ b/src/server/rz_user_db.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import copy import logging import shelve diff --git a/src/server/util.py b/src/server/util.py index e8840114..efbce2a9 100644 --- a/src/server/util.py +++ b/src/server/util.py @@ -1,3 +1,20 @@ +# This file is part of rhizi, a collaborative knowledge graph editor. +# Copyright (C) 2014-2015 Rhizi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + """ code with no better place to go """ |
