Age | Commit message (Expand) | Author | Files | Lines |
2024-05-24 | telegram-chat: convert the message (command) to string•••RouterOS 7.15beta4 fixed a bug in JSON parser:
*) console - do not convert string to array in ":deserialize" command;
Before that change commands with a comma caused very crazy issues. Let's
convert the message to a string. This does not give exactly the expected
result, but mitigates telegram-chat to explode.
A command like...
/ip/address/print proplist=address,network;
... is converted to...
/ip/address/print proplist=address;network;
... and results in:
Columns: ADDRESS
# ADDRESS
0 10.0.0.1/24
1 127.0.0.1/8
bad command name network (line 1 column 36)
| Christian Hesse | 1 | -10/+11 |
2024-05-23 | Merge branch 'backup-partition' into next | Christian Hesse | 5 | -4/+66 |
2024-05-23 | backup-partition: news on support for copy-overchange-129 | Christian Hesse | 2 | -1/+2 |
2024-05-23 | doc/backup-upload: fix link for backup-partition | Christian Hesse | 1 | -1/+1 |
2024-05-23 | backup-partition: support copy before feature update | Christian Hesse | 3 | -3/+30 |
2024-05-23 | doc/backup-email: fix link for backup-partition | Christian Hesse | 1 | -1/+1 |
2024-05-23 | backup-partition: move code to a local function | Christian Hesse | 1 | -5/+17 |
2024-05-23 | doc/backup-cloud: fix link for backup-partition | Christian Hesse | 1 | -1/+1 |
2024-05-23 | backup-partition: support RouterOS copy-over...•••... when run interactively from CLI.
| Christian Hesse | 2 | -3/+25 |
2024-05-15 | daily-psk: quote ssid and passphrase | Christian Hesse | 4 | -4/+4 |
2024-05-15 | daily-psk: decrease indention in notification | Christian Hesse | 4 | -12/+12 |
2024-05-15 | daily-psk: adopt syntax changes•••RouterOS 7.15beta8 came with this change:
*) wifi - show inherited properties with "print" command (replaces "actual-configuration") and added "print config" for showing only configured values;
While the old code is bad syntax with RouterOS 7.15, the new code is
valid for older RouterOS, but produces different (and more or less
unexpected) results. 🥴
Let's use the new code, and add a check on the RouterOS version.
With old RouterOS this now sends the notification even if the interface
is disabled.
routeros-7.15beta8-1 | Christian Hesse | 4 | -2/+6 |
2024-05-15 | global-functions: $IsTimeSync: initialize with uptime...•••... to make sure the warning is not issued too early.
| Christian Hesse | 1 | -2/+2 |
2024-05-14 | fw-addr-lists: add 'strongips' list from blocklist.dechange-128 | Christian Hesse | 5 | -3/+182 |
2024-05-08 | global-functions: $IsTimeSync: add (one time) warning on failed ntp sync | Christian Hesse | 1 | -0/+1 |
2024-05-08 | global-functions: $IsTimeSync: log just once | Christian Hesse | 1 | -3/+3 |
2024-04-29 | global-functions: $WaitForFile: drop extra conversion | Christian Hesse | 1 | -1/+1 |
2024-04-29 | global-functions: $WaitForFile: respect minimum delay | Christian Hesse | 1 | -1/+2 |
2024-04-29 | global-functions: $WaitForFile: use fewer steps | Christian Hesse | 1 | -2/+2 |
2024-04-29 | telegram-chat: shorten the message | Christian Hesse | 1 | -1/+1 |
2024-04-29 | mod/notification-telegram: format percentage italic | Christian Hesse | 1 | -2/+2 |
2024-04-29 | mod/notification-telegram: format date & time italic | Christian Hesse | 1 | -2/+2 |
2024-04-29 | mod/notification-telegram: support excluding characters from escaping...•••... to support formatting in plain text.
Handle with care, this can break the request if done wrong!
| Christian Hesse | 1 | -1/+4 |
2024-04-29 | mod/notification-telegram: use proper variable naming...•••... in local escaping function.
| Christian Hesse | 1 | -7/+9 |
2024-04-29 | mod/notification-telegram: capitalize Telegram in message | Christian Hesse | 1 | -1/+1 |
2024-04-29 | mod/notification-matrix: format date & time italic | Christian Hesse | 1 | -5/+6 |
2024-04-29 | global-functions: $CleanName: do not start with a dash | Christian Hesse | 1 | -4/+12 |
2024-04-29 | mod/ssh-keys-import: remove temporary directory | Christian Hesse | 1 | -0/+2 |
2024-04-29 | mod/ssh-keys-import: create directory later | Christian Hesse | 1 | -5/+5 |
2024-04-29 | global-functions: $FetchHuge: remove temporary directory | Christian Hesse | 1 | -4/+5 |
2024-04-29 | backup-cloud: retry on error...•••Let's see if brute force helps. 🤪
| Christian Hesse | 1 | -12/+16 |
2024-04-29 | backup-cloud: clean up and simplify code | Christian Hesse | 1 | -6/+4 |
2024-04-29 | backup-cloud: no early exit...•••... as we want to make sure the directory (and its content) is removed.
| Christian Hesse | 1 | -1/+0 |
2024-04-29 | backup-upload: no early exit... | Christian Hesse | 1 | -1/+0 |
2024-04-23 | backup-upload: remove temporary directory | Christian Hesse | 1 | -0/+1 |
2024-04-23 | netwatch-notify: log to debug...•••... instead of discarding the message completely.
| Christian Hesse | 1 | -2/+3 |
2024-04-19 | README: show fingerprints in output•••This is not scrictly necessary, as we filter by fingerprint already...
But it gives better overview and feeling.
| Christian Hesse | 2 | -1/+1 |
2024-04-19 | README: remove left over certificate file•••But use find as RouterOS 7.15rc1 removes it automatically.
| Christian Hesse | 1 | -1/+2 |
2024-04-19 | INITIAL-COMMANDS: remove the certificate file with find•••Required as RouterOS 7.15rc1 removes it automatically.
routeros-7.15rc1-2 | Christian Hesse | 1 | -1/+1 |
2024-04-19 | global-functions: $CertificateDownload: remove with find...•••... to make sure this does not break when the file does no longer
exist. Starting with RouterOS 7.15rc1 the file is automatically
removed on import.
routeros-7.15rc1-1 | Christian Hesse | 1 | -1/+1 |
2024-04-19 | netwatch-notify: allow to suppress resolve failure | Christian Hesse | 2 | -1/+10 |
2024-04-19 | mod/notification-telegram: string protocol for display | Christian Hesse | 1 | -2/+5 |
2024-04-19 | mod/notification-matrix: string protocol for display | Christian Hesse | 1 | -2/+4 |
2024-04-19 | global-functions: introduce $ProtocolStrip | Christian Hesse | 1 | -0/+12 |
2024-04-18 | mod/notification-matrix: ... and more double escaping | Christian Hesse | 1 | -2/+2 |
2024-04-18 | mod/notification-matrix: fix double escaping•••That was introduced with 2a232ad2f5eef4b60c97306ef731bc5883bf5cfb when
switching to :serialize...
| Christian Hesse | 1 | -17/+11 |
2024-04-15 | certificate-renew-issued: use single quotes | Christian Hesse | 1 | -3/+3 |
2024-04-15 | global-functions: $CertificateDownload: use single quotes | Christian Hesse | 1 | -2/+2 |
2024-04-15 | global-functions: $CertificateAvailable: use single quotes | Christian Hesse | 1 | -3/+3 |
2024-04-15 | gps-track: use custom user agent string | Christian Hesse | 1 | -3/+4 |
2024-04-15 | gps-track: generate JSON with :serializerouteros-7.13-8 | Christian Hesse | 1 | -5/+2 |
2024-04-15 | mod/notification-matrix: generate JSON with :serializerouteros-7.13-7 | Christian Hesse | 1 | -13/+11 |
2024-04-15 | mod/notification-matrix: use custom user agent string | Christian Hesse | 1 | -7/+15 |
2024-04-15 | mod/notification-ntfy: use custom user agent string | Christian Hesse | 1 | -1/+3 |
2024-04-15 | mod/notification-ntfy: support basic auth•••Closes #59
change-127 | Christian Hesse | 5 | -4/+20 |
2024-04-11 | global-functions: $ScriptFromTerminal: check multiple invocations...•••... and return false.
We can not tell which job is us... So better safe than sorry.
| Christian Hesse | 1 | -1/+6 |
2024-04-11 | global-functions: $ScriptLock: break long lines | Christian Hesse | 1 | -2/+5 |
2024-04-11 | global-functions: $ScriptLock: degrade message to debug | Christian Hesse | 1 | -2/+2 |
2024-04-10 | mod/notification-telegram: $SendTelegram: set origin | Christian Hesse | 1 | -1/+1 |
2024-04-10 | mod/notification-ntfy: $SendNtfy: set origin | Christian Hesse | 1 | -1/+1 |
2024-04-10 | mod/notification-matrix: $SendMatrix: set origin | Christian Hesse | 1 | -1/+1 |
2024-04-10 | mod/notification-email: $SendEMail: set origin | Christian Hesse | 1 | -1/+1 |
2024-04-10 | global-functions: $SendNotification: set origin | Christian Hesse | 1 | -1/+1 |
2024-04-07 | global-functions: $HumanReadableNum: indicate binary base...•••... and update scripts to match the change.
| Christian Hesse | 4 | -7/+11 |
2024-04-07 | global-functions: drop $LogPrintExit2 | Christian Hesse | 1 | -22/+0 |
2024-04-07 | bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.13 anyway.
routeros-7.13-6 | Christian Hesse | 110 | -104/+116 |
2024-04-07 | Merge branch 'fw-addr-lists' into next | Christian Hesse | 2 | -37/+65 |
2024-04-07 | fw-addr-lists: break long lines | Christian Hesse | 1 | -4/+8 |
2024-04-07 | fw-addr-lists: show count of active addresses | Christian Hesse | 1 | -0/+1 |
2024-04-07 | fw-addr-lists: human readable numbers for counts | Christian Hesse | 1 | -2/+4 |
2024-04-07 | fw-addr-lists: rework log messages, always include list name | Christian Hesse | 1 | -13/+26 |
2024-04-07 | fw-addr-lists: add debug message on successful download | Christian Hesse | 1 | -0/+3 |
2024-04-07 | fw-addr-lists: try with less regexp matches | Christian Hesse | 1 | -8/+15 |
2024-04-07 | fw-addr-lists: use $FetchHugerouteros-7.13-5 | Christian Hesse | 2 | -13/+11 |
2024-04-06 | Merge branch 'FetchHuge' into next | Christian Hesse | 2 | -2/+49 |
2024-04-06 | global-functions: $FetchHuge: remove file on failed download | Christian Hesse | 1 | -0/+3 |
2024-04-06 | global-functions: $FetchHuge: make sure to work with clean file names | Christian Hesse | 1 | -3/+4 |
2024-04-06 | global-functions: $FetchHuge: control check-certificate with parameter | Christian Hesse | 1 | -3/+7 |
2024-04-06 | global-functions: $FetchHuge: use custom user agent string | Christian Hesse | 1 | -1/+3 |
2024-04-06 | global-functions: introduce $FetchHugerouteros-7.13-4 | Christian Hesse | 2 | -2/+39 |
2024-04-04 | README: update screenshot on lease script setup | Christian Hesse | 1 | -0/+0 |
2024-04-04 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2024-04-04 | README: add start-time & change interval in scheduler example•••Set the interval to once a day, Instead of every 1 hour.
Add start-time to start-up. Thereby introducing randomization based on when
the user last rebooted there device. As the interval is counted based on last
boot time.
| netravnen | 2 | -2/+2 |
2024-04-04 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2024-04-02 | mod/notification-matrix: add new configuration snippet...•••... instead of appending to global-config-overlay.
| Christian Hesse | 4 | -8/+14 |
2024-04-02 | Merge branch 'deserialize' into nextrouteros-7.13-3 | Christian Hesse | 6 | -78/+16 |
2024-04-02 | global-functions: drop $ParseJson | Christian Hesse | 1 | -61/+0 |
2024-04-01 | telegram-chat: read file content...•••... instead of getting it. This lifts the size limit, though we are
still limited by Telegram message size.
This requires RouterOS 7.13.
routeros-7.13-2change-126 | Christian Hesse | 4 | -10/+9 |
2024-04-01 | mod/notification-matrix: use :deserialize ...•••... instead of $ParseJson. This requires RouterOS 7.13.
| Christian Hesse | 2 | -5/+5 |
2024-04-01 | mod/notification-telegram: use :deserialize ...•••... instead of $ParseJson. This requires RouterOS 7.13.
| Christian Hesse | 2 | -5/+5 |
2024-04-01 | telegram-chat: use :deserialize ...•••... instead of $ParseJson. This requires RouterOS 7.13.
| Christian Hesse | 1 | -7/+6 |
2024-03-31 | Merge branch 'aprils-fool'change-125 | Christian Hesse | 2 | -1/+2 |
2024-03-31 | news on April's Fool! 🥳️ | Christian Hesse | 1 | -2/+1 |
2024-03-31 | news on charge and fees | Christian Hesse | 2 | -1/+3 |
2024-03-29 | global-functions: rename $FetchUserAgent -> $FetchUserAgentStr•••... to make sure the function does not clash with the variable we had before,
as this causes issue with news and changes notification.
| Christian Hesse | 4 | -13/+13 |
2024-03-27 | global-functions: $HumanReadableNum: set declared function only | Christian Hesse | 1 | -1/+1 |
2024-03-27 | global-functions: $AlignRight: set declared function only | Christian Hesse | 1 | -1/+1 |
2024-03-27 | global-functions: $FetchUserAgent: set declared function only | Christian Hesse | 1 | -1/+1 |
2024-03-27 | packages-update: do not reboot when scheduled | Christian Hesse | 1 | -0/+2 |
2024-03-27 | global-functions: $LogPrintOnce: detect and warn on possible crash | Christian Hesse | 1 | -0/+5 |