Skip to content
Snippets Groups Projects
  1. Jan 12, 2023
  2. Dec 18, 2022
    • Daniel García's avatar
    • BlackDex's avatar
      Disable groups by default and Some optimizations · 67a584c1
      BlackDex authored
      - Put groups support behind a feature flag, and disabled by default.
        The reason is that it has some known issues, but we want to keep
        optimizing this feature. Putting it behind a feature flag could help
        some users, and the developers into optimizing this feature without to
        much trouble.
      
      Further:
      
      - Updates Rust to v1.66.0
      - Updated GHA workflows
      - Updated Alpine to 3.17
      - Updated jquery to v3.6.2
      - Moved jdenticon.js to load at the bottom, fixes an issue on chromium
      - Added autocomplete attribute to admin login password field
      - Added some extra CSP options (Tested this on Safari, Firefox, Chrome, Bitwarden Desktop)
      - Moved uppercase convertion from runtime to compile-time using `paste`
        for building the environment variables, lowers heap allocations.
      Unverified
      67a584c1
  3. Dec 16, 2022
    • BlackDex's avatar
      Disable groups by default and Some optimizations · 8b6dfe48
      BlackDex authored
      - Put groups support behind a feature flag, and disabled by default.
        The reason is that it has some known issues, but we want to keep
        optimizing this feature. Putting it behind a feature flag could help
        some users, and the developers into optimizing this feature without to
        much trouble.
      
      Further:
      
      - Updates Rust to v1.66.0
      - Updated GHA workflows
      - Updated Alpine to 3.17
      - Updated jquery to v3.6.2
      - Moved jdenticon.js to load at the bottom, fixes an issue on chromium
      - Added autocomplete attribute to admin login password field
      - Added some extra CSP options (Tested this on Safari, Firefox, Chrome, Bitwarden Desktop)
      - Moved uppercase convertion from runtime to compile-time using `paste`
        for building the environment variables, lowers heap allocations.
      Unverified
      8b6dfe48
  4. Dec 12, 2022
  5. Dec 01, 2022
  6. Nov 09, 2022
  7. Nov 08, 2022
  8. Oct 26, 2022
  9. Oct 23, 2022
  10. Oct 14, 2022
  11. Oct 09, 2022
  12. Sep 25, 2022
  13. Sep 08, 2022
  14. Sep 04, 2022
  15. Jul 31, 2022
    • BlackDex's avatar
      Update deps and Alpine image · 6e23a573
      BlackDex authored
      - Updated deps
      - Updated Alpine images to 3.16
      - Removed dumb-init, not needed anymore
      - Some small shellcheck tweaks on the start/healthcheck scripts
      Unverified
      6e23a573
  16. Jul 20, 2022
    • BlackDex's avatar
      Fix persistent folder check within containers · 9a787dd1
      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
      Unverified
      9a787dd1
  17. Jul 15, 2022
  18. Jul 06, 2022
  19. Jun 26, 2022
  20. Jun 04, 2022
  21. May 28, 2022
  22. May 26, 2022
    • BlackDex's avatar
      Add a persistent volume check. · 40ed5055
      BlackDex authored
      This will add a persistent volume check to make sure when running
      containers someone is using a volume for persistent storage.
      
      This check can be bypassed if someone configures
      `I_REALLY_WANT_VOLATILE_STORAGE=true` as an environment variable.
      
      This should prevent issues like #2493 .
      Unverified
      40ed5055
  23. May 21, 2022
    • BlackDex's avatar
      Update Rust version in Dockerfile · 2168d094
      BlackDex authored
      Updated Rust from v1.60 to v1.61 for building the images.
      Also made the rust version fixed for the Alpine build images to prevent
      those images being build with a newer version when released.
      Unverified
      2168d094
  24. May 11, 2022
  25. Apr 23, 2022
  26. Mar 27, 2022
    • BlackDex's avatar
      Fix building mimalloc on armv6 · d98f95f5
      BlackDex authored
      The armv6 builds need a specific location for the libatomic.a file.
      This commit fixes that by adding a RUSTFLAGS argument for this.
      
      Also removed the `link-arg=-s` since this is now already done during via the release profile
      And removed the CFLAGS for armv7, this is already fixed by default in the blackdex/rust-musl images.
      Unverified
      d98f95f5
  27. Mar 26, 2022
  28. Mar 20, 2022
    • BlackDex's avatar
      Several updates and fixes · b0faaf25
      BlackDex authored
      - Removed all `thread::sleep` and use `tokio::time::sleep` now.
        This solves an issue with updating to Bullseye ( Resolves #1998 )
      - Updated all Debian images to Bullseye
      - Added MiMalloc feature and enabled it by default for Alpine based images
        This increases performance for the Alpine images because the default
        memory allocator for MUSL based binaries isn't that fast
      - Updated `dotenv` to `dotenvy` a maintained and updated fork
      - Fixed an issue with a newer jslib (not fully released yet)
        That version uses a different endpoint for `prelogin` Resolves #2378 )
      Unverified
      b0faaf25
  29. Feb 27, 2022
  30. Feb 26, 2022
    • BlackDex's avatar
      Favicon, SMTP and misc updates · 42136a70
      BlackDex authored
      Favicon:
      - Replaced HTML tokenizer, much faster now.
      - Caching the domain blacklist function.
      - Almost all functions are async now.
      - Fixed bug on minimizing data to parse
      - Changed maximum icon download size to 5MB to match Bitwarden
      - Added `apple-touch-icon.png` as a second fallback besides `favicon.ico`
      
      SMTP:
      - Deprecated SMTP_SSL and SMTP_EXPLICIT_TLS, replaced with SMTP_SECURITY
      
      Misc:
      - Fixed issue when `resolv.conf` contains errors and trust-dns panics (Fixes #2283)
      - Updated Javscript and CSS files for admin interface
      - Fixed an issue with the /admin interface which did not cleared the login cookie correctly
      - Prevent websocket notifications during org import, this caused a lot of traffic, and slowed down the import.
        This is also the same as Bitwarden which does not trigger this refresh via websockets.
      
      Rust:
      - Updated to use v1.59
      - Use the new `strip` option and enabled to strip `debuginfo`
      - Enabled `lto` with `thin`
      - Removed the strip RUN from the alpine armv7, this is now done automatically
      Unverified
      42136a70
  31. Feb 22, 2022
    • BlackDex's avatar
      Update async to prepare for main merge · 5f01db69
      BlackDex authored
      - Changed nightly to stable in Dockerfile and Workflow
      - Updated Dockerfile to use stable and updated ENV's
      - Removed 0.0.0.0 as default addr it now uses ROCKET_ADDRESS or the default
      - Updated Github Workflow actions to the latest versions
      - Updated Hadolint version
      - Re-orderd the Cargo.toml file a bit and put libs together which are linked
      - Updated some libs
      - Updated .dockerignore file
      Unverified
      5f01db69
  32. Jan 30, 2022
Loading