aboutsummaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Expand)AuthorFilesLines
2024-11-08mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`Gravatar 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 linesGravatar 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...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse8-8/+8
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 Certificat...Gravatar Christian Hesse1-1/+1
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...•••... to support formatting in plain text. Handle with care, this can break the request if done wrong! Gravatar Christian Hesse1-1/+4
2024-04-29mod/notification-telegram: use proper variable naming...•••... in local escaping function. Gravatar Christian Hesse1-7/+9
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 escaping•••That was introduced with 2a232ad2f5eef4b60c97306ef731bc5883bf5cfb when switching to :serialize... Gravatar Christian Hesse1-17/+11
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 auth•••Closes #59 change-127Gravatar Christian Hesse1-3/+11
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...•••... now that global-functions requires RouterOS 7.13 anyway. routeros-7.13-6Gravatar Christian Hesse8-2/+14
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