Skip to content
Snippets Groups Projects
  1. Aug 11, 2024
  2. Aug 09, 2024
  3. Aug 08, 2024
  4. Aug 07, 2024
  5. Aug 01, 2024
  6. Jul 31, 2024
    • Mathijs van Veluw's avatar
      Secure send file uploads (#4810) · c28246cf
      Mathijs van Veluw authored
      Currently there are no checks done during the actual upload of the file of a send item.
      This PR adds several checks to make sure it only accepts the correct uploads.
      c28246cf
  7. Jul 30, 2024
  8. Jul 25, 2024
  9. Jul 24, 2024
    • Mathijs van Veluw's avatar
      Allow to increase the note size to 100_000 (#4772) · b428481a
      Mathijs van Veluw authored
      This PR adds a config option to allow the note size to increase to 100_000, instead of the default 10_000.
      Since this might cause issues with the clients (in the future), and will cause issues with importing into a Bitwarden server, i added warnings regarding this.
      
      Closes #3168
      b428481a
    • 0x0fbc's avatar
      Add support for MFA with Duo's Universal Prompt (#4637) · b4b27019
      0x0fbc authored
      
      * Add initial working Duo Universal Prompt support.
      
      * Add db schema and models for Duo 2FA state storage
      
      * store duo states in the database and validate during authentication
      
      * cleanup & comments
      
      * bump state/nonce length
      
      * replace stray use of TimeDelta
      
      * more cleanup
      
      * bind Duo oauth flow to device id, drop redundant device type handling
      
      * drop redundant alphanum string generation code
      
      * error handling cleanup
      
      * directly use JWT_VALIDITY_SECS constant instead of copying it to DuoClient instances
      
      * remove redundant explicit returns, rustfmt
      
      * rearrange constants, update comments, error message
      
      * override charset on duo state column to ascii for mysql
      
      * Reduce twofactor_duo_ctx state/nonce column size in postgres and maria
      
      * Add fixes suggested by clippy
      
      * rustfmt
      
      * Update to use the make_http_request
      
      * Don't handle OrganizationDuo
      
      * move Duo API endpoint fmt strings out of macros and into format! calls
      
      * Add missing indentation
      
      Co-authored-by: default avatarDaniel García <dani-garcia@users.noreply.github.com>
      
      * remove redundant expiry check when purging Duo contexts
      
      ---------
      
      Co-authored-by: default avatarBlackDex <black.dex@gmail.com>
      Co-authored-by: default avatarDaniel García <dani-garcia@users.noreply.github.com>
      b4b27019
    • Timshel's avatar
      de66e56b
  10. Jul 23, 2024
  11. Jul 17, 2024
    • Mathijs van Veluw's avatar
      b27e6e30
    • Mathijs van Veluw's avatar
      Fix for RSA Keys which are read only (#4744) · 505b30ee
      Mathijs van Veluw authored
      * Fix for RSA Keys which are read only
      
      Sometimes an RSA Key file could be read only.
      We currently failed because we also wanted to write.
      Added an extra check if the file exists already and is not 0 in size.
      If it does already exists and is larger then 0, then open in read only
      mode.
      
      Fixes #4644
      
      * Updated code to work atomically
      
      - Changed the code to work atomically
      - Also show the alert generated from `Io`
      
      * Fix spelling
      505b30ee
  12. Jul 16, 2024
  13. Jul 12, 2024
    • Mathijs van Veluw's avatar
      Update admin interface (#4737) · 54bfcb8b
      Mathijs van Veluw authored
      - Updated datatables
      - Set Cookie Secure flag if the connection is https
      - Prevent possible XSS via Organization Name
        Converted all `innerHTML` and `innerText` to the Safe Sink version `textContent`
      - Removed `jsesc` function as handlebars escapes all these chars already and more by default
      54bfcb8b
    • Daniel García's avatar
      Improved HTTP client (#4740) · 035f694d
      Daniel García authored
      * Improved HTTP client
      
      * Change config compat to use auto, rename blacklist
      
      * Fix wrong doc references
      035f694d
  14. Jul 10, 2024
  15. Jul 08, 2024
  16. Jul 04, 2024
    • Stefan Melmuk's avatar
      add group support for Cipher::get_collections() (#4592) · fda77afc
      Stefan Melmuk authored
      * add group support for Cipher::get_collections()
      
      join group infos assigned to a collection to check
      whether user has been given access to all collections via any group
      or they have access to a specific collection via any group membership
      
      * fix Collection::is_writable_by_user()
      
      prevent side effects if groups are disabled
      
      * differentiate the /collection endpoints
      
      * return cipherDetails on post_collections_update()
      
      * add collections_v2 endpoint
      fda77afc
    • Daniel's avatar
      Remove duplicate registry step (#4703) · d9835f53
      Daniel authored
      d9835f53
    • Mathijs van Veluw's avatar
      Fix duplicate folder creations during import (#4702) · bd919641
      Mathijs van Veluw authored
      During import you are able to select an existing folder, or with
      Bitwarden exports it can contain existing folders already. In either
      case it didn't matter, we always created new folders.
      
      Bitwarden uses the same UUID of the selected or existing folders if they
      are already there.
      
      This PR fixes this by using the same behaviour.
      
      Fixes #4700
      bd919641
  17. Jul 03, 2024
    • Mathijs van Veluw's avatar
      Fix collections and native app issue (#4685) · d42b264a
      Mathijs van Veluw authored
      Collections were not visible in the organization view.
      This was because the `flexibleCollections` was set to `true`
      
      Found an issue with loading some old created Secure Notes which had `{}` or `{"type":null}` as there `data` value.
      This isn't allowed. When detected, replace it with `{"type":0}`
      
      Fixes #4682
      Fixes #4590
      d42b264a
  18. Jun 24, 2024
  19. Jun 23, 2024
    • Daniel García's avatar
      Change API and structs to camelCase (#4386) · a2bf8def
      Daniel García authored
      * Change API inputs/outputs and structs to camelCase
      
      * Fix fields and password history
      
      * Use convert_json_key_lcase_first
      
      * Make sends lowercase
      
      * Update admin and templates
      
      * Update org revoke
      
      * Fix sends expecting size to be a string on mobile
      
      * Convert two-factor providers to string
      a2bf8def
  20. Jun 20, 2024
Loading