branch develop updated (7b6efcd -> 24dba11)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository mum. See http://git.chorem.org/mum.git from 7b6efcd Merge branch 'develop' of https://git.chorem.org/mum into develop new 4eaeefe added AGPL header on python files new 24dba11 added AGPL header on javascript files The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 24dba1103a87c0b2809e8f93cd4f6e652b8b4468 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Tue Jul 7 11:39:32 2015 +0200 added AGPL header on javascript files commit 4eaeefef7d8307e5af441ebd390e05d9bb64a657 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Tue Jul 7 11:30:58 2015 +0200 added AGPL header on python files Summary of changes: .gitignore | 5 +++-- app/__init__.py | 18 ++++++++++++++++++ app/module_loader.py | 18 ++++++++++++++++++ app/modules/CommandNotFoundException.py | 18 ++++++++++++++++++ app/modules/HostNotFoundException.py | 18 ++++++++++++++++++ app/modules/ModuleNotCompatibleException.py | 18 ++++++++++++++++++ app/modules/__init__.py | 18 ++++++++++++++++++ app/modules/connection_modules/__init__.py | 18 ++++++++++++++++++ app/modules/connection_modules/snmp.py | 18 ++++++++++++++++++ app/modules/connection_modules/snmp_walk.py | 18 ++++++++++++++++++ app/modules/connection_modules/ssh.py | 18 ++++++++++++++++++ app/modules/detection_modules/__init__.py | 18 ++++++++++++++++++ app/modules/detection_modules/drive_detection.py | 18 ++++++++++++++++++ app/modules/detection_modules/drive_snmp_linux.py | 19 ++++++++++++++++++- app/modules/detection_modules/kernel_detection.py | 19 ++++++++++++++++++- app/modules/detection_modules/open_ports_detection.py | 19 ++++++++++++++++++- app/modules/detection_modules/os_detection.py | 19 ++++++++++++++++++- app/modules/monitoring_modules/__init__.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/cpu_snmp_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/cpu_ssh_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/disk_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/disk_ssh_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/http.py | 18 ++++++++++++++++++ .../monitoring_modules/load_10_min_snmp_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_15_min_snmp_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_15_min_ssh_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_5_min_snmp_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/memory_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/memory_ssh_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/ping.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/smtp.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/swap_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/swap_ssh_linux.py | 17 +++++++++++++++++ .../monitoring_modules/updated_packages_ssh_linux.py | 17 +++++++++++++++++ app/modules/nmap_detection.py | 18 ++++++++++++++++++ app/modules/notification_modules/__init__.py | 18 ++++++++++++++++++ app/modules/notification_modules/email_notif.py | 18 ++++++++++++++++++ app/modules/notification_modules/sms_notif.py | 18 ++++++++++++++++++ .../notification_modules/websocket_container.py | 18 ++++++++++++++++++ app/modules/storage_modules/__init__.py | 18 ++++++++++++++++++ app/modules/storage_modules/shelve_db.py | 17 +++++++++++++++++ app/mum.py | 18 +++++++++++++++++- app/process_monitoring.py | 19 ++++++++++++++++++- app/websocket_func.py | 18 +++++++++++++++++- static/js/controllers/dashboardCtrl.js | 18 ++++++++++++++++++ static/js/controllers/headCtrl.js | 18 ++++++++++++++++++ static/js/controllers/hostPageCtrl.js | 18 ++++++++++++++++++ static/js/controllers/notificationsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/scanCtrl.js | 18 ++++++++++++++++++ static/js/controllers/settingsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/statsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/usersCtrl.js | 18 ++++++++++++++++++ static/js/mumApp.js | 18 ++++++++++++++++++ 53 files changed, 928 insertions(+), 9 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit 4eaeefef7d8307e5af441ebd390e05d9bb64a657 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Tue Jul 7 11:30:58 2015 +0200 added AGPL header on python files --- .gitignore | 5 +++-- app/__init__.py | 18 ++++++++++++++++++ app/module_loader.py | 18 ++++++++++++++++++ app/modules/CommandNotFoundException.py | 18 ++++++++++++++++++ app/modules/HostNotFoundException.py | 18 ++++++++++++++++++ app/modules/ModuleNotCompatibleException.py | 18 ++++++++++++++++++ app/modules/__init__.py | 18 ++++++++++++++++++ app/modules/connection_modules/__init__.py | 18 ++++++++++++++++++ app/modules/connection_modules/snmp.py | 18 ++++++++++++++++++ app/modules/connection_modules/snmp_walk.py | 18 ++++++++++++++++++ app/modules/connection_modules/ssh.py | 18 ++++++++++++++++++ app/modules/detection_modules/__init__.py | 18 ++++++++++++++++++ app/modules/detection_modules/drive_detection.py | 18 ++++++++++++++++++ app/modules/detection_modules/drive_snmp_linux.py | 19 ++++++++++++++++++- app/modules/detection_modules/kernel_detection.py | 19 ++++++++++++++++++- app/modules/detection_modules/open_ports_detection.py | 19 ++++++++++++++++++- app/modules/detection_modules/os_detection.py | 19 ++++++++++++++++++- app/modules/monitoring_modules/__init__.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/cpu_snmp_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/cpu_ssh_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/disk_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/disk_ssh_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/http.py | 18 ++++++++++++++++++ .../monitoring_modules/load_10_min_snmp_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_15_min_snmp_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_15_min_ssh_linux.py | 17 +++++++++++++++++ .../monitoring_modules/load_5_min_snmp_linux.py | 17 +++++++++++++++++ app/modules/monitoring_modules/memory_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/memory_ssh_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/ping.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/smtp.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/swap_snmp_linux.py | 18 ++++++++++++++++++ app/modules/monitoring_modules/swap_ssh_linux.py | 17 +++++++++++++++++ .../monitoring_modules/updated_packages_ssh_linux.py | 17 +++++++++++++++++ app/modules/nmap_detection.py | 18 ++++++++++++++++++ app/modules/notification_modules/__init__.py | 18 ++++++++++++++++++ app/modules/notification_modules/email_notif.py | 18 ++++++++++++++++++ app/modules/notification_modules/sms_notif.py | 18 ++++++++++++++++++ .../notification_modules/websocket_container.py | 18 ++++++++++++++++++ app/modules/storage_modules/__init__.py | 18 ++++++++++++++++++ app/modules/storage_modules/shelve_db.py | 17 +++++++++++++++++ app/mum.py | 18 +++++++++++++++++- app/process_monitoring.py | 19 ++++++++++++++++++- app/websocket_func.py | 18 +++++++++++++++++- 44 files changed, 766 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index d3e158e..a36f505 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,9 @@ node_modules *~ .idea res.xml -mum.db +mum.db* */pyc /*.pyc */*.pyc -mum.conf.local \ No newline at end of file +mum.conf.local +mum.log \ No newline at end of file diff --git a/app/__init__.py b/app/__init__.py index fcb43f2..4f004f7 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' diff --git a/app/module_loader.py b/app/module_loader.py index 90550f2..e6b0234 100644 --- a/app/module_loader.py +++ b/app/module_loader.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import modules diff --git a/app/modules/CommandNotFoundException.py b/app/modules/CommandNotFoundException.py index 3492ec6..386664e 100644 --- a/app/modules/CommandNotFoundException.py +++ b/app/modules/CommandNotFoundException.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' """ diff --git a/app/modules/HostNotFoundException.py b/app/modules/HostNotFoundException.py index 505e7cc..4bf6829 100644 --- a/app/modules/HostNotFoundException.py +++ b/app/modules/HostNotFoundException.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' """ diff --git a/app/modules/ModuleNotCompatibleException.py b/app/modules/ModuleNotCompatibleException.py index 86db67b..962f758 100644 --- a/app/modules/ModuleNotCompatibleException.py +++ b/app/modules/ModuleNotCompatibleException.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' """ diff --git a/app/modules/__init__.py b/app/modules/__init__.py index fcb43f2..4f004f7 100644 --- a/app/modules/__init__.py +++ b/app/modules/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' diff --git a/app/modules/connection_modules/__init__.py b/app/modules/connection_modules/__init__.py index 6ed406e..ed1c9eb 100644 --- a/app/modules/connection_modules/__init__.py +++ b/app/modules/connection_modules/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' \ No newline at end of file diff --git a/app/modules/connection_modules/snmp.py b/app/modules/connection_modules/snmp.py index d21590d..c00cb5b 100644 --- a/app/modules/connection_modules/snmp.py +++ b/app/modules/connection_modules/snmp.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' from pysnmp.entity.rfc3413.oneliner import cmdgen diff --git a/app/modules/connection_modules/snmp_walk.py b/app/modules/connection_modules/snmp_walk.py index 1e0f28d..24f33e7 100644 --- a/app/modules/connection_modules/snmp_walk.py +++ b/app/modules/connection_modules/snmp_walk.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' from pysnmp.entity.rfc3413.oneliner import cmdgen diff --git a/app/modules/connection_modules/ssh.py b/app/modules/connection_modules/ssh.py index 79ed72b..99c3879 100644 --- a/app/modules/connection_modules/ssh.py +++ b/app/modules/connection_modules/ssh.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + import paramiko diff --git a/app/modules/detection_modules/__init__.py b/app/modules/detection_modules/__init__.py index 6ed406e..ed1c9eb 100644 --- a/app/modules/detection_modules/__init__.py +++ b/app/modules/detection_modules/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' \ No newline at end of file diff --git a/app/modules/detection_modules/drive_detection.py b/app/modules/detection_modules/drive_detection.py index 8ef9b61..b93d724 100644 --- a/app/modules/detection_modules/drive_detection.py +++ b/app/modules/detection_modules/drive_detection.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux', 'unix'] diff --git a/app/modules/detection_modules/drive_snmp_linux.py b/app/modules/detection_modules/drive_snmp_linux.py index 6d736b5..cfc60be 100644 --- a/app/modules/detection_modules/drive_snmp_linux.py +++ b/app/modules/detection_modules/drive_snmp_linux.py @@ -1,5 +1,22 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' -import json compatible_os = ['linux', 'unix'] connection = "snmp_walk" diff --git a/app/modules/detection_modules/kernel_detection.py b/app/modules/detection_modules/kernel_detection.py index 5e8d122..ecc9c4b 100644 --- a/app/modules/detection_modules/kernel_detection.py +++ b/app/modules/detection_modules/kernel_detection.py @@ -1,5 +1,22 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' -import json compatible_os = ['linux', 'unix'] connection = "ssh" diff --git a/app/modules/detection_modules/open_ports_detection.py b/app/modules/detection_modules/open_ports_detection.py index 50dfbbe..7c996a0 100644 --- a/app/modules/detection_modules/open_ports_detection.py +++ b/app/modules/detection_modules/open_ports_detection.py @@ -1,5 +1,22 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' -import json compatible_os = ['linux', 'unix'] connection = "ssh" diff --git a/app/modules/detection_modules/os_detection.py b/app/modules/detection_modules/os_detection.py index 6482c87..473703d 100644 --- a/app/modules/detection_modules/os_detection.py +++ b/app/modules/detection_modules/os_detection.py @@ -1,5 +1,22 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' -import json compatible_os = ['linux', 'unix'] diff --git a/app/modules/monitoring_modules/__init__.py b/app/modules/monitoring_modules/__init__.py index 6ed406e..ed1c9eb 100644 --- a/app/modules/monitoring_modules/__init__.py +++ b/app/modules/monitoring_modules/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' \ No newline at end of file diff --git a/app/modules/monitoring_modules/cpu_snmp_linux.py b/app/modules/monitoring_modules/cpu_snmp_linux.py index 24e2ce4..d0c6462 100644 --- a/app/modules/monitoring_modules/cpu_snmp_linux.py +++ b/app/modules/monitoring_modules/cpu_snmp_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/cpu_ssh_linux.py b/app/modules/monitoring_modules/cpu_ssh_linux.py index e7c7794..6382064 100644 --- a/app/modules/monitoring_modules/cpu_ssh_linux.py +++ b/app/modules/monitoring_modules/cpu_ssh_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/disk_snmp_linux.py b/app/modules/monitoring_modules/disk_snmp_linux.py index f474b05..6c7576f 100644 --- a/app/modules/monitoring_modules/disk_snmp_linux.py +++ b/app/modules/monitoring_modules/disk_snmp_linux.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/disk_ssh_linux.py b/app/modules/monitoring_modules/disk_ssh_linux.py index 632bca5..df02802 100644 --- a/app/modules/monitoring_modules/disk_ssh_linux.py +++ b/app/modules/monitoring_modules/disk_ssh_linux.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import re diff --git a/app/modules/monitoring_modules/http.py b/app/modules/monitoring_modules/http.py index f95bb5e..d17c252 100644 --- a/app/modules/monitoring_modules/http.py +++ b/app/modules/monitoring_modules/http.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import urllib2 diff --git a/app/modules/monitoring_modules/load_10_min_snmp_linux.py b/app/modules/monitoring_modules/load_10_min_snmp_linux.py index 3f55732..7c44279 100644 --- a/app/modules/monitoring_modules/load_10_min_snmp_linux.py +++ b/app/modules/monitoring_modules/load_10_min_snmp_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/load_15_min_snmp_linux.py b/app/modules/monitoring_modules/load_15_min_snmp_linux.py index d19d123..a89fa69 100644 --- a/app/modules/monitoring_modules/load_15_min_snmp_linux.py +++ b/app/modules/monitoring_modules/load_15_min_snmp_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/load_15_min_ssh_linux.py b/app/modules/monitoring_modules/load_15_min_ssh_linux.py index a3f3174..e7a017f 100644 --- a/app/modules/monitoring_modules/load_15_min_ssh_linux.py +++ b/app/modules/monitoring_modules/load_15_min_ssh_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/load_5_min_snmp_linux.py b/app/modules/monitoring_modules/load_5_min_snmp_linux.py index 5e21882..3001529 100644 --- a/app/modules/monitoring_modules/load_5_min_snmp_linux.py +++ b/app/modules/monitoring_modules/load_5_min_snmp_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/memory_snmp_linux.py b/app/modules/monitoring_modules/memory_snmp_linux.py index 323b791..e8ac989 100644 --- a/app/modules/monitoring_modules/memory_snmp_linux.py +++ b/app/modules/monitoring_modules/memory_snmp_linux.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/memory_ssh_linux.py b/app/modules/monitoring_modules/memory_ssh_linux.py index 6d466bd..82b6c7c 100644 --- a/app/modules/monitoring_modules/memory_ssh_linux.py +++ b/app/modules/monitoring_modules/memory_ssh_linux.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import re diff --git a/app/modules/monitoring_modules/ping.py b/app/modules/monitoring_modules/ping.py index 4a64fd5..f00d625 100644 --- a/app/modules/monitoring_modules/ping.py +++ b/app/modules/monitoring_modules/ping.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import pexpect diff --git a/app/modules/monitoring_modules/smtp.py b/app/modules/monitoring_modules/smtp.py index 39e9c61..3e60fc9 100644 --- a/app/modules/monitoring_modules/smtp.py +++ b/app/modules/monitoring_modules/smtp.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import smtplib diff --git a/app/modules/monitoring_modules/swap_snmp_linux.py b/app/modules/monitoring_modules/swap_snmp_linux.py index 47136e3..4d6c3d6 100644 --- a/app/modules/monitoring_modules/swap_snmp_linux.py +++ b/app/modules/monitoring_modules/swap_snmp_linux.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/swap_ssh_linux.py b/app/modules/monitoring_modules/swap_ssh_linux.py index 36d673a..6330b81 100644 --- a/app/modules/monitoring_modules/swap_ssh_linux.py +++ b/app/modules/monitoring_modules/swap_ssh_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' compatible_os = ['linux'] diff --git a/app/modules/monitoring_modules/updated_packages_ssh_linux.py b/app/modules/monitoring_modules/updated_packages_ssh_linux.py index 4662809..359fe22 100644 --- a/app/modules/monitoring_modules/updated_packages_ssh_linux.py +++ b/app/modules/monitoring_modules/updated_packages_ssh_linux.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + import re __author__ = 'aguilbaud' diff --git a/app/modules/nmap_detection.py b/app/modules/nmap_detection.py index edcb5d5..2f55521 100644 --- a/app/modules/nmap_detection.py +++ b/app/modules/nmap_detection.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' from xml.dom import minidom diff --git a/app/modules/notification_modules/__init__.py b/app/modules/notification_modules/__init__.py index fcb43f2..4f004f7 100644 --- a/app/modules/notification_modules/__init__.py +++ b/app/modules/notification_modules/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' diff --git a/app/modules/notification_modules/email_notif.py b/app/modules/notification_modules/email_notif.py index a62ee93..7ccc81b 100644 --- a/app/modules/notification_modules/email_notif.py +++ b/app/modules/notification_modules/email_notif.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import smtplib diff --git a/app/modules/notification_modules/sms_notif.py b/app/modules/notification_modules/sms_notif.py index 2401f60..1514361 100644 --- a/app/modules/notification_modules/sms_notif.py +++ b/app/modules/notification_modules/sms_notif.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import urllib2 diff --git a/app/modules/notification_modules/websocket_container.py b/app/modules/notification_modules/websocket_container.py index c4cf169..9a2faf8 100644 --- a/app/modules/notification_modules/websocket_container.py +++ b/app/modules/notification_modules/websocket_container.py @@ -1,3 +1,21 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import json diff --git a/app/modules/storage_modules/__init__.py b/app/modules/storage_modules/__init__.py index 9ec9db7..6da8ae9 100644 --- a/app/modules/storage_modules/__init__.py +++ b/app/modules/storage_modules/__init__.py @@ -1,2 +1,20 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' __all__ = ['shelve_db'] \ No newline at end of file diff --git a/app/modules/storage_modules/shelve_db.py b/app/modules/storage_modules/shelve_db.py index 7a729f3..8d2e75b 100644 --- a/app/modules/storage_modules/shelve_db.py +++ b/app/modules/storage_modules/shelve_db.py @@ -1,4 +1,21 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' diff --git a/app/mum.py b/app/mum.py index c6b4eb8..7dc6b4b 100755 --- a/app/mum.py +++ b/app/mum.py @@ -1,5 +1,21 @@ # -*- coding: utf8 -*- -from __future__ import unicode_literals +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' from bottle import * diff --git a/app/process_monitoring.py b/app/process_monitoring.py index 48796e4..0c25876 100644 --- a/app/process_monitoring.py +++ b/app/process_monitoring.py @@ -1,10 +1,27 @@ +# -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' import threading from datetime import datetime from datetime import timedelta import time -import sys waiting_list = [] end = False diff --git a/app/websocket_func.py b/app/websocket_func.py index 5455895..5f8de81 100644 --- a/app/websocket_func.py +++ b/app/websocket_func.py @@ -1,7 +1,23 @@ # -*- coding: utf8 -*- +""" + 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/>. +""" +__copyright__ = "Copyright 2015, Code Lutin" +__license__ = "AGPL" + __author__ = 'aguilbaud' -import os import json import threading import logging -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit 24dba1103a87c0b2809e8f93cd4f6e652b8b4468 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Tue Jul 7 11:39:32 2015 +0200 added AGPL header on javascript files --- static/js/controllers/dashboardCtrl.js | 18 ++++++++++++++++++ static/js/controllers/headCtrl.js | 18 ++++++++++++++++++ static/js/controllers/hostPageCtrl.js | 18 ++++++++++++++++++ static/js/controllers/notificationsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/scanCtrl.js | 18 ++++++++++++++++++ static/js/controllers/settingsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/statsCtrl.js | 18 ++++++++++++++++++ static/js/controllers/usersCtrl.js | 18 ++++++++++++++++++ static/js/mumApp.js | 18 ++++++++++++++++++ 9 files changed, 162 insertions(+) diff --git a/static/js/controllers/dashboardCtrl.js b/static/js/controllers/dashboardCtrl.js index 41c7e68..0916bab 100644 --- a/static/js/controllers/dashboardCtrl.js +++ b/static/js/controllers/dashboardCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('dashboardCtrl', function ($scope, $routeParams, $location, $rootScope, $modal, $timeout, DataHosts) { /* Host view functions */ diff --git a/static/js/controllers/headCtrl.js b/static/js/controllers/headCtrl.js index 2bb9a71..7a0fffe 100644 --- a/static/js/controllers/headCtrl.js +++ b/static/js/controllers/headCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('headCtrl', function ($scope, $rootScope, toastr, $interval, $routeParams, $location, $modal, DataHosts) { // init diff --git a/static/js/controllers/hostPageCtrl.js b/static/js/controllers/hostPageCtrl.js index 5ace7f3..295dfb9 100644 --- a/static/js/controllers/hostPageCtrl.js +++ b/static/js/controllers/hostPageCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('hostPageCtrl', function ($scope, $rootScope, $route, $routeParams, $location, $modal, $timeout) { $scope.loaded = false; // indicates if this is the first loading of the page diff --git a/static/js/controllers/notificationsCtrl.js b/static/js/controllers/notificationsCtrl.js index bcf5ccc..e77572c 100644 --- a/static/js/controllers/notificationsCtrl.js +++ b/static/js/controllers/notificationsCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('notificationsCtrl', function ($scope, $rootScope, $modal, $route, $timeout, DataHosts) { $scope.hosts = DataHosts.Items; /* [ { diff --git a/static/js/controllers/scanCtrl.js b/static/js/controllers/scanCtrl.js index 09830bd..489e831 100644 --- a/static/js/controllers/scanCtrl.js +++ b/static/js/controllers/scanCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('scanCtrl', function ($scope, $rootScope, $routeParams, $timeout) { // Concerning the scan form diff --git a/static/js/controllers/settingsCtrl.js b/static/js/controllers/settingsCtrl.js index 3489193..110c063 100644 --- a/static/js/controllers/settingsCtrl.js +++ b/static/js/controllers/settingsCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('settingsCtrl', function ($scope, $rootScope, $modal, $timeout) { $scope.settings = {}; // { mod_name: {'check_frequency': 60, 'minor_limit': True, 'activated': False, 'major_limit': False, 'block': 'software', 'unit': 'bool'}} diff --git a/static/js/controllers/statsCtrl.js b/static/js/controllers/statsCtrl.js index 14d1661..31aa46b 100644 --- a/static/js/controllers/statsCtrl.js +++ b/static/js/controllers/statsCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('statsCtrl', function ($scope, $rootScope, $timeout, DataHosts) { $scope.host_list = []; for (var i = 0; i < DataHosts.Items.length; i++) { diff --git a/static/js/controllers/usersCtrl.js b/static/js/controllers/usersCtrl.js index 42bb483..58481f2 100644 --- a/static/js/controllers/usersCtrl.js +++ b/static/js/controllers/usersCtrl.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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/>. +*/ + mumApp.controller('usersCtrl', function ($scope, $rootScope, $route, $timeout) { $scope.users = {}; diff --git a/static/js/mumApp.js b/static/js/mumApp.js index 69f0db7..7e180a5 100644 --- a/static/js/mumApp.js +++ b/static/js/mumApp.js @@ -1,3 +1,21 @@ + +/* +Copyright (C) 2015 Code Lutin + + 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 mumApp = angular.module('mumApp', ['angularFileUpload', 'angularCharts', 'ngRoute', 'ui.bootstrap', 'toastr', 'ui.select', 'ngSanitize']); mumApp.factory('DataHosts', function () { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm