From 83696fb556e893550bc84e1e375f1010388c5f3b Mon Sep 17 00:00:00 2001 From: Manuel83 Date: Thu, 1 Nov 2018 21:25:42 +0100 Subject: [PATCH] config added --- .idea/dataSources.local.xml | 12 + .idea/dataSources.xml | 14 + .../5067e7fe-480d-4433-bc40-f2d1c38362a2.xml | 317 +++++++++ .../_metadata_/metadata | Bin 0 -> 65536 bytes .../_metadata_/metadata.keystream | Bin 0 -> 4096 bytes .../_metadata_/metadata.keystream.len | Bin 0 -> 8 bytes .../_metadata_/metadata.len | Bin 0 -> 8 bytes .../_metadata_/metadata_i | Bin 0 -> 32768 bytes .../_metadata_/metadata_i.len | Bin 0 -> 8 bytes .idea/workspace.xml | 661 +++++++++++++++++- config/config.yaml | 1 + core/__pycache__/cbpi.cpython-36.pyc | Bin 6439 -> 0 bytes core/__pycache__/craftbeerpi.cpython-36.pyc | Bin 0 -> 6572 bytes core/__pycache__/plugin.cpython-36.pyc | Bin 1826 -> 2136 bytes core/__pycache__/websocket.cpython-36.pyc | Bin 2638 -> 2640 bytes core/api/__pycache__/actor.cpython-36.pyc | Bin 731 -> 0 bytes core/api/actor.py | 9 +- core/api/extension.py | 16 + core/api/sensor.py | 5 +- .../actor_controller.cpython-36.pyc | Bin 2466 -> 2642 bytes .../crud_controller.cpython-36.pyc | Bin 2880 -> 2881 bytes .../sensor_controller.cpython-36.pyc | Bin 1567 -> 1569 bytes .../system_controller.cpython-36.pyc | Bin 1059 -> 1061 bytes core/controller/actor_controller.py | 48 +- core/controller/crud_controller.py | 10 +- core/controller/sensor_controller.py | 6 +- core/controller/system_controller.py | 10 +- core/{cbpi.py => craftbeerpi.py} | 26 +- .../database/__pycache__/model.cpython-36.pyc | Bin 4531 -> 653 bytes .../__pycache__/orm_framework.cpython-36.pyc | Bin 0 -> 4104 bytes core/database/model.py | 151 +--- core/database/orm_framework.py | 142 ++++ core/extension/dummy/__init__.py | 26 +- .../dummy/__pycache__/__init__.cpython-36.pyc | Bin 1898 -> 1881 bytes core/extension/dummy/config.yaml | 1 + .../__pycache__/jsondump.cpython-36.pyc | Bin 855 -> 857 bytes core/helper/__pycache__/utils.cpython-36.pyc | Bin 0 -> 329 bytes core/helper/utils.py | 8 + .../__pycache__/http_api.cpython-36.pyc | Bin 1518 -> 1519 bytes .../__pycache__/http_login.cpython-36.pyc | Bin 1296 -> 1525 bytes core/http_endpoints/http_api.py | 4 +- core/http_endpoints/http_login.py | 20 +- core/mqtt/mqtt.py | 10 +- core/plugin.py | 21 +- core/websocket.py | 8 +- craftbeerpi.db | Bin 49152 -> 49152 bytes logs/first_logfile2.log | 16 +- logs/first_logfile2.log.2018-11-01_17-21 | 4 - logs/first_logfile2.log.2018-11-01_17-23 | 2 - logs/first_logfile2.log.2018-11-01_17-24 | 1 - logs/first_logfile2.log.2018-11-01_17-27 | 2 - logs/first_logfile2.log.2018-11-01_17-32 | 61 -- logs/first_logfile2.log.2018-11-01_21-20 | 60 ++ logs/first_logfile2.log.2018-11-01_21-21 | 60 ++ logs/first_logfile2.log.2018-11-01_21-22 | 59 ++ logs/first_logfile2.log.2018-11-01_21-23 | 60 ++ logs/first_logfile2.log.2018-11-01_21-24 | 60 ++ run.py | 10 +- tests/test_app.py | 2 +- 59 files changed, 1592 insertions(+), 331 deletions(-) create mode 100644 .idea/dataSources.local.xml create mode 100644 .idea/dataSources.xml create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2.xml create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata.keystream create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata.keystream.len create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata.len create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i create mode 100644 .idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i.len create mode 100644 config/config.yaml delete mode 100644 core/__pycache__/cbpi.cpython-36.pyc create mode 100644 core/__pycache__/craftbeerpi.cpython-36.pyc delete mode 100644 core/api/__pycache__/actor.cpython-36.pyc create mode 100644 core/api/extension.py rename core/{cbpi.py => craftbeerpi.py} (93%) create mode 100644 core/database/__pycache__/orm_framework.cpython-36.pyc create mode 100644 core/extension/dummy/config.yaml create mode 100644 core/helper/__pycache__/utils.cpython-36.pyc create mode 100644 core/helper/utils.py delete mode 100644 logs/first_logfile2.log.2018-11-01_17-21 delete mode 100644 logs/first_logfile2.log.2018-11-01_17-23 delete mode 100644 logs/first_logfile2.log.2018-11-01_17-24 delete mode 100644 logs/first_logfile2.log.2018-11-01_17-27 delete mode 100644 logs/first_logfile2.log.2018-11-01_17-32 create mode 100644 logs/first_logfile2.log.2018-11-01_21-20 create mode 100644 logs/first_logfile2.log.2018-11-01_21-21 create mode 100644 logs/first_logfile2.log.2018-11-01_21-22 create mode 100644 logs/first_logfile2.log.2018-11-01_21-23 create mode 100644 logs/first_logfile2.log.2018-11-01_21-24 diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml new file mode 100644 index 0000000..5d2e8dd --- /dev/null +++ b/.idea/dataSources.local.xml @@ -0,0 +1,12 @@ + + + + + + + master_key + false + *:main + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..52b9b2d --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,14 @@ + + + + + sqlite.xerial + true + org.sqlite.JDBC + jdbc:sqlite:$PROJECT_DIR$/craftbeerpi.db + + + + + + \ No newline at end of file diff --git a/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2.xml b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2.xml new file mode 100644 index 0000000..d63ecaa --- /dev/null +++ b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2.xml @@ -0,0 +1,317 @@ + + + + + + 1 + 1 + + +
+
+
+
+
+
+
+
+
+ + INTEGER|0 + 1 + + + 1 + VARCHAR(80)|0 + + + 2 + VARCHAR(80)|0 + + + 3 + VARCHAR(3000)|0 + + + id + 1 + + + VARCHAR(50)|0 + 1 + + + 1 + VARCHAR(255)|0 + + + 2 + VARCHAR(50)|0 + + + 3 + VARCHAR(255)|0 + + + 4 + VARCHAR(255)|0 + + + name + 1 + + + name + 1 + sqlite_autoindex_config_1 + + + INTEGER|0 + 1 + + + 1 + VARCHAR(80)|0 + + + id + 1 + + + INTEGER|0 + 1 + + + 1 + INTEGER(80)|0 + + + 2 + INTEGER|0 + + + 3 + VARCHAR(80)|0 + + + 4 + INTEGER(5)|0 + + + 5 + INTEGER(5)|0 + + + 6 + VARCHAR(3000)|0 + + + id + 1 + + + INTEGER|0 + 1 + + + 1 + VARCHAR(80)|0 + + + 2 + VARCHAR(80)|0 + + + 3 + VARCHAR(10)|0 + + + 4 + VARCHAR(255)|0 + + + 5 + VARCHAR(50)|0 + + + 6 + VARCHAR(1000)|0 + + + 7 + VARCHAR(10)|0 + + + 8 + INTEGER|0 + + + 9 + INTEGER|0 + + + 10 + INTEGER|0 + + + id + 1 + + + INTEGER|0 + 1 + + + 1 + VARCHAR(80)|0 + + + 2 + VARCHAR(80)|0 + + + 3 + VARCHAR(3000)|0 + + + id + 1 + + + text|0 + + + 1 + text|0 + + + 2 + text|0 + + + 3 + integer|0 + + + 4 + text|0 + + + INTEGER|0 + 1 + + + 1 + INTEGER|0 + + + 2 + VARCHAR(80)|0 + + + 3 + VARCHAR(100)|0 + + + 4 + VARCHAR(255)|0 + + + 5 + VARCHAR(1)|0 + + + 6 + INTEGER|0 + + + 7 + INTEGER|0 + + + 8 + VARCHAR(255)|0 + + + 9 + INTEGER|0 + + + id + 1 + + + INTEGER|0 + 1 + + + 1 + VARCHAR(80)|0 + + + 2 + VARCHAR(80)|0 + + + 3 + VARCHAR(80)|0 + + + 4 + VARCHAR(80)|0 + + + 5 + VARCHAR(80)|0 + + + 6 + VARCHAR(10)|0 + + + 7 + VARCHAR(50)|0 + + + 8 + VARCHAR(1000)|0 + + + 9 + VARCHAR(10)|0 + + + 10 + INTEGER|0 + + + id + 1 + + + VARCHAR(3)|0 + 1 + + + 1 + VARCHAR(80)|0 + 1 + + + 2 + VARCHAR(100)|0 + 1 + + + language_code +key + 1 + + + language_code +key + 1 + sqlite_autoindex_translation_1 + + + \ No newline at end of file diff --git a/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata new file mode 100644 index 0000000000000000000000000000000000000000..bbf0401c192c9fb399ae206b28d0a76286ca6f2f GIT binary patch literal 65536 zcmeIuu?+wq39 literal 0 HcmV?d00001 diff --git a/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata.len b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata.len new file mode 100644 index 0000000000000000000000000000000000000000..1b1cb4d44c57c2d7a5122870fa6ac3e62ff7e94e GIT binary patch literal 8 KcmZQzfB*mh2mk>9 literal 0 HcmV?d00001 diff --git a/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i new file mode 100644 index 0000000000000000000000000000000000000000..12f3be4dd3b5a2b5146f36630acbf7e99e490797 GIT binary patch literal 32768 zcmeIufdBvi0Dz$VsTV1P3IhfV7%*VKfB^#r3>YwAz<>b*1`HT5V8DO@0|pEjFkrxd z0RsjM7%*VKfB^#r3>YwAz<>b*1`HT5V8DO@0|pEjFkrxd0RsjM7%*VKfB^#r3>YwA zz<>b*1`HT5V8DO@0|pEjFkrxd0RsjM7%*VKfB^#r3>YwAz<>b*1`HT5V8DO@0|pEj GFkoPS00031 literal 0 HcmV?d00001 diff --git a/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i.len b/.idea/dataSources/5067e7fe-480d-4433-bc40-f2d1c38362a2/_metadata_/metadata_i.len new file mode 100644 index 0000000000000000000000000000000000000000..1b1cb4d44c57c2d7a5122870fa6ac3e62ff7e94e GIT binary patch literal 8 KcmZQzfB*mh2mk>9 literal 0 HcmV?d00001 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 964274c..11c41a2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,37 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + - - + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -39,9 +192,87 @@ + + + + + + 7// + 7/ + 7 + / + /// + ///7 + ///77 + ///777 + ///7777 + ///7777/ + ///7777// + ///7777/// + ///7777///7 + ///7777///7| + ///7777///7|| + ///7777///7||| + ///7777///7|||6 + \n\n + \n\n + cpre + cpr + cp + c + co + core + .core + from.cbpi. + pr + p + print + + + + .cbpi + from core. + + + $PROJECT_DIR$ + $PROJECT_DIR$/core + + + + + @@ -83,6 +314,128 @@ + - - - + - - + + + + + - + + + + + + + + + + + + + + + + + + + + +