addison
e830c52277
[refactor] Replace references to deprecated services
...
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.
* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
4 years ago
Oscar Hinton
0803bc2f7b
Bump jslib ( #386 )
4 years ago
Vince Grassia
bf496ac7cd
Update workflows to new model ( #379 )
...
* Update GitHub Actions workflows to new model
4 years ago
Matt Gibson
12ead16167
Use split collections permisions ( #382 )
4 years ago
Luckymee
6ffc295be9
Implemented capitalize, and includeNumber ( #369 )
...
* Implemented capitalize, and includeNumber - generate passphrase.
Co-authored-by: davidrenzella <david.renzella@gmail.com>
* Capitalize shorthand flag
* Update package.json
* Remove accidental space
Co-authored-by: davidrenzella <david.renzella@gmail.com>
Co-authored-by: govjmal <govjmal@gmail.com>
4 years ago
Joseph Flinn
07851bea53
Version bump to 1.18.1 ( #376 )
4 years ago
Oscar Hinton
fe38848cf7
Use explicit import paths ( #372 )
4 years ago
Joseph Flinn
2a5f521df2
Updating the version of snapcore/build-action to the latest to get rid of the error on empty server response ( #373 )
4 years ago
Oscar Hinton
8690f51e2f
Disable Private Vault Export Policy ( #371 )
4 years ago
Thomas Rittson
4933de688d
Update jslib ( #370 )
4 years ago
Vince Grassia
c4908315ff
Update workflows with linter suggestions ( #366 )
4 years ago
Thomas Rittson
7c576e4f9f
Update jslib ( #365 )
4 years ago
Joseph Flinn
a23d3793a2
updating the release name ( #364 )
4 years ago
Matt Gibson
e3c05b7bbd
1.18.0 ( #363 )
4 years ago
Matt Gibson
db21a8a580
Update jslib ( #362 )
4 years ago
Matt Gibson
49b6b717c1
Pass in apiKey login callback ( #361 )
...
* Pass in apiKey login callback
* Update jslib
4 years ago
Joseph Flinn
a1738c57dd
Cleaning up the build workflow and making sure the changes to the build workflow are reflected in the release workflow ( #360 )
4 years ago
Joseph Flinn
45eaa24b0c
Removing branch constraints on when to expose build assets ( #359 )
...
* Removing branch constraints on when to expose build assets
* updating to snap 5.0
* adding more snapcraft 5.0 specific updates
* installing multipass
* fixing syntax error
* switching from using a VM via multipass to using lxd
* trying the official snap build actions
* fixing error
* commenting out the snapcraft version
* testing the new changes to the snapcraft.yml file
* nameing the build snap task
* naming the build snap task
4 years ago
Matt Gibson
380d4ea28e
Snapcraft 5 got rid of default `core` base and now requires specification. ( #358 )
...
`core18` is equivalent to the previous behavior and is the recommended base for most apps.
4 years ago
Thomas Rittson
6229ee1e2a
Update jslib ( #357 )
4 years ago
Vincent Salucci
1a1ba6ed3b
[Reset Password v1] Update Temp Password ( #356 )
...
* [Reset Password v1] Update Temp Password
* updated jslib
* fetched email before checking for reset master password
Co-authored-by: addison <addisonbeck1@gmail.com>
4 years ago
Oscar Hinton
4ec06bbd1e
Add support for helpers in environment service ( #353 )
4 years ago
Matt Gibson
230e00e423
Fix unlock env and passwordfile ( #352 )
...
* Handle null options
* Pass in ConsoleLogService dependency
4 years ago
Joseph Flinn
f0c1f1b16b
Fix the Windows Node Exe details ( #350 )
...
* fixing the resource hacker hash checking issue
* updating package command
* updating the release workflow to match the build workflow. Removing the unneeded env var
* fixing some formatting
4 years ago
Chad Scharf
d446b0cc3e
[chore] version bump 1.17.1-patch ( #348 )
5 years ago
Philip Kaiser
47308ef240
`--passwordenv` doesn't work for for unlock ( #347 )
...
* - Add passwordenv parameter to unlock command
- Add passwordfile parameter to unlock command
- Adapt help message
* Remove newline
* Add warning if passwordenv var not found
* Appease the linter
* Refactor
* Undo last commit
5 years ago
Oscar Hinton
4656b6e383
[Version] Bump to 1.17.1 ( #345 )
5 years ago
Oscar Hinton
347ebb5b36
Remove jslib as dependency, and re-add the old dependencies ( #344 )
5 years ago
Oscar Hinton
10b4efcb0d
Set HashPurpose.LocalAuthorization on export password check ( #339 )
5 years ago
Joseph Flinn
fc2f4d1a3e
Fix pipelines fetch ( #340 )
...
* testing new pkg-fetch version
* adding missing dir
* adding the new pkg-fetch to the release pipeline. removing commented code
5 years ago
Matt Gibson
0162692fde
JSLIB submodule dependence needs to be pulled prior to install ( #338 )
5 years ago
Vince Grassia
091d5cfae4
Fix checkout action in release workflow ( #337 )
5 years ago
Vincent Salucci
e1b4481f32
[Version] Bump to 1.17.0 ( #336 )
5 years ago
Matt Gibson
65160f3bf4
Fix cli lock and logout ( #334 )
...
* Ensure order of operations
* Key removal is necessary to properly lock
* Update jslib
5 years ago
Matt Gibson
58fb7958fe
Redefine cipher "share" to "move" ( #330 )
...
* Redefine cipher "share" to "move"
* PR fixes
5 years ago
Matt Gibson
98867748e7
Update jslib ( #333 )
5 years ago
Matt Gibson
10643be8bb
Use `getKey` to actually retrieve key. ( #332 )
...
`hasKey` just validates it's available
5 years ago
Matt Gibson
62b5a05c40
Use cryptoservice to compare key to local keyhash ( #331 )
...
* Use cryptoservice to compare key to local keyhash
* Fix bugs
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
5 years ago
Matt Gibson
12b36557bd
Fix reference after NodeCryptoFunctionService moved to jslib-node ( #329 )
5 years ago
Matt Gibson
17ab740914
Allow import to organization ( #325 )
...
* Allow import to organization vaults
* Use organization-aware Importer
5 years ago
Matt Gibson
5a377f8ef9
Implement `has` for storage services ( #328 )
...
* Implement `has` for storage services
* Update jslib
5 years ago
Matt Gibson
d9f6f34a06
update jslib ( #323 )
5 years ago
Oscar Hinton
477066118e
Add jslib as a "real" dependency ( #321 )
...
* Split jslib
* Bump jslib
* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
5 years ago
Joseph Flinn
3539d490d5
pinning commit hashes instead of versions to protect against supply chain attacks in github actions ( #319 )
5 years ago
Joseph Flinn
75236daeb8
constraining the releases to the rc branch ( #318 )
5 years ago
Thomas Rittson
c42650f16b
bump jslib ( #316 )
5 years ago
Thomas Rittson
a5a3baea9c
Use same export filename format as other clients ( #312 )
5 years ago
Oscar Hinton
942eb5cfa5
Bump NPM to v7 ( #311 )
...
* Bump NPM to v7
* Add NPM v7 to readme
5 years ago
Thomas Rittson
13d3109f2b
Add --cleanexit option ( #309 )
...
* add --cleanexit option
* bump jslib
5 years ago
Thomas Rittson
7a83b30490
update service deps and jslib ( #308 )
5 years ago