Commit Graph

143 Commits

Author SHA1 Message Date
tracer 5444035a09 refacted to use bindAPi in CLIController 2022-07-20 19:09:40 +02:00
tracer 838c571d75 before refactoring BindAPI/CLIController/RequestController 2022-07-19 18:53:35 +02:00
tracer c8cb2049a0 moved debug output to logger
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 17:14:23 +02:00
tracer b90d91fda2 improved handling os dyndns endpoints
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:28:38 +02:00
tracer ddae287748 modified handling of slave zones
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:27:58 +02:00
tracer 22e2d57b61 added support for dyndns
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:26:35 +02:00
tracer d6922be2a4 added zone type
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:26:08 +02:00
tracer 9b2c7f3495 changed methods moved from Controller to Repository
Signed-off-by: tracer <tracer@24unix.net>
2022-03-21 14:32:10 +01:00
tracer c9b1d097c1 added check if we are master for a zone
Signed-off-by: tracer <tracer@24unix.net>
2022-03-21 14:05:00 +01:00
tracer 6b1329eb3c added logger
Signed-off-by: tracer <tracer@24unix.net>
2022-03-21 14:03:55 +01:00
tracer 5a71d5efde added 404 fpr DynDNS
Signed-off-by: tracer <tracer@24unix.net>
2022-03-10 20:05:42 +01:00
tracer 8b6d939123 replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:17:57 +01:00
tracer faff70eb07 colorized the output of check permissions
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:17:33 +01:00
tracer a92c445725 modified PUT options
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:44:07 +01:00
tracer 77808f84cf finished check domains
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:43:48 +01:00
tracer 7cc0f5d9f0 remove unneeded variable
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:43:17 +01:00
tracer 7a15d82a3a added endpoint /dyndns
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:42:34 +01:00
tracer bf9c98e6e7 finished check:domains
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:01:21 +01:00
tracer a3b8de848e added color default after fix message.
Signed-off-by: tracer <tracer@24unix.net>
2022-02-27 18:26:06 +01:00
tracer 7ad82a44b4 added logger
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:39:14 +01:00
tracer 7e5810a936 added DomainController
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:34:29 +01:00
tracer b0535a3d18 fixed error handling in creating
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:15:29 +01:00
tracer 44ff33120d removed call to deleted function
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:13:18 +01:00
tracer b951e4d06e chenged content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:04:40 +01:00
tracer 5b0ba2bd09 added response time
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 15:32:59 +01:00
tracer 18112b7937 chenged from content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 15:32:23 +01:00
tracer 8c7755e096 changed from content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 15:31:49 +01:00
tracer 1ad945fbf2 added 201 header
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 14:06:35 +01:00
tracer fe1270f3d0 added new create statements
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 13:59:33 +01:00
tracer b3ce1d9dbf added curl timing
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 13:57:19 +01:00
tracer 3bcfc8de46 test passed
Signed-off-by: tracer <tracer@24unix.net>
2022-02-21 20:29:00 +01:00
tracer b128122701 a test
Signed-off-by: tracer <tracer@24unix.net>
2022-02-21 20:24:55 +01:00
tracer 016b2e2a78 added output if not bind group member
Signed-off-by: tracer <tracer@24unix.net>
2022-02-21 20:22:48 +01:00
tracer b7e421d731 added check for create => header
Signed-off-by: tracer <tracer@24unix.net>
2022-02-21 15:34:08 +01:00
tracer 7dda80dcfd changed call from Controller to repository
Signed-off-by: tracer <tracer@24unix.net>
2022-02-21 14:11:47 +01:00
tracer f1732c4f26 added error check on domain creation
Signed-off-by: tracer <tracer@24unix.net>
2022-02-13 16:35:38 +01:00
tracer 8f2545dd7e changed API call from panel_id to name
Signed-off-by: tracer <tracer@24unix.net>
2022-02-13 16:35:02 +01:00
tracer 6ba728ac07 checked for valid domain id
Signed-off-by: tracer <tracer@24unix.net>
2022-02-13 15:47:23 +01:00
tracer 6c2d5ab8a0 readded rndc reload
Signed-off-by: tracer <tracer@24unix.net>
2022-02-13 15:00:13 +01:00
tracer 28bf7c0c0b adapted createSlaveZone to new config
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 20:41:59 +01:00
tracer 5d4586aff3 adapted to /domains/name path
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 19:37:24 +01:00
tracer ac21b53bb9 removed IP addresses from DB
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 19:36:33 +01:00
tracer 9271752843 added logger & /name path
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 19:27:38 +01:00
tracer 480033d0d5 fixed a typo in a variable. Why did neither PhpStorm nor PHP raise an issue with that?
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 19:36:20 +01:00
tracer d6cdc7b5a2 changed domain name => id
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 19:00:30 +01:00
tracer 909bfcdc85 added logger
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:59:43 +01:00
tracer ca1d4577dc added logger
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:59:17 +01:00
tracer 4fb5cdcffd refactored handleAllDomainsGetRequest
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:58:52 +01:00
tracer c3f0f0147d added swaggerui 2022-02-05 20:26:32 +01:00
tracer 21b4a412a8 made changes for panel object instead of array
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:41:08 +01:00
tracer 91c12e1855 added strict
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:40:29 +01:00
tracer e0e6c27c00 added annotations
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:39:46 +01:00
tracer aec1a3e125 moved PDO stuff to repository
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 21:01:00 +01:00
tracer 9f8d572244 finished use od DI
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 21:00:24 +01:00
tracer 545e09636c changed some variables
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:59:36 +01:00
tracer d83126ac79 renamed TABLE_USER to TABLE_APIKEYS
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:58:12 +01:00
tracer 37cf94bbe6 removed injection of nameservercontroller
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:56:28 +01:00
tracer 4b19963279 moved PDO stuff to repository
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:54:18 +01:00
tracer 7976c2387e moved body to repository
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:53:50 +01:00
tracer 276764b5f9 moved body to repository
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:53:27 +01:00
tracer 53fc1456d1 refactored to make use of DI
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:49:44 +01:00
tracer 073d9cae9e removed debug info 2022-01-29 16:20:55 +01:00
tracer 1fb840206c removed debug info 2022-01-29 16:20:40 +01:00
tracer 1bf327cc00 modified curl handling
Signed-off-by: tracer <tracer@24unix.net>
2022-01-29 14:56:07 +01:00
tracer 1567520a5b error check on check:panels
Signed-off-by: tracer <tracer@24unix.net>
2022-01-29 14:55:40 +01:00
tracer c5f2d3044e added database password generation
Signed-off-by: tracer <tracer@24unix.net>
2022-01-29 14:38:02 +01:00
tracer 2e779ed606 fixed messing with invalid api key
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:16:20 +01:00
tracer d1182c6243 added order
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:15:42 +01:00
tracer d8b2082778 improved handling/creation of zone files
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:15:19 +01:00
tracer 62790a01f3 added POST support
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:14:37 +01:00
tracer 283f5328df added ns fix
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:14:14 +01:00
tracer 491c26e80c fixed sql error
Signed-off-by: tracer <tracer@24unix.net>
2022-01-27 15:13:51 +01:00
tracer c31642a90e fixed error when no domains are available
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:50:58 +01:00
tracer 662737318b added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:36:56 +01:00
tracer 1c1305af89 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:36:43 +01:00
tracer 707415e9c5 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:36:26 +01:00
tracer 518c4ae90d added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:36:09 +01:00
tracer 30180e6d71 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:35:57 +01:00
tracer ec156db4aa added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:35:32 +01:00
tracer 367c6f7d2c added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:35:14 +01:00
tracer 67baa731c3 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:01:52 +01:00
tracer 3bc4c21411 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 19:00:19 +01:00
tracer 383dc29ba5 added missing named parameters, added strict_types
Signed-off-by: tracer <tracer@24unix.net>
2022-01-26 15:18:46 +01:00
tracer ee7ec8a74f added http response headers
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:50:26 +01:00
tracer 9eee91fd77 modified getLongestEntry
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:36:29 +01:00
tracer 1bd36ce6fd added getLongestEntry
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:35:49 +01:00
tracer 35ae3c4505 added panel_id
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:34:13 +01:00
tracer b5003caf6e added panel_id
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:33:13 +01:00
tracer 3a14eeb3c5 sendCommand now returns header (https response) and data
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:32:34 +01:00
tracer 005ec335b2 changes in check:panel and related stuff
Signed-off-by: tracer <tracer@24unix.net>
2022-01-25 20:31:31 +01:00
tracer af73a2ecc0 added name to columns
Signed-off-by: tracer <tracer@24unix.net>
2022-01-24 19:01:32 +01:00
tracer c0ac072bb3 changed PDO to DatabaseConnection
Signed-off-by: tracer <tracer@24unix.net>
2022-01-24 18:57:47 +01:00
tracer 614a56a675 clenaed dir tree 2022-01-24 13:31:35 +01:00