Will Martin
bb9de00ad7
[PM-4300] downgrade electron to v25.9.1 ( #6573 )
2023-10-13 10:26:56 -04:00
renovate[bot]
320c1a5970
Update dependency postcss to v8.4.31 [SECURITY] ( #6530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 12:29:22 +02:00
Will Martin
b05b3a2935
[PM-4230] bump Electron to v26.3.0 ( #6511 )
2023-10-06 12:12:54 -04:00
Oscar Hinton
3bb2e4306a
[PM-4147] Bump electron to 24.8.5 ( #6457 )
2023-09-29 16:42:05 +02:00
Oscar Hinton
a9c25e8310
[BEEEP] [PM-4043] Remove date-input-polyfill ( #6372 )
2023-09-22 10:33:46 +00:00
Matt Bishop
8dc11a6f12
Upgrade to latest electron v24 ( #6295 )
2023-09-14 14:29:04 -04:00
Will Martin
373569833f
[PS-2841] remove SweetAlert2 dependency ( #6191 )
...
* remove swal from app.component
* remove dep
* remove unused swal css
2023-09-11 17:15:27 -04:00
renovate[bot]
7b4faeaaca
Update npm minor ( #5724 )
...
* Update npm minor
* Do not update past prettier major version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2023-08-15 15:54:39 -04:00
Oscar Hinton
b56bb19c02
[CL-117] Update storybook, re-add addon-designs and add eslint ( #6015 )
2023-08-15 17:25:51 +00:00
Matt Gibson
4bd750c166
Override orphaned dependency version ( #5729 )
...
replacestream's owner uses an email domain which is on unregistered.
lock version to avoid dependency update attack.
2023-07-03 14:56:14 +00:00
Bernd Schoolmann
cd85a4c039
Automatically load SIMD binary for argon2 ( #4921 )
2023-06-12 13:59:59 -05:00
renovate[bot]
a3110f89fc
chore(deps): update npm minor ( #5524 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 16:33:21 +02:00
renovate[bot]
9f3365623b
fix(deps): update dependency @koa/router to v12 ( #5534 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 14:45:56 +02:00
renovate[bot]
db1a394964
chore(deps): update dependency @types/koa__router to v12 ( #5533 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 14:20:48 +02:00
renovate[bot]
f4cf53c308
chore(deps): pin dependency remark-gfm to 3.0.1 ( #5521 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 16:12:32 +02:00
Oscar Hinton
f7b372a0b0
[PM-2276] Upgrade Storybook to v7 ( #5258 )
2023-05-26 15:58:06 +02:00
renovate[bot]
09e119ad9b
fix(deps): update dependency jsdom to v22 ( #5499 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 20:43:56 +02:00
renovate[bot]
b4dc9fa2a5
chore(deps): update npm minor ( #5485 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 11:12:58 +02:00
renovate[bot]
27094057f8
chore(deps): update dependency tsconfig-paths-webpack-plugin to v4 ( #5481 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 11:17:15 +02:00
renovate[bot]
6383d6ff8a
chore(deps): update dependency eslint-import-resolver-typescript to v3 ( #5479 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 17:53:42 +02:00
renovate[bot]
4f03bd756d
chore(deps): update jest (major) ( #5478 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 17:44:08 +02:00
renovate[bot]
333b05d884
chore(deps): update dependency jest-junit to v16 ( #5475 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 17:08:22 +02:00
renovate[bot]
5f5ec0c00e
chore(deps): update dependency jest-mock-extended to v3 ( #5474 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 16:52:05 +02:00
renovate[bot]
9e32f8d574
chore(deps): update dependency rimraf to v5 ( #5468 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2023-05-19 14:23:44 +02:00
renovate[bot]
b214a709ff
chore(deps): update dependency @types/firefox-webext-browser to v111 ( #5469 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 14:23:32 +02:00
Matt Gibson
c58b0c0753
Return error code when any tsc typecheck fails ( #5459 )
...
* Return error code when any tsc typecheck fails
* Try with bash
`sh ./scripts/test-types.s` resulted in errors missing `[[`,
which is a bash builtin. It's possible the ubuntu runner is using
some other shell.
* Fix spec type errors
* Switch to node for Windows compatibility
2023-05-16 09:20:40 -05:00
Daniel James Smith
177d795292
Remove tapable as dependency as we don't use it ( #5457 )
...
tapable is a package which is used by other packages we depend on, but we don't actually use it anywhere.
2023-05-16 11:28:21 +02:00
renovate[bot]
665fe971e0
chore(deps): update dependency webpack-cli to v5 ( #5458 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 11:23:40 +02:00
renovate[bot]
ace7ce773c
chore(deps): update dependency wait-on to v7 ( #5456 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 19:42:07 +02:00
renovate[bot]
0986a58c45
chore(deps): update dependency concurrently to v8 ( #5454 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 19:29:26 +02:00
renovate[bot]
74fb485f9d
chore(deps): update dependency @types/node to v18 ( #5452 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 18:44:09 +02:00
renovate[bot]
1eff0f776f
fix(deps): update dependency tldts to v6 ( #5449 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 17:38:40 +02:00
renovate[bot]
bfc647004e
chore(deps): update npm minor ( #5401 )
2023-05-12 17:05:26 +02:00
Oscar Hinton
7aa709a04f
[PM-2183] Remove duplicated electron packages ( #5381 )
2023-05-08 16:34:22 +02:00
Oscar Hinton
20d40a0388
[PM-2087] Bump tailwind and prettier-plugin-tailwindcss ( #5320 )
2023-05-04 17:02:45 +02:00
Oscar Hinton
f938804a8c
Explicitly specify zone.js version ( #5335 )
2023-05-02 20:07:38 +02:00
renovate[bot]
936b4c3ebe
Pin dependencies ( #5332 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 19:41:49 +02:00
renovate[bot]
7c4b2c04b9
[PM-1905] Update npm ( #3940 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2023-05-02 17:25:25 +02:00
Oscar Hinton
9a41d5dc6f
[PM-358] Bump electron to 24 and node to 18 ( #5205 )
...
Upgrade Electron to version 24, node to 18 and npm to 9. Electron changed to using node 18 in 23, with node 18 using npm 9 as default.
There doesn't seem to be any breaking changes except the deprecation of Windows 7, 8.1, and Server 2012. A somewhat undocumented breaking change was that elements in the title bar are now draggable which broke the account switching selector. Resolved by adding a no-drag css rule.
- electronjs.org/blog/electron-22-0
- electronjs.org/blog/electron-23-0
- electronjs.org/blog/electron-24-0
2023-05-01 11:09:24 +02:00
Oscar Hinton
3a4a79d057
[PM-1691] Upgrade electron builder ( #5038 )
...
* Upgrade electron builder
* Fix after-sign
* Allow singleArch
* Add CSC_FOR_PULL_REQUEST
2023-04-10 20:19:28 +02:00
Oscar Hinton
23c4d45285
[PM-1415] [BEEEP] Angular 15 ( #4719 )
...
* Upgrade Angular to 15
* Remove attr.allow for webauthn
2023-03-22 18:26:04 +01:00
Oscar Hinton
ff4293b7bd
[PM-1512] Upgrade prettier ( #5028 )
...
* Upgrade prettier
* Lock prettier version
2023-03-21 11:28:15 +01:00
Oscar Hinton
6df106ca47
Add cache to lint-staged for prettier ( #4862 )
2023-02-24 17:09:23 +01:00
Oscar Hinton
76d6586ff8
Enable caching for prettier ( #4837 )
2023-02-24 16:44:01 +01:00
Matt Gibson
084c89107e
Add type check to npm scripts ( #4631 )
2023-02-06 13:40:00 -06:00
Thomas Rittson
cc5c753e30
[EC-1051] Add TailwindCSS linting rules ( #4605 )
2023-02-03 07:27:08 +10:00
Oscar Hinton
4d6e333d8d
[SM-468] Add eslint rule for forcing type to buttons ( #4576 )
...
* Add eslint rule for forcing type to buttons
* Fix eslint js errors
2023-01-31 18:39:10 +01:00
Bernd Schoolmann
e055e68991
[PS-2251] Implement argon2 kdf ( #4468 )
...
* Implement argon2
* Remove argon2 webassembly warning
* Replace magic numbers by enum
* move packages
* cleanup call to argon2
* update call to node argon2
* don't need wasm-eval
* revert config changes
* Update libs/common/src/enums/kdfType.ts
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
* Update kdfType.ts
* apply DEFAULT_PBKDF2_ITERATIONS
* checkIfWasmSupported
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2023-01-26 09:20:12 -05:00
Matt Bishop
4be2989fec
Upload and process test results as an artifact and report ( #4435 )
2023-01-11 09:01:02 -05:00
Daniel James Smith
b16d7a6f6e
[PS-1892] Bump electron ( #4088 )
...
* Bump electron to 21.3.0
Change electron package version in package.json
Execute `npm i` to install electron@21.3.0 and to update package-lock.json
Update electronVersion in electron-builder.json
* Bump electron-store from 8.0.2 to 8.1.0
* Bump electron-notarize from 1.2.1 to 1.2.2
* Bump electron-rebuild from 3.2.7 to 3.2.9
* Bump electron-updater from 5.0.5 to 5.3.0
* Bump electron to 21.3.1
* Also bump electronVersion in electron-builder.json
2022-12-13 22:21:02 +01:00
Oscar Hinton
1dca425dc4
[SM-370] Bump pkg & pkg-fetch ( #4165 )
2022-12-06 11:37:37 +01:00
Oscar Hinton
4debb6647c
[SM-327] Electron hard reset ( #3988 )
2022-11-10 15:06:08 +01:00
Oscar Hinton
27426dec31
[SM-266] Remove fetch, webcrypto and custom-elements polyfills ( #3672 )
2022-10-27 14:25:10 +02:00
Daniel James Smith
8c59eef257
[PS-1123] Improve hostname and domain retrieval ( #3168 )
...
* Add test cases from previous PR https://github.com/bitwarden/jslib/pull/547
* Install tldts as replacement for tldjs
* Use tldts for hostname and domain retrieval/validation
* Remove usage of old tldjs.noop-implementation
* Add handling of about protocol
* Remove usage of tldEndingRegex and use tldts check instead
* Uninstall @types/tldjs and tldjs
* Updated package-lock.json
* Fix accessibility cookie check
* Rename loginUriView.spec to login-uri-view.spec
* Add test for getDomain failing file links
* getHostName - Return null when given, data, about or file links
2022-10-24 19:26:50 +02:00
Vincent Salucci
9578e7b6b4
[CL-27] [EC-455] Ng-Select Integration ( #3383 )
...
* [CL-27] Select -> Library initial commit
* [EC-455] NG-Select Integration
* Prettier
* [EC-455] [CL-27] Add option for removing items on close // Added loading/no item found text defaults // Fixed disabled bg color // Added templated loading icon
* [EC-455] [CL-27] Removed enter override // Fixed backspace removal // Clearing search on add // Gave label select states
* [EC-455] [CL-27] Added copy from text to theme
* [EC-455] [CL-27] Changed SimpleItemView to type - removed creation logic to shift responsibility to hosting component
* [EC-455] [CL-27] Updated custom theme to include CSS variable colors
* [CL-27] [EC-455] Initial pass at form field control // initial template for custom value accessor
* [EC-455] working baseItem input
* [EC-455] working value accessor
* [EC-455] Completed FormFieldControl implemntation // fixed badge disabled bug
* [EC-455] Prettier
* [EC-455] Removed obsolete variables
* [EC-455] Private value accessor functions
* [EC-455] Cleaned up default variables
* [EC-455] Imported Shared module to access i18n pipe // cleaned up string refs
* [EC-455] Adjusted padding for clear button // Changed hover color to text-main // Fixed pipe import on stories
* [EC-455] FormObj factory
* [EC-455] FormObj factory
* [EC-455] Updated FormFieldModule import/export statements
* [EC-455] Null check ngControl // added strings
* [EC-455] Fixed remaining null check // Added standalone story & input
* [EC-455] Actually adding the null check
* [EC-455] Removed injector logic // Removed Value Accessor PROVIDER // Self-assigned value accessor
* [EC-455] Fixed ID copy pasta // Forwarded desribed by to focusable input // Abstracted input for label
* [EC-455] Prettier
2022-10-11 07:49:31 -05:00
Daniel James Smith
28f8f245d9
[PS-1184] Remove specific keyboard shortcut logic ( #3173 )
...
* Removed logic for keyboard shortcuts specific to Vivaldi
* Removed shortcut.ts and related parts
* Removed dependency on mousetrap
* Safari: Remove sidebar_action and_execute_sidebar_action from manifest.json
* Rebuilt package-lock.json
* Fixed merge issue from pulling master
2022-09-08 14:48:45 +02:00
Daniel James Smith
460a846f89
Pin Nord version to 0.2.1 ( #3447 )
2022-09-06 12:15:25 +02:00
Daniel James Smith
42eb40dc67
Remove jasmine related npm packages ( #3392 )
...
* Uninstall jasmine-spec-reporter
* Uninstall jasmine-core
2022-08-26 18:11:45 +02:00
Oscar Hinton
e7c7037a14
Add eslint-plugin-rxjs & rxjs-angular ( #3373 )
2022-08-26 18:09:28 +02:00
Thomas Rittson
d30701ada7
[EC-416] Refactor organization permission checks ( #3252 )
...
* Replace Permissions enum and helper methods with callbacks
* Remove scim feature flag
* Check if org has feature enabled as part of canManage checks
* Pin jest-mock-extended at v2.0.6 to fix compilation error
2022-08-15 07:08:06 -07:00
Robyn MacCallum
96d5f50c7f
Lock node-ipc version ( #3304 )
...
* lock node-ipc version
* update package-lock
* npm i
2022-08-15 09:44:15 -04:00
Thomas Rittson
4a1c3eb1ec
[EC-423] Fix unit tests ( #3265 )
...
* Create base jest.config file
* Fix various tests that were broken
* Add maxWorkers to jest config
* Undo change to testEnvironment
* Enable tsconfig.spec.json
2022-08-11 11:35:08 +10:00
Justin Baur
43d428b3df
[PS-816] Add Autofill Shortcut to MV3 Extension ( #3131 )
...
* Work on background service worker.
* Work on shortcuts
* Work on supporting service worker
* Put new background behind version check
* Fix build
* Use new storage service
* create commands from crypto service (#2995 )
* Work on service worker autofill
* Got basic autofill working
* Final touches
* Work on tests
* Revert some changes
* Add modifications
* Remove unused ciphers for now
* Cleanup
* Address PR feedback
* Update lock file
* Update noop service
* Add chrome type
* Handle "/" in branch names
Updates web workflow to handle the `/` in branch names when it's a PR.
* Remove any
Co-authored-by: Jake Fink <jfink@bitwarden.com>
Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-08-09 21:30:26 -04:00
Vincent Salucci
07c7357825
[Component Library] Text/Button Links ( #3126 )
...
* Initial commit
* Updated stories / Fixed issues with dark theme constrast color
* Force colors so bootstrap doesn't override
* Fixed text colors / Added initial tests
* Added jest debugging ability to components package
* Removed spec file
* Fixed anchor layout
* revert base font-size
* [CL-28] fixed indentation, used focus-visible, adjusted disabled colors
* [CL-28] Reduced ring thickness to better match figma
* [CL-28] Updated story link
* [CL-44] [CL-28] Updated tabs disabled color / Converted to rgb format with helper
2022-08-08 11:21:46 -05:00
Thomas Rittson
8626e1d4e6
[EC-281] Add de/serialization methods to CipherView objects ( #2970 )
2022-08-05 08:07:24 +10:00
Oscar Hinton
379036123f
[SM-110] Add prettier-plugin-tailwindcss ( #3215 )
2022-08-02 08:45:59 +02:00
Oscar Hinton
2011131bb2
[PS-182] Upgrade Angular to V14 ( #2948 )
2022-07-26 14:48:11 +02:00
Thomas Rittson
c90eb42ead
[EC-271] Refactor CryptoService - move symmetric encryption to EncryptService ( #3042 )
...
* move decryptFromBytes, decryptToBytes, and encryptToBytes from CryptoService to EncryptService
* leave redirects in CryptoService
* combine encryptService decryptFromBytes and decryptToBytes methods
* move parsing logic into EncArrayBuffer
* add tests
2022-07-26 11:40:32 +10:00
Oscar Hinton
478de90d45
Cleanup src
folder for web and move ts code into src/app
per angular convention ( #3127 )
2022-07-25 15:13:54 +02:00
Oscar Hinton
0c1bd57cfd
[BEEEP] [EC-141] Rust - Windows hello ( #2635 )
2022-07-25 13:24:13 +02:00
Oscar Hinton
d99acd818b
Change eslint settings to error instead of warn ( #3128 )
2022-07-22 11:15:10 +02:00
Jake Fink
5284072ff1
[PS-181] update electron ( #3071 )
...
* update electron
* downgrade electron-builder
* update electron target in electron-builder
* accept compatible versions in electron-builder
* remove ^ from electron version
* keep electron-builder at exact version
2022-07-15 13:56:21 -04:00
Oscar Hinton
4106eead02
Migrate Chromatic ( #2906 )
2022-06-16 20:41:22 +02:00
Oscar Hinton
bc639688e8
Use NPM workspace ( #2874 )
2022-06-14 17:10:53 +02:00
Oscar Hinton
b376d933e1
Add tailwind as override to resolve conflict ( #2873 )
2022-06-09 12:51:52 +02:00
Oscar Hinton
7dc3094b1a
Move storybook dependencies to root package ( #2859 )
2022-06-08 19:03:03 +02:00
Vince Grassia
20f641145c
Change Electron Builder Version ( #2844 )
2022-06-06 15:45:38 -04:00
Oscar Hinton
2126ac414c
[EC-236] Add CLI dependencies to root package.json ( #2816 )
2022-06-03 20:11:47 +02:00
Oscar Hinton
5780bf85e7
Add support for migrated jslib ( #2826 )
2022-06-03 18:01:07 +02:00
Oscar Hinton
4869a231bf
[EC-251] Fix web local development ( #2775 )
...
* Wip
* Fix bitwarden licensed web
* Fix template paths
* Cleanup gitattributes git-blame-ignore-revs
* Fix tsconfig, add postcss and tailwind config to bitwarden_license.
* And done
2022-06-02 10:59:43 -05:00
Oscar Hinton
12c4a3e7f8
[EC-236] Move dependencies to root package.json ( #2720 )
2022-06-02 15:18:29 +02:00
Oscar Hinton
912f3b0d46
Rename repo to clients ( #2548 )
2022-05-05 16:54:48 +02:00
Oscar Hinton
c1cc5a0814
[EC-183] Move eslint and prettier to project root ( #2536 )
2022-05-03 21:45:37 +02:00
Oscar Hinton
7fe51f83da
[EC-183] Mono Repository - Browser ( #2531 )
2022-05-03 19:38:55 +02:00
Oscar Hinton
c27f421d56
Add eslint ( #2405 )
2022-02-24 18:14:04 +01:00
Thomas Rittson
520f41fd17
Exclude jslib from prettier hook ( #2386 )
2022-02-17 10:37:56 +10:00
Vincent Salucci
9c60563939
[Icons] FF - requested icon changes ( #2306 )
...
* [Icons] Remove FA
* Icon changes
2022-02-03 10:25:38 -06:00
Oscar Hinton
31e433a49b
Rename package to @bitwarden/browser ( #2274 )
2022-01-17 17:26:35 +01:00
Daniel James Smith
8ffe2c2dca
Add --ignore-unknown to prettier ( #2259 )
2022-01-06 21:07:09 +01:00
Daniel James Smith
ca887c2291
Run prettier on *.ts files ( #2257 )
...
* Run prettier on *.ts files
* Add scss to prettier
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
* Add all filetypes to prettier and ignore via .prettierignore
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-06 14:57:04 +01:00
Oscar Hinton
cebee8aa81
Add Prettier configuration ( #2237 )
2021-12-21 15:15:19 +01:00
Daniel James Smith
8c0b7b88f0
Bump @types/node to 16
2021-12-10 16:11:28 +01:00
Daniel James Smith
a545150faa
Bump engines required to node 16 and npm 8
2021-12-10 16:07:04 +01:00
Oscar Hinton
559be594d6
Bump Angular to v12 ( #2215 )
2021-12-09 21:08:34 +01:00
Oscar Hinton
e4aaf81816
Replace toaster library ( #2210 )
2021-12-07 20:42:18 +01:00
Oscar Hinton
3eb860f464
BEEEP: Refactor services DI ( #2201 )
2021-12-06 12:21:07 +01:00
Oscar Hinton
616b2e139a
Run npm lint in CI ( #2197 )
2021-12-03 20:35:34 +00:00
Hinton
ee1af34e2e
Use webfonts from jslib instead of downloading them using gulp
2021-09-24 13:00:58 +02:00
Daniel James Smith
d55718a4c2
Remove dependency on duo_web_sdk and update jslib
2021-07-28 19:04:00 +02:00
Oscar Hinton
4e1958f417
Add jslib as a "real" dependency ( #1876 )
...
* Support split jslib
* Fix tests
* Bump jslib
2021-06-07 19:25:37 +02:00