Age | Commit message (Expand) | Author | Files | Lines |
2021-06-08 | global-functions: make notification functions extensible•••This allows to add notification functions without overloading functions.
Just add it into the array:
:set ($NotificationFunctions->"fancy-messager") do={
# notification magic here...
}
Adding functions $SendFancyMessager and/or $SendFancyMessager2 may be
useful. Optionally a function to flush a queue may be required.
A BIG FAT WARNING about function parameters:
Calling a function from array results in $0 for the function name being
skipped. That's why we have to add the function name manually!
| Christian Hesse | 1 | -133/+159 |
2021-06-08 | global-functions: $ScriptInstallUpdate: drop the re-run message•••This makes sense just rarely... For important changes we have the
migration mechanism. So just drop this.
| Christian Hesse | 1 | -5/+0 |
2021-06-08 | global-functions: $ScriptInstallUpdate: reload configuration later | Christian Hesse | 1 | -7/+12 |
2021-06-08 | global-functions: $ScriptInstallUpdate: reload functions just once | Christian Hesse | 1 | -6/+11 |
2021-06-08 | global-functions: support loading modules•••If script's name starts with "global-functions.d/" it is handled
as module:
* loaded at startup
* triggers reload on update
| Christian Hesse | 1 | -1/+6 |
2021-06-08 | INITIAL-COMMANDS: make github copy function work•••The Github copy function skips all line breaks, so add some extra
semicolons to fix syntax.
| Christian Hesse | 1 | -3/+3 |
2021-06-06 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2021-05-26 | Makefile: remove extra whitespace | Christian Hesse | 1 | -1/+1 |
2021-05-24 | ipv6-update: apply a mask on prefix•••Fixes #11
| Christian Hesse | 1 | -1/+1 |
2021-05-21 | check-certificates: fix variable name | Christian Hesse | 1 | -1/+1 |
2021-05-19 | global-functions: $DownloadPackage: quote package name | Christian Hesse | 1 | -2/+2 |
2021-05-18 | netwatch-notify: add info on hook in notification | Christian Hesse | 1 | -8/+12 |
2021-05-18 | Merge branch 'lets-encrypt-ISRG-X1' into next | Christian Hesse | 7 | -94/+10 |
2021-05-18 | update Let's Encrypt trust chain•••Drop 'DST Root CA X3', use 'ISRG Root X1' instead. The migration code
makes sure that...
* the intermediate certificate 'R3' is signed by 'ISRG Root X1'
* 'ISRG Root X1' is self-signed, not cross-signed by 'DST Root CA X3'
* 'DST Root CA X3' is finally gone
change-52 | Christian Hesse | 4 | -3/+5 |
2021-05-18 | drop certificate DST Root CA X3•••Let's Encrypt planned the transition to ISRG's root certificate ("ISRG Root
X1") on July 8, 2019, but postponed several times.
Finally they found another solution: A certificate 'ISRG Root X1', but
cross-signed with 'DST Root CA X3' and with a livetime that exceeds that
of the root CA. This is said to work for most operating system where root
certificate authorities are just 'trust anchors'.
I doubt this is true for RouterOS, where certificates are just imported
into the certificate store. So let's migrate to 'ISRG Root X1' now.
| Christian Hesse | 3 | -91/+5 |
2021-05-17 | add 'ipsec-to-dns'change-51 | Christian Hesse | 8 | -3/+120 |
2021-05-17 | dhcp-to-dns: use $0 in strings | Christian Hesse | 1 | -2/+2 |
2021-05-17 | dhcp-to-dns: put string into variable | Christian Hesse | 1 | -4/+5 |
2021-05-07 | README: use svg logo | Christian Hesse | 1 | -1/+1 |
2021-05-07 | logo: clean png export | Christian Hesse | 1 | -0/+0 |
2021-05-07 | logo: convert text to path | Christian Hesse | 1 | -24/+35 |
2021-05-07 | logo: scale to 96x96 pixels | Christian Hesse | 1 | -18/+22 |
2021-05-06 | Merge branch 'netwatch-notify' into next | Christian Hesse | 6 | -5/+50 |
2021-05-06 | netwatch-notify: log failed resolve just once | Christian Hesse | 1 | -2/+7 |
2021-05-06 | netwatch-notify: attempt to update address with working resolver only | Christian Hesse | 1 | -1/+2 |
2021-05-06 | netwatch-notify: support dynamic address updatechange-50 | Christian Hesse | 6 | -3/+28 |
2021-05-06 | netwatch-notify: log on host up...•••... if logged on host down before.
| Christian Hesse | 1 | -2/+4 |
2021-05-05 | doc/netwatch-notify: tips & tricks: one of several hosts | Christian Hesse | 1 | -0/+12 |
2021-05-03 | doc: inform about dependency on base installation•••That should make the documentation clearer if external sites link to the
documentation of a specific script.
| Christian Hesse | 31 | -0/+93 |
2021-05-03 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2021-04-29 | upload-backup: add second symbol | Christian Hesse | 2 | -1/+2 |
2021-04-29 | email-backup: add second symbol | Christian Hesse | 1 | -1/+2 |
2021-04-29 | cloud-backup: add second symbol | Christian Hesse | 2 | -1/+2 |
2021-04-29 | email-backup: add symbol in e-mail•••That's easy now that we use $SendEMail2...
| Christian Hesse | 1 | -1/+2 |
2021-04-29 | email-backup: use $SendEMail2•••This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:
:global EmailGeneralToOverride {
"email-backup"="backup@example.com";
}
change-49 | Christian Hesse | 6 | -23/+15 |
2021-04-29 | global-functions: $SendEMail2: support file attachments | Christian Hesse | 1 | -3/+5 |
2021-04-29 | email-backup: work inside directory | Christian Hesse | 1 | -6/+12 |
2021-04-29 | upload-backup: work inside directory | Christian Hesse | 1 | -6/+12 |
2021-04-29 | capsman-rolling-upgrade: properly handle vanished cap | Christian Hesse | 1 | -2/+6 |
2021-04-29 | packages-update: update wording | Christian Hesse | 1 | -1/+1 |
2021-04-29 | packages-update: add missing colon | Christian Hesse | 1 | -1/+1 |
2021-04-29 | global-functions: $DownloadPackage: be more verbose | Christian Hesse | 1 | -2/+4 |
2021-04-29 | global-functions: $DownloadPackage: fix typo | Christian Hesse | 1 | -1/+1 |
2021-04-29 | global-functions: $FlushEmailQueue: try to avoid running simultaneously•••We can not check the status for a *specific* mail, so running simultaneously
is a problem. Let's increase the interval to the number of queue items -
and hope it helps. Decrease when done.
| Christian Hesse | 1 | -1/+3 |
2021-04-28 | Merge branch 'notifications' into next | Christian Hesse | 19 | -139/+205 |
2021-04-28 | global-functions: notify about settings overridechange-48 | Christian Hesse | 4 | -3/+4 |
2021-04-28 | global-config: comment on overriding e-mail and Telegram settings | Christian Hesse | 1 | -0/+7 |
2021-04-28 | upload-backup: pass origin to $SendNotification2 | Christian Hesse | 1 | -1/+2 |
2021-04-28 | sms-forward: pass origin to $SendNotification2 | Christian Hesse | 1 | -1/+2 |
2021-04-28 | netwatch-notify: pass origin to $SendNotification2 | Christian Hesse | 1 | -2/+4 |
2021-04-28 | log-forward: pass origin to $SendNotification2 | Christian Hesse | 1 | -1/+2 |
2021-04-28 | daily-psk: pass origin to $SendNotification2 | Christian Hesse | 3 | -3/+6 |
2021-04-28 | collect-wireless-mac: pass origin to $SendNotification2 | Christian Hesse | 3 | -3/+6 |
2021-04-28 | cloud-backup: pass origin to $SendNotification2 | Christian Hesse | 1 | -2/+4 |
2021-04-28 | check-routeros-update: pass origin to $SendNotification2 | Christian Hesse | 1 | -5/+10 |
2021-04-28 | check-lte-firmware-upgrade: pass origin to $SendNotification2 | Christian Hesse | 1 | -1/+2 |
2021-04-28 | check-health: pass origin to $SendNotification2 | Christian Hesse | 1 | -5/+10 |
2021-04-28 | check-certificates: pass origin to $SendNotification2 | Christian Hesse | 1 | -2/+4 |
2021-04-28 | global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2 | Christian Hesse | 1 | -2/+3 |
2021-04-28 | global-functions: $SendTelegram2: support overriding token id and chat id | Christian Hesse | 1 | -7/+7 |
2021-04-28 | global-functions: $SendTelegram2: store token id in queue | Christian Hesse | 1 | -4/+3 |
2021-04-28 | global-functions: $SendEMail2: support overriding to and cc | Christian Hesse | 1 | -2/+8 |
2021-04-28 | global-functions: introduce $EitherOr | Christian Hesse | 1 | -0/+11 |
2021-04-28 | upload-backup: use $SendNotification2 | Christian Hesse | 1 | -5/+5 |
2021-04-28 | sms-forward: use $SendNotification2 | Christian Hesse | 1 | -4/+4 |
2021-04-28 | netwatch-notify: use $SendNotification2 | Christian Hesse | 1 | -6/+6 |
2021-04-28 | log-forward: use $SendNotification2 | Christian Hesse | 1 | -6/+6 |
2021-04-28 | daily-psk: use $SendNotification2 | Christian Hesse | 3 | -12/+12 |
2021-04-28 | collect-wireless-mac: use $SendNotification2 | Christian Hesse | 3 | -12/+12 |
2021-04-28 | cloud-backup: use $SendNotification2 | Christian Hesse | 1 | -6/+6 |
2021-04-28 | check-routeros-update: use $SendNotification2 | Christian Hesse | 1 | -16/+16 |
2021-04-28 | check-lte-firmware-upgrade: use $SendNotification2 | Christian Hesse | 1 | -7/+7 |
2021-04-28 | check-health: use $SendNotification2 | Christian Hesse | 1 | -14/+14 |
2021-04-28 | check-certificates: use $SendNotification2 | Christian Hesse | 1 | -7/+7 |
2021-04-28 | global-functions: $ScriptInstallUpdate: use $SendNotification2 | Christian Hesse | 1 | -3/+3 |
2021-04-28 | global-functions: introduce $SendEMail2, $SendNotification2 & $SendTelegram2•••These accept just one array as argument. Adding new features is possible
without breaking the API.
These calls are the same for now:
$SendNotification "Subject..." "Message...";
$SendNotification2 ({ subject="Subject..."; message="Message..." });
But the latter will bring more features in future.
| Christian Hesse | 1 | -27/+42 |
2021-04-28 | README: add logo | Christian Hesse | 1 | -0/+2 |
2021-04-28 | add logo•••This should be displayed by Gitlab now...
Also it is the logo we use for the Telegram group.
| Christian Hesse | 2 | -0/+107 |
2021-04-27 | check-routeros-update: be verbose when run from terminal only | Christian Hesse | 1 | -1/+1 |
2021-04-26 | global-functions: $LogPrintExit: add deprecation warning | Christian Hesse | 1 | -0/+1 |
2021-04-26 | check-routeros-update: silence check-for-updates, but be more verbose | Christian Hesse | 1 | -1/+6 |
2021-04-12 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2021-03-21 | global-functions: CertificateDownload: silence certificate import | Christian Hesse | 1 | -1/+1 |
2021-03-21 | check-certificates: silence certificate import | Christian Hesse | 1 | -1/+1 |
2021-03-21 | check-certificates: be more verbose when attempting to renew | Christian Hesse | 1 | -0/+1 |
2021-03-17 | log-forward: use $EscapeForRegEx | Christian Hesse | 1 | -4/+4 |
2021-03-17 | global-functions: introduce $EscapeForRegEx | Christian Hesse | 1 | -0/+23 |
2021-03-15 | log-forward: filter e-mail error on log forwarding in script...•••... and update the filter in global configuration.
| Christian Hesse | 2 | -4/+12 |
2021-03-11 | log-forward: update filter to match mail with quoted-printable encoding | Christian Hesse | 1 | -1/+1 |
2021-03-10 | global-functions: $CertificateAvailable: use pre-test loop•••This is required to test for root CA (without intermediate) directly.
| Christian Hesse | 1 | -2/+2 |
2021-03-04 | log-forward: list messages with 'black circle' | Christian Hesse | 1 | -2/+3 |
2021-03-04 | log-forward: skip multi-repeated messages | Christian Hesse | 1 | -4/+15 |
2021-03-04 | global-functions: $ScriptInstallUpdate: run migration unconditionally•••We want the migration to run even if the notification is disabled.
| Christian Hesse | 1 | -41/+52 |
2021-03-04 | global-config-overlay: remove magic•••This allows to drop the ignore flag.
| Christian Hesse | 4 | -9/+3 |
2021-03-03 | global-functions: $DNSIsResolving: have a final return | Christian Hesse | 1 | -1/+1 |
2021-03-03 | global-functions: introduce and use $QuotedPrintable•••Some mail clients do not like unencoded utf-8 in subject... Let's
encode in quoted-printable to fix.
| Christian Hesse | 1 | -2/+41 |
2021-03-03 | global-functions: $UrlEncode: simplify code | Christian Hesse | 1 | -14/+15 |
2021-02-26 | global-functions: $ValidateSyntax: add line breaks•••This makes sure the closing curly bracket is not hidden in comment.
| Christian Hesse | 1 | -1/+1 |
2021-02-26 | netwatch-notify: use $ValidateSyntax | Christian Hesse | 1 | -4/+13 |
2021-02-26 | mode-button: use $ValidateSyntax | Christian Hesse | 1 | -10/+15 |