mirror of
https://github.com/DanWin/mail-hosting.git
synced 2024-11-21 23:20:25 +00:00
Add converse.js as web client
This commit is contained in:
parent
c0519dd6a8
commit
e1ec4b9a8d
4 changed files with 13 additions and 5 deletions
|
@ -96,6 +96,7 @@ modules_enabled = {
|
|||
"conversejs";
|
||||
"http_altconnect";
|
||||
"external_services";
|
||||
"conversejs";
|
||||
}
|
||||
|
||||
-- These modules are auto-loaded, but should you want
|
||||
|
@ -287,8 +288,15 @@ external_services = {
|
|||
secret = "YOUR_SECRET"
|
||||
}
|
||||
}
|
||||
cross_domain_bosh = true
|
||||
cross_domain_websocket = true
|
||||
conversejs_resources = "/srv/conversejs/dist";
|
||||
conversejs_options = {
|
||||
view_mode = "fullscreen";
|
||||
allow_non_roster_messaging = true;
|
||||
clear_cache_on_logout = true;
|
||||
default_domain = "danwin1210.de";
|
||||
enable_smacks = true;
|
||||
muc_domain = "conference.danwin1210.de";
|
||||
}
|
||||
|
||||
VirtualHost "danwin1210.de"
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="canonical" href="https://danwin1210.de/mail/">
|
||||
</head><body>
|
||||
<main>
|
||||
<p>Info | <a href="/mail/register.php">Register</a> | <a href="/mail/squirrelmail/src/login.php" target="_blank">Webmail-Login</a> | <a href="/mail/manage_account.php">Manage account</a></p>
|
||||
<p>Info | <a href="/mail/register.php">Register</a> | <a href="/mail/squirrelmail/src/login.php" target="_blank">Webmail-Login</a> | <a href="/mail/manage_account.php">Manage account</a> | <a href="https://danwin1210.de:5281/conversejs" target="_blank" rel="noopener">Web-XMPP</a></p>
|
||||
<h2>What you will get</h2>
|
||||
<p>You get a free anonymous E-Mail address and an XMPP/Jabber account using the same details. Your Jabber ID is user@danwin1210.de and can be connected to directly from clearnet or via TOR hidden service (danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion).</p>
|
||||
<p>You will have 50MB of disk space available for your mails. If you desperately need more space, just <a href="/contact.php">contact me</a>. Your E-Mail address will be user@danwin1210.de</p>
|
||||
|
|
|
@ -237,7 +237,7 @@ if ( ! empty( $_SESSION[ 'email_user' ] ) ){ ?>
|
|||
<button name="action" value="logout" type="submit">Logout</button>
|
||||
<?php } else { ?>
|
||||
| Manage account<?php
|
||||
} ?></p>
|
||||
} ?> | <a href="https://danwin1210.de:5281/conversejs" target="_blank" rel="noopener">Web-XMPP</a></p>
|
||||
<?php if ( ! empty( $_SESSION[ 'email_user' ] ) ){ ?></form><?php }
|
||||
echo "<p>$msg</p>";
|
||||
if ( empty( $_SESSION[ 'email_user' ] ) ) { ?>
|
||||
|
|
|
@ -81,7 +81,7 @@ if ( isset( $_POST[ 'user' ] ) ) {
|
|||
<body>
|
||||
<main>
|
||||
<p><a href="/mail/">Info</a> | Register | <a href="/mail/squirrelmail/src/login.php" target="_blank">Webmail-Login</a> |
|
||||
<a href="/mail/manage_account.php">Manage account</a></p>
|
||||
<a href="/mail/manage_account.php">Manage account</a> | <a href="https://danwin1210.de:5281/conversejs" target="_blank" rel="noopener">Web-XMPP</a></p>
|
||||
<?php echo "<p>$msg</p>"; ?>
|
||||
<form class="form_limit" action="register.php" method="post"><input type="hidden" name="csrf_token"
|
||||
value="<?php echo $_SESSION[ 'csrf_token' ] ?>">
|
||||
|
|
Loading…
Reference in a new issue