Compare commits

..

78 commits

Author SHA1 Message Date
Christian Hesse
c8f6f7a4b5 contrib/static-html: add badges 2025-11-18 19:14:10 +01:00
Christian Hesse
7f0da6311b contrib/static-html: find static html files by comment 2025-11-18 19:13:57 +01:00
Christian Hesse
c5c9f869d2 doc/mode-button: create code block with indention 2025-11-18 16:52:21 +01:00
Christian Hesse
76aa8e73b2 doc/mod/ssh-keys-import: create code block with indention 2025-11-18 16:50:09 +01:00
Christian Hesse
d7f9f3eade contrib/static-html: split off from Makefile 2025-11-17 13:20:05 +01:00
Christian Hesse
17e7deee16 contrib/html: simplify handling of relative paths 2025-11-17 13:09:58 +01:00
Christian Hesse
626f41427a general/clipboard: add a visual feedback 2025-11-17 12:28:59 +01:00
Christian Hesse
959d4c1eb2 general/style: add a "📋 Copy!" hint to code blocks 2025-11-17 12:28:59 +01:00
Christian Hesse
d44ea0d566 contrib/html: support click on code block to copy to clipboard 2025-11-17 12:28:59 +01:00
Christian Hesse
7b55ae482e global-functions: add and fix global scheduler automatically...
... and also adjust README and INITIAL-COMMANDS.
2025-11-17 12:28:59 +01:00
Christian Hesse
450fe6ab9b contrib/commitinfo: support updating the commit info 2025-11-17 12:28:59 +01:00
Christian Hesse
34c8b7bd80 global-functions: $FetchUserAgentStr: add commit info in user agent string 2025-11-17 12:28:59 +01:00
Christian Hesse
bebfd40f27 Merge branch 'rsc-eworm-de' into next 2025-11-17 12:28:59 +01:00
Christian Hesse
8692119e6a Merge branch 'contrib-template' into next 2025-11-17 12:28:59 +01:00
Christian Hesse
6fb11ff6fc doc/mod/scriptrunonce: get script from rsc.eworm.de 2025-11-17 12:28:59 +01:00
Christian Hesse
e66e213e83 contrib/logo-color: drop width & height properties for images 2025-11-17 12:28:59 +01:00
Christian Hesse
8f21763a73 contrib/template-wifi: split off from Makefile 2025-11-17 12:28:59 +01:00
Christian Hesse
49a7804d10 INITIAL-COMMANDS: install from rsc.eworm.de 2025-11-17 12:28:59 +01:00
Christian Hesse
6f25f4e78b contrib/logo-color: place screenshots below each other...
... not side by side.
2025-11-17 12:28:59 +01:00
Christian Hesse
3ad21c8f92 contrib/template-local: split off from Makefile 2025-11-17 12:28:59 +01:00
Christian Hesse
aae002e4d9 README: install from rsc.eworm.de 2025-11-17 12:28:59 +01:00
Christian Hesse
53966a376f general/style: make the blockquote darker 2025-11-17 12:28:59 +01:00
Christian Hesse
1f72b6d2cf contrib/template-capsman: split off from Makefile 2025-11-17 12:28:59 +01:00
Christian Hesse
f39b9271a2 fw-addr-lists.d/allow: use rsc.eworm.de in the list 2025-11-17 12:28:59 +01:00
Christian Hesse
68862ca59c Merge branch 'contrib-html-head-foot' into next 2025-11-17 12:28:59 +01:00
Christian Hesse
5e72f79ded fw-addr-lists.d/{allow,block}: use short url rsc.eworm.de 2025-11-17 12:28:59 +01:00
Christian Hesse
97722cb8ec Makefile: clean up and add phony targets 2025-11-17 12:28:59 +01:00
Christian Hesse
b608f12edc contrib/html: add a footer 2025-11-17 12:28:59 +01:00
Christian Hesse
4624f787a1 Merge branch 'contrib-html' into next 2025-11-17 12:28:59 +01:00
Christian Hesse
8af3c2db16 contrib/notification: add a head with eworm, QR code and caption 2025-11-17 12:28:59 +01:00
Christian Hesse
558a6de6d8 README: add a sub-section for code hosting 2025-11-17 12:28:59 +01:00
Christian Hesse
406f4492fd contrib/Makefile: hide the hint on broken site 2025-11-17 12:28:59 +01:00
Christian Hesse
0f2e843fe3 contrib/logo-color: add a head with eworm, QR code and caption 2025-11-17 12:28:59 +01:00
Christian Hesse
c2abc8cc22 README: add the upstream url verbatim 2025-11-17 12:28:59 +01:00
Christian Hesse
0822d457f5 contrib/notification: hint on possibly broken site 2025-11-17 12:28:59 +01:00
Christian Hesse
66d3dba986 contrib/html: add a head with eworm, QR code and caption 2025-11-17 12:28:59 +01:00
Christian Hesse
bcfd75a3ce README: move the QR code 2025-11-17 12:28:59 +01:00
Christian Hesse
56da7da9af contrib/logo-color: hint on possibly broken site 2025-11-17 12:28:59 +01:00
Christian Hesse
c2543d0c11 Merge branch 'builtin-trust-store' into next 2025-11-17 12:28:59 +01:00
Christian Hesse
6cd9eb3eb6 contrib/html: hide the hint on broken link 2025-11-17 12:28:59 +01:00
Christian Hesse
98136a380b mod/notification-email: remove schedule with find...
... as a race condition could occur and the scheduler is already gone.
2025-11-17 12:28:59 +01:00
Christian Hesse
1d0662921b doc/mod/notification-matrix: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
c9b2b8b29f doc/mod/notification-telegram: hint on possibly broken link 2025-11-17 12:28:59 +01:00
Christian Hesse
31fa66b561 CERTIFICATES: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
2816e95f13 contrib: introduce Makefile...
... and update references in links.
2025-11-17 12:28:59 +01:00
Christian Hesse
9f8efb8b7c update-tunnelbroker: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
cd637649ac contrib/logo-color: use relative reference in link
... without extra path elements.

This may break, depending on site.
2025-11-17 12:28:59 +01:00
Christian Hesse
863073a772 telegram-chat: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
d8b7e978c2 doc/mod/notification-telegram: use relative reference in link
This may break, depending on site.
2025-11-17 12:28:59 +01:00
Christian Hesse
5e3db518ff netwatch-dns: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
2fe48380ef contrib/notification: format the values italic 2025-11-17 12:28:59 +01:00
Christian Hesse
5556b4bb67 mod/notification-telegram: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
1d9d90cd40 contrib/notification: update date format 2025-11-17 12:28:59 +01:00
Christian Hesse
f5a3742ae2 mod/notification-ntfy: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
21f16fded8 contrib/{logo-color,notification}: add navigation structure 2025-11-17 12:28:59 +01:00
Christian Hesse
fd6730e244 fw-addr-lists: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
5890cdda02 contrib/*: unify html code 2025-11-17 12:28:59 +01:00
Christian Hesse
15df46818a check-certificates: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
ed5a2712ad contrib/html: drop ampersand, comma, dash & tick from id/anchor 2025-11-17 12:28:59 +01:00
Christian Hesse
b83c08fdd0 global-functions: $ScriptInstallUpdate: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
c2a863da2b contrib/html: properly handle anchors 2025-11-17 12:28:59 +01:00
Christian Hesse
569a53babc global-functions: $GetMacVendor: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
dc879b6798 contrib/html: link the logo with relative path 2025-11-17 12:28:59 +01:00
Christian Hesse
884c51a850 global-functions: $DownloadPackage: define certificate use 2025-11-17 12:28:59 +01:00
Christian Hesse
843f6b41f6 contrib/html: increase default line height 2025-11-17 12:28:59 +01:00
Christian Hesse
36f4fcaac9 global-functions: $CertificateAvailable: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-17 12:28:59 +01:00
Christian Hesse
ed3d42e84f contrib/html: add a margin on left and right...
... for windows in landscape (wider than high). Also make the
notification float right for landscape only.
2025-11-17 12:28:59 +01:00
Christian Hesse
a04f96e6ed INITIAL-COMMANDS: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-17 12:28:59 +01:00
Christian Hesse
213d320545 contrib/html: include stylesheet via link 2025-11-17 12:28:59 +01:00
Christian Hesse
1ec3c0ed7c README: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-17 12:28:59 +01:00
Christian Hesse
b0888aba7c contrib/{logo-color,notification}: use a single style 2025-11-17 12:28:59 +01:00
Christian Hesse
79b49ab2ab contrib/html: add empty lines...
... for easier rebasing.
2025-11-17 12:28:59 +01:00
Christian Hesse
d6c0d0918b global-functions: $ScriptInstallUpdate: extra actions on 'not found' only 2025-11-13 12:03:37 +01:00
Christian Hesse
8af4fbb462 global-functions: $ScriptInstallUpdate: either or...
... but not both.
2025-11-13 12:03:37 +01:00
Christian Hesse
bc21a14594 global-functions: $ScriptInstallUpdate: give hint on ignore
Fixes: https://github.com/eworm-de/routeros-scripts/issues/112
2025-11-13 12:03:37 +01:00
Christian Hesse
9967814c0d contrib/checksums: output to stdout...
... and let the Makefile redirect.
2025-11-13 12:03:37 +01:00
Christian Hesse
8cfc557ac9 global-functions: $CertificateDownload: drop unused function 2025-11-13 12:03:37 +01:00
Christian Hesse
d32b05c8a2 check-certificates: add missing semicolon 2025-11-13 12:03:37 +01:00
5 changed files with 7 additions and 11 deletions

View file

@ -43,4 +43,3 @@ rsc: $(GEN_RSC)
clean:
rm -f $(HTML) checksums.json
make -C contrib clean

View file

@ -1,17 +1,13 @@
# Makefile
HTML := $(shell grep -xl '<!-- static html //-->' *.html)
STATIC_HTML := $(shell grep -xl '<!-- static html //-->' *.html)
.PHONY: all docs clean
.PHONY: all docs
all: docs
badges.html: badges.md
markdown $< > $@
docs: static-html.sh $(HTML) badges.html
./static-html.sh $(HTML)
clean:
rm -f badges.html
git checkout HEAD -- $(HTML)
docs: static-html.sh $(STATIC_HTML) badges.html
./static-html.sh $(STATIC_HTML)

View file

@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en">
<!-- static html //-->
<!DOCTYPE html><html lang="en">
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>RouterOS Scripts :: Logo Color Changer</title>
<link rel="stylesheet" type="text/css" href="../general/style.css">

View file

@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en">
<!-- static html //-->
<!DOCTYPE html><html lang="en">
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>RouterOS Scripts :: Notification Generator</title>
<link rel="stylesheet" type="text/css" href="../general/style.css">

View file

@ -5,6 +5,7 @@ set -e
sed -i \
-e '/href=/s|\.md|\.html|' \
-e '/blockquote/s|/\* display \*/|display: none;|' \
-e '/<!-- static html \/\/-->/d' \
-e '/<!-- badges here \/\/-->/r badges.html' \
-e '/<!-- badges here \/\/-->/d' \
"${@}"