Skip to content
Snippets Groups Projects
  1. Jan 08, 2025
  2. Jan 07, 2025
  3. Jan 04, 2025
  4. Dec 31, 2024
  5. Dec 30, 2024
  6. Dec 29, 2024
  7. Dec 20, 2024
  8. Dec 15, 2024
  9. Dec 14, 2024
  10. Dec 13, 2024
  11. Dec 12, 2024
  12. Dec 10, 2024
  13. Dec 08, 2024
  14. Dec 06, 2024
  15. Dec 05, 2024
    • Mathijs van Veluw's avatar
      Update Rust and crates (#5248) · 71b3d3c8
      Mathijs van Veluw authored
      
      * Update Rust and crates
      
      - Updated Rust to v1.83.0
      - Updated MSRV to v1.82.0 (Needed for html5gum crate)
      - Updated icon fetching code to match new html5gum version
      - Updated workflows
      - Enabled edition 2024 clippy lints
        Nightly reports some clippy hints, but that would be too much to change in this PR i think.
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      * Some additional updates
      
      - Patch fern to allow syslog-7 feature
      - Fixed diesel logger which was broken because of the sqlite backup feature
        Refactored the sqlite backup because of this
      - Added a build workflow test to include the query_logger feature
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      * Also patch yubico-rs and latest updates
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      ---------
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      71b3d3c8
  16. Nov 25, 2024
  17. Nov 20, 2024
    • Mathijs van Veluw's avatar
      Fix editing members which have access-all rights (#5213) · 96813b13
      Mathijs van Veluw authored
      
      With web-vault v2024.6.2 and lower, if a user has access-all rights either as an org-member or via a group it shouldn't return individual collections.
      
      This probably needs to be changed with newer versions which do not support the `access-all` feature anymore and work with manage.
      But with the current version this should solve access right issues.
      
      Fixes #5212
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      96813b13
    • Mathijs van Veluw's avatar
      Fix push not working (#5214) · b0b953f3
      Mathijs van Veluw authored
      
      The new native mobile clients seem to use PascalCase for the push payload.
      Also the date/time could cause issues.
      
      This PR fixes this by formatting the date/time correctly and use PascalCase for the payload key's
      I now receive cipher updates and login-with-device requests again.
      
      Fixes #5182
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      b0b953f3
  18. Nov 17, 2024
    • Mathijs van Veluw's avatar
      Fix Org Import duplicate collections (#5200) · cdfdc6ff
      Mathijs van Veluw authored
      
      This fixes an issue with collections be duplicated same as was an issue with folders.
      Also made some optimizations by using HashSet where possible and device the Vec/Hash capacity.
      And instead of passing objects only use the UUID which was the only value we needed.
      
      Also found an issue with importing a personal export via the Org import where folders are used.
      Since Org's do not use folder we needed to clear those out, same as Bitwarden does.
      
      Fixes #5193
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
  19. Nov 15, 2024
  20. Nov 13, 2024
  21. Nov 12, 2024
  22. Nov 11, 2024
    • Mathijs van Veluw's avatar
      Add dynamic CSS support (#4940) · 294b4294
      Mathijs van Veluw authored
      * Add dynamic CSS support
      
      Together with https://github.com/dani-garcia/bw_web_builds/pull/180
      
       this PR will add support for dynamic CSS changes.
      
      For example, we could hide the register link if signups are not allowed.
      In the future show or hide the SSO button depending on if it is enabled or not.
      
      There also is a special `user.vaultwarden.scss` file so that users can add custom CSS without the need to modify the default (static) changes.
      This will prevent future changes from not being applied and still have the custom user changes to be added.
      
      Also added a special redirect when someone goes directly to `/index.html` as that might cause issues with loading other scripts and files.
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      * Add versions and fallback to built-in
      
      - Add both Vaultwarden and web-vault versions to the css_options.
      - Fallback to the inner templates if rendering or compiling the scss fails.
        This ensures the basics are always working even if someone breaks the templates.
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      * Fix fallback code to actually work
      
      The fallback now works by using an alternative `reg!` macro.
      This adds an extra template register which prefixes the template with `fallback_`.
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      
      * Updated the wiki link in the user template
      
      ---------
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      294b4294
    • Daniel García's avatar
      More authrequest fixes (#5176) · 37c14c3c
      Daniel García authored
      37c14c3c
    • Mathijs van Veluw's avatar
      Fix if logic error (#5171) · d0581da6
      Mathijs van Veluw authored
      
      Fixing a logical error in an if statement where we used `&&` which should have been `||`.
      
      Signed-off-by: default avatarBlackDex <black.dex@gmail.com>
      d0581da6
  23. Nov 10, 2024
  24. Nov 02, 2024
  25. Oct 24, 2024
  26. Oct 20, 2024
  27. Oct 19, 2024
    • Mathijs van Veluw's avatar
      Hide user name on invite status (#5110) · 13f4b66e
      Mathijs van Veluw authored
      A possible user disclosure when you invite an user into an organization which already has an account on the same instance.
      This was because we always returned the user's name.
      To prevent this, this PR only returns the user's name if the status is accepted or higher, else we will return null.
      This is the same as Bitwarden does.
      
      Resolves a reported issue.
      
      Also resolved a new `nightly` reported clippy regarding a regex within a loop.
      13f4b66e
    • Daniel's avatar
      Add `extension-refresh` feature flag (#5106) · c967d0dd
      Daniel authored
      - in case people want to try out the new extension design
      c967d0dd
Loading