Commit Graph

444 Commits

Author SHA1 Message Date
Oscar Hinton ffb67be0a2
[ADR-0006][AC-319] Migrate all tests to use jest mock instead of substitute (#6520)
Standardize on using jest mock instead of having two mocking frameworks which can be confusing.
2023-10-17 17:02:33 +00:00
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
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
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 87f2c39c37 no need to specify config file 2018-09-18 12:00:43 -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
Kyle Spearrin ab52f13bb0 clean l10n script 2018-07-30 17:10:31 -04:00
Kyle Spearrin 0fc5982f26 use true false value directive for boolean field 2018-06-06 14:30:26 -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 67ab9b1d3e move new app into popup folder 2018-04-10 21:54:20 -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 167acd1929 implement all register/login flow components 2018-04-04 14:19:44 -04:00
Kyle Spearrin 4d56d12ccb stub out angular with webpack 2018-04-03 22:14:54 -04:00
Kyle Spearrin 7f8c5d1e5a dist script for opera 2018-03-19 11:44:36 -04:00
Kyle Spearrin 69bdac1555 dist safari 2018-03-19 09:44:48 -04:00
Kyle Spearrin b3fd8b4af5 dist:firefox script 2018-03-17 12:19:36 -04:00
Kyle Spearrin bce1fba6d2 update angular 2018-03-12 12:36:35 -04:00
Kyle Spearrin f02e29fcac sub:pull script 2018-03-04 00:01:49 -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 4be5ced2b5 update sub and new sub scripts 2018-02-23 23:46:27 -05:00
Kyle Spearrin 1f1303fc97 convert to jslib submodule 2018-02-19 17:01:00 -05:00
Kyle Spearrin eb8c7423db include package-lock.json 2018-02-18 00:04:16 -05:00
Kyle Spearrin 417ee7a67f update packages 2018-02-08 10:04:56 -05:00
Kyle Spearrin 6352fb187e safari extension types 2018-01-11 22:13:48 -05:00
Kyle Spearrin 1d3e4591e0 fix git ref 2018-01-08 18:17:55 -05:00
Kyle Spearrin 0713f59128 http git 2018-01-08 18:03:11 -05:00
Kyle Spearrin 15d61e084d ref jslib from github 2018-01-08 17:57:44 -05:00
Kyle Spearrin 5de4aad525 exclude bitwarden modules from vendor 2018-01-08 12:15:45 -05:00
Kyle Spearrin a387d8f7d0 version 0.0.18 2018-01-06 23:23:51 -05:00
Kyle Spearrin c154cc2062 jslib bump 2018-01-06 22:19:32 -05:00
Kyle Spearrin fcdf473af1 update jslib version 2018-01-06 11:48:26 -05:00
Kyle Spearrin 274c770308 reference jslib module 2018-01-06 09:07:33 -05:00
Kyle Spearrin 1c9ae15409 npm run test:watch for watching 2017-11-17 21:42:25 -05:00
Oscar Hinton 4531846ff8 Add support for running unit tests (#381)
* Add test runner.

* Fix tests. Add tests for UtilsService.getDomain

* Test getHostname.

* Add two missing test cases and fix getDomain.
2017-11-17 16:33:58 -05:00
Kyle Spearrin d9f6607073 npm dist command 2017-11-15 21:46:02 -05:00
Kyle Spearrin 888a85e0bc gulp tweaks 2017-11-15 21:39:48 -05:00
Kyle Spearrin 00b8a3e7be convert export to ts component 2017-11-14 11:29:00 -05:00
Kyle Spearrin 49d49b79bf jQuery .. be gone... 2017-11-09 23:22:35 -05:00
Kyle Spearrin 05f5891216 filter edge files from releases 2017-11-08 15:17:09 -05:00
Kyle Spearrin f937fca917 vendors for background. clean out gulp. 2017-11-08 10:22:26 -05:00
Kyle Spearrin f1e0681639 remove Q library 2017-11-07 17:04:04 -05:00
Kyle Spearrin 555648ede4 web crypto types 2017-11-01 23:41:16 -04:00
Oscar Hinton c18f5a8076 Upgrade ui-router to 1.0.10 (#345)
* Start upgrading to ui-router 1.0.0

* Remove ui-router event polyfill.
2017-11-01 19:38:30 -04:00
Oscar Hinton 4b68163cbd Convert utilService to typescript. (#342) 2017-11-01 09:18:05 -04:00
Oscar Hinton f922b2e0cb Add TSLint (#340)
* Add tslint.

* Disable alphabetic ordering.

* Change place on selectionTitle.
2017-10-30 17:49:56 -04:00
Oscar Hinton 77f9270131 Change webpack to only copy the html files to popup/app. Update readme with more instructions for building. (#336) 2017-10-29 08:58:50 -04:00
Oscar Hinton 59754cd530 Setup Webpack & TypeScript (#316)
* TypeScript and WebPack.

* Minor cleanup.

* Add background.js as entry point to webpack.

* Use downloaded fonts for better performance.
Remove google-fonts-webpack-plugin.

* Add the remaining entry points and setup notification bar.

* Update readme for webpack.

* Convert CipherItems to TypeScript to demonstrate how a component looks in TS.

* Fix edge requirering a custom angular version.

* Rewrite gulp tasks for packaging releases.

* Re-add the webpack gulp plugin.

* Remove unessesary line in analytics.
2017-10-28 22:14:14 -04:00
Oscar Hinton 4374d44259 Organize package.json in alphabetic order. (#319) 2017-10-21 12:58:31 -04:00
Kyle Spearrin d8536e3090 bundle popup scripts and templates for dist 2017-10-05 14:49:39 -04:00
Kyle Spearrin e09e15f72f modify appxmanifest version on dist 2017-09-07 10:42:25 -04:00
Kyle Spearrin cac9c22632 update jquery to 3.x 2017-09-04 12:11:12 -04:00
Kyle Spearrin 36c7f741d7 zip dist 2017-08-31 15:55:39 -04:00
Kyle Spearrin cb7c35ad77 webext tools for firefox 2017-08-31 15:07:39 -04:00
Kyle Spearrin 60b8c1aec3 update libs 2017-08-30 15:04:18 -04:00
Kyle Spearrin 21d4f9e193 update to angular 1.6.5 2017-07-25 16:06:17 -04:00
Kyle Spearrin 57a5a90183 remove rzslider in favor or native input range 2017-06-14 16:36:27 -04:00
Kyle Spearrin 8c3a70e29c update and cleanup libs 2017-05-04 00:10:10 -04:00
Kyle Spearrin 9e6c0f79ef Added export vault function to tools. 2017-04-12 08:45:31 -04:00
Kyle Spearrin 6b804a72ee Revert "Revert "Added dist-firefox gulp task to add applications section to manifest""
This reverts commit 09e6fc1652.
2017-02-22 19:34:56 -05:00
Kyle Spearrin 09e6fc1652 Revert "Added dist-firefox gulp task to add applications section to manifest"
This reverts commit d06744f739.
2017-02-22 19:10:12 -05:00
Kyle Spearrin d06744f739 Added dist-firefox gulp task to add applications section to manifest 2017-02-22 18:58:58 -05:00
Kyle Spearrin d684227883 build forge from npm using webpack 2017-02-08 00:18:26 -05:00
Kyle Spearrin 568d7d3ad9 remove sjcl package 2017-01-13 00:38:03 -05:00
Kyle Spearrin f1c9075768 infinite scroll vault folder view 2016-12-07 23:01:02 -05:00
Kyle Spearrin 96b9a2e865 updated angualr to v1.5.9 and other packages 2016-11-24 21:01:08 -05:00
Kyle Spearrin 0e2e17f2e7 Added google web fonts. 2016-10-25 21:13:59 -04:00
Kyle Spearrin 53af5e234b pull tldjs from npm and browserify it with gulp tasks. 2016-10-18 00:08:59 -04:00
Kyle Spearrin cd71dbd7e2 version bump in manifest. removed version from npm package.json 2016-10-10 23:28:46 -04:00
Kyle Spearrin 71df1d89e2 version bump for 1.0.0 release 2016-10-06 22:05:35 -04:00
Kyle Spearrin a727e107fe setup google analytics with pageview tracking 2016-09-27 22:44:42 -04:00
Kyle Spearrin f4bac9cffb remove angular jwt lib 2016-09-21 12:04:40 -04:00
Kyle Spearrin 81dd1ff0f2 sweet alert lib implemented. added confirmation to password generator edit 2016-09-19 23:56:27 -04:00
Kyle Spearrin 6ef3ff9f4d Added length slider to password generator page 2016-09-19 21:38:29 -04:00
Kyle Spearrin 16a59f8d09 added q promise library. moving cipher service functions out into application services and domain models. 2016-09-15 00:09:48 -04:00
Kyle Spearrin 5f39939d65 Added toast config and messages when saving from vault. Persist scroll position when returning to vault from other pages. 2016-09-12 19:48:56 -04:00
Kyle Spearrin 5d55b28ba9 moved gulp and npm to main dir 2016-09-07 21:43:15 -04:00