Commit Graph

33 Commits

Author SHA1 Message Date
Sefa Eyeoglu
01c33fb6d7
treewide: add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL (#358620) 2024-11-29 18:48:23 +01:00
Sefa Eyeoglu
febbe73d5b
bitwarden-desktop: 2024.9.0 -> 2024.11.1 (#355978) 2024-11-24 14:00:27 +01:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09:00
Masum Reza
e13831335f
treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
Andrew Marshall
152c4696ee bitwarden-desktop: 2024.9.0 -> 2024.11.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.9.0...desktop-v2024.11.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.11.1

- This includes update to node-argon2 that removes the need for our fix.
- Upstream now also attempts to modify the "fuses" of bin/electron, but
  that fails for us as we are wrapping the read-only electron. So simply
  skip that in the afterpack. Also, in afterpack, skip creating the
  wrapper script since we don't use it anyway (again, we wrap electron
  directly passing the asar).
- Update biometric patch as file was moved upstream.
- Beware that Bitwarden 2024.10.x was unfree, hence having skipped a few
  versions, see https://github.com/bitwarden/clients/issues/11611
2024-11-14 14:32:59 -05:00
Aleksana
6b1d3eaf40
bitwarden-desktop: fix system authentication (#339384) 2024-11-13 17:12:33 +08:00
Sandro Jäckel
e89fc9caf5
bitwarden-desktop: further simplify checkPhase 2024-11-06 16:36:22 +01:00
Martin Weinelt
89ece45c32
bitwarden-desktop: add aarch64-linux support (#351355) 2024-10-27 02:51:04 +02:00
Jack Wines
1dd2806ccf
bitwarden-desktop: add aarch64-linux support 2024-10-26 20:23:04 -04:00
gmvar
148d579567 bitwarden-desktop: add URL scheme 2024-10-24 16:11:44 -07:00
Andrew Marshall
d9ce15a363 bitwarden-desktop: remove unneeded dbus-run-session for tests
This appears to no longer be needed. Still run in a subshell to avoid
polluting `HOME` to the rest of the build.
2024-10-15 15:20:44 -04:00
Andrew Marshall
bf63690b2e bitwarden-desktop: fix build and guard against breakage
`dbus-run-session` execs, so does not carry-over shell functions.
Previously, we had explicitly exported just the functions we needed.
However, what is needed has recently changed due to changes in
`cargoCheckHook`. Instead, export all functions so we are not so coupled
to the implementation. Do this in a subshell to avoid polluting the rest
of the build.
2024-10-15 15:11:28 -04:00
Jack N
4cc4fd6ff1 bitwarden-desktop: fix system authentication 2024-10-05 22:04:26 -07:00
Robert Schütz
483e68aa6c bitwarden-desktop: 2024.8.2 -> 2024.9.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.8.2...desktop-v2024.9.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.9.0
2024-09-19 12:41:15 -07:00
Andrew Marshall
5a91740627 bitwarden-desktop: 2024.8.1 -> 2024.8.2
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.8.1...desktop-v2024.8.2

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.8.2
2024-09-05 15:10:37 -04:00
Andrew Marshall
0cf866ffd8 bitwarden-desktop: Add updateScript 2024-09-05 15:10:37 -04:00
Robert Schütz
f31d4151d3
bitwarden-desktop: 2024.8.0 -> 2024.8.1 (#337755) 2024-08-28 19:23:32 -07:00
Andrew Marshall
e91e3c0306 bitwarden-desktop: ensure no unfree source is used 2024-08-27 16:35:30 -04:00
TomaSajt
a1a3707599
bitwarden-desktop: use electron.dist 2024-08-27 21:37:13 +02:00
Andrew Marshall
64c6a504ce bitwarden-desktop: 2024.8.0 -> 2024.8.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.8.0...desktop-v2024.8.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.8.1
2024-08-27 14:02:29 -04:00
Andrew Marshall
ac2fdbefa1 bitwarden-desktop: 2024.6.4 -> 2024.8.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.6.4...desktop-v2024.8.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.7.1
           https://github.com/bitwarden/clients/releases/tag/desktop-v2024.8.0

- The postPatch to fixup broken package{,-lock}.json in upstream seems
  to be no longer needed, so (happily) remove
- Python 3.12 removed distutils, so get it from setuptools
- Workaround broken node-argon2 dependency due to being updated (see
  inline comment)
- desktop_native/napi was split out of desktop_native, so adjust
  accordingly

Co-authored-by: Robert Schütz <mail@dotlambda.de>
2024-08-25 00:46:14 -04:00
Emilio Ziniades
85b5ae2137 bitwarden-desktop: export _logHook for sub-shell 2024-07-09 15:19:21 +02:00
Robert Schütz
79d79953cb bitwarden-desktop: 2024.6.0 -> 2024.6.4
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.6.0...desktop-v2024.6.4

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.6.4
2024-07-03 05:24:03 -07:00
Jan Tojnar
1369411184 gnome-keyring: Move from gnome scope to top-level
It is on the way out.
2024-07-01 09:35:26 +02:00
Sandro Jäckel
743d9f835d
maintainers: remove one year inactive maintainer kiwi 2024-06-21 01:38:39 -04:00
Andrew Marshall
8b99f45d2b bitwarden-desktop: 2024.5.0 -> 2024.6.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.5.0...desktop-v2024.6.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.6.0
2024-06-12 22:31:37 -04:00
Andrew Marshall
d62d943042 bitwarden-desktop: enforce using correct Node version
Otherwise nothing tells us we are using different than upstream. This
also checks anything else in the `package.json`’s `engines` spec, e.g.
npm version, which we might not care about but it’s compatible now so
it’s fine.

See https://docs.npmjs.com/cli/v10/using-npm/config#engine-strict
2024-06-12 22:31:37 -04:00
Andrew Marshall
e7521ac9e2 bitwarden-desktop: minor cleanup
- Update description to match bitwarden-cli
- Prefer `lib.getExe`
2024-06-12 22:31:37 -04:00
Andrew Marshall
f06f376b65 bitwarden-desktop: 2024.4.1 -> 2024.5.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.4.1...desktop-v2024.5.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.5.0
2024-06-03 21:58:23 -04:00
Robert Schütz
244b791b45 bitwarden-desktop: 2024.3.0 -> 2024.4.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.3.0...desktop-2024.4.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.3.2
           https://github.com/bitwarden/clients/releases/tag/desktop-v2024.4.0
           https://github.com/bitwarden/clients/releases/tag/desktop-v2024.4.1
2024-04-14 20:03:14 -07:00
Andrew Marshall
80a06efe90 bitwarden-desktop: 2024.2.0 -> 2024.3.0
The now-removed patch is in this release.

Notably, upstream commit e2ca52a3ff7bceb282f266fe49b974ca0c401358 has
given quite a bit of grief here. They changed
`apps/desktop/src/package.json` to add an external dependency for the
first time, but neglected to update the corresponding
`package-lock.json`. However, simply updating that is not enough as the
build process does not copy it into the `apps/desktop/build` dir where
`electron-builder` is ultimately run in, and it is `electron-builder` in
its "installing production dependencies" step that performs an `npm
install` in that directory.

Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.2.0...desktop-v2024.3.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.3.0
2024-03-12 12:06:09 -04:00
Andrew Marshall
b491aad7b3 bitwarden-desktop: replace patch with upstream URL
...since it is now merged. The patches are equivalent, so the hash is
unchanged.
2024-02-25 22:21:58 -05:00
Andrew Marshall
4ff953a95a bitwarden-desktop: rename from bitwarden
Upstream calls it Bitwarden Desktop, and we have other “bitwarden-*”
packages, so having an unsuffixed one can be confusing.

I assume the hash for cargoDeps is changing since it encodes the pname.
2024-02-25 22:21:58 -05:00