Commit graph

80 commits

Author SHA1 Message Date
Robert Schütz a096dc3b1e
Merge pull request #280071 from amarshall/bitwarden-update
bitwarden: 2023.12.1 -> 2024.1.0
2024-01-12 12:44:49 +01:00
Robert Schütz c640856952 bitwarden-cli: 2023.12.1 -> 2024.1.0
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.12.1...cli-v2024.1.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.1.0
2024-01-10 12:12:42 -08:00
Andrew Marshall 27ef6e0fe9 bitwarden: 2023.12.1 -> 2024.1.0
Electron 27 is now upstream. Wayland clipboard patch has conflicts so
needed to update; pulling from upstream PR. Without legacy-peer-deps,
failed with:

```
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: ws@7.5.9
npm WARN Found: peerOptional utf-8-validate@"^5.0.2" from the root project
npm WARN Could not resolve dependency:
npm WARN peerOptional utf-8-validate@"^5.0.2" from the root project
```

Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.12.1...desktop-v2024.1.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.1.0
2024-01-10 14:20:21 -05:00
Robert Schütz 31928d049d bitwarden: 2023.12.0 -> 2023.12.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.12.0...desktop-v2023.12.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.12.1
2024-01-02 09:51:20 -05:00
Andrew Marshall 9201c2e674 bitwarden: Filter patches for cargo sourceRoot
Since we pass `sourceRoot` to `fetchCargoTarball`, any patches that
affect files outside of that `sourceRoot` will fail to apply. So map
each patch to remove any diff hunks outside that `sourceRoot`.

This was only working before due to the FOD being cached from before
such problematic patches were added (in commit
333dadbe66).
2024-01-02 09:36:45 -05:00
Robert Schütz cfba6e0113 bitwarden-cli: 2023.12.0 -> 2023.12.1
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.12.0...cli-v2023.12.1

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.12.1
2023-12-20 14:22:16 -08:00
Andrew Marshall 333dadbe66 bitwarden: use Electron 27 instead of 26 to fix bug
Seems to only occur on some GPUs, e.g. some Intel GPUs. See also
https://github.com/bitwarden/clients/issues/6560. Cannot go back to
electron 25 easily due to
https://github.com/NixOS/nixpkgs/issues/272912.

Since upstream has a commit to do this, backport it (it does not apply
cleanly, though, so vendor).
2023-12-12 21:27:04 -05:00
Robert Schütz 47a92aac1e bitwarden: use electron_26
Upstream uses Electron 25 which is EOL but the app runs fine under
Electron 26.
2023-12-08 18:02:53 -08:00
Robert Schütz 8aeba41cca bitwarden-cli: 2023.10.0 -> 2023.12.0
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.10.0...cli-v2023.12.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.12.0
2023-12-06 12:45:07 -08:00
Robert Schütz 2060d14f06 bitwarden: 2023.10.1 -> 2023.12.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.10.1...desktop-v2023.12.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.12.0
2023-12-06 12:41:32 -08:00
Artturi b3c29675ac
Merge pull request #266966 from elijahimmer/add-meta-mainProgram 2023-11-16 22:59:34 +02:00
Andrew Marshall 1032d6b821 bitwarden: fix copying on Wayland
Broken since 2023.10.0

https://github.com/bitwarden/clients/issues/6812#issuecomment-1806830091
2023-11-14 13:49:47 -05:00
Andrew Marshall daed31a57d bitwarden: 2023.10.0 -> 2023.10.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.10.0...desktop-v2023.10.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.10.1
2023-11-14 03:15:49 -05:00
Elijah M. Immer 2e18cb1953 bitwarden: add meta.mainProgram 2023-11-13 08:27:28 +00:00
happysalada c3e6ad5c94 buildNpmPackage: replace nodejs override 2023-11-11 12:16:04 +00:00
Robert Schütz a6253a52cd bitwarden-cli: 2023.9.1 -> 2023.10.0
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.9.1...cli-v2023.10.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.10.0
2023-11-01 22:37:02 -07:00
Robert Schütz 9d33fd4917 bitwarden: 2023.9.3 -> 2023.10.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.9.3...desktop-v2023.10.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.10.0
2023-11-01 22:36:55 -07:00
Robert Schütz 597baf8b7e
Merge pull request #262797 from dotlambda/bitwarden-2023.9.3
bitwarden: 2023.9.0 -> 2023.9.3
2023-10-22 22:46:03 -07:00
Robert Schütz 3398105328 bitwarden: use copyDesktopItems 2023-10-22 13:51:36 -07:00
Andrew Marshall 5dab9d0ffc bitwarden: 2023.9.0 -> 2023.9.3
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.9.0...desktop-v2023.9.3

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.9.3
2023-10-17 09:48:25 -04:00
Robert Schütz 34e80231b4 bitwarden-cli: 2023.9.0 -> 2023.9.1
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.9.0...cli-v2023.9.1

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.9.1
2023-10-12 11:18:28 -07:00
Robert Schütz 7c5f79e5a1 bitwarden: 2023.8.3 -> 2023.9.0
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.8.3...desktop-v2023.9.0

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.9.0
2023-09-22 09:38:07 -07:00
Robert Schütz 8aba8953dc bitwarden: simplify expression
We now use hooks to setup Rust dependencies, rely on upstream's
package.json to compile the Rust code, and support nix-update.
2023-09-22 09:38:00 -07:00
Robert Schütz 572fc1a5f6 bitwarden-cli: 2023.8.2 -> 2023.9.0
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.8.2...cli-v2023.9.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.9.0
2023-09-20 17:23:37 -07:00
Fabián Heredia Montiel 4edfab999d
Merge pull request #243183 from amarshall/bitwarden-2023.7.0
bitwarden: 2023.5.1 -> 2023.8.3
2023-09-17 11:57:32 -06:00
Yureka 5d7c754943 electron-bin: place electron files in libexec/ 2023-09-10 14:05:55 +02:00
Andrew Marshall 63c1a559a6 bitwarden: 2023.5.1 -> 2023.8.3 2023-09-09 16:49:05 -04:00
Robert Schütz 5c6bfa6a4b bitwarden-cli: 2023.7.0 -> 2023.8.2
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.7.0...cli-v2023.8.2

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.8.2
2023-08-29 08:44:17 -07:00
Jan Malakhovski 5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Robert Schütz 3fbcc9f0c2 bitwarden-cli: add passthru.tests 2023-07-25 11:23:08 -07:00
Robert Schütz 8c8d1164de bitwarden-cli: 2023.5.0 -> 2023.7.0
Diff: https://github.com/bitwarden/clients/compare/cli-v2023.5.0...cli-v2023.7.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2023.7.0
2023-07-25 11:18:50 -07:00
Robert Schütz 2995a890b5 bitwarden-cli: build from source 2023-07-23 11:45:13 -07:00
Andrew Marshall 7c98b97934 bitwarden: 2023.5.0 -> 2023.5.1 2023-06-21 22:34:05 -04:00
Isa 1111114179
bitwarden: 2023.4.0 -> 2023.5.0 2023-06-09 21:23:00 +02:00
Andrew Marshall 7e50f350d3 bitwarden: verify Electron version matches expected 2023-05-20 19:32:46 -04:00
Andrew Marshall b38795a22e bitwarden: update to use Node 18
- Backport patch from Bitwarden master to achieve this as they have done
  (unreleased) upgrade 16→18, and have several other changes along with
  it. We want this now because Node 16 is being marked insecure soon for
  NixOS 23.05; see https://github.com/NixOS/nixpkgs/pull/229910.
- These changes should be in the next release in a few weeks
- `npm bin` no longer exists, use `npm exec` instead
2023-05-20 19:32:46 -04:00
Andrew Marshall baecc1d300 bitwarden: make applying patches easier
Since `sourceRoot` occurs before patching, simply setting `patches` in
the native drv to the same as the npm drv doesn’t work, as paths outside
the `sourceRoot` referenced in the patches don’t exist and cause
applying them to fail. Instead, use `applyPatches` to make `src` have
the patches already applied before `sourceRoot` comes into play. It
would be possible to not use `sourceRoot` and just `cd`, but then the
`Cargo.lock` location needs to be manually specified and it just becomes
more mess than it’s worth. `applyPatches` seems the cleanest way to
achieve this.
2023-05-20 19:30:09 -04:00
Andrew Marshall 9a8475c634 bitwarden: 2023.3.2 -> 2023.4.0 2023-05-20 19:03:16 -04:00
Sandro Jäckel aad577bd30 nodejs*: normalise names to better fit other packages
Versioned package attributes are usually named like $pname_$version
eg: nodejs-14_x -> nodejs_14
2023-04-25 11:28:17 +02:00
Andrew Marshall e22e3f4c62 bitwarden: 2023.2.0 -> 2023.3.2
Additionally, remove unused `rec`.
2023-04-07 15:49:51 -04:00
Andrew Marshall c7e43a6aab bitwarden: 2023.1.1 -> 2023.2.0 2023-02-23 23:31:50 -05:00
Andrew Marshall 14882dec04 bitwarden: build from source 2023-02-23 23:31:50 -05:00
R. Ryantm 49c654c3a9 bitwarden: 2022.12.0 -> 2023.1.1 2023-02-04 15:28:20 +00:00
R. Ryantm 4abe83ef30 bitwarden: 2022.10.0 -> 2022.12.0 2022-12-25 18:05:43 +08:00
kilianar 9683bb1e37 bitwarden: 2022.8.1 -> 2022.10.0
- https://github.com/bitwarden/clients/releases/tag/desktop-v2022.9.0
- https://github.com/bitwarden/clients/releases/tag/desktop-v2022.9.1
- https://github.com/bitwarden/clients/releases/tag/desktop-v2022.10.0
2022-10-12 22:20:16 +02:00
R. Ryantm df92ee9152 bitwarden: 2022.6.2 -> 2022.8.1 2022-08-12 05:09:57 +00:00
Craftman7 8613bd99b1 bitwarden: 2022.5.1 -> 2022.6.2 2022-07-26 11:07:24 -07:00
kilianar 1536c44301 bitwarden: 1.32.1 -> 2022.5.1
The original repository `bitwarden/desktop` was archived, development is continued in `bitwarden/clients`.
2022-06-22 15:45:29 +02:00
Robert Scott 61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
R. Ryantm 19ad91fcaf bitwarden: 1.31.3 -> 1.32.1 2022-04-11 02:56:19 +00:00