diff options
author | BlackDex <[email protected]> | 2022-06-08 19:46:33 +0200 |
---|---|---|
committer | BlackDex <[email protected]> | 2022-06-14 14:51:51 +0200 |
commit | 5d05ec58be9e6dcb028d69a4280a1d9e9d99f20e (patch) | |
tree | a7e1f4403a922b8624fb8e42fed5ba25533115e1 /.pre-commit-config.yaml | |
parent | f95bd3bb04839ea4fa8f2700cd3867ee12b260b0 (diff) | |
download | vaultwarden-5d05ec58be9e6dcb028d69a4280a1d9e9d99f20e.tar.gz vaultwarden-5d05ec58be9e6dcb028d69a4280a1d9e9d99f20e.zip |
Updated deps and misc fixes and updates
- 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
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c545317..8f31035a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: check-yaml - id: check-json @@ -26,7 +26,8 @@ repos: entry: cargo test language: system args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--"] - types: [rust] + types_or: [file, rust] + files: (Cargo.toml|Cargo.lock) pass_filenames: false - id: cargo-clippy name: cargo clippy @@ -34,5 +35,6 @@ repos: entry: cargo clippy language: system args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--", "-D", "warnings"] - types: [rust] + types_or: [file, rust] + files: (Cargo.toml|Cargo.lock) pass_filenames: false |