Thomas Rittson
e595c0548e
EC-134 Fix api token refresh ( #749 )
...
* Fix apikey token refresh
* Refactor: use class for TokenRequestTwoFactor
2022-04-01 11:28:23 +10:00
Vincent Salucci
48a4c27fe7
[Captcha] Failed login attempts ( #698 )
...
* [Captcha] Failed login attempts
* Fix logIn.strategy test
* Updated with the stark majority of requested changes
* Fix typo
* Unused import
2022-03-02 19:47:57 -06:00
Matt Gibson
1fb3d54014
Feature/password protected export ( #689 )
...
* Simplify password protected file format
* no items to import is not an error
* Await inner importer
* Add export format type
* Error if import file is password protected
* Update tests
* Test password protected with normat json importer
* Simplify imports
* Ignore code coverage directory
* Expand importer options without changing display options
* Import password require import error handling
* Use interface
* Fix curlies
* linter fixes
* Add null of empty util
* Lint fixes
* run prettier
* Move import options to separate enum file
* Fix imports
2022-02-23 13:02:07 +10:00
Oscar Hinton
60878cd4ed
Add eslint ( #610 )
2022-02-22 15:39:11 +01:00
Thomas Rittson
aa2bdd00be
[Tech debt] Refactor authService and remove LogInHelper ( #588 )
...
* Use different strategy classes for different types of login
* General refactor and cleanup of auth logic
* Create subclasses for different types of login credentials
* Create subclasses for different types of tokenRequests
* Create TwoFactorService, move code out of authService
* refactor base CLI commands to use new interface
2022-02-01 09:51:32 +10:00
Daniel James Smith
d68c1dafaf
Remove usage/detection of NativeScript ( #566 )
...
* Remove usage of NativeScript
* npm prettier run
* Removing type from Utils.global
2021-12-22 19:46:25 +01:00
Oscar Hinton
193434461d
Apply Prettier ( #581 )
2021-12-16 13:36:21 +01:00
Kyle Spearrin
c4fb4a35ab
don't allow @ character in uriString prefixing ( #538 )
2021-11-09 11:16:40 -05:00
Thomas Rittson
dbda39e10f
Add Linked Field as custom field type ( #431 )
...
* Basic proof of concept of Linked custom fields
* Linked Fields for all cipher types, use dropdown
* Move linkedFieldOptions to view models
* Move add-edit custom fields to own component
* Fix change handling if cipherType changes
* Use Field.LinkedId to store linked field info
* Refactor accessors in cipherView for type safety
* Use map for linkedFieldOptions
* Refactor: use decorators to record linkable info
* Add ItemView
* Use enums for linked field ids
* Add union type for linkedId enums, add jsdoc comment
* Use parameter properties for linkedFieldOption
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* Fix type casting
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-11-03 08:03:37 +10:00
Oscar Hinton
f09fb69882
Remove empty catch blocks, and update tslint rule ( #513 )
2021-10-19 10:32:14 +02:00
Matt Gibson
562e1fe459
Feature/split manage collections permission ( #504 )
...
* Split manage collections permissions
* Convert camel to pascal case for element id -> name
2021-10-01 07:50:30 -05:00
Oscar Hinton
f1f5d1a7f2
Revert WebAuthn iFrame handler ( #462 )
2021-08-20 14:46:02 +02:00
Matt Gibson
0180d0cce5
Provide information to set webauthn allow in html template ( #455 )
2021-08-12 15:12:31 -05:00
Thomas Rittson
c694591e4c
Use UrlB64 encoding for auth-email header ( #450 )
2021-08-11 06:33:15 +10:00
Matt Gibson
65c998dd0d
Iterate over enum values ( #445 )
2021-07-30 13:57:42 -05:00
Matt Gibson
1006f50ef3
Feature/use hcaptcha if bot ( #430 )
...
* Handle hcaptch required identity response
* Refactor iframe component for captcha and webauthn
* Send captcha token to server
* Add captcha callback
* Clear captcha state
* Remove captcha storage
* linter fixes
* Rename iframe components to include IFrame
* Remove callback in favor of extenting submit
* Limit publickey credentials access
* Use captcha bypass token to bypass captcha for twofactor auth flows
* Linter fixes
* Set iframe version in components
2021-07-21 07:55:26 -05:00
Oscar Hinton
75fff66f98
Move regexpEmojiPresentation to Utils class ( #426 )
2021-07-08 16:40:10 +02:00
Thomas Rittson
9ee31ad2fb
Improve URL parsing ( #411 )
...
* Check hostname is valid in getDomain
* fix linting
* Update noop implementation
* Fix tests
* Fix tests
2021-06-23 06:00:14 +10:00
Oscar Hinton
1016bbfb9e
Split jslib into multiple modules ( #363 )
...
* Split jslib into multiple modules
2021-06-03 18:58:57 +02:00