ca0981645f 
								
							
								 
							
						 
						
							
							
								
								Fixed shfmt error  
							
							
							
						 
						
							2022-07-10 17:34:30 +02:00  
				
					
						
							
							
								 
						
							
							
								bc7e02b47a 
								
							
								 
							
						 
						
							
							
								
								Fixed removal of TXT record when subdomain is case-sensitive and improved debug logging  
							
							... 
							
							
							
							Plesk SPI return domain names always lower-case. Therefore the search for domain names in the API response must be case-insensitve. Set debug logging to the values that are reallys used for the spi calls.
added comment 
							
						 
						
							2022-07-10 17:22:59 +02:00  
				
					
						
							
							
								 
						
							
							
								55a55e9f74 
								
							
								 
							
						 
						
							
							
								
								Fixed debug log to prevent globbing and word splitting.  
							
							
							
						 
						
							2022-07-10 17:22:59 +02:00  
				
					
						
							
							
								 
						
							
							
								b41d40da40 
								
							
								 
							
						 
						
							
							
								
								Extended debug logging in dns_pleskxml_rm()  
							
							
							
						 
						
							2022-07-10 17:22:59 +02:00  
				
					
						
							
							
								 
						
							
							
								ba3e088b23 
								
							
								 
							
						 
						
							
							
								
								Improved error handling  
							
							... 
							
							
							
							Improved error handling when result contains data-structure which might contain another status-flag that is related to the status of the related object and not the api call
Revert "Improved error handling"
This reverts commit fa6df1cfab134d38baad19fc1caa0842f00416d5.
Revert "Revert "Improved error handling""
This reverts commit 5a4b78392f063863ee9f56686f5c429e9376af1b. 
							
						 
						
							2022-07-10 17:22:59 +02:00  
				
					
						
							
							
								 
						
							
							
								a6b58bc88d 
								
							
								 
							
						 
						
							
							
								
								Corrected use of Plesk API calls to fetch all domain for all Plesk editions  
							
							... 
							
							
							
							This implementation of the Plesk API will add support for Plesk web admin edition and will now discover all domains ( of customers & administrative users) managed by the specific plesk instance.
The previous implementation of the Plesk API uses the customer API. This brings two problems:
1. The current API call only fetches the domains of resellers/customers and not the domains that are managed by administrative users.
compare:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/retrieving-the-list-of-customer%E2%80%99s-domains.75309/ 
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-plesk-server/getting-server-information/response-packet-structure-and-samples/list-of-domains.75294/ 
2. The customer API is only available in the web pro/host editions. The most common license on VPS/Dedicated Servers is nowadays the web admin edition. See: https://www.plesk.com/editions/ 
The correct way to get all domains in all Plesk editions is to use the Sites (Domains) API:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-sites-domains/getting-information-about-sites.66583/ 
This way is working for all plesk editions the same way. 
							
						 
						
							2022-03-09 01:42:26 +01:00  
				
					
						
							
							
								 
						
							
							
								19c4345162 
								
							
								 
							
						 
						
							
							
								
								fix shfmt  
							
							
							
						 
						
							2020-08-17 22:18:20 +08:00  
				
					
						
							
							
								 
						
							
							
								d795fac37a 
								
							
								 
							
						 
						
							
							
								
								update repo name  
							
							
							
						 
						
							2020-01-30 12:06:39 +08:00  
				
					
						
							
							
								 
						
							
							
								51cfd996eb 
								
									
								
							
								 
							
						 
						
							
							
								
								rmv space  
							
							
							
						 
						
							2019-11-05 23:29:51 +00:00  
				
					
						
							
							
								 
						
							
							
								6d0e4bed4b 
								
									
								
							
								 
							
						 
						
							
							
								
								remove \n in output messages  
							
							
							
						 
						
							2019-11-05 23:26:05 +00:00  
				
					
						
							
							
								 
						
							
							
								05247dc4a4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix  
							
							
							
						 
						
							2019-11-05 21:09:14 +00:00  
				
					
						
							
							
								 
						
							
							
								43011f3bfa 
								
									
								
							
								 
							
						 
						
							
							
								
								enhance  
							
							
							
						 
						
							2019-11-05 21:04:10 +00:00  
				
					
						
							
							
								 
						
							
							
								38854bd876 
								
									
								
							
								 
							
						 
						
							
							
								
								bugfix  
							
							
							
						 
						
							2019-11-05 21:00:34 +00:00  
				
					
						
							
							
								 
						
							
							
								a9726bd52f 
								
									
								
							
								 
							
						 
						
							
							
								
								bugfix  
							
							
							
						 
						
							2019-11-05 20:58:51 +00:00  
				
					
						
							
							
								 
						
							
							
								4216c9e8f7 
								
									
								
							
								 
							
						 
						
							
							
								
								rmv spaces  
							
							
							
						 
						
							2019-11-05 19:19:08 +00:00  
				
					
						
							
							
								 
						
							
							
								a8d670fc0d 
								
									
								
							
								 
							
						 
						
							
							
								
								Rest of sed -r  
							
							
							
						 
						
							2019-11-05 19:01:32 +00:00  
				
					
						
							
							
								 
						
							
							
								cbacc779fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix some sed -r, and clean up some variable references ("$1" -> "$varname")  
							
							
							
						 
						
							2019-11-05 18:50:39 +00:00  
				
					
						
							
							
								 
						
							
							
								896778cead 
								
									
								
							
								 
							
						 
						
							
							
								
								Grep fixes and minor improvements  
							
							
							
						 
						
							2019-11-05 17:56:20 +00:00  
				
					
						
							
							
								 
						
							
							
								04b0c62bf9 
								
									
								
							
								 
							
						 
						
							
							
								
								basic regex's to use \+  
							
							... 
							
							
							
							Maybe BRE aren't as basic as they sound. But I'm sure `man grep` didn't list the extra syntax of "preceded by backslash" :)  So let's use it 
							
						 
						
							2019-11-04 19:05:44 +00:00  
				
					
						
							
							
								 
						
							
							
								63a779baa8 
								
									
								
							
								 
							
						 
						
							
							
								
								remove unnecessary \  
							
							
							
						 
						
							2019-11-04 18:44:14 +00:00  
				
					
						
							
							
								 
						
							
							
								2d1a776db7 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace egrep -> basic regex grep  
							
							... 
							
							
							
							(( ... isn't it annoying that basic regex has * but not + ..... )) 
							
						 
						
							2019-11-04 18:40:12 +00:00  
				
					
						
							
							
								 
						
							
							
								343d7df57c 
								
									
								
							
								 
							
						 
						
							
							
								
								shellcheck directive  
							
							
							
						 
						
							2019-10-30 22:11:16 +00:00  
				
					
						
							
							
								 
						
							
							
								a32b95544b 
								
									
								
							
								 
							
						 
						
							
							
								
								[[:space:]] -> " "  
							
							
							
						 
						
							2019-10-30 17:06:03 +00:00  
				
					
						
							
							
								 
						
							
							
								2422e0b481 
								
									
								
							
								 
							
						 
						
							
							
								
								grep -E and sed -E  
							
							
							
						 
						
							2019-10-30 17:01:06 +00:00  
				
					
						
							
							
								 
						
							
							
								3441bd0e7c 
								
									
								
							
								 
							
						 
						
							
							
								
								improve _err message and remove a dubious _debug message.  
							
							
							
						 
						
							2019-10-30 10:22:04 +00:00  
				
					
						
							
							
								 
						
							
							
								05ced9fbc4 
								
									
								
							
								 
							
						 
						
							
							
								
								edit a comment  
							
							
							
						 
						
							2019-10-30 09:53:40 +00:00  
				
					
						
							
							
								 
						
							
							
								b7c3df455e 
								
									
								
							
								 
							
						 
						
							
							
								
								travis fix  
							
							
							
						 
						
							2019-10-30 09:38:03 +00:00  
				
					
						
							
							
								 
						
							
							
								d7affad059 
								
									
								
							
								 
							
						 
						
							
							
								
								various small improves  
							
							
							
						 
						
							2019-10-29 10:30:00 +00:00  
				
					
						
							
							
								 
						
							
							
								bc291141b1 
								
									
								
							
								 
							
						 
						
							
							
								
								fix filename  
							
							
							
						 
						
							2019-10-27 16:58:22 +00:00