* [chore] Update jslib & state services to match
* [bug] Save userId when migrating state
This is used to check for authentication, so if not present on boot of the app authenticated users will still have to log in again
* [bug] Save added accounts with userId
Currently we are passing in an account object, resulting in a null key. We should be passing in a userId
* [bug] Ensure configs and settings are not cleared on logout
We need to persist directoryConfigruations on logout so that logging out and back in doesn't require folks to need to reconfig their settings
* Remove unneeded LoginSyncService
* Run prettier
* [style] Remove commented lines
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
* Only get users for includeGroup filter
* Additional refactor after feedback
* refactor building of user entries
* Update src/services/azure-directory.service.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Combine user null checks
* Rename variable
* Put deleted users loop back the way it was
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Pull in jslib
* Bump engines required to node 16 and npm 8
* Bump @types/node to 16
The dep on node 14.18 will get cleaned up once we bump electron
* Modify build.yml to build with node 16 and npm 8
* Update requirements in README.md
* Use pkg-fetch 3.2.5 to retrieve node 16.13.0
* Change pkg-fetch version back to 3.2
* Bump keytar to 7.7.0
* Add missing package-lock.json for src-cli
* Bump keytar to 7.7.0 in src/package.json
* Add missing package-lock.json in src/
* Bump pkg to 5.5.1
* Modify download url for keytar
* Replace Mac and Win keytar download urls
* Don't flag deleted users as duplicates
* Fix nearby linting error
* Apply user filter to deleted users as well
* Revert "Apply user filter to deleted users as well"
This reverts commit 1633ee265f.
* Only throw error if any duplicates are not deleted
* Rename processedUsers to processedActiveUsers
* Update src/services/sync.service.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Update src/services/sync.service.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Update src/services/sync.service.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Remove empty catch blocks and remove allow-empty-catch tslint rule
* Update jslib to #513
* Fix build errors after update of jslib
* Add missing params to LoginCommand ctor
* Fix build errors due to missing dependencies
* Add changes to package.json and package-lock.json
* Fixed formatting in tslint.json
* testing new linux build pipeline
* commenting out the check-for-failures job
* fixing syntax error
* fixing the checksum file
* fixing zip archive
* trying the new testing code
* trying to install libsecret-1-0 with sudo
* fixing typo in package version
* fixing the bash testing
* fixing the pwsh to bash conversion
* adding the macos cli job
* switching the keytar release asset name
* reenabling all jobs for final test
* removing the unneeded checksums from the windows cli build
* fixing windows cli build name
* restricting the windows cli build to only building windows