Commit graph

2353 commits

Author SHA1 Message Date
Christian Hesse
5408ba008a sms-forward: fix array access in condition 2019-08-05 10:32:19 +02:00
Christian Hesse
67f4b135f5 capsman-download-packages: syntax error with missing parenthesis 2019-08-02 15:22:17 +02:00
Christian Hesse
ab4aef4dfb global-functions: $DownloadPackage: re-introduce check for valid package
Even if fetch tool does its job right now... Chances are that the
download servers have corrupted or empty files.
2019-08-01 18:45:54 +02:00
Christian Hesse
70798de8f0 check-certificates: fix renewing certificate in place 2019-07-31 21:04:06 +02:00
Christian Hesse
acce2322c3 global-functions: add $RandomDelay 2019-07-26 18:14:33 +02:00
Christian Hesse
f49b67f5e7 global-functions: add $GetRandom 2019-07-26 18:13:59 +02:00
Christian Hesse
25a22e2e1c script-updates: get source from array 2019-07-25 21:19:10 +02:00
Christian Hesse
1c4dfeaa4a sms-forward: get values into arrays 2019-07-25 14:24:18 +02:00
Christian Hesse
cc9b2620e7 update-tunnelbroker: get values into array 2019-07-25 14:22:08 +02:00
Christian Hesse
d9d98cfe9e script-updates: get values into arrays 2019-07-25 13:12:17 +02:00
Christian Hesse
8d4dc1e3f6 dhcp-to-dns: get values into arrays, general rework 2019-07-25 12:55:11 +02:00
Christian Hesse
46fee70a56 dhcp-lease-comment: get values into array 2019-07-25 10:47:45 +02:00
Christian Hesse
e7dffe0a82 capsman-download-packages: get values into array 2019-07-25 10:35:15 +02:00
Christian Hesse
be133146dd cloud-backup: do not remove but replace cloud backup
The replace functionality for cloud backup is available
with version 6.45beta42.
2019-07-24 23:42:28 +02:00
Christian Hesse
39eef1a0b1 upload-backup: get values into array 2019-07-24 11:13:53 +02:00
Christian Hesse
5789b8d984 cloud-backup: get values into array 2019-07-24 11:12:52 +02:00
Christian Hesse
32cc5d1078 email-backup: get values into array 2019-07-24 11:11:57 +02:00
Christian Hesse
21996dfcaf check-routeros-update: get values into array 2019-07-24 11:10:47 +02:00
Christian Hesse
55313b4841 upload-backup: get values into array 2019-07-24 11:06:50 +02:00
Christian Hesse
1020db0b31 cloud-backup: get values into array 2019-07-24 11:05:44 +02:00
Christian Hesse
5f59211168 email-backup: get values into array 2019-07-24 11:04:31 +02:00
Christian Hesse
9e3ee77a4a check-routeros-update: get values into array 2019-07-24 11:01:45 +02:00
Christian Hesse
6699545157 packages-update: allow to downgrade on change of update channel 2019-07-24 10:49:51 +02:00
Christian Hesse
7fe0938f86 packages-update: break if latest version is unknown 2019-07-24 10:22:37 +02:00
Christian Hesse
3aa4d7ea50 packages-update: get values into array 2019-07-24 10:13:39 +02:00
Christian Hesse
229dc539cc global-functions: $DownloadPackage: fix downloading for CHR / x86_64 2019-07-19 15:37:01 +02:00
Christian Hesse
1e075d8d64 packages-update: run email-backup and/or upload-backup 2019-07-19 11:46:29 +02:00
Christian Hesse
8d1313f588 add script 'upload-backup' 2019-07-19 11:46:29 +02:00
Christian Hesse
26f01b238b global-config: move config for email-backup
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-07-19 11:46:29 +02:00
Christian Hesse
431a4c8176 email-backup: no more than one dot in file name
Looks like some providers do not allow more than one dot in attachment's
file name to mitigate something like `holiday.png.exe`.

Let's just replace dots with underscores.

Fixes #2

Reported-by: @Kampfwurst
2019-07-18 14:43:13 +02:00
Christian Hesse
e309dee3b1 capsman-download-packages: do not require extra permission
The idea was to run capsman-download-packages from netwatch when
upgrade.mikrotik.com is up.

Instead run it from scheduler at startup, but add a delay:

/ system scheduler add name=capsman-download-packages \
    on-event=":delay 2m; capsman-download-packages" start-time=startup
2019-07-18 14:00:53 +02:00
Christian Hesse
b68f5ebc86 daily-psk-schedule: better matching 2019-07-18 13:50:01 +02:00
Christian Hesse
5d12be36d7 update-tunnelbroker: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
beb2e70097 check-certificates: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
047c0989d8 ipv6-update: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
f79ba55637 global-functions: add $ParseKeyValueStore 2019-07-17 16:27:21 +02:00
Christian Hesse
16f04ee7ee global-functions: $CharacterReplace: use same condition in loop 2019-07-16 12:46:33 +02:00
Christian Hesse
b1b53e3d0d global-functions: append system note in e-mail signature 2019-07-16 12:42:40 +02:00
Christian Hesse
12af69b443 update-gre-address: handle missing dynamic address 2019-07-10 11:45:20 +02:00
Christian Hesse
13f091e5ae gps-track: remove workaround 2019-07-09 11:19:41 +02:00
Christian Hesse
65c76b8409 capsman-rolling-upgrade: log with info, give identity 2019-07-08 15:49:00 +02:00
Christian Hesse
43d77cb62d lease-script: give hint about mis-usage 2019-07-05 23:38:44 +02:00
Christian Hesse
933db2ddc8 sms-action: give hint about mis-usage 2019-07-05 23:33:45 +02:00
Christian Hesse
15beb92347 ppp-on-up: give hint about mis-usage 2019-07-05 23:21:46 +02:00
Christian Hesse
894ee65675 ipv6-update: give hint about mis-usage 2019-07-05 16:09:49 +02:00
Christian Hesse
1272fe1cb1 update-gre-address: get values into arrays 2019-07-01 11:26:10 +02:00
Christian Hesse
5d0104f0a7 update-gre-address: update for latest routeros
With RouterOS 6.45 "remote-peers" was renamed to "active-peers":

*) ipsec - renamed "remote-peers" to "active-peers";
2019-07-01 10:21:17 +02:00
Christian Hesse
08ef63ddbd check-routeros-update: link a changelog that opens in browser
The old link was delivered with MIME type 'application/octet-stream',
browsers wanted to download it as file.
2019-07-01 09:44:50 +02:00
Christian Hesse
44dd4231cb bridge-port-to-default: handle special value 'dhcp-client'...
... which disables the bridge port, but enables a dhcp client.
2019-06-26 00:07:11 +02:00
Christian Hesse
9d1a59fd64 bridge-port-to-default: get bridge port values into array 2019-06-25 23:06:51 +02:00