aboutsummaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Expand)AuthorFilesLines
2024-04-02mod/notification-matrix: add new configuration snippet...•••... instead of appending to global-config-overlay. Gravatar Christian Hesse1-6/+9
2024-04-01mod/notification-matrix: use :deserialize ...•••... instead of $ParseJson. This requires RouterOS 7.13. Gravatar Christian Hesse1-4/+4
2024-04-01mod/notification-telegram: use :deserialize ...•••... instead of $ParseJson. This requires RouterOS 7.13. Gravatar Christian Hesse1-4/+4
2024-03-12mod/notification-email: clean name for display nameGravatar Christian Hesse1-1/+3
2024-03-12mod/notification-email: add display name with identity (if not given)Gravatar Christian Hesse1-2/+17
2024-03-12mod/ssh-keys-import: do not exit with errorGravatar Christian Hesse1-7/+7
2024-03-12mod/scriptrunonce: do not exit with errorGravatar Christian Hesse1-1/+1
2024-03-12mod/notification-matrix: do not exit with errorGravatar Christian Hesse1-5/+5
2024-03-12mod/bridge-port-vlan: do not exit with errorGravatar Christian Hesse1-2/+2
2024-03-12mod/bridge-port-to: do not exit with errorGravatar Christian Hesse1-1/+1
2024-03-12mod/ssh-keys-import: switch to $LogPrintGravatar Christian Hesse1-15/+22
2024-03-12mod/scriptrunonce: switch to $LogPrintGravatar Christian Hesse1-6/+7
2024-03-12mod/notification-telegram: switch to $LogPrintGravatar Christian Hesse1-7/+8
2024-03-12mod/notification-ntfy: switch to $LogPrintGravatar Christian Hesse1-7/+8
2024-03-12mod/notification-matrix: switch to $LogPrintGravatar Christian Hesse1-18/+23
2024-03-12mod/notification-email: switch to $LogPrintGravatar Christian Hesse1-6/+6
2024-03-12mod/bridge-port-vlan: switch to $LogPrintGravatar Christian Hesse1-10/+12
2024-03-12mod/bridge-port-to: switch to $LogPrintGravatar Christian Hesse1-9/+10
2024-03-12mod/notification-email: remove extra spacesGravatar Christian Hesse1-1/+1
2024-03-12mod/inspectvar: remove extra spacesGravatar Christian Hesse1-1/+1
2024-01-30mod/ssh-keys-import: bump RouterOS version dependencyGravatar Christian Hesse1-1/+1
2024-01-30mod/notification-email: drop support for old property nameGravatar Christian Hesse1-2/+4
2024-01-22mod/notification-telegram: apply url encoding when sendingGravatar Christian Hesse1-5/+5
2024-01-22mod/notification-matrix: drop declaration of unused functionGravatar Christian Hesse1-1/+0
2024-01-01update copyright for 2024Gravatar Christian Hesse10-10/+10
2023-12-21mod/ssh-keys-import: unbreak import from file•••Looks like this broke in c3045f372350bd8dd0a8f10efb8a4b938e896145 where a non-existent variable name was used. Gravatar Christian Hesse1-1/+1
2023-12-05mod/notification-email: $NotificationFunctions->"email": support hook for sig...•••You can compose your own signature by creating a function: :global NotificationEMailSignature do={ :global EitherOr; :local RouterBoard [ /system/routerboard/get ]; :return ( \ [ $EitherOr ($RouterBoard->"board-name") ($RouterBoard->"model") ] . " s/n " . $RouterBoard->"serial-number" . " | " . \ "RouterOS " . [ /system/package/update/get installed-version ] . " | " . \ "IP " . [ /ip/cloud/get public-address ]); } Gravatar Christian Hesse1-1/+2
2023-12-04mod/notification-email: $QuotedPrintable: also encode question mark•••Following the RFC it is not required, but looks like Thunderbird has an issue here... https://datatracker.ietf.org/doc/html/rfc2045#section-6.7 Gravatar Christian Hesse1-1/+1
2023-12-04mod/notification-email: $QuotedPrintable: minor rework•••We have to encode all characters from 0x00 to 0x1f as well... Also the equal sign is nothing special here, just adding to list. Gravatar Christian Hesse1-10/+11
2023-11-14mod/notification-telegram: rename schedulerGravatar Christian Hesse1-5/+5
2023-11-14mod/notification-ntfy: rename schedulerGravatar Christian Hesse1-5/+5
2023-11-14mod/notification-matrix: rename schedulerGravatar Christian Hesse1-5/+5
2023-11-14mod/notification-email: rename schedulerGravatar Christian Hesse1-4/+4
2023-11-09mod/notification-matrix: introduce $SetupMatrix{Authenticate,JoinRoom} for setup•••Well, now that we have a JSON parser... Let's improve the user experience a bit. change-113Gravatar Christian Hesse1-0/+79
2023-11-09mod/ssh-keys-import: continue import after intermediate failureGravatar Christian Hesse1-1/+5
2023-11-09mod/ssh-keys-import: do not import twiceGravatar Christian Hesse1-0/+7
2023-11-09mod/ssh-keys-import: drop the version check for ed25519 keys...•••... now that we require RouterOS 7.12beta1 anyway. routeros-7.12beta1-3Gravatar Christian Hesse1-4/+2
2023-11-09mod/ssh-keys-import: calculate fingerprint...•••... and store it in key-owner, which is descriptive only. This requires RouterOS 7.12beta1 for the 'transform' property for ':convert' command. routeros-7.12beta1-2change-112Gravatar Christian Hesse1-1/+6
2023-11-07mod/ssh-keys-import: parse key into arrayGravatar Christian Hesse1-8/+10
2023-10-17mod/notification-ntfy: check for root certificate availability•••... at least with default server. Gravatar Christian Hesse1-0/+6
2023-10-17introduce mod/notification-ntfy...•••... for sending notifications via Ntfy (https://ntfy.sh/). TODO: use proper formatting once supported in Android app: https://github.com/binwiederhier/ntfy/issues/889 change-109Gravatar Christian Hesse1-0/+129
2023-10-16mod/notification-telegram: drop support for non-fixed width fontchange-107Gravatar Christian Hesse1-12/+3
2023-10-16mod/notification-telegram: remember ids of sent messagesGravatar Christian Hesse1-9/+17
2023-10-06mod/notification-email: handle new property name...•••... which changed in RouterOS 7.12rc1. routeros-7.12rc1-1Gravatar Christian Hesse1-2/+3
2023-08-18mod/ssh-keys-import: $SSHKeysImport: add check for key typeGravatar Christian Hesse1-0/+6
2023-08-18mod/ssh-keys-import: support ed25519 keys...•••... with RouterOS 7.12beta1 routeros-7.12beta1-1Gravatar Christian Hesse1-1/+2
2023-08-18mod/ssh-keys-import: drop RouterOS version dependency•••... as global-functions depend on RouterOS 7.9beta already. Gravatar Christian Hesse1-2/+0
2023-08-06mod/notification-telegram: introduce $PurgeTelegramQueue•••... to purge the queue and remove the scheduler. Gravatar Christian Hesse1-0/+9
2023-08-06mod/notification-matrix: introduce $PurgeMatrixQueue•••... to purge the queue and remove the scheduler. Gravatar Christian Hesse1-0/+9
2023-08-06mod/notification-email: introduce $PurgeEmailQueue•••... to purge the queue and remove the scheduler. Gravatar Christian Hesse1-0/+9
2023-06-27mod/scriptrunonce: escaping question mark is no longer requiredGravatar Christian Hesse1-1/+1
2023-06-27mod/notification-email: escaping question mark is no longer requiredGravatar Christian Hesse1-1/+1
2023-05-15mod/notification-telegram: fix copy-and-paste errorGravatar Christian Hesse1-1/+1
2023-04-26mod/ssh-keys-import: make ssh-keys-import a modulerouteros-7.9beta4-3change-100Gravatar Christian Hesse1-0/+84
2023-04-25mod/bridge-port-to: increase the delay before re-enabling•••Looks like two seconds is way too short... NetworkManager act after five seconds - so let's delay that time at least. https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout Gravatar Christian Hesse1-1/+1
2023-04-25mod/bridge-port-vlan: increase the delay before re-enabling•••Looks like two seconds is way too short... NetworkManager act after five seconds - so let's delay that time at least. https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout Gravatar Christian Hesse1-1/+1
2023-04-24mod/ipcalc: use $FormatLineGravatar Christian Hesse1-6/+7
2023-04-04mod/scriptrunonce: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-telegram: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-matrix: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/notification-email: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/ipcalc: link documentationGravatar Christian Hesse1-0/+3
2023-04-04mod/inspectvar: link documentationGravatar Christian Hesse1-0/+3
2023-03-10drop dummy scripts used for migration•••This now causes expected warnings on first run of $ScriptInstallUpdate. The migration still works, as we keep `global-config.changes` and `global-functions`. Gravatar Christian Hesse8-24/+0
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse16-821/+845
2023-02-24mod/notification-telegram: support sending in replyGravatar Christian Hesse1-1/+4
2023-02-02mod/notification-telegram: support sending to specific chatidGravatar Christian Hesse1-1/+2
2023-01-12mod/notification-*: support extra text (or emojis 🚀) in notification tagschange-87Gravatar Christian Hesse3-6/+11
2023-01-11mod/notification-email: split off generation of subjectGravatar Christian Hesse1-10/+17
2023-01-11mod/notification-email: move $QuotedPrintable (from global-functions)•••This is used for e-mail only... Gravatar Christian Hesse1-0/+37
2023-01-11log-forward: generate filter in mod/notification-emailGravatar Christian Hesse1-0/+16
2023-01-02update copyright for 2023Gravatar Christian Hesse8-8/+8
2022-11-22mod/notification-email: put status in scheduler commentGravatar Christian Hesse1-4/+4
2022-11-22mod/notification-email: set scheduler interval earlier•••... to make sure the checks are not re-run every second. Gravatar Christian Hesse1-0/+4
2022-11-22mod/notification-email: reference scheduler from variableGravatar Christian Hesse1-4/+5
2022-11-17mod/notification-email: make sure the scheduler interval is never zeroGravatar Christian Hesse1-1/+1
2022-11-17mod/notification-email: check that attachment existsGravatar Christian Hesse1-1/+8
2022-11-17mod/notification-email: convert to array earlierGravatar Christian Hesse1-2/+2
2022-11-17mod/notification-email: fix typoGravatar Christian Hesse1-1/+1
2022-10-19mod/notification-telegram: drop 'Telegram' from wordingGravatar Christian Hesse1-1/+1
2022-09-25introduce 'mod/notification-email', split off from global-functionschange-84Gravatar Christian Hesse1-0/+133
2022-09-15mod/notification-matrix: $FlushMatrixQueue: use $0 for scheduler nameGravatar Christian Hesse1-4/+4
2022-09-15mod/notification-telegram: $FlushTelegramQueue: use $0 for scheduler nameGravatar Christian Hesse1-4/+4
2022-07-13mod/notification-telegram: update initialization of empty array•••Having the parenthesis here is important for valid syntax! Gravatar Christian Hesse1-1/+1
2022-07-13mod/notification-matrix: update initialization of empty array•••Having the parenthesis here is important for valid syntax! Gravatar Christian Hesse1-1/+1
2022-07-13mod/bridge-port-vlan: update initialization of empty array•••Having the parenthesis here is important for valid syntax! Gravatar Christian Hesse1-1/+1
2022-07-13mod/bridge-port-to: update initialization of empty array•••Having the parenthesis here is important for valid syntax! Gravatar Christian Hesse1-1/+1
2022-07-05mod/ipcalc: use $PrettyPrintGravatar Christian Hesse1-6/+7
2022-07-05mod/inspectvar: use $PrettyPrintGravatar Christian Hesse1-2/+2
2022-07-05mod/ipcalc: remove empty lineGravatar Christian Hesse1-1/+0
2022-06-30mod/bridge-port-to: re-enable interfaces by idGravatar Christian Hesse1-7/+3
2022-06-30mod/bridge-port-vlan: re-enable interfaces by idGravatar Christian Hesse1-7/+3
2022-06-29mod/bridge-port-to: do not act on missing interface•••Happens on broken configuration or early boot... Gravatar Christian Hesse1-2/+5
2022-06-29mod/bridge-port-vlan: do not act on missing interface•••Happens on broken configuration or early boot... Gravatar Christian Hesse1-2/+5
2022-06-20mod/notification-telegram: only flush queue if fully connected•••The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it. Gravatar Christian Hesse1-0/+6
2022-06-20mod/notification-matrix: only flush queue if fully connected•••The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it. Gravatar Christian Hesse1-0/+6
2022-06-16fix typos: 'at lease' -> 'at least'Gravatar Christian Hesse2-2/+2
2022-06-15mod/bridge-port-to: log when re-enabling interfacesGravatar Christian Hesse1-0/+3
2022-06-15mod/bridge-port-vlan: log when re-enabling interfacesGravatar Christian Hesse1-0/+3
2022-06-15mod/bridge-port-to: move reenable to correct levelGravatar Christian Hesse1-6/+6