Commit graph

947 commits

Author SHA1 Message Date
Christian Hesse 64ff7fcf65 doc: inform about dependency on base installation
That should make the documentation clearer if external sites link to the
documentation of a specific script.
2021-05-03 15:07:50 +02:00
Christian Hesse e0e53b8add update list of contributors 2021-05-03 10:35:30 +02:00
Christian Hesse 666cd3f184 upload-backup: add second symbol 2021-04-29 22:37:36 +02:00
Christian Hesse 9e81707491 email-backup: add second symbol 2021-04-29 22:37:36 +02:00
Christian Hesse aa4ad27b0a cloud-backup: add second symbol 2021-04-29 22:37:36 +02:00
Christian Hesse 34ab2837a8 email-backup: add symbol in e-mail
That's easy now that we use $SendEMail2...
2021-04-29 22:37:36 +02:00
Christian Hesse d2560db5c9 email-backup: use $SendEMail2
This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:

:global EmailGeneralToOverride {
  "email-backup"="backup@example.com";
}
2021-04-29 22:37:36 +02:00
Christian Hesse 529cefffaf global-functions: $SendEMail2: support file attachments 2021-04-29 22:37:36 +02:00
Christian Hesse c2b45a9093 email-backup: work inside directory 2021-04-29 21:29:32 +02:00
Christian Hesse 51007f9224 upload-backup: work inside directory 2021-04-29 21:29:32 +02:00
Christian Hesse ff4e5339d0 capsman-rolling-upgrade: properly handle vanished cap 2021-04-29 15:34:09 +02:00
Christian Hesse afc231596c packages-update: update wording 2021-04-29 14:55:51 +02:00
Christian Hesse 6f7ecaeec4 packages-update: add missing colon 2021-04-29 14:55:51 +02:00
Christian Hesse 7ed54a4fe7 global-functions: $DownloadPackage: be more verbose 2021-04-29 14:55:51 +02:00
Christian Hesse 0f445fd528 global-functions: $DownloadPackage: fix typo 2021-04-29 14:40:29 +02:00
Christian Hesse 5d973a095a global-functions: $FlushEmailQueue: try to avoid running simultaneously
We can not check the status for a *specific* mail, so running simultaneously
is a problem. Let's increase the interval to the number of queue items -
and hope it helps. Decrease when done.
2021-04-29 09:12:17 +02:00
Christian Hesse da87761220 Merge branch 'notifications' into next 2021-04-28 20:16:08 +02:00
Christian Hesse 56b7523775 global-functions: notify about settings override 2021-04-28 15:33:37 +02:00
Christian Hesse b497edd092 global-config: comment on overriding e-mail and Telegram settings 2021-04-28 15:11:08 +02:00
Christian Hesse 9fc75f5932 upload-backup: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 0d249d6da4 sms-forward: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse e6223a3661 netwatch-notify: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 87cbc1edad log-forward: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse fe9754c693 daily-psk: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 714a679402 collect-wireless-mac: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse a9b932d67e cloud-backup: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 8e1c524b85 check-routeros-update: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse fbe4c457c6 check-lte-firmware-upgrade: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse baed8b5cfd check-health: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse ebd3dbedcb check-certificates: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse c640823881 global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 2d0ce17629 global-functions: $SendTelegram2: support overriding token id and chat id 2021-04-28 13:58:37 +02:00
Christian Hesse bd05ca1133 global-functions: $SendTelegram2: store token id in queue 2021-04-28 13:58:37 +02:00
Christian Hesse 42dcdae11e global-functions: $SendEMail2: support overriding to and cc 2021-04-28 13:58:37 +02:00
Christian Hesse e97b394536 global-functions: introduce $EitherOr 2021-04-28 13:58:37 +02:00
Christian Hesse 66a92c3da9 upload-backup: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 123fe01115 sms-forward: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 557016387c netwatch-notify: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 81f84353cd log-forward: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 354aedd98e daily-psk: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 1ca3e8b59f collect-wireless-mac: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse d6edf6c2d3 cloud-backup: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 19ca17190d check-routeros-update: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 4fe11fadee check-lte-firmware-upgrade: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse bf315c15f6 check-health: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 71976f2eb9 check-certificates: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse 76f32e3927 global-functions: $ScriptInstallUpdate: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse c7a2eecd3c global-functions: introduce $SendEMail2, $SendNotification2 & $SendTelegram2
These accept just one array as argument. Adding new features is possible
without breaking the API.

These calls are the same for now:

$SendNotification "Subject..." "Message...";
$SendNotification2 ({ subject="Subject..."; message="Message..." });

But the latter will bring more features in future.
2021-04-28 13:58:37 +02:00
Christian Hesse d4c9d1c577 README: add logo 2021-04-28 13:58:14 +02:00
Christian Hesse 99f828e7c0 add logo
This should be displayed by Gitlab now...
Also it is the logo we use for the Telegram group.
2021-04-28 12:05:04 +02:00