Commit graph

1932 commits

Author SHA1 Message Date
Christian Hesse
8f32887a1a global-functions: introduce $GetRandom20CharAlNum 2022-09-07 12:28:45 +02:00
Christian Hesse
ff0b05ea20 global-functions: $GetRandom20CharHex: add optional parameter for length 2022-09-07 12:22:45 +02:00
Christian Hesse
a7f8aa95d0 netwatch-notify: show dns name (resolve option) in message 2022-09-07 11:21:15 +02:00
Christian Hesse
e820323e78 global-config: add earth symbol in hello-world message for mode button 2022-08-25 12:57:40 +02:00
Christian Hesse
8f7a0c2a06 global-functions: $SymbolByUnicodeName: add 'earth' 2022-08-25 12:51:07 +02:00
Christian Hesse
a7ec92e358 optimize all svg files...
... and also update all version numbers to match current release.
2022-08-22 17:16:17 +02:00
Christian Hesse
50a115f23a cleanup dummy script from rotate-ntp removal 2022-08-19 08:35:52 +02:00
Christian Hesse
c126a5a86b check-health: increase default temperature deviation
Some devices (with bad temperature sensort?) still product a flood of
notifications... Try to avoid that.
2022-08-15 21:31:13 +02:00
Christian Hesse
83372d8b07 logo: optimize the svg file 2022-08-15 17:22:27 +02:00
Christian Hesse
c9a7421d6c update list of contributors 2022-08-05 22:58:55 +02:00
Michael Gisbers
28be6d097d global-functions: $GetRandomNumber: use :rndnum
This is available in RouterOS 7.x...

Signed-off-by: Christian Hesse <mail@eworm.de>
2022-08-05 22:58:55 +02:00
Michael Gisbers
0562198c55 global-functions: $GetRandom20CharHex: use :rndstr
This is available in RouterOS 7.x...

Signed-off-by: Christian Hesse <mail@eworm.de>
2022-08-05 22:58:55 +02:00
Christian Hesse
e31a99a301 unattended-lte-firmware-upgrade: try without extra reset
Testing with R11e-LTE6 I can see the interface being reset by the
upgrade. So the extra reset is no longer required? Trying without.
2022-08-05 22:58:54 +02:00
Christian Hesse
50d7e1fa41 check-lte-firmware-upgrade: use $0 for $ScriptFromTerminal 2022-08-04 00:16:35 +02:00
Christian Hesse
50178e2a3c capsman-download-packages: use proper array syntax 2022-07-21 14:04:44 +02:00
Christian Hesse
82f27268b3 global-functions: $IsTimeSync: cache a positive result
The functions do not rely on perfectly synced time. About the right time
is fine, that should make sure certificates are valid and mails are sent
with reasonable headers. So cache the result if system is fine for later
use.
2022-07-21 14:04:44 +02:00
Christian Hesse
329e606b93 global-functions: $IsTimeSync: drop the extra condition...
... as ddns is not required to be enabled. The public address is
available anyway, but not set in DNS.
2022-07-21 14:04:44 +02:00
Christian Hesse
ed7b48061a global-functions: $IsTimeSync: drop old code
In RouterOS 7.x the ntp client and server are bundled and unique and
can not be unavailable.
Also it does no longer have a 'last-adjustment' property...
2022-07-21 14:03:11 +02:00
Christian Hesse
518cc24108 global-functions: $IsFullyConnected: remove trailing space 2022-07-21 13:21:51 +02:00
Christian Hesse
ce03f44769 check-routeros-update: use a better check for valid version
Currently the latest version in long-term branch is 0.0... And the
script is sending downgrade notifications. 😝
Obviously that is not a valid version... With this changen a version
has to be 7.0 and above to be considered valid.
2022-07-18 23:46:49 +02:00
Christian Hesse
b67b9ec1c1 Merge branch 'empty-array' into next 2022-07-13 11:57:47 +02:00
Christian Hesse
6fa1525700 sms-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:46 +02:00
Christian Hesse
d6337fcc97 netwatch-notify: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:32 +02:00
Christian Hesse
8a85a258fc netwatch-dns: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:18 +02:00
Christian Hesse
f34c353b5f mod/notification-telegram: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:03 +02:00
Christian Hesse
7f85e69713 mod/notification-matrix: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:51 +02:00
Christian Hesse
34ea276469 mod/bridge-port-vlan: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:37 +02:00
Christian Hesse
8436a18919 mod/bridge-port-to: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:25 +02:00
Christian Hesse
164ebe8c8a log-forward: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:33:58 +02:00
Christian Hesse
49147c83ca lease-script: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:33:38 +02:00
Christian Hesse
9a89cd5407 global-functions: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:44 +02:00
Christian Hesse
99a8148d17 daily-psk: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:23 +02:00
Christian Hesse
2d30f4e462 check-lte-firmware-upgrade: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:11 +02:00
Christian Hesse
eae9a7b956 check-health: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:31:44 +02:00
Christian Hesse
3006e96598 backup-email: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:31:29 +02:00
Christian Hesse
073f432204 accesslist-duplicates: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:30:06 +02:00
Christian Hesse
5b2ea9b1a4 ... and another one 2022-07-11 17:18:18 +02:00
Christian Hesse
deacda8630 give a heart for contributions ❤️ 2022-07-11 17:16:25 +02:00
Christian Hesse
f9442ceaa2 update list of contributors 2022-07-11 16:22:18 +02:00
Christian Hesse
876f8a0f82 netwatch-dns: properly check for disabled state
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00
Christian Hesse
cb20b8c380 daily-psk: properly check for disabled state
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00
Christian Hesse
0ed68824fd check-routeros-update: drop check for package...
... as wireless package is bundled with the system with RouterOS 7.x.
2022-07-11 10:41:37 +02:00
Christian Hesse
61598c81e9 update list of contributors 2022-07-08 08:30:25 +02:00
Christian Hesse
bbe8c02b5b README: show a sample news and changes notification 2022-07-07 14:21:41 +02:00
Christian Hesse
a1606402d1 global-config: new setting to disable news and change notifications...
... and also drop the version from global-config and
global-config-overlay.
2022-07-06 21:46:52 +02:00
Christian Hesse
68ae4fca0d global-config-overlay: update wording 2022-07-06 12:26:58 +02:00
Christian Hesse
99feceda38 Merge branch 'netwatch' into next 2022-07-06 11:42:47 +02:00
Christian Hesse
447e1d99f9 netwatch-dns: break long lines 2022-07-06 11:37:02 +02:00
Christian Hesse
3a7bb1e239 netwatch-notify: break long lines 2022-07-06 11:37:02 +02:00
Christian Hesse
8e6eff30db netwatch-notify: also support the name from property 2022-07-06 11:37:02 +02:00