aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
AgeCommit message (Collapse)AuthorFilesLines
2023-06-13global-functions: $CertificateDownload: add proper version in user agentGravatar Christian Hesse1-3/+4
2023-06-01global-functions: $CertificateDownload: add a delayGravatar Christian Hesse1-0/+1
For any reason the imported certificate(s) is/are not available for fetch command immediately. Let's add a delay here... It should not hurt as certificates are not imported that often.
2023-06-01global-functions: $ScriptInstallUpdate: handle scripts with DOS line endingsGravatar Christian Hesse1-1/+1
If the script is converted to DOS line endings (\r\n) on the device it was no longer handled by $ScriptInstallUpdate. Let's change that...
2023-05-10global-functions: $ParseDate: handle date in ISO standard formatrouteros-7.10beta5-1Gravatar Christian Hesse1-0/+6
This was introduced with RouterOS 7.10beta5... https://xkcd.com/1179/ 😜
2023-05-10global-functions: introduce $ParseDateGravatar Christian Hesse1-0/+13
The extra indention is intended for a later change.
2023-04-26mod/ssh-keys-import: make ssh-keys-import a modulerouteros-7.9beta4-3change-100Gravatar Christian Hesse1-1/+1
2023-04-24dhcp-to-dns: get domain from dhcp server's network definitionchange-99Gravatar Christian Hesse1-1/+1
2023-04-24global-functions: $DeviceInfo: use $FormatLineGravatar Christian Hesse1-15/+16
2023-04-24global-functions: introduce $FormatLineGravatar Christian Hesse1-0/+27
2023-04-07check-certificates: try all SANs for downloadchange-98Gravatar Christian Hesse1-1/+1
2023-03-30global-functions: $VersionToNum: support "alpha" in version stringGravatar Christian Hesse1-3/+6
2023-03-30global-functions: $RequiredRouterOS: accept "alpha" in version stringGravatar Christian Hesse1-1/+1
2023-03-28global-functions: $MkDir: make directory by adding filerouteros-7.9beta4-2Gravatar Christian Hesse1-1/+18
This is new functionality in RouterOS 7.9beta4, where new file can be added with `/file/add ...`. This also creates directories for the full path.
2023-03-28global-functions: $MkDir: add extra block for indention...Gravatar Christian Hesse1-30/+32
... to make the next commit cleaner. No functional change.
2023-03-28global-functions: $MkDir: create tmpfs in local functionGravatar Christian Hesse1-10/+22
2023-03-28global-functions: $MkDir: return false on errorGravatar Christian Hesse1-1/+1
2023-03-28global-functions: $MkDir: drop unused functionGravatar Christian Hesse1-1/+0
2023-03-22dhcp-to-dns: always create A record with mac address...change-97Gravatar Christian Hesse1-1/+1
... and an optional CNAME with host name.
2023-03-20netwatch-notify: support note in notificationchange-96Gravatar Christian Hesse1-1/+1
2023-03-10global-functions: $ScriptInstallUpdate: add proper version in user agentGravatar Christian Hesse1-2/+5
This allows me to identify what RouterOS versions are run on devices fetching my scripts, which may helps to decide what incompatible changes to push.
2023-03-07global-functions: $ScriptInstallUpdate: make sure not to match selfGravatar Christian Hesse1-1/+1
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+1292
No functional change for the user... The migration is done automatically.