From f32eaa98d4d11be3b01b0352204860b066abe205 Mon Sep 17 00:00:00 2001 From: insert <paulmakles@gmail.com> Date: Tue, 27 Jul 2021 16:11:59 +0000 Subject: [PATCH] Revert "Strip all <a /> tags, fuck SpamAssassin." This reverts commit d4743b145366fb1537582b040e960e80630a7199 --- assets/templates/reset.html | 4 ++-- assets/templates/verify.html | 4 ++-- set_version.sh | 2 +- src/main.rs | 4 ++-- src/version.rs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/templates/reset.html b/assets/templates/reset.html index 9e8ebcc..d883f11 100644 --- a/assets/templates/reset.html +++ b/assets/templates/reset.html @@ -35,7 +35,7 @@ You requested a password reset, if you did not request this then you can safely ignore it. </p> <p style="margin: 0;"> - Reset your password by navigating to {{url}}. + Reset your password by navigating to <a href="{{url}}">{{url}}</a>. </p> </td> </tr> @@ -47,7 +47,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;"> <tr> <td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;"> - <p style="margin: 0;">Sent by Revolt.</p> + <p style="margin: 0;">Sent by Revolt. · Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p> <p>Revolt is a user-first chat platform built with modern web technologies.</p> </td> </tr> diff --git a/assets/templates/verify.html b/assets/templates/verify.html index ab965e8..47da512 100644 --- a/assets/templates/verify.html +++ b/assets/templates/verify.html @@ -35,7 +35,7 @@ You're almost there! Verify your account to be able to log into the platform. </p> <p style="margin: 0;"> - Please verify your account by navigating to {{url}}. + Please verify your account by navigating to <a href="{{url}}">{{url}}</a>. </p> </td> </tr> @@ -47,7 +47,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;"> <tr> <td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;"> - <p style="margin: 0;">Sent by Revolt.</p> + <p style="margin: 0;">Sent by Revolt. · Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p> <p>Revolt is a user-first chat platform built with modern web technologies.</p> </td> </tr> diff --git a/set_version.sh b/set_version.sh index c9fc214..bb7c286 100755 --- a/set_version.sh +++ b/set_version.sh @@ -1,3 +1,3 @@ #!/bin/bash -export version=0.5.1-alpha.14 +export version=0.5.1-alpha.13 echo "pub const VERSION: &str = \"${version}\";" > src/version.rs diff --git a/src/main.rs b/src/main.rs index f3d747c..8f25d47 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,12 +87,12 @@ async fn launch_web() { templates: Templates { verify_email: Template { title: "Verify your Revolt account.", - text: "You're almost there! Verify your account to be able to log into the platform.\nPlease verify your account here: {{url}}\n\nSent by Revolt.\nRevolt is a user-first chat platform built with modern web technologies.", + text: "You're almost there! Verify your account to be able to log into the platform.\nPlease verify your account here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.", html: include_str!("../assets/templates/verify.html"), }, reset_password: Template { title: "Reset your Revolt password.", - text: "You requested a password reset, if you did not request this then you can safely ignore it.\nReset your password here: {{url}}\n\nSent by Revolt.\nRevolt is a user-first chat platform built with modern web technologies.", + text: "You requested a password reset, if you did not request this then you can safely ignore it.\nReset your password here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.", html: include_str!("../assets/templates/reset.html"), }, welcome: None, diff --git a/src/version.rs b/src/version.rs index dedd6e8..20626f1 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.1-alpha.14"; +pub const VERSION: &str = "0.5.1-alpha.13"; -- GitLab