1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-19 16:00:53 +01:00
Commit Graph

619 Commits

Author SHA1 Message Date
Oscar Hinton
48f99099b2
[PM-16845] Lint unowned dependencies (#12748)
* Lint unowned dependencies

* Split npm ci and run linter

* Set explicit versions for unchanged parts of the workflow ....

* Rename yao-pkg

* Add owners for sdk-internal, fuses and angular-eslint/schematics

* Assign owners for angular and storybook

* Add typescript-strict-plugin

* Add two more unowned dependencies

---------

Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
Co-authored-by: Addison Beck <github@addisonbeck.com>
2025-01-08 13:37:08 -05:00
Jonathan Prusik
dbed5ff79b
[PM-16247] Autofill base common content components (#12668)
* PoC implementation

* build notification header components

* use emotion css, and add button row components

* add icons

* update close button component to use new icon

* add cipher components

* reorganize notification component to accomodate body overflow with static footer

* add action row component and fix overflow cases

* fix component directory casings

* add scrollbar styles

* fix edit button icon display size issue

* fix edit button interaction

* cleanup and add dropdown menu buttons

* fix footer display of full-width children

* use svg brand icon in header component

* refine body and footer overflow layout handling

* fix fallback cipher icon sizing and other cleanup

* component restructure and cleanup

* restructure icon components

* cleanup

* re-org notification body and footer components and add typing

* additional cleanup
2025-01-07 15:09:43 -05:00
Victoria League
ea10c29024
[CL-506] Upgrade to Angular 18 (#12218) 2025-01-06 13:49:33 -05:00
renovate[bot]
aeba2b3c73
[deps] Platform: Update webpack-cli to v6 (#12552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 22:29:53 -05:00
renovate[bot]
b9660194be
[deps] Platform: Update tsconfig-paths-webpack-plugin to v4.2.0 (#12136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 16:38:29 -05:00
renovate[bot]
7860d0414d
[deps] Platform: Update webpack-dev-server to v5.2.0 (#11061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 11:26:27 -05:00
renovate[bot]
39e5dd880b
[deps] Design System: Update tailwindcss to v3.4.17 (#12543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 10:06:37 -05:00
renovate[bot]
07f947c3bc
[deps] Design System: Update chromatic to v11.20.2 (#12542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 10:04:04 -05:00
renovate[bot]
35f4edddcf
[deps] Platform: Update @types/node to v22.10.2 (#12544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-24 09:41:40 -05:00
renovate[bot]
b856b89c7b
[deps] Autofill: Update tldts to v6.1.69 (#12424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 14:51:08 -05:00
renovate[bot]
e1447a90e3
[deps] Design System: Update ngx-toastr to v19 (#10594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Victoria League <vleague@bitwarden.com>
2024-12-17 10:08:19 -05:00
Thomas Avery
971c157f56
[PM-12700] Add private key regeneration process (#11829)
* add user asymmetric key api service

* Add user asymmetric key regen service

* add feature flag

* Add LoginSuccessHandlerService

* add loginSuccessHandlerService to BaseLoginViaWebAuthnComponent

* Only run loginSuccessHandlerService if webAuthn is used for vault decryption.

* Updates for TS strict

* bump SDK version

* swap to combineLatest

* Update abstractions
2024-12-16 12:00:17 -06:00
renovate[bot]
cecf1f2506
[deps] Platform: Update electron to v33 - abandoned (#11580)
* [deps] Platform: Update electron to v33

* fix: remove event from minimize

* chore: update electron version in `electron-builder.json`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2024-12-12 10:26:05 +01:00
renovate[bot]
c2fb224789
[deps] Design System: Update chromatic to v11.20.0 (#12304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 10:58:46 -05:00
renovate[bot]
94410b13b6
[deps] Design System: Update tailwindcss to v3.4.16 (#12295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 10:01:12 -05:00
renovate[bot]
afc7b5d22d
[deps] Design System: Update storybook monorepo to v8.4.7 (#12294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 09:59:06 -05:00
renovate[bot]
2fd2d2759d
[deps] Platform: Update webpack to v5.97.1 (#12308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2024-12-10 14:16:41 +01:00
Matt Gibson
9c1e2ebd67
Typescript-strict-plugin (#12235)
* Use typescript-strict-plugin to iteratively turn on strict

* Add strict testing to pipeline

Can be executed locally through either `npm run test:types` for full type checking including spec files, or `npx tsc-strict` for only tsconfig.json included files.

* turn on strict for scripts directory

* Use plugin for all tsconfigs in monorepo

vscode is capable of executing tsc with plugins, but uses the most relevant tsconfig to do so. If the plugin is not a part of that config, it is skipped and developers get no feedback of strict compile time issues. These updates remedy that at the cost of slightly more complex removal of the plugin when the time comes.

* remove plugin from configs that extend one that already has it

* Update workspace settings to honor strict plugin

* Apply strict-plugin to native message test runner

* Update vscode workspace to use root tsc version

* `./node_modules/.bin/update-strict-comments` 🤖

This is a one-time operation. All future files should adhere to strict type checking.

* Add fixme to `ts-strict-ignore` comments

* `update-strict-comments` 🤖

repeated for new merge files
2024-12-09 20:58:50 +01:00
renovate[bot]
b344722601
[deps] Platform: Update @types/node to v22.10.1 (#12305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 10:22:22 -05:00
renovate[bot]
30e3002b78
[deps] Autofill: Update prettier to v3.4.2 (#12303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 10:21:49 -05:00
renovate[bot]
d24f092d35
[deps] Autofill: Update tldts to v6.1.66 (#12293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 10:18:50 -05:00
renovate[bot]
ba4d7ea799
[deps] Platform: Update electron-log to v5.2.4 (#12300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2024-12-09 11:57:58 +01:00
renovate[bot]
d5af932cef
[deps] AC: Update style-loader to v4 (#10589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 23:17:47 -06:00
renovate[bot]
1654ff9b7a
[deps] AC: Update sass-loader to v16.0.4 (#11309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 19:56:05 -06:00
renovate[bot]
c6eb78d7fc
[deps] AC: Update postcss to v8.4.49 (#11938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 19:42:56 -06:00
renovate[bot]
a05162b373
[deps] AC: Update mini-css-extract-plugin to v2.9.2 (#11937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 19:09:05 -06:00
renovate[bot]
36750b374e
[deps] AC: Update sass to v1.81.0 (#10575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-29 14:20:32 +00:00
renovate[bot]
d4395d841d
[deps] Platform: Update @electron/rebuild to v3.7.1 (#12125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 11:19:44 +01:00
renovate[bot]
7d6da0a68d
[deps] Design System: Update angular-cli monorepo to v17.3.11 (#10842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 14:01:59 -05:00
renovate[bot]
4c43c72dca
[deps] Platform: Update babel-loader to v9.2.1 (#11324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 10:37:20 +01:00
renovate[bot]
85c6fe332d
[deps] Design System: Update storybook monorepo to v8.4.5 (#11063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 16:32:36 -05:00
renovate[bot]
b78f17d3f6
[deps] Design System: Update tailwindcss to v3.4.15 (#12124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 16:22:21 -05:00
renovate[bot]
594945882e
[deps] Design System: Update @storybook/addon-designs to v8.0.4 (#11940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 15:40:20 -05:00
renovate[bot]
a901d23ac8
[deps] Design System: Update @compodoc/compodoc to v1.1.26 (#11729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 15:32:21 -05:00
renovate[bot]
c7ecde42fd
[deps] Design System: Update chromatic to v11.19.0 (#11312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 14:50:41 -05:00
renovate[bot]
2e5a043f1a
[deps] Autofill: Update prettier-plugin-tailwindcss to v0.6.9 (#12122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 11:24:31 -05:00
renovate[bot]
f3e1124b34
[deps] Platform: Update @types/node to v22.9.3 (#12127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 11:21:29 -05:00
renovate[bot]
0be38c580c
[deps] Autofill: Update tldts to v6.1.64 (#12123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 11:20:54 -05:00
renovate[bot]
140a514be3
[deps] Platform: Pin dependencies (#11528)
* [deps] Platform: Pin dependencies

* Bump Versions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-11-19 09:49:21 -05:00
Oscar Hinton
b55a28f755
[PM-14485] Remove manifest and index.html logic from gulp (#12033)
Refactor the remaining logic from gulp.  Part of the browser build script
refactor effort.

Webpack is now responsible for performing most of the operations previously
done by gulp. This includes: - Setting browser specific class - Building the
manifest file  The `package.json` is modified to include browser specific
commands for `build`, `build:prod`, `build:watch` and `dist`.

# Manifests

Manifests now uses the `copy-webpack-plugin` `transform` feature. The logic is
located in `apps/browser/webpack/manifest.js`. It reads a template, which
supports some basic operations primarily overriding with browser specific
fields using `__browser__`.  The `manifest.json` for both regular and mv3
builds are identical to our existing manifests except:
- `applications` renamed to `browser_specific_settings`.
- `permissions` sorted alphabetically.

# Safari build

Safari requires additional packaging commands. This is implemented as a
powershell script due to the cross-platform nature, and since we generally
require powershell in our distribution pipelines. An alternative would be to
write it in bash, but bash is less powerful and would require some additional
commands like `jq`. Another alternative is to write it using js, but that would
require additional dependencies.
2024-11-19 13:25:30 +00:00
renovate[bot]
15418659ad
[deps] Autofill: Update tldts to v6.1.61 (#12029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 14:41:03 -05:00
Oscar Hinton
d875ded8fa
Revert "[PM-14485] Remove manifest and index.html logic from gulp" (#12032)
This reverts commit c388697fdf.
2024-11-18 15:38:53 +01:00
Oscar Hinton
c388697fdf
[PM-14485] Remove manifest and index.html logic from gulp (#11861)
Refactor the remaining logic from gulp.  Part of the browser build script
refactor effort.

Webpack is now responsible for performing most of the operations previously
done by gulp. This includes: - Setting browser specific class - Building the
manifest file  The `package.json` is modified to include browser specific
commands for `build`, `build:prod`, `build:watch` and `dist`.

# Manifests

Manifests now uses the `copy-webpack-plugin` `transform` feature. The logic is
located in `apps/browser/webpack/manifest.js`. It reads a template, which
supports some basic operations primarily overriding with browser specific
fields using `__browser__`.  The `manifest.json` for both regular and mv3
builds are identical to our existing manifests except:
- `applications` renamed to `browser_specific_settings`.
- `permissions` sorted alphabetically.

# Safari build

Safari requires additional packaging commands. This is implemented as a
powershell script due to the cross-platform nature, and since we generally
require powershell in our distribution pipelines. An alternative would be to
write it in bash, but bash is less powerful and would require some additional
commands like `jq`. Another alternative is to write it using js, but that would
require additional dependencies.
2024-11-18 11:50:24 +01:00
renovate[bot]
c49679207b
[deps] Autofill: Update concurrently to v9.1.0 (#11949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:03:53 -05:00
renovate[bot]
d40dedf2b3
[deps] Platform: Update @types/node to v22 (#11951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:00:07 -05:00
renovate[bot]
5592d640a8
[deps] Autofill: Update tldts to v6.1.60 (#11939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 17:08:50 -05:00
renovate[bot]
2f4a8d1e0b
[deps] Platform: Update webpack to v5.96.1 (#11319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 14:08:24 +01:00
renovate[bot]
33e3b28ee8
[deps] Platform: Update electron-log to v5.2.2 (#10207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 12:19:03 +01:00
renovate[bot]
72e7e295ba
[deps] AC: Update html-loader to v5.1.0 (#10573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 15:25:45 +00:00
renovate[bot]
b342fe3cca
[deps] AC: Update core-js to v3.39.0 (#10571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 15:21:22 +00:00