Commit graph

19 commits

Author SHA1 Message Date
Christian Hesse
009674b5bc bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-07 22:51:24 +02:00
Christian Hesse
4df1468e25 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.
2024-03-29 11:11:17 +01:00
Christian Hesse
079249f3d7 check-routeros-update: use custom user agent string 2024-03-18 09:31:40 +01:00
Christian Hesse
a996bdac2a check-routeros-update: switch to $LogPrint 2024-03-12 20:37:57 +01:00
Christian Hesse
7110b29cba check-routeros-update: drop main function, use :do with on-error 2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa global-functions: $ScriptLock: do not exit from global function 2024-03-12 15:27:15 +01:00
Christian Hesse
184a769eeb check-routeros-update: do not exit with error 2024-03-12 15:27:15 +01:00
Christian Hesse
22eb74cb3a check-routeros-update: move code into function 2024-03-04 17:04:45 +01:00
Christian Hesse
3412ab771f check-routeros-update: use :jobname to get script name 2024-01-30 00:52:21 +01:00
Christian Hesse
9a73fc526f update copyright for 2024 2024-01-01 15:25:25 +01:00
Christian Hesse
ab8c9d04ff check-routeros-update: rename scheduler
This was missing for commit f7c72b6ed96e45bf1fbb54c46ce09e1fccc791be...
2023-11-16 13:18:10 +01:00
Christian Hesse
110bb793b6 check-routeros-update: do not match the channel on neighbor update
While this works for stable, it does not for testing: The testing
channel can have "testing" in the string for rc releases, but also
"development" for beta releases... and possibly more.
Instead match on version string only, with word boundary.
2023-09-13 16:08:59 +02:00
Christian Hesse
57027ceb26 check-routeros-update: show neighbor's identity in message and notification 2023-08-31 09:40:09 +02:00
Christian Hesse
7b47ed7ea5 check-routeros-update: support update from specific neighbor(s)
... by matching the identity property.
2023-08-31 09:40:09 +02:00
Christian Hesse
be97de3627 check-routeros-update: also match platform for neighbors 2023-07-15 22:05:47 +02:00
Ben Harris
fbf55292a4 check-routeros-update: match version with date suffix
Neighbor version can have a date suffix. This changes to match only
on the beginning.

Closes: GH-45

Co-authored-by: Christian Hesse <mail@eworm.de>
2023-07-13 08:00:14 +02:00
Christian Hesse
4a67155d05 packages-update: rename scheduler to match function name 2023-06-22 22:45:32 +02:00
Christian Hesse
be0bbe80d9 check-routeros-update: add version in notification subject 2023-04-19 22:05:43 +02:00
Christian Hesse
a832fd04ef rename scripts and add file extension ".rsc"
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00