- 27 Jul, 2022 2 commits
-
-
Daniel García authored
Mitigate attachment/send upload issues
-
BlackDex authored
This PR attends to mitigate (not fix) #2644. There seems to be an issue when uploading files either as attachment or via send via the mobile (Android) client. The binary data gets transfered correctly to Vaultwarden (Checked via Wireshark), but the data is not parsed correctly for some reason. Since the parsing is not done by Vaultwarden it self, i think we should at least try to prevent saving the data and letting users think all fine. Further investigation is needed to actually fix this issue. This is just a quick patch.
-
- 22 Jul, 2022 3 commits
-
-
Daniel García authored
-
Daniel García authored
Merge branch 'update-github-actions' of https://github.com/BlackDex/vaultwarden into BlackDex-update-github-actions
-
Daniel García authored
-
- 20 Jul, 2022 1 commit
-
-
BlackDex authored
The previous persistent folder check worked by checking if a file exists. If you used a bind-mount, then this file is not there. But when using a docker/podman volume those files are copied, and caused the container to not start. This change checks the `/proc/self/mountinfo` for a specific patern to see if the data folder is persistent or not. Fixes #2622
-
- 19 Jul, 2022 1 commit
-
-
BlackDex authored
Because we want to support MSRV, we also need to run a CI for this. This PR adds checks for the MSRV and rust-toolchain defined versions. It will also run all cargo test, clippy and fmt checks no matter the outcome of the previous job. This will help when there are multiple issues, like clippy errors and formatting. Previously it would show only the first failed check and stopped. It will also output a nice step summary with some details on which checks have failed. Or it will output a success message.
-
- 17 Jul, 2022 2 commits
-
-
Daniel García authored
Fix issue with CSP and icon redirects
-
BlackDex authored
When using anything else but the `internal` icon service it would trigger an CSP block because the redirects were not allowed. This PR fixes #2623 by dynamically adding the needed CSP strings. This should also work with custom services. For Google i needed to add an extra check because that does a redirect it self to there gstatic.com domain.
-
- 15 Jul, 2022 9 commits
-
-
Daniel García authored
-
Daniel García authored
-
Daniel García authored
Merge branch 'update-dep-fix-issue-2516' of https://github.com/BlackDex/vaultwarden into BlackDex-update-dep-fix-issue-2516
-
Daniel García authored
-
Daniel García authored
-
https://github.com/BlackDex/vaultwardenDaniel García authored
Merge branch 'more-clippy-checks' of https://github.com/BlackDex/vaultwarden into BlackDex-more-clippy-checks
-
Daniel García authored
-
Daniel García authored
-
BlackDex authored
- Update deps. One of them is multer-rs which fixes #2516 - Changed MSRV to `1.59.0`, since that is the correct MSRV currently. It could be lower, but that would mean removing the `strip` option.
-
- 10 Jul, 2022 1 commit
-
-
BlackDex authored
A bit inspired by @paolobarbolini from this commit at lettre https://github.com/lettre/lettre/pull/784 . I added a few more clippy lints here, and fixed the resulted issues. Overall i think this could help in preventing future issues, and maybe even peformance problems. It also makes some code a bit more clear. We could always add more if we want to, i left a few out which i think arn't that huge of an issue. Some like the `unused_async` are nice, which resulted in a few `async` removals. Some others are maybe a bit more estatic, like `string_to_string`, but i think it looks better to use `clone` in those cases instead of `to_string` while they already are a string.
-
- 09 Jul, 2022 4 commits
-
-
Yip Rui Fung authored
-
Yip Rui Fung authored
Because apparently CLion's default formatting is not the same as rustfmt for some reason.
-
Yip Rui Fung authored
-
Yip Rui Fung authored
-
- 08 Jul, 2022 1 commit
-
-
Yip Rui Fung authored
This is to support scenarios where the attachments and sends folder are to be stored on a separate device from the tmp_folder (i.e. fuse-mounted S3 storage), due to having the tmp_dir on the same device being undesirable. Example being fuse-mounted S3 storage with the reasoning that because S3 basically requires a copy+delete operations to rename files, it's inefficient to rename files on device, if it's even allowed.
-
- 06 Jul, 2022 11 commits
-
-
Daniel García authored
-
Daniel García authored
-
Daniel García authored
-
Daniel García authored
-
Daniel García authored
-
dependabot[bot] authored
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.21.0+1.1.1p to 111.22.0+1.1.1q. - [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases) - [Commits](https://github.com/alexcrichton/openssl-src-rs/commits ) --- updated-dependencies: - dependency-name: openssl-src dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Nathan Neulinger authored
-
Nathan Neulinger authored
-
Nathan Neulinger authored
-
Nathan Neulinger authored
-
Nathan Neulinger authored
-
- 01 Jul, 2022 3 commits
-
-
Daniel García authored
Add `password_hints_allowed` config option
-
Jeremy Lin authored
The latest version (1.62.0) that was just released includes Clippy changes (https://github.com/rust-lang/rust-clippy/issues/9014) that break the build.
-
Jeremy Lin authored
Disabling password hints is mainly useful for admins who are concerned that their users might provide password hints that are too revealing.
-
- 26 Jun, 2022 2 commits
-
-
Daniel García authored
-
Daniel García authored
-