🔄 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/2543
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 6/8/2022
**Status:** ✅ Merged
**Merged:** 6/15/2022
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `update-and-fixes`
---
### 📝 Commits (1)
- [`5d05ec5`](https://github.com/dani-garcia/vaultwarden/commit/5d05ec58be9e6dcb028d69a4280a1d9e9d99f20e) Updated deps and misc fixes and updates
### 📊 Changes
**15 files changed** (+9177 additions, -8083 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/build.yml` (+0 -2)
📝 `.pre-commit-config.yaml` (+5 -3)
📝 `Cargo.lock` (+60 -250)
📝 `Cargo.toml` (+6 -6)
📝 `src/api/admin.rs` (+43 -34)
📝 `src/api/core/accounts.rs` (+14 -0)
📝 `src/config.rs` (+2 -3)
📝 `src/db/models/org_policy.rs` (+1 -1)
📝 `src/static/scripts/bootstrap-native.js` (+930 -689)
📝 `src/static/scripts/bootstrap.css` (+2149 -1525)
📝 `src/static/scripts/datatables.css` (+192 -110)
📝 `src/static/scripts/datatables.js` (+5678 -5434)
📝 `src/static/templates/admin/base.hbs` (+9 -2)
📝 `src/static/templates/admin/settings.hbs` (+50 -13)
📝 `src/util.rs` (+38 -11)
</details>
### 📄 Description
- Updated some Rust dependencies
- Fixed an issue with CSP header, this was not configured correctly
- Prevent sending CSP and Frame headers for the MFA connector.html files.
Else some clients will fail to handle these protocols.
- Add `unsafe-inline` for `script-src` only to the CSP for the Admin Interface
- Updated JavaScript and CSS files for the Admin interface
- Changed the layout for showing overridden settings, better visible now.
- Made the version check cachable to prevent hitting the Github API rate limits
- Hide the `database_url` as if it is a password in the Admin Interface
Else for MariaDB/MySQL or PostgreSQL this was plain text.
- Fixed an issue that pressing enter on the SMTP Test would save the config.
resolves #2542
- Prevent user names larger then 50 characters
resolves #2419
---
<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/2543
Author: @BlackDex
Created: 6/8/2022
Status: ✅ Merged
Merged: 6/15/2022
Merged by: @dani-garcia
Base:
main← Head:update-and-fixes📝 Commits (1)
5d05ec5Updated deps and misc fixes and updates📊 Changes
15 files changed (+9177 additions, -8083 deletions)
View changed files
📝
.github/workflows/build.yml(+0 -2)📝
.pre-commit-config.yaml(+5 -3)📝
Cargo.lock(+60 -250)📝
Cargo.toml(+6 -6)📝
src/api/admin.rs(+43 -34)📝
src/api/core/accounts.rs(+14 -0)📝
src/config.rs(+2 -3)📝
src/db/models/org_policy.rs(+1 -1)📝
src/static/scripts/bootstrap-native.js(+930 -689)📝
src/static/scripts/bootstrap.css(+2149 -1525)📝
src/static/scripts/datatables.css(+192 -110)📝
src/static/scripts/datatables.js(+5678 -5434)📝
src/static/templates/admin/base.hbs(+9 -2)📝
src/static/templates/admin/settings.hbs(+50 -13)📝
src/util.rs(+38 -11)📄 Description
Else some clients will fail to handle these protocols.
unsafe-inlineforscript-srconly to the CSP for the Admin Interfacedatabase_urlas if it is a password in the Admin InterfaceElse for MariaDB/MySQL or PostgreSQL this was plain text.
resolves [PR #226] [MERGED] Fix /sync without query string (#2542)
resolves Deleted Items stop login working (#2419)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.