aboutsummaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Collapse)AuthorFilesLines
6 daysmod/notification-email: $FlushEmailQueue: return on purgeGravatar Christian Hesse1-0/+6
6 daysmod/notification-email: $FlushEmailQueue: return on successGravatar Christian Hesse1-3/+4
6 daysmod/notification-email: increase retry interval on failureGravatar Christian Hesse1-2/+4
6 daysmod/notification-email: drop useless safeguardGravatar Christian Hesse1-1/+1
Guess it was useful back in the day. Now the function exits early if the queue is empty... So this can never be zero.
14 daysmod/ssh-keys-import: $SSHKeysImportFile: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/ssh-keys-import: $SSHKeysImport: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/scriptrunonce: $ScriptRunOnce: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
14 daysmod/notification-telegram: $SendTelegram: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/notification-telegram: $FlushTelegramQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/notification-ntfy: $SendNtfy: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 daysmod/notification-ntfy: $FlushNtfyQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/notification-matrix: $SendMatrix: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/notification-matrix: $FlushMatrixQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/notification-email: $SendEMail: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
14 daysmod/notification-email: $FlushEmailQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/ipcalc: $IPCalc: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 daysmod/inspectvar: $InspectVar: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 daysmod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
14 daysmod/bridge-port-to: $BridgePortTo: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
2024-11-27mod/ssh-keys-import: require RouterOS 7.16routeros-7.16-5Gravatar Christian Hesse1-1/+1
Actually the requirement bumped with the change in commits: * 9c945b1a3283bb352707c69630c579cf82484dcb mod/ssh-keys-import: $SSHKeysImportFile: simplify looping lines * 1f526b356121749991fee69cee5a6c728855c8f2 mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`
2024-11-08mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`routeros-7.16-3Gravatar Christian Hesse1-2/+1
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: let `:deserialize` split the fieldsGravatar Christian Hesse1-6/+3
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: simplify looping linesrouteros-7.16-2Gravatar Christian Hesse1-5/+4
2024-10-01mod/notification-ntfy: fix ntfy overridesGravatar Ignacio Serrano1-2/+2
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse8-8/+8
... now that global-functions requires RouterOS 7.14 anyway.
2024-07-16mod/ipcalc: use :tocrlfGravatar Christian Hesse1-4/+3
2024-07-16mod/inspectvar: use :tocrlfGravatar Christian Hesse1-3/+2
2024-06-21certs: Go Daddy Secure Certificate Authority - G2 -> Go Daddy Root ↵Gravatar Christian Hesse1-1/+1
Certificate Authority - G2
2024-06-21certs: R3 / R10 -> ISRG Root X1Gravatar Christian Hesse1-1/+1
2024-04-29mod/notification-telegram: format percentage italicGravatar Christian Hesse1-2/+2
2024-04-29mod/notification-telegram: format date & time italicGravatar Christian Hesse1-2/+2
2024-04-29mod/notification-telegram: support excluding characters from escaping...Gravatar Christian Hesse1-1/+4
... to support formatting in plain text. Handle with care, this can break the request if done wrong!
2024-04-29mod/notification-telegram: use proper variable naming...Gravatar Christian Hesse1-7/+9
... in local escaping function.
2024-04-29mod/notification-telegram: capitalize Telegram in messageGravatar Christian Hesse1-1/+1
2024-04-29mod/notification-matrix: format date & time italicGravatar Christian Hesse1-5/+6
2024-04-29mod/ssh-keys-import: remove temporary directoryGravatar Christian Hesse1-0/+2
2024-04-29mod/ssh-keys-import: create directory laterGravatar Christian Hesse1-5/+5
2024-04-19mod/notification-telegram: string protocol for displayGravatar Christian Hesse1-2/+5
2024-04-19mod/notification-matrix: string protocol for displayGravatar Christian Hesse1-2/+4
2024-04-18mod/notification-matrix: ... and more double escapingGravatar Christian Hesse1-2/+2
2024-04-18mod/notification-matrix: fix double escapingGravatar Christian Hesse1-17/+11
That was introduced with 2a232ad2f5eef4b60c97306ef731bc5883bf5cfb when switching to :serialize...
2024-04-15mod/notification-matrix: generate JSON with :serializerouteros-7.13-7Gravatar Christian Hesse1-13/+11
2024-04-15mod/notification-matrix: use custom user agent stringGravatar Christian Hesse1-7/+15
2024-04-15mod/notification-ntfy: use custom user agent stringGravatar Christian Hesse1-1/+3
2024-04-15mod/notification-ntfy: support basic authchange-127Gravatar Christian Hesse1-3/+11
Closes #59
2024-04-10mod/notification-telegram: $SendTelegram: set originGravatar Christian Hesse1-1/+1
2024-04-10mod/notification-ntfy: $SendNtfy: set originGravatar Christian Hesse1-1/+1
2024-04-10mod/notification-matrix: $SendMatrix: set originGravatar Christian Hesse1-1/+1
2024-04-10mod/notification-email: $SendEMail: set originGravatar Christian Hesse1-1/+1
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse8-2/+14
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-02mod/notification-matrix: add new configuration snippet...Gravatar Christian Hesse1-6/+9
... instead of appending to global-config-overlay.
2024-04-01mod/notification-matrix: use :deserialize ...Gravatar Christian Hesse1-4/+4
... instead of $ParseJson. This requires RouterOS 7.13.
2024-04-01mod/notification-telegram: use :deserialize ...Gravatar Christian Hesse1-4/+4
... instead of $ParseJson. This requires RouterOS 7.13.
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 fileGravatar Christian Hesse1-1/+1
Looks like this broke in c3045f372350bd8dd0a8f10efb8a4b938e896145 where a non-existent variable name was used.
2023-12-05mod/notification-email: $NotificationFunctions->"email": support hook for ↵Gravatar Christian Hesse1-1/+2
signature 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 ]); }
2023-12-04mod/notification-email: $QuotedPrintable: also encode question markGravatar Christian Hesse1-1/+1
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
2023-12-04mod/notification-email: $QuotedPrintable: minor reworkGravatar Christian Hesse1-10/+11
We have to encode all characters from 0x00 to 0x1f as well... Also the equal sign is nothing special here, just adding to list.
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 setupchange-113Gravatar Christian Hesse1-0/+79
Well, now that we have a JSON parser... Let's improve the user experience a bit.
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...routeros-7.12beta1-3Gravatar Christian Hesse1-4/+2
... now that we require RouterOS 7.12beta1 anyway.
2023-11-09mod/ssh-keys-import: calculate fingerprint...routeros-7.12beta1-2change-112Gravatar Christian Hesse1-1/+6
... and store it in key-owner, which is descriptive only. This requires RouterOS 7.12beta1 for the 'transform' property for ':convert' command.
2023-11-07mod/ssh-keys-import: parse key into arrayGravatar Christian Hesse1-8/+10
2023-10-17mod/notification-ntfy: check for root certificate availabilityGravatar Christian Hesse1-0/+6
... at least with default server.
2023-10-17introduce mod/notification-ntfy...change-109Gravatar Christian Hesse1-0/+129
... for sending notifications via Ntfy (https://ntfy.sh/). TODO: use proper formatting once supported in Android app: https://github.com/binwiederhier/ntfy/issues/889
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...routeros-7.12rc1-1Gravatar Christian Hesse1-2/+3
... which changed in RouterOS 7.12rc1.
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...routeros-7.12beta1-1Gravatar Christian Hesse1-1/+2
... with RouterOS 7.12beta1
2023-08-18mod/ssh-keys-import: drop RouterOS version dependencyGravatar Christian Hesse1-2/+0
... as global-functions depend on RouterOS 7.9beta already.
2023-08-06mod/notification-telegram: introduce $PurgeTelegramQueueGravatar Christian Hesse1-0/+9
... to purge the queue and remove the scheduler.
2023-08-06mod/notification-matrix: introduce $PurgeMatrixQueueGravatar Christian Hesse1-0/+9
... to purge the queue and remove the scheduler.
2023-08-06mod/notification-email: introduce $PurgeEmailQueueGravatar Christian Hesse1-0/+9
... to purge the queue and remove the scheduler.