Thomas Rittson
a44eb28be8
[PM-26672] Add Google Workspace integration tests to CI pipeline ( #909 )
...
- reorganize integration test files to allow for future additions
- add Google Workspace integration tests to the Github workflow
- refactor to run tests selective based on changed files and use
Azure Key Vault
2025-11-12 06:03:37 +10:00
Thomas Rittson
fe01b49df1
[PM-26671] Google workspace integration tests ( #894 )
...
Add tests for Google Workspace - not enabled in CI yet
2025-10-28 11:31:02 +10:00
Thomas Rittson
b13895bdd6
[PM-26669] Fix Google Workspace dynamic import error in CLI ( #893 )
...
* Revert "[PM-26454] Undo removal of core-js to fix dynamic import errors (#890 )"
This reverts commit 7c27202dab .
This removes the core-js dependency again, because restoring it did not fix the bug.
* Downgrade googleapis to 149 to avoid ESM issue
* Exclude googleapis from updates
2025-10-09 07:10:03 +10:00
Thomas Rittson
7c27202dab
[PM-26454] Undo removal of core-js to fix dynamic import errors ( #890 )
...
* Undo removal of core-js to fix dynamic import errors
* chore: update package-lock with npm install
---------
Co-authored-by: Vincent Salucci <vincesalucci21@gmail.com >
2025-10-02 11:06:49 -05:00
sso-bitwarden
77ea7a395d
[PM-11981] Support LDAP membership with UID ( #841 )
...
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com >
2025-10-01 11:34:36 +10:00
Thomas Rittson
489effb852
Remove core-js ( #857 )
...
Directory Connector runs on Electron and Node, both environments that we control.
Polyfills for old browsers are not required.
2025-08-20 13:40:00 +10:00
Brandon Treston
460de6a075
[PM-23377] electron v36 ( #839 )
...
* angular 18 upgrade
* wip
* wip
* remove @types/glob, fix jest version, use standalone: false
* clean up
* npm ci
* update electron to v36
* fix electron v36 update
* fix package-lock.json
2025-07-28 09:40:15 -04: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
c51e37e77d
fix about 118n string ( #818 )
2025-07-09 16:53:21 -04:00
Jared McCannon
284206b735
[PM-32177] - Fixing Backward Compatibility with Azure AD ( #813 )
...
* Updating the fetching of the config and key to check entra and check azure afterwards.
* Making this camelCase to match other values.
2025-07-02 08:20:56 -05:00
Jared McCannon
dc64f7191e
[PM-21187] Rename Azure AD to Entra ID ( #797 )
...
* Changed label to entraID
* Performed rename of Azure AD to Entra ID
* Added check to maintain backward compatibility.
* Swapping Azure for Entra
* one last spot
* Adding property for the data.json for backward compatibility.
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com >
* Removing unneeded setting using the old azure property.
* Accidentally removed. Adding entra back in.
* Adding backward compatibility comment. Added here because it's required for SecureStorageKeys
* Adding backward compatibility comments.
* Fixing comment
* Removing unused fields.
---------
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com >
2025-06-27 08:28:04 -05:00
Rui Tomé
3b3ea8ac47
[PM-15456] Update AzureDirectoryService to dynamically select Graph API endpoint based on identity authority (public or government) ( #777 )
...
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com >
2025-06-02 14:00:07 +01:00
Brandon Treston
c5d4cb9fb6
fix null error ( #782 )
2025-05-14 11:12:01 -04: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
23d285a9f6
change g suite propertey name in example to match the docs ( #739 )
2025-04-15 09:51:08 -04:00
Vicki League
41ee0d82d5
[CL-570] Remove deprecated icons from use ( #727 )
2025-03-27 09:48:07 -04:00
Hendrik Heil
23c591f903
feat: disable archived google users ( #715 )
...
Google Workspace users in an "archived" state will be treated
as a disabled user by Directory Connector. e.g. they will be removed
from the organization if "remove disabled users during sync" is enabled.
2025-03-19 15:18:31 +10: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
Thomas Rittson
37c992f16b
[PM-13007] Fix Active Directory externalId parsing ( #693 )
...
Return AD ObjectGuid attribute as buffer so it can be parsed properly
2024-12-19 07:43:47 +10:00
Thomas Rittson
91dfd7e0b7
[PM-13007] Replace ldapjs with ldapts ( #641 )
2024-11-01 12:58:52 +10:00
Brandon Treston
e3fbc4e731
Add warning message and help icon ( #652 )
2024-10-18 09:34:06 -04:00
Thomas Rittson
d65f42684e
[PM-13008] Add ldap integration tests ( #637 )
2024-10-14 08:17:00 +10:00
renovate[bot]
493e819b1c
[deps]: Update angular-eslint monorepo to v17.5.3 ( #580 )
...
* [deps]: Update angular-eslint monorepo to v17.5.3
* Run npm prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Tome <rtome@bitwarden.com >
2024-10-03 11:05:58 +01: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
Thomas Rittson
dd10538d0f
Add SafeProvider ( #582 )
2024-09-06 08:11:57 +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
Addison Beck
decada8745
Filter out deleted AD users unless otherwise instructed ( #548 )
2024-08-12 11:04:07 -04: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
63b06f6950
Throw an error if the gsuite member query fails ( #522 )
2024-07-19 10:05:48 -04: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
Addison Beck
5b7b68f1cb
Upgrade commander (v7.2.0 ⮕ v11.1.0) ( #410 )
...
* Upgrade package in package.json
* Rebuild package-lock.json
* Update imports to reflect new types
fixup
2024-01-27 14:24:23 -06:00
Addison Beck
6e76f23653
[AC-1743] pt. 3 ⮕ Remove unused packages ( #399 )
...
* Remove package @angular/cli
* Remove package duo_web_sdk
* Remove package nodemon
* Remove package prebuild-install
* Remove package tapable
* Remove tsconfig-paths
* Remove ttypescript
* Remove typemoq
* Remove package jest-junit
* Remove package ts-node
* Specify dart sass in the webpack sass-loader config
* Add google-auth-library to package.json
* Add dotenv to package.json
* Ignore packages that break depcheck's regex and use case
Ignore @types/jest in depcheck
* Remove redundant config line
2024-01-16 16:01:44 -06: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
95f613d61a
Remove package.json from src ( #395 )
2023-12-21 14:00:27 +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
Vince Grassia
f3b01afd0b
Revert "Bumped version to 2023.12.0 ( #387 )" ( #391 )
...
This reverts commit 187d1e17b1 .
2023-12-18 09:35:25 -05:00
Bitwarden DevOps
187d1e17b1
Bumped version to 2023.12.0 ( #387 )
2023-12-14 17:23:28 -05:00
github-actions[bot]
e27bdbc561
Bumped version to 2023.10.0 ( #366 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2023-10-31 11:44:11 -04: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
Matt Bishop
0d78b33ae1
Remove more lower-level packages ( #336 )
...
* Remove more lower-level packages
* Restore keytar for src
2023-06-12 11:53:10 -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]
7cf518edb5
Pin dependencies ( #304 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 13:47:46 -04:00
github-actions[bot]
a528480e07
Bumped version to 2022.11.0 ( #290 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com >
2022-11-29 18:41:09 +00:00