Christian Hesse 
							
						 
					 
					
						
						
							
						
						5f357fd242 
					 
					
						
						
							
							dhcp-to-dns: fix static lease that lost bound status  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						23daea2354 
					 
					
						
						
							
							dhcp-to-dns: properly handle vanished lease  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						9c9fb46e4a 
					 
					
						
						
							
							lease-script: do not run too many instances of scripts  
						
						 
						
						... 
						
						
						
						Every instance of the scripts does all the work. If one script is running
and a second script is waiting we do not have to start a third one. 
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						5f2bc87b22 
					 
					
						
						
							
							lease-script: drop the delay magic...  
						
						 
						
						... 
						
						
						
						... as this should be handled by $ScriptLock in lease scripts now. 
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						08b1b72fa9 
					 
					
						
						
							
							hotspot-to-wpa-cleanup: lock script (and wait)  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						64b53d2322 
					 
					
						
						
							
							dhcp-to-dns: lock script (and wait)  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						df43f61018 
					 
					
						
						
							
							collect-wireless-mac: wait when locking script  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						3f893a327d 
					 
					
						
						
							
							Merge branch 'ScriptLock' into next  
						
						 
						
						
						
						
							
						
					 
					
						2021-07-01 22:52:23 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						aad91d90ea 
					 
					
						
						
							
							global-functions: $ScriptLock: use hex string for ticket  
						
						 
						
						... 
						
						
						
						Does not matter what the ticket looks like, but using hex string it is
not converted to number. 
						
						
							
						
					 
					
						2021-07-01 22:37:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						0b4c1861cf 
					 
					
						
						
							
							global-functions: $ScriptLock: use a limit on lock...  
						
						 
						
						... 
						
						
						
						... to make sure it does not lock forever. 
						
						
							
						
					 
					
						2021-07-01 22:37:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						7de3457f44 
					 
					
						
						
							
							global-functions: $ScriptLock: allow to wait for lock  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-30 21:28:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						5d30886e59 
					 
					
						
						
							
							global-functions: $ScriptLock: rework with tickets  
						
						 
						
						... 
						
						
						
						Getting the order right is not easy... We use a global variable to store
"tickets" in an array. Based on that scripts know their order. 
						
						
							
						
					 
					
						2021-06-30 21:28:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						b2d0ed1240 
					 
					
						
						
							
							global-functions: $ScriptLock: check if script is running  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-30 21:18:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						e13e3cfe34 
					 
					
						
						
							
							global-functions: $ScriptLock: check if script exists  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-30 21:16:17 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						301ad4b3e5 
					 
					
						
						
							
							global-functions: $ScriptLock: allow to return...  
						
						 
						
						... 
						
						
						
						... with true instead of breaking with error. 
						
						
							
						
					 
					
						2021-06-30 11:13:50 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						89f8dc7120 
					 
					
						
						
							
							global-functions: $LogPrintExit2: allow origin-specific debug  
						
						 
						
						... 
						
						
						
						Add something like this in global-config-overlay:
:global PrintDebugOverride {
  "dhcp-to-dns"=true;
} 
						
						
							
						
					 
					
						2021-06-30 11:12:12 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						679917390b 
					 
					
						
						
							
							global-functions: $GetRandomNumber: use $HexToNum  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-28 21:33:13 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						cfc400b3d5 
					 
					
						
						
							
							global-functions: $GetRandom20CharHex: do not remove otp...  
						
						 
						
						... 
						
						
						
						... as it is instantly invalid anyway. 
						
						
							
						
					 
					
						2021-06-28 21:33:13 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						7f2314d999 
					 
					
						
						
							
							doc/notifications: change stroke color  
						
						 
						
						... 
						
						
						
						This makes the stroke visible on black background. 
						
						
							
						
					 
					
						2021-06-25 10:06:24 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						407a379f1d 
					 
					
						
						
							
							lease-script: do not run in parallel on simultaneous deassign  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-24 22:28:08 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						855399b2bc 
					 
					
						
						
							
							global-functions: $RandomDelay: allow to specify unit in second argument  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-24 22:28:08 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						39b7bddf49 
					 
					
						
						
							
							ppp-on-up: use $LogPrintExit2  
						
						 
						
						... 
						
						
						
						This will never print to terminal, nevertheless we want proper
log with script name in prefix. 
						
						
							
						
					 
					
						2021-06-23 15:15:19 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						f26b3da342 
					 
					
						
						
							
							lease-script: use $LogPrintExit2  
						
						 
						
						... 
						
						
						
						This will never print to terminal, nevertheless we want proper
log with script name in prefix. 
						
						
							
						
					 
					
						2021-06-23 15:15:19 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						cd0398acf9 
					 
					
						
						
							
							ipv6-update: use $LogPrintExit2  
						
						 
						
						... 
						
						
						
						This will never print to terminal, nevertheless we want proper
log with script name in prefix. 
						
						
							
						
					 
					
						2021-06-23 15:15:19 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						1a404195d5 
					 
					
						
						
							
							hotspot-to-wpa: add optional cleanup script  
						
						 
						
						
						
						
							
  change-58
 
						
					 
					
						2021-06-23 15:15:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						f5b1f9cb97 
					 
					
						
						
							
							celebrating the 1.000th commit - hooray!  
						
						 
						
						
						
						
							
  change-57
 
						
					 
					
						2021-06-23 15:14:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						64496d76c2 
					 
					
						
						
							
							notify about tag in scripts  
						
						 
						
						
						
						
							
  change-56
 
						
					 
					
						2021-06-23 10:26:49 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						037d287e5b 
					 
					
						
						
							
							ppp-on-up: add error handling  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 10:26:49 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						aad2e062e5 
					 
					
						
						
							
							ppp-on-up: use 'provides' to find ppp-on-up scripts  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 10:21:34 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						96a92bb30c 
					 
					
						
						
							
							lease-script: add error handling  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 08:38:44 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						2041390f55 
					 
					
						
						
							
							lease-script: use 'provides' to find lease scripts  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 08:38:44 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						420986fdfc 
					 
					
						
						
							
							packages-update: use 'provides' to find backup scripts  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 08:38:44 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						06a0f42039 
					 
					
						
						
							
							update list of contributors  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-23 08:38:17 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						7fb4fdfca2 
					 
					
						
						
							
							global-functions: $MkDir: abuse smb share to create directory  
						
						 
						
						... 
						
						
						
						The smb feature is provided by system package... So we have it anyway.
It gives some benefits compared to abusing fetch:
* It is faster!
* No need to alter, enable and restore a service! (The share is created disabled.)
* Firewall rules can not break this.
* No temporary file is created.
* Less code!
Let's hope we do not introduce new breakage.
Closes  #14  
						
						
							
						
					 
					
						2021-06-21 22:58:17 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						c0b954abbb 
					 
					
						
						
							
							doc/netwatch-notify: hint on checking internet connectivity  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-21 09:15:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						bad6f5a7cc 
					 
					
						
						
							
							doc: add sample notifications  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-21 08:54:04 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						a3efb67ed1 
					 
					
						
						
							
							doc/check-health: no capital character here  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-18 11:23:58 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						a1fc02e667 
					 
					
						
						
							
							Makefile: generate html files for documentation  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-18 11:23:58 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						e375494d00 
					 
					
						
						
							
							email-backup: remove attachment when sent  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-17 15:06:35 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						34c9da5aa2 
					 
					
						
						
							
							global-functions: $NotificationFunctions->"email": support removing attachment  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-17 15:06:35 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						1e1b98b161 
					 
					
						
						
							
							upload-backup: remove file after upload  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-16 14:59:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						c60c96e32a 
					 
					
						
						
							
							global-functions: $HexToNum: properly handle capital characters  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-16 10:16:35 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						1ce0f63ef7 
					 
					
						
						
							
							log-forward: use $HexToNum, do not resend old messages  
						
						 
						
						... 
						
						
						
						Now we know the order of messages and can compare. Changing the filter
does no longer result in old messages being resent. 
						
						
							
						
					 
					
						2021-06-15 16:59:02 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						babcc00dcd 
					 
					
						
						
							
							global-functions: introduce $HexToNum  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-15 14:38:02 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						4cc8a0e160 
					 
					
						
						
							
							global-functions: $SendEMail2: fix name in array  
						
						 
						
						... 
						
						
						
						This did not send anything at all...
Fixes  #12  
						
						
							
						
					 
					
						2021-06-10 07:52:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						de61c14c60 
					 
					
						
						
							
							log-forward: implement reverse logic to include messages...  
						
						 
						
						... 
						
						
						
						... even if a filter matches to exclude them. Let's have an example:
:global LogForwardFilter "(debug|info)";
:global LogForwardInclude "account";
This will forward everything about topic *account* (login, logout,
failed login, ...) - even with topic *info*. 
						
						
							
  change-55
 
						
					 
					
						2021-06-09 14:42:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						d5f43aa26d 
					 
					
						
						
							
							log-forward: update comments in global-config  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-09 14:42:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						401f179ae9 
					 
					
						
						
							
							doc/log-forward: mention Matrix  
						
						 
						
						
						
						
							
						
					 
					
						2021-06-09 14:41:09 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Hesse 
							
						 
					 
					
						
						
							
						
						50d1706a06 
					 
					
						
						
							
							global-functions: make Telegram notifications a module  
						
						 
						
						
						
						
							
  change-54
 
						
					 
					
						2021-06-08 21:07:25 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Gisbers 
							
						 
					 
					
						
						
							
						
						8375673d93 
					 
					
						
						
							
							global-functions: implement notifications via Matrix  
						
						 
						
						... 
						
						
						
						Matrix is an open network for secure, decentralized communication - and
it has a web api.
A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.
https://matrix.org/  
						
						
							
  change-53
 
						
					 
					
						2021-06-08 21:07:25 +02:00