add /var/lib/matrix-synapse/res/templates/

This commit is contained in:
creme 2022-12-05 15:53:41 +01:00
parent b1440df6b8
commit 27cd5706e7
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0
4 changed files with 388 additions and 0 deletions

View File

@ -0,0 +1,288 @@
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>matrix.org &amp; envs.net - privacy policy</title>
<link href="1.0_files/css.css" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
margin: 100px auto;
max-width: 600px;
padding: 0px 25px;
font-family: 'Open Sans', Arial, sans-serif;
color: #24292e;
}
h1, h2, h3 {
font-weight: 500;
}
h1, h2 {
border-bottom: 1px solid #eaecef;
}
h1 {
font-size: 23pt;
padding-bottom: 20px;
}
h2 {
font-size: 17pt;
padding-top: 10px;
padding-bottom: 15px;
}
p, li {
line-height: 1.5em;
font-size: 10.5pt;
}
li {
margin-bottom: 10px;
}
input[type="submit"] {
opacity: 1;
margin: 10px auto;
display: block;
padding: 10px;
background-color: #fff;
color: #000;
border-radius: 3px;
border: 2px solid #888;
font-size: 16pt;
cursor: pointer;
}
input[type="submit"][disabled] {
opacity: 0.3;
cursor: default;
}
input[type="checkbox"] {
margin: 3px 10px 3px 0px;
}
input[type="checkbox"]:not(:checked) ~ input[type="submit"]{
pointer-events: none;
tab-index: -1;
color: graytext;
}
label {
cursor: pointer;
display: flex;
background-color: #fffaad;
border-color: hsla(59, 85%, 51%, 1);
border-width: 1px;
border-style: solid;
padding: 10px;
border-radius: 3px;
}
</style>
</head>
<body>
<h1>Understand how your data is used</h1>
<p>
The Matrix protocol is designed with your privacy and data
sovereignty in mind. Because it is a decentralised, federated service
with cryptographically-validated message integrity, there are a few
important things to know before you use the Service.
</p>
<p>
This Matrix Service <a href="https://matrix.envs.net/">https://matrix.envs.net</a> is run and managed by envs.net.<br>
The Homeserver Name is: <code>envs.net</code>
</p>
<h2>Federation</h2>
<p>
Services using the Matrix protocol rely on Matrix homeservers
which share user data with the wider ecosystem over federation.
</p>
<ul>
<li>
When you send messages or files in a room, a copy of the
data is sent to all participants in the room. If these participants are
registered on remote homeservers, your username, display name, messages
and files may be replicated across each participating homeserver.
</li>
<li>
We will forget your copy of your data upon your request. We
will also forward your request onto federated homeservers. However -
these homeservers are outside our span of control, so we cannot
guarantee they will forget your data.
</li>
<li>
Federated homeservers can be located anywhere in the world, and are subject to local laws and regulations.
</li>
</ul>
<h2>Bridging</h2>
<p>
Some Matrix rooms are bridged to third-party services, such as
IRC networks, twitter or email. When a room has been bridged, your
messages and media may be copied onto the bridged service.
</p>
<ul>
<li>
It may not be technically possible to support your
management of your data once it has been copied onto a bridged service.
</li>
<li>
Bridged services can be located anywhere in the world, and are subject to local laws and regulations.
</li>
</ul>
<h3>Integration Services (Bots and Widgets)</h3>
<p>
The envs.net homeserver provides a range of integrations in the
form of Widgets (web applications accessed as part of the Matrix Client
webapp) and Bots (automated participants in rooms). Bots and Widgets
have access to the messages and files in rooms in which they
participate.
</p>
<h2>Forgetting your Data</h2>
<p>
You can request that we forget your data if you deactivate your
account. Each user in a Matrix conversation receives their own copy of
all messages and files in that conversation (similar to email), so we
ensure data is forgotten by ensuring that your data is not shared
further and is not visible to future users. Once all users copies have
been forgotten the messages and files will be deleted from the envs.net
homeserver database. For full details, please see the <a href="https://matrix.org/legal/privacy-notice/" target="_blank">full privacy notice</a>.
</p>
<p>
If you remove (redact) a message, the message content will no
longer be accessible to users. Redactions only remove message content,
your display name and avatar - your username will still be visible.
Federated homeservers and some matrix clients may not honour the
redaction request.
</p>
<p>
If any of the above are unacceptable to you, <b>please do not use the Service.</b>
</p>
<p>
Please review the <a href="https://matrix.org/legal/privacy-notice/" target="_blank">full privacy notice</a>, <a href="https://matrix.org/legal/code-of-conduct/" target="_blank">matrix - code of conduct</a>, the <a href="https://envs.net/coc/" target="_blank">envs - code of conduct</a> and <a href="https://envs.net/privacy-policy/" target="_blank">envs - privacy policy</a> before using this Service.
</p>
{% if has_consented %}
{% if not public_version %}
<p>
<label>
<input type="checkbox" id="checkbox_understand" checked="checked" disabled="disabled">
<span>
I have read and understood the full privacy notice and code of conduct
</span>
</label>
</p>
<p>
Please review the <a href="https://matrix.org/legal/terms-and-conditions/" target="_blank">terms and conditions</a> before using this Service.
</p>
<p>
<label>
<input type="checkbox" id="checkbox_tcs_and_cs" checked="checked" disabled="disabled">
<span>
I have read and understood the terms and conditions
</span>
</label>
</p>
<p>
You must be at least 16 years old to use this Service (<a href="https://envs.net/" target="_blank">https://envs.net</a>)
</p>
<p>
<label>
<input type="checkbox" id="checkbox_at_least_sixteen" checked="checked" disabled="disabled">
<span>
I am at least 16 years old.
</span>
</label>
</p>
<!-- The variables used here are only provided when the 'u' param is given to the homeserver -->
<form method="post" action="consent">
<input type="hidden" name="v" value="{{version}}">
<input type="hidden" name="u" value="{{user}}">
<input type="hidden" name="h" value="{{userhmac}}">
<input type="submit" id="submit_button" disabled="disabled" value="I Agree">
</form>
{% endif %}
<p>
You have already agreed to these terms and conditions, thank you.
</p>
<p>
If you would like us to stop processing your data (subject to
the conditions outlined above and in the Privacy Policy), please
deactivate your account and select the option asking us to forget your
data.
</p>
{% else %}
{% if not public_version %}
<p>
<label>
<input type="checkbox" id="checkbox_understand">
<span>
I have read and understood the full privacy notice and code of conduct
</span>
</label>
</p>
<p>
Please review the <a href="https://matrix.org/legal/terms-and-conditions/" target="_blank">terms and conditions</a> before using this Service.
</p>
<p>
<label>
<input type="checkbox" id="checkbox_tcs_and_cs">
<span>
I have read and understood the terms and conditions
</span>
</label>
</p>
<p>
You must be at least 16 years old to use this Service (<a href="https://envs.net/" target="_blank">https://envs.net</a>)
</p>
<p>
<label>
<input type="checkbox" id="checkbox_at_least_sixteen">
<span>
I am at least 16 years old.
</span>
</label>
</p>
<!-- The variables used here are only provided when the 'u' param is given to the homeserver -->
<form method="post" action="consent">
<input type="hidden" name="v" value="{{version}}">
<input type="hidden" name="u" value="{{user}}">
<input type="hidden" name="h" value="{{userhmac}}">
<input type="submit" value="I Agree!">
</form>
{% endif %}
{% endif %}
</body></html>

View File

@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>matrix.org &amp; envs.net - privacy policy</title>
<link href="success_files/css.css" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
margin: 100px auto;
max-width: 600px;
padding: 0px 25px;
font-family: 'Open Sans', Arial, sans-serif;
color: #24292e;
}
h1, h2, h3 {
font-weight: 500;
}
h1, h2 {
border-bottom: 1px solid #eaecef;
}
h1 {
font-size: 23pt;
padding-bottom: 20px;
}
h2 {
font-size: 17pt;
padding-top: 10px;
padding-bottom: 15px;
}
p, li {
line-height: 1.5em;
font-size: 10.5pt;
}
li {
margin-bottom: 10px;
}
label {
cursor: pointer;
display: flex;
background-color: #fffaad;
border-color: hsla(59, 85%, 51%, 1);
border-width: 1px;
border-style: solid;
padding: 10px;
border-radius: 3px;
}
</style>
</head>
<body>
<p>
<strong>Privacy Policy accepted.</strong>
</p>
<p>
This Service (via the Matrix homeserver hosted at <a href="https://envs.net/">https://envs.net</a>) is run and managed by envs.net.
</p>
</body></html>

View File

@ -0,0 +1,19 @@
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body>{% extends "_base.html" %}
{% block title %}Registration{% endblock %}
{% block body %}
<p>You have asked us to register this email with a new Matrix account.
If this was you, please click the link below to confirm your email
address:</p>
<a href="https://envs.sh/%7B%7B%20link%20%7D%7D">Verify Your Email Address</a>
<p>If this was not you, you can safely disregard this email.</p>
<p><strong>Note:</strong> who register on this homeserver will automatically be joined to:<br>
#home:envs.net and #lounge:envs.net.</p>
<p>Thank you.</p>
{% endblock %}
</body></html>

View File

@ -0,0 +1,13 @@
Hello there,
You have asked us to register this email with a new Matrix account. If this
was you, please click the link below to confirm your email address:
{{ link }}
If this was not you, you can safely disregard this email.
Note: who register on this homeserver will automatically be joined to:
#home:envs.net and #lounge:envs.net.
Thank you.