* Set stateDuration to 0 for all saved datatables to store the state indefinite
Signed-off-by: Christian König <ckoenig@posteo.de>
* Move stateDuration to utils.js
Signed-off-by: Christian König <ckoenig@posteo.de>
* Remove duplicated code as it is already part of utils.stateLoadCallback
Signed-off-by: Christian König <ckoenig@posteo.de>
* Fix function
Signed-off-by: Christian König <ckoenig@posteo.de>
* Revert "Fix function"
This reverts commit 2f54f5f988.
Signed-off-by: Christian König <ckoenig@posteo.de>
* Revert "Move stateDuration to utils.js"
This reverts commit 6a3e7786bc.
Signed-off-by: Christian König <ckoenig@posteo.de>
Moved CNAME functions to func.php
Added teleporter support
Fixed CNAME and DNS file declaration (filename was declarated in seperate file, therefore trying to read those files from func.php failed)
Fixed error and success response functions in func.php (calling addCustomDNSEntry and addCustomCNAMEEntry repeatedly from teleporter failed because of error function defined inside of those functions)
Signed-off-by: Matthias Rank <development@m-rank.de>