1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00
Commit Graph

245 Commits

Author SHA1 Message Date
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
Oscar Hinton
36b9bd4bcb
Bump NPM to v7 (#1860) 2021-05-26 22:34:31 +02:00
Oscar Hinton
00f20c1c2e
Bump node to 14 (#1815)
* Bump node to 14

* Bump gulp-filter

* Bump dependencies

* Bump jslib

* Bump dependencies
2021-05-12 22:39:23 +02:00
Oscar Hinton
d252fd1740
Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +02:00
Oscar Hinton
44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Kyle Spearrin
cb0e1b5872 update types 2021-04-12 11:06:35 -04:00
Kyle Spearrin
46e6faf3a3 update copy-webpack-plugin to resolve vulns 2021-04-12 10:53:17 -04:00
Kyle Spearrin
1ee7977c17 update papaparse lib 2021-04-12 10:51:01 -04:00
Snyk bot
1c484e546e
fix: upgrade node-forge from 0.7.6 to 0.10.0 (#1765)
Snyk has created this PR to upgrade node-forge from 0.7.6 to 0.10.0.

See this package in npm:
https://www.npmjs.com/package/node-forge

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/09a0a751-762e-41c7-b174-6f5cbbfbb2c9?utm_source=github&utm_medium=upgrade-pr
2021-04-12 10:43:26 -04:00
Snyk bot
6f26b6324a
fix: upgrade @microsoft/signalr-protocol-msgpack from 3.1.0 to 3.1.13 (#1763)
Snyk has created this PR to upgrade @microsoft/signalr-protocol-msgpack from 3.1.0 to 3.1.13.

See this package in npm:
https://www.npmjs.com/package/@microsoft/signalr-protocol-msgpack

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/09a0a751-762e-41c7-b174-6f5cbbfbb2c9?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2021-04-12 10:42:16 -04:00
Snyk bot
3b91f63226
fix: upgrade big-integer from 1.6.36 to 1.6.48 (#1762)
Snyk has created this PR to upgrade big-integer from 1.6.36 to 1.6.48.

See this package in npm:
https://www.npmjs.com/package/big-integer

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/09a0a751-762e-41c7-b174-6f5cbbfbb2c9?utm_source=github&utm_medium=upgrade-pr
2021-04-12 10:41:18 -04:00
Snyk bot
ab46eb1b25
fix: upgrade @microsoft/signalr from 3.1.0 to 3.1.13 (#1761)
Snyk has created this PR to upgrade @microsoft/signalr from 3.1.0 to 3.1.13.

See this package in npm:
https://www.npmjs.com/package/@microsoft/signalr

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/09a0a751-762e-41c7-b174-6f5cbbfbb2c9?utm_source=github&utm_medium=upgrade-pr
2021-04-12 10:40:59 -04:00
addison
50b8f6955c implemented date & time fallbacks for safari and FF 2021-03-03 15:03:05 -05:00
Limon Monte
451523c11d chore: bump sweetalert2 to latest 2021-02-18 20:49:18 +02:00
Thomas Rittson
320759388f Revert "Merge pull request #1589 from bitwarden/npm-xcode-script"
This reverts commit c99b716b20, reversing
changes made to 8e20e48373.
2021-02-08 07:09:35 +10:00
Thomas Rittson
db5a660b2d Add build:xcode script 2021-02-01 09:52:23 +10:00
addison
7526c5bfa7 changed hrtime library 2021-01-25 13:36:21 -05:00
Matt Gibson
e23d96a350
Add ConsoleLogService dependency from jslib (#1488)
* Pre-emptively add new jslib dependency

* Add ConsoleLogService dependency

* Update jslib

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-14 11:56:40 -06:00
Hinton
0a29b30b99 Merge branch 'master' of https://github.com/bitwarden/browser into feature/desktop-bridge
# Conflicts:
#	src/_locales/en/messages.json
2020-11-16 10:07:54 +01:00
eliykat
62edd889f7
fix typo in symlink:win script (#1447) 2020-11-05 14:16:06 -05:00
Hinton
f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00
Kyle Spearrin
51dbd58b6a individual safari dist builds 2020-09-23 12:32:07 -04:00
Oscar Hinton
f00bb5e1d7
Upgrade Angular (#1365)
* Upgrade Angular

* Upgrade angular2-toaster and angulartisc2

* Remove ng-upgrade dependency

* Update app.component.ts
2020-08-18 16:13:37 -04:00
Oscar Hinton
289177259a
Upgrade TypeScript (#1355)
* Upgrade TypeScript

* Update login.component.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-12 15:45:03 -04:00
Srdjan Milic
a7602b1cba
fix: webpack.config.js plugin (#1222) 2020-05-08 11:54:37 -04:00
Kyle Spearrin
ee43b68548
update lunr types (#1206) 2020-04-14 15:41:31 -04:00
Chad Scharf
d503097791 Fixed Windows Symlink command in package.json for npm scripts 2020-04-01 14:16:06 -04:00
Kyle Spearrin
1eb4f84f35 goodbye edge build 2020-03-05 11:13:55 -05:00
Kyle Spearrin
cc0125b920 sweetalert tweaks 2020-03-04 13:51:52 -05:00
MartB
0b42d14d58
sweetalert: port to sweetalert2 (#1153)
Minor styling changes (same as web and desktop)
2020-03-04 11:42:21 -05:00
Vincent Salucci
c57340c4f3
Implement personal item cloning capability (#1129)
* Initial pass of clone item

* Updated npm sub:pull script to include target branches

* Made requested changes

* Formatting changes

* Fixed lint warnings
2020-02-04 16:08:13 -05:00
Kyle Spearrin
36a33d87b3 symlink jslib on mac/lin 2020-01-27 12:46:03 -05:00
Kyle Spearrin
4f51b6b700 remove angualr http and upgrade node-sass 2020-01-27 09:03:08 -05:00
Kyle Spearrin
80945ca1df update signalr client 2020-01-09 17:30:19 -05:00
Kyle Spearrin
f304780815 npm audit fix 2019-10-07 14:50:05 -04:00
Kyle Spearrin
4534a9b36c symlink 2019-09-25 16:10:02 -04:00
Kyle Spearrin
cb547713d3 remove old safariapp task 2019-08-22 16:12:27 -04:00
Kyle Spearrin
67c5c03bdb gulp task for safari app 2019-08-02 16:09:59 -04:00
Kyle Spearrin
aa85c6b278 upgrade signalr libs 2019-07-25 20:42:22 -04:00
Miguel Crespo
20425e5d67 Add support for the Nord Theme (#980)
* Add support for the Nord Theme as in Desktop and mobile apps

* Improves
2019-07-22 10:47:45 -04:00
Kyle Spearrin
6c7a0d90df addEditCipherInfo w/ collections from state 2019-06-24 21:12:52 -04:00
Kyle Spearrin
f8ac02c24c npm audit fix 2019-03-29 00:10:04 -04:00
Kyle Spearrin
99da914f20 revert @angular/compiler-cli version change 2019-03-28 16:17:12 -04:00
Kovah
bca12e8fbd Drag n drop sorting for custom fields (#906)
* Try to fix some security vulnerabilities present in used packages

(Ran npm audit fix, solved some of the issues)

* Implement custom field ordering with new handle placement

(WIP, as an update for the jslib is needed to work correctly)

* Update reference for jslib

* Restore original state of package-lock.json

* Downgrade node sass package
2019-03-28 16:15:47 -04:00
Kyle Spearrin
eb07b1b080 ref ciphers paging from jslib 2019-03-19 11:34:34 -04:00
Kyle Spearrin
bbad22244c postinstall task for fixing sweetalert typings 2019-01-25 15:05:18 -05:00
Kyle Spearrin
ccf9664c66 update to angular 7 2019-01-25 09:56:35 -05:00
Kyle Spearrin
f131ea171b install and use duo_web_sdk w/ npm 2018-12-18 17:00:30 -05:00
Kyle Spearrin
3b06fe68d9 update to gulp 4.0.0 2018-11-27 12:36:59 -05:00