1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
Thomas Rittson
386903f5a9
[Key Connector] QA fixes for CLI and Desktop (#544)
* Make UserVerificationService compatible with CLI

* Refactor error handling

* Fix i18n key name

* Add apiUseKeyConnector flag to TokenResponse

* Always require keyConnectorUrl to be passed in

* Throw errors in userVerificationService

* Use requestOTP in UserVerificationService

* Remove unused deps

* Fix linting
2021-11-16 07:53:57 +10:00
Thomas Rittson
e02e663ce1
[Linked Fields] Fix QA feedback (#542)
* Fix bug overwriting custom field types

* Add linkedId to export model for CLI
2021-11-12 05:59:01 +10:00
Oscar Hinton
8f177e2d3a
Add support for requesting and using otp for verifying some requests (#527)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-11-09 17:01:22 +01:00
Thomas Rittson
99ff3feb53
[Linked fields] Fix change detection on cipherType (#536)
* Fix bug that clears linkedId values when editing

* Add null check

* Fix linting
2021-11-09 21:57:33 +10:00
Thomas Rittson
2db9e1ce0d
[Linked fields] Reset linkedIds if cipher type changes (#535)
* Reset linkedIds if cipher type changes

* Only reset linkedId if !editmode
2021-11-04 07:24:45 +10: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
Robyn MacCallum
031cbff556
Add role="alert" to callouts only when enforceAlert is passed (#528)
* Add role="alert" to callouts when enforceAlert is passed

* Remove ElementRef and do a different way

* Rename input variable
2021-10-26 11:41:46 -04:00
Oscar Hinton
71f8ef601f
Add support for crypto agent (#520) 2021-10-25 18:21:40 +02:00
Thomas Rittson
24fe836032
Fixes for dynamic modal a11y (#518)
* Do not close modal if click finishes on background

* Trap tab focus in modals, use ESC to close modal

* Fix Angular change detection errors in modals

* Reset focus on next modal after closing modal

* Minor fixes and linting

* Attach focusTrap to modal-dialog element

* Change mousedown event back to click

* Make topModal private

* Add new div for dismissing modal by clicking bg

* Focus element in modal if no autoFocus directive

* Use backdrop for dismissal

* Fix typo
2021-10-21 08:13:37 +10:00
Oscar Hinton
f09fb69882
Remove empty catch blocks, and update tslint rule (#513) 2021-10-19 10:32:14 +02:00
Thomas Rittson
a20e935268
Use rxjs first instead of unsubscribe (#516) 2021-10-14 10:27:52 +10:00
Oscar Hinton
56233e4002
Move Avatar component to jslib (#496) 2021-10-13 09:55:19 +02:00
Vincent Salucci
542852a3be
[Reset Password] BUG - Update local policies for enforcement (#510) 2021-10-08 11:18:25 -05:00
Addison Beck
e69425cb41
[bug] Set a default value for custom send deletion times in the safari extension (#511)
* [bug] Set a default value for custom send deletion times in the safari extension

* [review] tomorrow -> nextWeek for default custom send deletion time values
2021-10-08 10:42:22 -04:00
Thomas Rittson
64bc115109
Set default ownership if Personal Ownership policy applies (#509) 2021-10-08 07:15:02 +10:00
Oscar Hinton
bfa9a1e1bc
Remove Business Portal, add SSO configuration models (#506) 2021-10-06 19:36:20 +02:00
Oscar Hinton
91b73fa777
Resolve biometric error dissapearing before being read (#501) 2021-09-28 16:23:25 +02:00
Oscar Hinton
206ef610d0
Bump signalr to 5.0.10 (#502) 2021-09-28 15:47:19 +02:00
Oscar Hinton
2c892eb3a2
Add webfonts (#500) 2021-09-24 15:36:51 +02:00
Thomas Rittson
b7429b0c0c
Fix import statements (#494) 2021-09-20 17:49:59 +10:00
Thomas Rittson
25afe79714
Fix import statements (#493) 2021-09-20 17:23:00 +10:00
Thomas Rittson
0f984efd61
Move custom fields to separate components (#489)
* Move add-edit custom fields to own component

* Fix linting

* Fix change handling if cipherType changes

* Removed linked fields work

* Move view custom fields to own component

* Remove unnecessary imports

* Remove old logic from component
2021-09-20 10:36:40 +10:00
Vincent Salucci
16e998e664
[Reset Password v1] Refactor ForcePasswordReset into AuthResult (#481) 2021-09-17 10:53:50 -05:00
Oscar Hinton
83548a6753
Remove deprecated index.ts (#490)
* Remove deprecated index.ts

* Update tests
2021-09-17 14:57:31 +02:00
Vincent Salucci
da132217da
[SSO Auto Enroll] Auto Enroll status retrieval (#486)
* [SSO Auto Enroll] Auto Enroll status retrieval

* Fixed import order

* Updated object property
2021-09-15 12:54:44 -05:00
Oscar Hinton
ee1ea922a9
Disable Private Vault Export Policy (#482) 2021-09-14 16:32:06 +02:00
Thomas Rittson
a85c45a34e
Use a modal to set the unlock pin (#477)
* Move set pin logic to its own modal

* Fix method name and default value
2021-09-10 08:57:32 +10:00
Oscar Hinton
32774561f3
Add MaximumVaultTimeout policy type (#480) 2021-09-09 17:05:40 +02:00
Oscar Hinton
bbe8d3df48
Revert "Vault Timeout Policy (#474)" (#479)
This reverts commit bba2812fdd.
2021-09-08 23:06:42 +02:00
Oscar Hinton
bba2812fdd
Vault Timeout Policy (#474) 2021-09-08 22:02:19 +02:00
Vincent Salucci
ef743ea8ca
[SSO] Set password auto enroll update (#472)
* [SSO/Auto Enroll] Set Password enrolls new user

* Fixed typo

* Linter updates

* Cleanup // Constructor for SetPasswordRequest
2021-09-03 14:49:03 -05:00
Thomas Rittson
1c1f080acf
Fix undefined variable error in desktop (#470) 2021-09-01 07:19:16 +10:00
Matt Gibson
d3ee08abb6
Log full error for better debugging support (#473) 2021-08-31 14:59:54 -05:00
Oscar Hinton
d50531886b
Add support for setting up component factory resolvers in modal service (#471) 2021-08-31 16:35:20 +02:00
Thomas Rittson
30419a625f
Move policy checks within policyService (#466)
* Move policy logic within policyService

* Remove unneeded import

* Clean up unused code

* Fix linting

* Enforce policies from accepting org invite

* Only exempt owner or admin from policies

* Use canManagePolicies as exemption criteria

* Make orgUser status check more semantic

Co-authored-by: Addison Beck <abeck@bitwarden.com>

Co-authored-by: Addison Beck <abeck@bitwarden.com>
2021-08-31 06:52:57 +10:00
Vincent Salucci
f02720a1c6
[Callout] Added pstyling class (#468) 2021-08-27 17:05:02 -05:00
Oscar Hinton
daa4f6f9a6
Dynamic Modals (#417)
* Move backdrop and click handler to modal service since they should not be used in web

* Add support for opening modals using ViewContainerRef
2021-08-26 10:04:29 +02:00
Vincent Salucci
aa81f8fb96
[Callout] Added Enforced Policy Options UI (#458) 2021-08-20 10:51:11 -05:00
Oscar Hinton
fe3a387724
Ensure icon component state is reset (#463) 2021-08-20 16:36:07 +02:00
Addison Beck
5717fc9e7f
ensure new sends that select custom expiration date must enter an expiration date (#460) 2021-08-19 17:17:22 -04:00
Matt Gibson
0180d0cce5
Provide information to set webauthn allow in html template (#455) 2021-08-12 15:12:31 -05:00
Matt Gibson
26e8b48deb
Set up captcha iframe only on submit of login (#453) 2021-08-12 15:10:07 -05:00
Thomas Rittson
c70c8ecc24
Use custom virtual scroll strategy (#452)
* Add CipherListVirtualScroll strategy

For use in cdk-virtual-scroll. Subclasses the default FixedSizeVirtualScroll
but reads the first available itemSize from the rendered content instead of
setting it in the template.

* Fix linting and style

* Refactor virtual scroll strategy

* linting and style

* Subclass virtual scroll strategy directive

* fix linting

* Fix filename conventions
2021-08-11 12:37:25 +10:00
Thomas Rittson
a2b62755bc
Add back in refresh() in ciphers.component (#451) 2021-08-11 08:24:39 +10:00
Thomas Rittson
98098c3fb6
Insert missing await (#449) 2021-08-11 06:36:16 +10:00
Vincent Salucci
c2e434e333
[Reset Password v1] Update Temp Password (#446)
* [Reset Password v1] Update Temp Password

* Updating router to protected for child classes to access
2021-08-10 08:02:53 -04:00
Thomas Rittson
cae26521cc
Move ciphers paging logic from jslib to web (#436)
* Remove paging logic from ciphers base class

* Fix linting

* Fix spacing

* Remove ngx-infinite-scroll (moved to web)
2021-08-04 08:58:37 +10:00
libertylocked
80cb4e702f
Update package lock for duo_web_sdk in angular (#443) 2021-07-29 19:06:24 +02:00
Daniel James Smith
23309d33e2
Add missing dependency 'duo_web_sdk' in jslib/angular/package.json (#441) 2021-07-28 18:35:03 +02:00
Oscar Hinton
de288913e4
Add helper methods to EnvironmentService for retrieving urls (#435) 2021-07-23 20:03:52 +02:00