sneakernuts
94881d0db0
SRE-2329 remove auth-email header ( #784 )
2025-08-18 08:35:44 -06:00
Brandon Treston
3013e5f06f
[PM-23399] Angular 19 and type script 5.6 ( #835 )
...
* angular 18 upgrade
* wip
* wip
* remove @types/glob, fix jest version, use standalone: false
* clean up
* npm ci
2025-07-24 09:50:16 -04:00
Thomas Rittson
3715df42d7
[PM-23631] Delete unused jslib models and misc code ( #819 )
...
* Remove unused cipher-related code from jslib
- Delete cipher.ts, cipherView.ts, sortedCiphersCache.ts
- Delete search-ciphers.pipe.ts and icon.component files
- Delete cipherData.ts, cipherResponse.ts, linkedIdType.ts
- Delete field-related files (fieldData.ts, field.ts, fieldApi.ts, fieldView.ts)
- Delete sync, emergency access, and attachment upload response files
- Delete card and identity view files
- Delete linkedFieldOption decorator
- Remove cipher methods from StateService abstractions and implementations
- Preserve ciphers property in AccountData as 'any' type for data compatibility
* Remove unused Send feature and related password manager code from jslib
- Delete Send domain models: send.ts, sendAccess.ts, sendFile.ts, sendText.ts
- Delete Send data models: sendData.ts, sendFileData.ts, sendTextData.ts
- Delete Send view models: sendView.ts, sendAccessView.ts, sendFileView.ts, sendTextView.ts
- Delete Send API models: sendFileApi.ts, sendTextApi.ts
- Delete Send response models: sendAccessResponse.ts, sendFileDownloadDataResponse.ts, sendFileUploadDataResponse.ts, sendResponse.ts
- Delete Send enum: sendType.ts
- Delete Send specs: send.spec.ts, sendAccess.spec.ts, sendFile.spec.ts, sendText.spec.ts
- Remove Send methods from StateService abstractions and implementations
- Remove getDecryptedSends/setDecryptedSends and getEncryptedSends/setEncryptedSends methods
- Change sends property in AccountData to 'any' type for data compatibility
- Fix import formatting and remove empty lines
* Remove misc unused password manager models from jslib
- Delete Core domain models: card.ts, identity.ts, secureNote.ts, attachment.ts
- Delete Core data models: cardData.ts, identityData.ts, secureNoteData.ts, attachmentData.ts
- Delete Core view models: secureNoteView.ts, attachmentView.ts
- Delete Core API models: cardApi.ts, identityApi.ts, secureNoteApi.ts
- Delete Core response models: attachmentResponse.ts
- Delete Core enum: secureNoteType.ts
- Delete Core specs: card.spec.ts, identity.spec.ts, secureNote.spec.ts, attachment.spec.ts
* Remove unused Organization files (folders/collections)
- Delete folder and collection domain models, data models, view models,
response models, and spec files
* Remove unused UI/UX settings methods from state service
- Remove 20 password manager specific interface methods:
- Autofill methods (4): getAutoFillOnPageLoadDefault, setAutoFillOnPageLoadDefault, getEnableAutoFillOnPageLoad, setEnableAutoFillOnPageLoad
- Browser integration methods (4): getEnableBrowserIntegration, setEnableBrowserIntegration, getEnableBrowserIntegrationFingerprint, setEnableBrowserIntegrationFingerprint
- Notification methods (4): getDisableAddLoginNotification, setDisableAddLoginNotification, getDisableChangedPasswordNotification, setDisableChangedPasswordNotification
- Favicon methods (2): getDisableFavicon, setDisableFavicon
- Gravatar methods (2): getEnableGravitars, setEnableGravitars
- Card/Identity tab methods (4): getDontShowCardsCurrentTab, setDontShowCardsCurrentTab, getDontShowIdentitiesCurrentTab, setDontShowIdentitiesCurrentTab
* Fix build errors
* Delete leftover data models and stateService methods
* Delete iframes and passwordReprompt
2025-07-12 14:23:04 +10:00
Brandon Treston
3573e201a6
[PM-20134] Fix overwriteExisting and largeImport causing users to be deleted ( #737 )
...
* Fix mixed up bools, use whole object
* disallow overwriteExisting on large syncs
* remove unused file
* add test, always set overwriteExisting to false for batched requests
* add more tests
* wip
* Clean up
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com >
2025-04-30 09:26:15 -04:00
Brandon Treston
2ea2fd701c
[PM-14360] Import Batching ( #703 )
...
* initial implementation
* next iteration
* clean up
* cleanup
* fix test
* cleanup
* rename services, refactor, fix test logic
* fix DI
* update comment
* update comment
* resolve merge conflict
* register dependencies out of jslib, more cleanup
* fix failing test in build
* fix type error
* try fixing test error
* remove async from test setup
* attempt to fix test
* fix text
* fix test
* add ts-expect-error comment
* cleanup
---------
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com >
2025-03-10 14:54:00 -04:00
renovate[bot]
f146d41b66
[deps]: Update electron to v34 ( #713 )
...
* [deps]: Update electron to v34
* fix: remove event parameter from minimize handler for Electron 34 compatibility
The minimize event in Electron 34 no longer provides an event object, requiring removal of the e.preventDefault() call.
* feat(deps): add node-abi@3.74 .0 as devDependency for Electron 34 rebuild
Required for electron-rebuild to work correctly with Electron 34.
Previous transitive dependency version (3.68.0) was too old to support Electron 34.
* Bump Electron to v34.1.1
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Tome <rtome@bitwarden.com >
2025-02-14 11:32:49 +00:00
Thomas Rittson
1931a7f065
[PM-13158] Remove unused code from ApiService ( #639 )
...
Also delete unused request models
2024-10-08 08:39:58 +10:00
Thomas Rittson
4652c6489f
[AC-3043] Refactor AuthService to only use organization api key login ( #622 )
...
* Remove jslib authService and unused loginStrategies
* Delete KeyConnectorService
* Move OrganizationLoginStrategy into base LoginStrategy
* Remove unused code and services from loginStrategy
* Delete OrganizationService
* Move loginStrategy into authService
2024-09-23 08:46:38 +10:00
Thomas Rittson
9dc497dd13
[AC-3047] Refactor LoginCommand to only use organization api key login ( #621 )
...
* Add tests
* Remove unused code from LoginCommand and refactor
* Remove unused services
* Remove unused npm deps
* Install missing type-fest dep
2024-09-19 07:50:40 +10:00
renovate[bot]
6b1b6bf1c4
[deps]: Update bootstrap to v5 [SECURITY] ( #585 )
...
* [deps]: Update bootstrap to v5 [SECURITY]
* Use the color-contrast method instead of the deprecated color-yiq method
* Update settings component for bootstrap 5
* Update ApiKey component for bootstrap 5
* Update environment component for bootstrap 5
* Run prettier
* Revert back to data-dismiss
* Update modal close button attribute to use data-bs-dismiss instead of data-dismiss
* Run npm prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Tome <rtome@bitwarden.com >
2024-09-17 10:53:56 +01:00
renovate[bot]
4ae4cba877
[deps]: Update @types/node to v18.19.50 ( #599 )
...
* [deps]: Update @types/node to v18.19.50
* Adjust timer type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Addison Beck <github@addisonbeck.com >
2024-09-16 11:17:57 -04:00
renovate[bot]
eff7c848f8
[AC-2224] [deps]: Update open to v10 ( #456 )
...
* [deps]: Update open to v10
* Remove package
* Remove references
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Addison Beck <hello@addisonbeck.com >
Co-authored-by: Addison Beck <github@addisonbeck.com >
2024-09-10 08:33:02 -04:00
Thomas Rittson
dd10538d0f
Add SafeProvider ( #582 )
2024-09-06 08:11:57 +10:00
renovate[bot]
401daa0187
[deps]: Update prettier to v3.3.3 ( #577 )
...
* [deps]: Update prettier to v3.3.3
* Run prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Thomas Rittson <trittson@bitwarden.com >
2024-09-05 11:13:53 +10:00
Thomas Rittson
eae9cac931
[AC-3020] Remove unused jslib code - services ( #575 )
...
* Delete NotificationsService
* Remove SyncService
* Delete VaultTimeoutService
* Remove ProviderService
* Remove UserVerificationService
* Remove SendService
* Remove EventService
* Remove PasswordRepromptService
* Remove UsernameGenerationService
* Remove TotpService
* Remove CollectionService
* Remove FolderService
* Remove AuditService
* Remove CipherService and SearchService together
* Remove FileUploadService
* Remove SettingsService
* Remove SystemService
* Remove ElectronCryptoService
* Remove unused deps
2024-09-05 08:11:18 +10:00
Rui Tomé
6e76d8fcbd
[PM-4747] List members under each group when doing test sync ( #507 )
...
* Add user list under each group when doing test sync
* run prettier and lint, replace '@' with @
2024-07-23 10:46:20 +01:00
Addison Beck
cc05bcb4a6
Fix warning when attempting a double login in the cli ( #468 )
...
* Replace call to `getEntityType` with a static string
* Delete several unused `StateService` methods
2024-03-19 14:30:38 +00:00
Addison Beck
38b2a13df6
Upgrade angular & friends (v15.2.9 ⮕ v16.2.12) ( #424 )
...
* Upgrade @angular packages to 16.2.12
Upgrade a webpack package
* Rebuild package-lock.json
* Remove use of deprecated Guard interfaces
Update route guards to use mapToCanActivate
2024-02-01 11:26:22 -06:00
Addison Beck
1fb4378046
Upgrade electron & friends (v18.3.15 ⮕ v28.2.0) ( #418 )
...
* Update versions in package.json
* Rebuild package-lock.json
fix
* Update electron-log usage
* Change necessary logic to get the newest version of the package
working
* Wrap up `init()` logic in a way that has parity with Bitwarden Desktop
Updates for electron-log
fix
* Update notarize script to match the latest @electron/notarize version
Update notarize step to look more like clients
2024-02-01 16:07:55 +00:00
Addison Beck
9c88e66a27
Upgrade prettier ( #409 )
2024-01-27 15:56:40 -06:00
Daniel James Smith
37bdd75c67
Tools - Remove importer and exporters ( #402 )
...
* Remove all importers and related files
* Remove exporter and all related files
* Remove packages: papaparse and jsdom
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com >
2024-01-17 20:33:24 +01:00
Addison Beck
39ed9359fe
[AC-1743] pt. 2.5 ⮕ Fix the unit tests for good ( #398 )
...
* Remove uneeded redirects to a tsconfig.spec.json
* Got the tests running again
* Delete webCryptoFunctionService
* Delete unused utils tests
* Add a test workflow
2024-01-12 11:05:35 -08:00
Addison Beck
eacdb6b8a8
[AC-1743] pt. 2: Update eslintrc and fix any errors ( #393 )
...
* Sync eslintrc with clients repo
* Autofix one eslint error
* Add type attributes to buttons for eslint
* Properly destroy ApiKeyComponent
* Fix eslint issues related to state
* Fix eslint warnings for default named imports
* Ran prettier
* Be more proactive about an unsubscribe
* Rework subscription
2024-01-05 11:36:19 +10:00
Addison Beck
c259962279
[AC-1743] pt. 1: Unpackage-ify jslib ( #374 )
...
* Unpackage-ify jslib
* Adjust .tsconfig path for root and apply to jslib
* Rebuild package-lock.json
* Disable husky in CI
* Revert an incorrect find/replace
* Add jslib/shared/.eslintrc rules to root eslintrc
* Revert package.json change to ignore spec files when linting
* Ensure custom matcher gets imported in jslib tests
* Fix small workflow bugs from merging
* Try and get CI builds moving again
* Always sign and notorize builds in CI
* Revert erroneous verion bump
2023-12-20 11:33:33 -05:00
Oscar Hinton
1546cc2012
Upgrade the jest test suite to match the clients ( #379 )
...
* Upgrade the jest test suite to match the clients
* Update makeStaticByteArray
2023-12-12 13:45:12 +01:00
Rui Tomé
26e4930a9e
[AC-1614] Updated webpack config ( #352 )
...
* [AC-1614] Updated webpack config
* [AC-1614] Ran prettier
* [AC-1614] Fix build
2023-09-26 10:07:39 +01:00
renovate[bot]
a491e2691d
Lock file maintenance ( #323 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 16:38:31 -04:00
Matt Bishop
a3939a31a9
Move JS library dependencies up to root ( #335 )
2023-06-12 07:43:09 -04:00
Matt Bishop
0ddf81f644
Angular 15 ( #326 )
...
* Install Angular CLI
* Core setup and cleanup
* TypeScript and webpack updates
* Angular 13
* Add JS lib to Angular workspace
* Do not use JS library with workspace
* Angular 14
* Angular 15
* Code fixes
* Couple package bumps
* Restore angularCompilerOptions
* Remove property reference to users inside group that didn't exist
2023-06-02 11:42:01 -04:00
renovate[bot]
5d85df2105
Update dependency node-forge to v1.3.0 [SECURITY] ( #302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 11:25:49 -04:00
renovate[bot]
e3afe9fb69
Update dependency husky to v8 ( #322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 08:40:28 -04:00
renovate[bot]
1a6c51b3aa
Update dependency electron to v18 [SECURITY] ( #299 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 15:49:23 -04:00
renovate[bot]
107d7afb26
Update dependency node-fetch to 2.6.7 [SECURITY] ( #313 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 14:27:32 -04:00
renovate[bot]
0959e58dc9
Update Node.js to v18 ( #310 )
...
* Update Node.js to v18
* Update builds
* Add NVM
* Update pkg-fetch
* Update NPM too
* Update pkg too
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Bishop <mbishop@bitwarden.com >
2023-05-25 10:44:31 -04:00
renovate[bot]
7cf518edb5
Pin dependencies ( #304 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 13:47:46 -04:00
Oscar Hinton
73b031b884
Add all dependencies to the root package.json ( #267 )
2022-05-05 15:20:57 +02:00
Oscar Hinton
45d0192f82
Copy jslib into Directory Connector [TI-6] ( #262 )
2022-04-28 16:41:07 +02:00
Thomas Rittson
8f4da6d490
Update jslib ( #261 )
2022-04-19 10:30:01 -05:00
Oscar Hinton
c5cc8eab0a
Move storage listener to DC ( #258 )
2022-04-05 19:30:37 +02:00
Thomas Rittson
8981b97632
EC-134 Fix api token refresh ( #257 )
...
* Fix api token refresh
* Update jslib
2022-04-01 14:48:35 +10:00
Thomas Rittson
c75d26b618
Update to use new JslibModule ( #254 )
2022-03-21 23:08:12 +01:00
Thomas Rittson
1f6d8c1458
Update jslib ( #248 )
2022-03-15 15:15:27 +10:00
Thomas Rittson
ef1c47ab19
Update jslib ( #240 )
2022-02-24 09:37:37 -05:00
Addison Beck
b48a1d5856
[lib] Update jslib ( #235 )
2022-02-15 15:07:15 -05:00
Thomas Rittson
fe384b14f0
Update jslib ( #230 )
2022-02-11 00:31:31 -05:00
Thomas Rittson
adeb84f44e
Update jslib ( #229 )
2022-02-11 15:02:57 +10:00
Vincent Salucci
f3d8b39ac5
[Help] Update links to new pattern ( #227 )
...
* [Help] Update links to new pattern
* Update jslib
* Updated bwdc cli link
2022-02-09 09:59:50 -06:00
Oscar Hinton
3be1f2eac6
Client & Version headers ( #226 )
2022-02-08 15:28:19 +01:00
Thomas Rittson
1146c8f5bf
[Tech debt] Refactor authService ( #213 )
...
* Add OrganizationLogInStrategy
* Use noop TwoFactorService
2022-02-07 21:38:46 -06:00
Addison Beck
4e886c1c15
[chore] Update jslib ( #225 )
2022-02-07 12:08:33 -05:00