Added a test button for checking the e-mail settings.
Fixed a bug with the _post JavaScript function:
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/879
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 2/26/2020
**Status:** ✅ Merged
**Merged:** 3/1/2020
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `master` ← **Head:** `smtp-test-button`
---
### 📝 Commits (4)
- [`5f61607`](https://github.com/dani-garcia/vaultwarden/commit/5f61607419fb329442ebbdd98832cb14349d33ab) Added SMTP test button in the admin gui
- [`5a974c7`](https://github.com/dani-garcia/vaultwarden/commit/5a974c7b944a66adf72d4615004b894ba16ea6bd) Added SMTP test button in the admin gui
- [`f6de144`](https://github.com/dani-garcia/vaultwarden/commit/f6de144cbb2ab638060abbbe360cf30949991358) Merge branch 'smtp-test-button' of github.com:BlackDex/bitwarden_rs into smtp-test-button
- [`97fb7b5`](https://github.com/dani-garcia/vaultwarden/commit/97fb7b5b96b66ee1b476cb9f74c8be0742c57c50) Added urlpath to smtpTest function
### 📊 Changes
**6 files changed** (+201 additions, -8 deletions)
<details>
<summary>View changed files</summary>
📝 `src/api/admin.rs` (+13 -0)
📝 `src/config.rs` (+1 -0)
📝 `src/mail.rs` (+11 -0)
📝 `src/static/templates/admin/page.hbs` (+39 -8)
➕ `src/static/templates/email/smtp_test.hbs` (+8 -0)
➕ `src/static/templates/email/smtp_test.html.hbs` (+129 -0)
</details>
### 📄 Description
- Added a test button for checking the e-mail settings.
- Fixed a bug with the _post JavaScript function:
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/879
Author: @BlackDex
Created: 2/26/2020
Status: ✅ Merged
Merged: 3/1/2020
Merged by: @dani-garcia
Base:
master← Head:smtp-test-button📝 Commits (4)
5f61607Added SMTP test button in the admin gui5a974c7Added SMTP test button in the admin guif6de144Merge branch 'smtp-test-button' of github.com:BlackDex/bitwarden_rs into smtp-test-button97fb7b5Added urlpath to smtpTest function📊 Changes
6 files changed (+201 additions, -8 deletions)
View changed files
📝
src/api/admin.rs(+13 -0)📝
src/config.rs(+1 -0)📝
src/mail.rs(+11 -0)📝
src/static/templates/admin/page.hbs(+39 -8)➕
src/static/templates/email/smtp_test.hbs(+8 -0)➕
src/static/templates/email/smtp_test.html.hbs(+129 -0)📄 Description
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.