[PR #2543] [MERGED] Updated deps and misc fixes and updates #3107

Closed
opened 2026-03-03 09:25:53 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: update-and-fixes


📝 Commits (1)

  • 5d05ec5 Updated 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

  • 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

🔄 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>
kerem 2026-03-03 09:25:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3107
No description provided.