diff options
Diffstat (limited to 'src/server')
30 files changed, 510 insertions, 0 deletions
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 """ |
