Commit Graph

236 Commits

Author SHA1 Message Date
tracer ac4cb3473e Refactored, removed $config, added $verbose & $debug
Signed-off-by: tracer <tracer@24unix.net>
2022-07-21 15:46:48 +02:00
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 0a67c16862 added findFirst()
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:29:14 +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 69cca0c2a7 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:23:57 +02:00
tracer 47585fccd4 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:23:30 +02:00
tracer 747b157ac3 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-04-06 16:22:27 +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 cf95b67948 replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:15:51 +01:00
tracer 0410d3b3a1 replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:15:35 +01:00
tracer f776f7d16b replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:15:05 +01:00
tracer a953e5cc66 replaced print with echo
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 18:14:33 +01:00
tracer ea6e99e4be fixed missing apikey
Signed-off-by: tracer <tracer@24unix.net>
2022-03-01 16:44:56 +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 9c87d47477 fixed wrong column name
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:17:41 +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 0f279764a8 changed content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 16:07:27 +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 1369cab7fb changed from content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 14:06:07 +01:00
tracer 440aea8d61 changed from content to panel
Signed-off-by: tracer <tracer@24unix.net>
2022-02-22 14:05:41 +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 e48ccbad99 removed debugging output
Signed-off-by: tracer <tracer@24unix.net>
2022-02-13 15:49:13 +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 cf8fb56d2d removed ip added content
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 19:30:25 +01:00
tracer 05db619afd added debugging
Signed-off-by: tracer <tracer@24unix.net>
2022-02-12 19:29:42 +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 0241afaa25 removed OAT
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:43:40 +01:00
tracer 6665933a41 added logger
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:42:26 +01:00
tracer b2452d349a changed params from array to Nameserver
Signed-off-by: tracer <tracer@24unix.net>
2022-02-06 17:42:01 +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 3f0c044c49 added annotations
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:40:01 +01:00
tracer e0e6c27c00 added annotations
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:39:46 +01:00
tracer 93142c9744 added strict, OA schema
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:39:23 +01:00
tracer 0104259187 added strict
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:39:01 +01:00
tracer 63cf544fc4 added strict
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:38:52 +01:00
tracer 6625f64a7d added strict
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:38:36 +01:00
tracer 2dc031dd66 added strict
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:38:27 +01:00
tracer 2a56aef004 ...
Signed-off-by: tracer <tracer@24unix.net>
2022-02-01 20:38:11 +01:00
tracer 4b3a2f0a20 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 21:07:19 +01:00
tracer c7aff14f15 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 21:06:44 +01:00
tracer 06cc5b0ec5 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 21:05:14 +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 74f3f40adf fixed select statement
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 20:50:32 +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 36e376337e fixed some getters
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:18:02 +01:00
tracer 8c2da0b9d8 fixed some getters
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:17:47 +01:00
tracer e9fbb8879a removed injection of panel
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:17:01 +01:00
tracer 087db2b2a9 handled case domain not found, also in findbyid
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:14:23 +01:00
tracer 1052e00cf5 handled case domain not found, also in findbyid
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:12:17 +01:00
tracer d1e67fce03 handled case domain not found
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:10:51 +01:00
tracer 574b960ed1 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 19:09:20 +01:00
tracer 31944984f9 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 14:48:03 +01:00
tracer ea8c49a49b initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 14:42:17 +01:00
tracer 88b3c5b357 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 14:40:47 +01:00
tracer c297eaad81 initial commit
Signed-off-by: tracer <tracer@24unix.net>
2022-01-31 14:33:27 +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 cc4a47d3fb changed setup 2022-01-25 20:51:12 +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