]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 13 Aug 2023 17:13:36 +0000 (19:13 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 13 Aug 2023 17:13:36 +0000 (19:13 +0200)
- added --software2 for re-checking instances with `software` given and no
 `detection_mode` given
- also added og:platform to HTML base template

recheck.sh
templates/base.html

index 1475bac3a14d3fc78588312f0205e272d8696a42..b1627e99a28575a89e8fb50bf7ba4d2aa6a9485c 100755 (executable)
@@ -3,7 +3,7 @@
 MODE=""
 if [ "$1" = "--help" ]
 then
-       echo "Usage: $ [file|--software|--nodeinfo|--detection|--no-auto|--timeout]"
+       echo "Usage: $ [file|--software|--software2|--nodeinfo|--detection|--no-auto|--timeout]"
        exit 255
 elif [ -n "$1" -a -f "$1" ]
 then
@@ -29,6 +29,10 @@ elif [ "$1" = "--timeout" ]
 then
        DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE last_error_details LIKE '%Timeout%' ORDER BY last_updated ASC;")
        MODE="software"
+elif [ "$1" = "--software2" ]
+then
+       DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE software IS NOT NULL AND detection_mode IS NULL ORDER BY last_updated ASC;")
+       MODE="software"
 else
        DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE software IS NULL AND nodeinfo_url IS NOT NULL ORDER BY last_updated ASC;")
 fi
index eb4ce0807ce6846cfbc015534a210a842278c4b0..0242696d7c0d6fdd54e7f082a6c9abbecc688da3 100644 (file)
@@ -4,6 +4,8 @@
     <title>fedi-block-api - {% block title %}{% endblock %}</title>
 
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+    <meta property="og:platform" content="fba" />
+
     <base href="{{base_url}}" />
 
     <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="rss" />