Seppo.Social -> Seppo.mro.name
[Seppo.git] / doc / wb / themes / current / backoffice.xsl
blob55725c844027426a4d0d4a5cde8111a1a9ac6e19
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 _ _ ____ _
4 _| || |_/ ___| ___ _ __ _ __ ___ | |
5 |_ .. _\___ \ / _ \ '_ \| '_ \ / _ \| |
6 |_ _|___) | __/ |_) | |_) | (_) |_|
7 |_||_| |____/ \___| .__/| .__/ \___/(_)
8 |_| |_|
10 Personal Social Web.
12 Copyright (C) The #Seppo contributors. All rights reserved.
14 This program is free software: you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
24 You should have received a copy of the GNU General Public License
25 along with this program. If not, see <http://www.gnu.org/licenses/>.
27 https://www.w3.org/TR/1999/REC-xslt-19991116
28 https://www.w3.org/TR/1999/REC-xpath-19991116
29 -->
30 <xsl:stylesheet
31 xmlns="http://www.w3.org/1999/xhtml"
32 xmlns:b="http://seppo.mro.name/2023/backoffice#"
33 xmlns:date="http://exslt.org/dates-and-times"
34 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
35 xmlns:schema="http://www.w3.org/2001/XMLSchema#"
36 xmlns:seppo="http://seppo.mro.name/2023/ns#"
37 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
38 exclude-result-prefixes="date h rdf schema seppo"
39 version="1.0">
41 <xsl:output
42 method="html"
43 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
44 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
46 <xsl:variable name="xml_base">../../</xsl:variable>
47 <xsl:variable name="xml_base_pub" select="concat($xml_base,'/o')"/>
48 <xsl:variable name="skin_base" select="concat($xml_base,'/themes/current')"/>
49 <xsl:variable name="cgi_url" select="concat($xml_base,'seppo.cgi')"/>
51 <xsl:template match="/rdf:RDF/rdf:Description[@rdf:about='']">
52 <html xmlns="http://www.w3.org/1999/xhtml" class="logged-in" bgcolor="darkgreen">
53 <head>
54 <meta name="generator" content="HTML Tidy for HTML5 for FreeBSD version 5.8.0" />
55 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
56 <meta name="viewport" content="width=device-width,initial-scale=1.0" />
57 <link href="{$skin_base}/style.css" rel="stylesheet" type="text/css" />
58 <title>⚙️ Settings</title>
59 </head>
60 <body>
61 <noscript><p>JavaScript deactivated, fully functional, but <em>nicer</em> if on.</p></noscript>
62 <div aria-label="Header" id="header">
63 <!-- a href="{$cgi_url}/timeline/p/" rel="start nofollow" role="button">🕞 <span class="hidden-xs">Timeline</span></a -->
64 <a href="{$cgi_url}/timeline/p/" rel="start" role="button" title="Home">🏡 <span class="hidden-xs">Home</span></a>
65 </div>
66 <div class="container" role="main">
67 <h1>⚙️ Settings</h1>
68 <h2 id="tools">Tools</h2>
69 <ul class="nobullet">
70 <li><a href="{$cgi_url}/profile" role="button">Edit my Profile 🎭</a></li>
71 <li><a href="{$cgi_url}/passwd" role="button">Change Password ㊙️</a></li>
72 </ul>
73 <h2 id="machine">Machine Room</h2>
74 <form id="http" method="get" action="{$cgi_url}/http">
75 <input type="url" name="get" placeholder="signed http GET"/>
76 </form>
77 <h2 id="queues">Queues</h2>
78 <ul>
79 <li><tt>app/var/run/queue.pid</tt>:
80 <span id="q_lock"><xsl:value-of select="b:q_lock"/></span> ~ age <span id="q_lock_age">~</span>s</li>
81 </ul>
82 <h3 id="job">Job</h3>
83 <ul>
84 <li><tt>app/var/spool/job/cur</tt>: <xsl:value-of select="b:spool_job_cur"/></li>
85 <li><tt>app/var/spool/job/err</tt>: <xsl:value-of select="b:spool_job_err"/></li>
86 <li><tt>app/var/spool/job/new</tt>: <xsl:value-of select="b:spool_job_new"/></li>
87 <li><tt>app/var/spool/job/run</tt>: <xsl:value-of select="b:spool_job_run"/></li>
88 <li><tt>app/var/spool/job/tmp</tt>: <xsl:value-of select="b:spool_job_tmp"/></li>
89 <li><tt>app/var/spool/job/wait</tt>: <xsl:value-of select="b:spool_job_wait"/></li>
90 </ul>
91 <h3 id="inbox">Inbox</h3>
92 <ul>
93 <li><tt>app/var/cache/inbox/cur</tt>: <xsl:value-of select="b:cache_inbox_cur"/></li>
94 <li><tt>app/var/cache/inbox/new</tt>: <xsl:value-of select="b:cache_inbox_new"/></li>
95 </ul>
96 <h2 id="federation">Environment &amp; Federation</h2>
97 <ul>
98 <li><a href="{b:x509_pem_url}">id_rsa.pub.pem</a></li>
99 <ul>
100 <li>id: <xsl:value-of select="b:x509_id"/></li>
101 <li>fingerprint: <xsl:value-of select="b:x509_fingerprint"/></li>
102 </ul>
103 </ul>
104 <h2 id="standards">Standards</h2>
105 <dl>
106 <dt>"The Internet is for End Users" (<a href="https://www.rfc-editor.org/rfc/rfc8890.html">RFC8890</a>)</dt>
107 <dd></dd>
108 <dt>security.txt (<a href="https://www.rfc-editor.org/rfc/rfc9116">RFC9116</a>)</dt>
109 <dd><a href="/.well-known/security.txt">/.well-known/security.txt</a></dd>
110 <dt>WebFinger (<a href="https://www.rfc-editor.org/rfc/rfc7033.html">RFC7033</a>, <a href="https://www.rfc-editor.org/rfc/rfc7565.html">RFC7565</a>)</dt>
111 <dd><a rel="webfinger" href="https://seppo.mro.name/.well-known/webfinger?resource=acct:demo@seppo.mro.name">https://seppo.mro.name/.well-known/webfinger?resource=acct:demo@seppo.mro.name</a></dd>
112 <dt><a href="https://w3.org/TR/activitystreams-core">ActivityStreams 2.0 (json
113 flavour)</a></dt>
114 <dt><a href="https://w3.org/TR/activitypub/">ActivityPub</a></dt>
115 <dd><a href="https://www.w3.org/TR/activitypub/#actor-objects">Actor</a>
116 <xsl:text> </xsl:text>
117 <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person">Person</a>,
118 <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create">Create</a>/<a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-delete">Delete</a>
119 <xsl:text> </xsl:text>
120 <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note">Note</a>,
121 <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-follow">Follow</a>,
122 <a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-undo">Undo</a>
123 </dd>
124 <dt>Signing HTTP Messages (<a href=
125 "https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-12">draft-cavage-http-signatures-12</a>)</dt>
126 <dd>all requests are signed with an initially generated RSA key. Rotating may break followers etc.
127 See <a href="../../activitypub/actor.jsa#publicKey">the public key PEM</a> embedded in the
128 profile..</dd>
129 <dt>The Common Gateway Interface (CGI) (<a href="https://www.rfc-editor.org/rfc/rfc3875.html">RFC3875</a>)</dt>
130 <dd>generate static files for reading, listen to publishers (subscribed to), notify subscribers</dd>
131 <dt>Atom Feed (<a href="https://www.rfc-editor.org/rfc/rfc4287">RFC4287</a>, <a href=
132 "https://www.rfc-editor.org/rfc/rfc4685">RFC4685</a> &amp; <a href=
133 "https://www.rfc-editor.org/rfc/rfc5005">RFC5005</a>)</dt>
134 <dd><a href="../../o/p/index.xml">o/p/index.xml</a></dd>
135 <dt><a href="https://www.w3.org/TR/xslt-10/">XSLT 1.0</a></dt>
136 <dd>turn the atom feeds into xhtml (client-side, without javascript)</dd>
137 <dt><a href="http://www.w3.org/TR/xhtml1/">XHTML 1.1 strict</a></dt>
138 <dd>robust page rendering</dd>
139 <dt><a href="https://www.w3.org/TR/CSS/">CSS</a></dt>
140 <dd>layout and (<a href="https://oklch.com/#79.27,0.171,70.67,100">OKLCH</a>) colors, dark mode</dd>
141 <dt><a href="https://projects.verou.me/awesomplete/">awesomeplete</a></dt>
142 <dt><a href="http://cr.yp.to/cdb/cdb.txt">cdb</a></dt>
143 <dd>constant database for lookups</dd>
144 <dt><a href="https://en.wikipedia.org/wiki/Canonical_S-expressions">canonical
145 s-expressions</a></dt>
146 <dd>config &amp; data (except the cdbs). <a href="https://cr.yp.to/qmail/guarantee.html">"Don't parse" (djb)</a>.
147 Csexp are much like <a href="https://cr.yp.to/proto/netstrings.txt">netstrings</a></dd>
148 <dt>Web Host Metadata (<a href=
149 "https://www.rfc-editor.org/rfc/rfc6415.html">RFC6415</a>)</dt>
150 <dd>not implemented, webfinger endpoint is fixed. Misskeyism.</dd>
151 <dt><a href="https://nodeinfo.diaspora.software/">NodeInfo</a></dt>
152 <dd>not implemented, no functional benefits, just server statistics, Diasporism.</dd>
153 </dl>
154 <h2 id="software">Software</h2>
155 <dl>
156 <dt><a href="https://Seppo.mro.name">Seppo.mro.name</a></dt>
157 <dt><a href="https://seppo.mro.name/support/">Seppo.mro.name/support</a></dt>
158 <dt><a href="https://seppo.mro.name/downloads/">Seppo.mro.name/downloads</a></dt>
159 <dt><a href="https://seppo.mro.name/development/">Seppo.mro.name/development</a></dt>
160 </dl>
161 </div>
162 <script src="{$skin_base}/backoffice.js"></script>
163 </body>
164 </html>
165 </xsl:template>
166 </xsl:stylesheet>