Commit Graph

720 Commits

Author SHA1 Message Date
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
github-actions[bot] c0a6db7d00
Bumped web version to 2022.8.1 (#3287)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-11 14:11:38 -07:00
github-actions[bot] b2f79a1512
Bumped desktop version to 2022.8.1 (#3284)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-11 11:54:24 -07: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
Thomas Rittson 8626e1d4e6
[EC-281] Add de/serialization methods to CipherView objects (#2970) 2022-08-05 08:07:24 +10:00
github-actions[bot] 60061a8901
Bumped cli version to 2022.8.0 (#3228)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-04 17:21:30 +02:00
github-actions[bot] 87ed8b9d7d
Bumped desktop version to 2022.8.0 (#3229)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-04 17:20:41 +02:00
github-actions[bot] 6cd1291ea7
Bumped browser version to 2022.8.0 (#3226)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-04 16:39:05 +02:00
github-actions[bot] cff1c38ef2
Bumped web version to 2022.8.0 (#3227)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-02 13:08:15 -07: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 0c1bd57cfd
[BEEEP] [EC-141] Rust - Windows hello (#2635) 2022-07-25 13:24:13 +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
Joseph Flinn 340beb1b87
Manual Web Version Bump 2022.6.1 (#3052) 2022-07-06 15:44:03 -07:00
Joseph Flinn 74a3b05a0f
Web Version Bump to 2022.6.0 (#2992) 2022-06-28 13:24:13 -07: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
Daniel James Smith 29402f3109
[PS-102] BEEEP: Tab-change performance improvements (#2447)
* Remove passing in main to notification as it's unused

* Remove messages nothing reacts to

* Shorten re-draw of badge and menu on logout

* Remove windows.background and only listen to changes of tabs on focused window

* Only rreact to tab changes of current active tab

* Comments and console-logs

* Removed comments and console.logs

* Updated package-lock.json

* Check if chrome.windows is available

* Simplify check for active tab
2022-04-11 12:00:07 +02:00
Kyle Spearrin bf081e0322
username generator (#2468)
* username generator

* pass usernameWebsite

* update jslib ref

* update jslib ref

* update jslib ref

* update jslib ref

* Update jslib to point to jslib master

* Updated package-lock.json after running npm i

* add missing translations

* pr feedback

Co-authored-by: Daniel James Smith <djsmith@web.de>
2022-03-30 17:59:58 -04:00
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01: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
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
Daniel James Smith d96b19b9fc
Merge branch 'master' of https://github.com/bitwarden/browser into reduce-binking-of-notificationBar 2021-10-19 18:55:47 +02:00
Oscar Hinton 1619fe533e
Bump signalr to 5.0.10 (#2088) 2021-09-28 17:19:53 +02: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 82c342ef92 npm audit fix 2021-04-12 10:51:51 -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 0752a3a925 patched date & time inputs on safari 2021-03-08 14:58:10 -05:00
Limon Monte 451523c11d chore: bump sweetalert2 to latest 2021-02-18 20:49:18 +02:00
addison 7526c5bfa7 changed hrtime library 2021-01-25 13:36:21 -05:00
Chad Scharf ab5de83b22 jslib update 2020-12-16 10:34:56 -05:00
Chad Scharf 536865ffeb
Merge pull request #1423 from marekciupak/upgrade_bl
Upgrade bl: 2.2.0 -> 2.2.1
2020-12-15 16:08:12 -05:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00
Marek Ciupak deae7a2653 Upgrade bl: 2.2.0 -> 2.2.1
To get rid of the following vulnerability:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Remote Memory Exposure                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bl                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @microsoft/signalr-protocol-msgpack                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @microsoft/signalr-protocol-msgpack > msgpack5 > bl          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1555                            │
└───────────────┴──────────────────────────────────────────────────────────────┘
2020-10-08 00:16:37 +02: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
Kyle Spearrin 1eb4f84f35 goodbye edge build 2020-03-05 11:13:55 -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
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 a9c4034421 npm i 2019-10-21 08:43:30 -04:00
Kyle Spearrin f304780815 npm audit fix 2019-10-07 14:50:05 -04:00
Kyle Spearrin aa85c6b278 upgrade signalr libs 2019-07-25 20:42:22 -04:00
Kyle Spearrin 6e54fada4d nord theme touchups 2019-07-22 11:15:17 -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 f8ac02c24c npm audit fix 2019-03-29 00:10:04 -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 5f36a94e2d audit fix 2018-11-27 12:39:58 -05:00
Kyle Spearrin 3b06fe68d9 update to gulp 4.0.0 2018-11-27 12:36:59 -05:00
Chris Lane 5cdacda344 Update natives package to fix build (#776) 2018-11-15 13:43:40 -05:00
Kyle Spearrin 7fd30b324b update jslib and packages 2018-11-14 08:36:46 -05:00
Kyle Spearrin c1a3025bdf update groupings deps 2018-11-09 22:35:00 -05:00
Kyle Spearrin 48a0b84bfe getDomain moved to jslib 2018-10-13 22:52:49 -04:00
Kyle Spearrin 5b52adf339 update signalr 2018-10-09 18:01:30 -04:00
Kyle Spearrin aaf774308e updated packages and move to webpack 4 2018-09-11 23:54:39 -04:00
Kyle Spearrin e71511258d update lunr 2018-09-03 21:51:31 -04:00
Kyle Spearrin 826327d641 signalr message pack protocol 2018-08-23 21:46:46 -04:00
Kyle Spearrin f322470848 update some packages. npm audit fix. 2018-08-21 15:11:38 -04:00
Kyle Spearrin 50c94f587d implement notifications service 2018-08-20 17:40:39 -04:00
Kyle Spearrin 82ff55b1ec update tld.js lib 2018-08-15 08:50:03 -04:00
Kyle Spearrin 4ab36bc8ee implement search service 2018-08-13 11:53:16 -04:00
Kyle Spearrin 742b1ed49b update for node 10 2018-08-08 11:52:13 -04:00
Tiago 60bb4f6840 search webVaultUrl for settings. closes bitwarden/browser#635 (#657) 2018-06-25 07:41:23 -04:00
Kyle Spearrin 5d0c480586 move shortcuts to ts 2018-05-09 14:13:20 -04:00
Kyle Spearrin c4fc9a2c80 move utils tests to jslib 2018-04-17 16:28:22 -04:00
Kyle Spearrin 809f9b9cde cleanup package.json 2018-04-14 09:52:13 -04:00
Kyle Spearrin 191042411c JIT builds for dev 2018-04-13 16:03:37 -04:00
Kyle Spearrin dc35577564 prod environment settings 2018-04-13 15:14:04 -04:00
Kyle Spearrin b88efe3e04 polyfill web animations 2018-04-11 10:57:34 -04:00
Kyle Spearrin 744559516d infinite scrolling on cipher listing 2018-04-11 10:23:12 -04:00
Kyle Spearrin 1fed135b31 fix papaparse deps 2018-04-10 20:26:37 -04:00
Kyle Spearrin 98b852287d sweet alert dialog implementation 2018-04-10 14:20:03 -04:00
Kyle Spearrin 5a9e7df7d6 export tool 2018-04-09 19:05:36 -04:00
Kyle Spearrin 02d299023c revert ts webpack since it breaks watching 2018-04-06 23:20:53 -04:00
Kyle Spearrin df4e7f030d convert webpack config to ts 2018-04-06 17:02:46 -04:00
Kyle Spearrin 7ab1fbeb28 pack with ngtools 2018-04-06 11:48:45 -04:00
Kyle Spearrin 4d56d12ccb stub out angular with webpack 2018-04-03 22:14:54 -04:00
Kyle Spearrin bce1fba6d2 update angular 2018-03-12 12:36:35 -04:00
Kyle Spearrin d63dc4037b package lock update 2018-03-03 23:48:39 -05:00
Kyle Spearrin 0138a04cfc lunr types 2018-03-03 23:02:24 -05:00
Kyle Spearrin 33e04f7f54 lunr dependency added 2018-03-03 22:58:46 -05:00
Kyle Spearrin 1f1303fc97 convert to jslib submodule 2018-02-19 17:01:00 -05:00
Kyle Spearrin ada2da7db9 update lock file 2018-02-19 15:50:32 -05:00
Kyle Spearrin 35f7d57ef0 lock file updates 2018-02-19 13:50:10 -05:00
Kyle Spearrin eb8c7423db include package-lock.json 2018-02-18 00:04:16 -05:00