diff --git a/.gitignore b/.gitignore index 6b282ae..8670b45 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules/ package-lock.json docker-compose.yml register,log -donations.json \ No newline at end of file +donations.json +.idea/ \ No newline at end of file diff --git a/app.js b/app.js index 71e5a70..8666587 100644 --- a/app.js +++ b/app.js @@ -40,6 +40,30 @@ app.get('/privacy', (req, res) => { res.render('privacy', { currentPage: 'privacy' }); }); +app.get('/guides', (req, res) => { + res.render('guides', { currentPage: 'guides' }); +}); + +app.get('/guides/user', (req, res) => { + res.render('guides/user/index', { currentPage: 'guides' }); +}); + +app.get('/guides/webmail', (req, res) => { + res.render('guides/webmail/index', { currentPage: 'guides' }); +}); + +app.get('/guides/vaultwarden/android', (req, res) => { + res.render('guides/vaultwarden/android', { currentPage: 'guides' }); +}); + +app.get('/guides/vaultwarden/chrome', (req, res) => { + res.render('guides/vaultwarden/chrome', { currentPage: 'guides' }); +}); + +app.get('/guides/vaultwarden/firefox', (req, res) => { + res.render('guides/vaultwarden/firefox', { currentPage: 'guides' }); +}); + const PORT = process.env.PORT || 3000; app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); diff --git a/exclusions.json.example b/exclusions.json.example deleted file mode 100644 index 79f744b..0000000 --- a/exclusions.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "excludedIPs": [ - "127.0.0.1", - "192.168.1.1" - ] -} \ No newline at end of file diff --git a/src/guides.ejs b/src/guides.ejs new file mode 100644 index 0000000..37d9eff --- /dev/null +++ b/src/guides.ejs @@ -0,0 +1,25 @@ +<%- include('shards/header', { title: 'Guides - p0ntus mail' }) %> +
If you just signed up, use the default password with your requested email, and input that into user.p0ntus.com. Change your password in the interface, and follow the next steps using your email and password.
+Even if you didn't just sign up, use your email and password to login.
+Once you are signed in, you can use the user dashboard to manage your account. You can change your password and view account information. Everything is highly organized for ease of access :)
+On the main page, for traditional Google Authenticator/authenticator app setup, click the "Please select" dropdown under the "Set two-factor authentication method" section. Click Time-Based OTP, and scan the QR code to continue.
+On the main page, for a FIDO device, select the "Register FIDO Device" button, and doing the normal process with your authenticator to sign in and register. Once done, it will be usable on the user.p0ntus.com dashboard. You must setup traditional 2FA (or store it on your FIDO device, if supported) for SOGo webmail.
+When you are done, click the "Exit" icon in the top right corner of the UI.
+Open the app on your phone and under "Logging in on", click "bitwarden.com."
+Click self-hosted, then under Server URL, enter "https://vaultwarden.p0ntus.com" and leave the rest of the fields blank.
+Open the Bitwarden extension, and click (under the small 'servers' label) bitwarden.com, changing it to self hosted. This will bring up a dialog. Enter "https://vaultwarden.p0ntus.com" in the server URL, and leave the rest of the fields blank. It should now change 'bitwarden.com' to 'self hosted'.
+Enter your email and password, and click 'Log in'.
+Open the Bitwarden extension, and click (under the small 'servers' label) bitwarden.com, changing it to self hosted. This will bring up a dialog. Enter "https://vaultwarden.p0ntus.com" in the server URL, and leave the rest of the fields blank. It should now change 'bitwarden.com' to 'self hosted'.
+Enter your email and password, and click 'Log in'.
+If you just signed up, use the default password with your requested email, and input that into mail.p0ntus.com. Change your password in the interface, and follow the next steps using your email and password.
+To sign in, use user.p0ntus.com either on the login page with the "Webmail" button, or in the signed-in interface, with the "Sign in to webmail" button.
+Once you are signed in, you can use the webmail to send and receive emails. You can also use the calendar and contacts features.
+When you are done, click the "Exit" icon in the top right corner of the UI.
+