Compare commits

..

48 commits

Author SHA1 Message Date
Christian Hesse
c63826c99f doc/mod/scriptrunonce: get script from rsc.eworm.de 2025-11-12 00:25:18 +01:00
Christian Hesse
046c3811af INITIAL-COMMANDS: install from rsc.eworm.de 2025-11-12 00:23:37 +01:00
Christian Hesse
543c4424e7 README: install from rsc.eworm.de 2025-11-12 00:23:02 +01:00
Christian Hesse
e2fea6eb1e contrib/Makefile: hide the hint on broken site 2025-11-12 00:11:16 +01:00
Christian Hesse
515edeaf44 contrib/notification: hint on possibly broken site 2025-11-12 00:11:16 +01:00
Christian Hesse
25e6780f2a contrib/logo-color: hint on possibly broken site 2025-11-12 00:11:16 +01:00
Christian Hesse
f273392d7d contrib/html: hide the hint on broken link 2025-11-12 00:01:55 +01:00
Christian Hesse
6be669632b doc/mod/notification-telegram: hint on possibly broken link 2025-11-11 23:59:56 +01:00
Christian Hesse
3b94878e0d README: add a sub-section for code hosting 2025-11-11 23:59:56 +01:00
Christian Hesse
e938ea8f0b README: add the url verbatim 2025-11-11 23:59:56 +01:00
Christian Hesse
9b34f60b89 general/style: make the blockquote darker 2025-11-11 23:59:56 +01:00
Christian Hesse
a94c72493a contrib/notification: add a head with eworm, QR code and caption 2025-11-11 23:59:56 +01:00
Christian Hesse
64b651b6d7 contrib/logo-color: add a head with eworm, QR code and caption 2025-11-11 23:59:56 +01:00
Christian Hesse
c9da2423aa contrib/html: add a head with eworm, QR code and caption 2025-11-11 23:59:56 +01:00
Christian Hesse
237e04c25d README: move the QR code 2025-11-11 23:59:56 +01:00
Christian Hesse
4b92dcd3ed Merge branch 'builtin-trust-store' into next 2025-11-11 23:59:56 +01:00
Christian Hesse
3fa0690b9d README: add a line break before command 2025-11-11 23:59:56 +01:00
Christian Hesse
41c349a04c doc/mod/notification-matrix: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
254a89886d fw-addr-lists.d/allow: use rsc.eworm.de in the list 2025-11-11 23:59:56 +01:00
Christian Hesse
5f1b17a644 CERTIFICATES: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
a8528bc02d fw-addr-lists.d/{allow,block}: use short url rsc.eworm.de 2025-11-11 23:59:56 +01:00
Christian Hesse
c273770f7d update-tunnelbroker: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
edb8ad9a2e Makefile: clean up and add phony targets 2025-11-11 23:59:56 +01:00
Christian Hesse
31a2bbbb4c telegram-chat: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
c0e4f411c2 global-functions: $ScriptInstallUpdate: extra actions on 'not found' only 2025-11-11 23:59:56 +01:00
Christian Hesse
6c2bf181fc netwatch-dns: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
e3cf008ec1 global-functions: $ScriptInstallUpdate: either or...
... but not both.
2025-11-11 23:59:56 +01:00
Christian Hesse
0cbc8dca74 mod/notification-telegram: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
1bdca31985 global-functions: $ScriptInstallUpdate: give hint on ignore
Fixes: https://github.com/eworm-de/routeros-scripts/issues/112
2025-11-11 23:59:56 +01:00
Christian Hesse
24aadcf02d mod/notification-ntfy: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
40a581e013 contrib/checksums.sh: output to stdout...
... and let the Makefile redirect.
2025-11-11 23:59:56 +01:00
Christian Hesse
85f3e1a5f4 fw-addr-lists: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
df970f3366 Merge branch 'contrib' into next 2025-11-11 23:59:56 +01:00
Christian Hesse
45ab635ba1 check-certificates: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
4ec1833ef8 contrib: introduce Makefile...
... and update references in links.
2025-11-11 23:59:56 +01:00
Christian Hesse
ee77f7d72d global-functions: $ScriptInstallUpdate: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
2e808141b8 contrib/logo-color: place screenshots below each other...
... not side by side.
2025-11-11 23:59:56 +01:00
Christian Hesse
ab29a3fb82 global-functions: $GetMacVendor: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
06d1bab537 contrib/logo-color: use relative reference in link
... without extra path elements.

This may break, depending on site.
2025-11-11 23:59:56 +01:00
Christian Hesse
e69605ac4d global-functions: $DownloadPackage: define certificate use 2025-11-11 23:59:56 +01:00
Christian Hesse
954c8e299f doc/mod/notification-telegram: use relative reference in link
This may break, depending on site.
2025-11-11 23:59:56 +01:00
Christian Hesse
959f0a257f global-functions: $CertificateAvailable: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-11 23:59:56 +01:00
Christian Hesse
a7de16b584 contrib/notification: format the values italic 2025-11-11 23:59:56 +01:00
Christian Hesse
7f2cdf67cb INITIAL-COMMANDS: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-11 23:59:56 +01:00
Christian Hesse
4b5333d971 contrib/notification: update date format 2025-11-11 23:59:56 +01:00
Christian Hesse
67551e58d8 README: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-11 23:59:56 +01:00
Christian Hesse
ee6c66327a contrib/{logo-color,notification}: add navigation structure 2025-11-11 23:59:56 +01:00
Christian Hesse
0a37b6c008 contrib/*: unify html code 2025-11-11 23:59:56 +01:00
9 changed files with 55 additions and 16 deletions

View file

@ -17,7 +17,7 @@ Initial commands
Run the complete base installation:
{
:local BaseUrl "https://git.eworm.de/cgit/routeros-scripts/plain/";
:local BaseUrl "https://rsc.eworm.de/main/";
:local CertCommonName "ISRG Root X2";
:local CertFileName "ISRG-Root-X2.pem";
:local CertFingerprint "69729b8e15a86efc177a57afb7171dfc64add28c2fca8cf1507e34453ccb1470";

View file

@ -87,7 +87,7 @@ If you intend to download the scripts from a
different location (for example from github.com) install the corresponding
certificate chain.
/tool/fetch "https://git.eworm.de/cgit/routeros-scripts/plain/certs/ISRG-Root-X2.pem" dst-path="isrg-root-x2.pem";
/tool/fetch "https://rsc.eworm.de/main/certs/ISRG-Root-X2.pem" dst-path="isrg-root-x2.pem";
![screenshot: download certs](README.d/01-download-certs.avif)
@ -125,7 +125,7 @@ date and time is set correctly!
Now let's download the main scripts and add them in configuration on the fly.
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={ /system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data"); };
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={ /system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://rsc.eworm.de/main/" . $Script . ".rsc") output=user as-value]->"data"); };
![screenshot: import scripts](README.d/04-import-scripts.avif)
@ -404,14 +404,15 @@ immediately remove the link in question.
Upstream
--------
[rsc.eworm.de](https://rsc.eworm.de/)
[![upstream](general/qr-code.png)](https://rsc.eworm.de/)
URL:
[GitHub.com](https://github.com/eworm-de/routeros-scripts#routeros-scripts)
### Code hosting
Mirror:
[eworm.de](https://git.eworm.de/cgit/routeros-scripts/about/)
[GitLab.com](https://gitlab.com/eworm-de/routeros-scripts#routeros-scripts)
* [eworm.de](https://git.eworm.de/cgit/routeros-scripts/about/)
* [GitHub.com](https://github.com/eworm-de/routeros-scripts#routeros-scripts)
* [GitLab.com](https://gitlab.com/eworm-de/routeros-scripts#routeros-scripts)
---
[⬆️ Go back to top](#top)

View file

@ -7,4 +7,6 @@ HTML := $(wildcard *.html)
all: docs
docs: $(HTML)
sed -i '/href=/s|\.md|\.html|' $(HTML)
sed -i -e '/href=/s|\.md|\.html|' \
-e '/blockquote/s|/\*! display \*/|display: none;|' \
$(HTML)

View file

@ -13,5 +13,6 @@ sed \
markdown -f toc,idanchor "${1}" | sed \
-e 's/href="\([-_\./[:alnum:]]*\)\.md\(#[-[:alnum:]]*\)\?"/href="\1.html\2"/g' \
-e '/<h[1234] /s| id="\(.*\)">| id="\L\1">|' \
-e '/<h[1234] /s|-2c-||g' -e '/<h[1234] /s|--26-amp-3b-||g'
-e '/<h[1234] /s|-2c-||g' -e '/<h[1234] /s|--26-amp-3b-||g' \
-e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|'
printf '</body></html>'

View file

@ -6,12 +6,12 @@
</head><body>
<table>
<tr>
<td rowspan=2><img src="__EWORM__" alt="eworm on meadow"></td>
<td rowspan=2><img src="__QR_CODE__" alt="QR code: rsc.eworm.de"></td>
<td rowspan=2><img src="__EWORM__" alt="eworm on meadow" /></td>
<td rowspan=2><img src="__QR_CODE__" alt="QR code: rsc.eworm.de" /></td>
<td class="head-top">RouterOS Scripts</td>
</tr>
<tr>
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
</tr>
</table>
<hr>
<hr />

View file

@ -5,11 +5,27 @@
<link rel="icon" type="image/png" href="../logo.png">
<script src="logo-color.d/script.js"></script>
</head><body>
<table>
<tr>
<td rowspan=2><img src="../general/eworm-meadow.avif" alt="eworm on meadow" /></td>
<td rowspan=2><img src="../general/qr-code.png" alt="QR code: rsc.eworm.de" /></td>
<td class="head-top">RouterOS Scripts</td>
</tr>
<tr>
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
</tr>
</table>
<hr />
<h1>Logo Color Changer</h1>
<p><a href="../README.md">⬅️ Go back to main README</a></p>
<blockquote style="/*! display */"><p>💡️ <strong>Hint</strong>: This site or links
on it may be broken on code hosting sites. Use
<a href="https://rsc.eworm.de/main/contrib/logo-color.html">Logo Color Changer</a>
instead.</p></blockquote>
<p>You want the logo for your own notifications? But you joined the
<a href="https://t.me/routeros_scripts">Telegram Group</a> and want
something that differentiates? Color it!</p>

View file

@ -5,11 +5,27 @@
<link rel="icon" type="image/png" href="../logo.png">
<script src="notification.d/script.js"></script>
</head><body>
<table>
<tr>
<td rowspan=2><img src="../general/eworm-meadow.avif" alt="eworm on meadow" /></td>
<td rowspan=2><img src="../general/qr-code.png" alt="QR code: rsc.eworm.de" /></td>
<td class="head-top">RouterOS Scripts</td>
</tr>
<tr>
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
</tr>
</table>
<hr />
<h1>Notification Generator</h1>
<p><a href="../README.md">⬅️ Go back to main README</a></p>
<blockquote style="/*! display */"><p>💡️ <strong>Hint</strong>: This site or links
on it may be broken on code hosting sites. Use
<a href="https://rsc.eworm.de/main/contrib/notification.html">Notification Generator</a>
instead.</p></blockquote>
<div class="notification">
<img src="../logo.svg" alt="logo" class="logo" width=48 height=48>
<div class="content">

View file

@ -106,10 +106,13 @@ chat with [BotFather ↗️](https://t.me/BotFather) and set it there.
![set profile photo](notification-telegram.d/setuserpic.avif)
Have a look at my
[RouterOS-Scripts Logo Color Changer](../../contrib/logo-color.html)
Have a look at my [Logo Color Changer](../../contrib/logo-color.html)
to create a colored version of this scripts' logo.
> 💡️ **Hint**: The above link may be broken on code hosting sites.
> Use [Logo Color Changer](https://rsc.eworm.de/main/contrib/logo-color.html)
> instead.
See also
--------

View file

@ -48,7 +48,7 @@ Usage and invocation
The function `$ScriptRunOnce` expects an URL (or name if
`ScriptRunOnceBaseUrl` is given) pointing to a script as parameter.
$ScriptRunOnce https://git.eworm.de/cgit/routeros-scripts/plain/doc/mod/scriptrunonce.d/hello-world.rsc;
$ScriptRunOnce https://rsc.eworm.de/main/doc/mod/scriptrunonce.d/hello-world.rsc;
![ScriptRunOnce](scriptrunonce.d/scriptrunonce.avif)