1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 07:03:26 +00:00
Commit Graph

218 Commits

Author SHA1 Message Date
Oscar Hinton
c27f421d56 Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Melanie Kanavakatini
8f76e81582 feat: add hidden char count toggle (#1780)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2022-02-23 21:11:09 -06:00
Matt Gibson
b9fb223dea Display separator between ngFor components (#2359)
We currently remove the separator element when a `box-content-row`
is the last child. However, when we create these rows from ng templates
each row gets a separate template element wrapping it.
This PR tells the cipher-row component whether it is the last child
2022-02-11 10:30:55 -06:00
Vincent Salucci
ebbf1d8b90 [Help] Update links to new pattern (#2324)
* [Help] Update links to new pattern

* Update jslib
2022-02-08 17:44:56 -06:00
Vincent Salucci
9c60563939 [Icons] FF - requested icon changes (#2306)
* [Icons] Remove FA

* Icon changes
2022-02-03 10:25:38 -06:00
Vincent Salucci
33314869f0 [Icons] Update Font Sheet (#2272)
* [Icons] Update Font Sheet

* Prettier updates

* Updated refresh -> generate

* Updated closed folder icon

* Reverted to using a base class

* Update jslib

* Removed unused import

* Updated eye/eye-slash icon references

* Update jslib

* Updating fallback image for cipher icon

* Update jslib

* Removed duplicate icon base class

* Update jslib

* Prettier

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-28 04:53:06 -06:00
Daniel James Smith
bd770c90ed [Account Switching] Base changes for account switching (#2250)
* Pull in jslib

* Create new state models

* Create browser specific stateService

* Remove registration deprecated services, register stateService

* Replace usage of deprecated services (user, constants)

* Add missing properties to BrowserGroupingsComponentState

* Remove StorageService from initFactory

* Clear the correct state

* Add null check when restoring send-grouping state

* add remember email

* Initialize stateservice in services.module

* Fix 'lock now' not working

* Comment to remove setting defaults on install

* Pull jslib

* Remove setting defaults on install

* Bump jslib

* Pass the current userId to services when logging out

* Bump jslib

* Override vaultTimeout default on account addition

* Pull latest jslib

* Retrieve vaultTimeout from stateService

* Record activity per Account

* Add userId to logout and add fallback if not present

* Register AccountFactory

* Pass userId in messages

* Base changes for account switching di fixes (#2280)

* [bug] Null checks on Account init

* [bug] Use same stateService instance for all operations

We override the stateService in browser, but currently don't pull the background service into popup and allow jslib to create its own instance of the base StateService for jslib services.
This causes a split in in memory state between the three isntances that results in many errors, namely locking not working.

* [chore] Update jslib

* Pull in jslib

* Pull in jslib

* Pull in latest jslib to multiple stateservice inits

* Check vault states before executing processReload

* Adjust iterator

* Update native messaging to include the userId (#2290)

* Re-Add UserVerificationService

* Fix email not being remembered by base component

* Improve readability of reloadProcess

* Removed unneeded null check

* Fix constructor dependency (stateService)

* Added missing await

* Simplify dependency registration

* Fixed typos

* Reverted back to simple loop

* Use vaultTimeoutService to retrieve Timeout

Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-27 22:22:51 +01:00
Robyn MacCallum
4d63769d42 Run prettier 2022-01-21 11:23:01 -05:00
Robyn MacCallum
5c4bcf86a7 Added aria-hidden="true" 2022-01-21 11:21:23 -05:00
Robyn MacCallum
879b983818 Replace sad face with searching image 2022-01-21 10:31:01 -05:00
Andrew Marquez
3f4032011a Send deletedCipher message to messagingService to refresh badge and menu. Fixes #1708 (#2244) 2022-01-17 16:25:32 +01:00
Oscar Hinton
8fe821b9a3 Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Patrick H. Lauke
df0e7d1ec0 Merge branch 'master' into patrickhlauke-issue1984 2021-12-19 14:43:37 +00:00
Patrick H. Lauke
6e050349e4 Add aria-pressed attribute to all toggleVisibility buttons
Closes https://github.com/bitwarden/browser/issues/2228
2021-12-18 20:22:11 +00:00
Patrick H. Lauke
557dd8f68d View entry: add labels to readonly fields, expand aria-label for repeated toggles
Closes https://github.com/bitwarden/browser/issues/1984
2021-12-16 13:41:57 +00:00
Patrick H. Lauke
ba37c05d1b Add visually hidden <h1> to views that lack an overarching heading 2021-12-13 20:56:23 +00:00
Patrick H. Lauke
1916136f4c Merge branch 'master' into patrickhlauke-issue1987 2021-12-13 17:37:42 +00:00
Oscar Hinton
e4aaf81816 Replace toaster library (#2210) 2021-12-07 20:42:18 +01:00
Oscar Hinton
3eb860f464 BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
Thomas Rittson
cf28435ce3 [Key Connector] Add support for key connector and OTP (#2156)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 18:59:51 +01:00
Thomas Rittson
2113c709a4 [Linked fields] Add Linked Field as a custom field type (#1963)
* Proof of concept for Linked custom field type

* Linked Fields for all cipher types, use dropdown

* Fix linked icon alignment

* Tweak linked icon alignment and style

* Move add-edit custom fields to own component

* Disable copy for linked field

* Use Field.LinkedId to store linked field info
2021-11-04 07:40:42 +10:00
Patrick H. Lauke
c8fc7ee6fc Add basic heading markup 2021-11-02 22:41:17 +00:00
Oscar Hinton
ce2e6c3cb4 Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Thomas Rittson
82138a08ff [Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +10:00
Thomas Rittson
bbcbcf2b40 Fix breaking typo (#2099) 2021-10-05 08:41:21 +10:00
Patrick H. Lauke
03b60d17bb Change CRLF to LF 2021-10-01 14:55:53 +01:00
Patrick H. Lauke
bf7dd5da96 Change links to buttons in new split-out components 2021-09-28 19:55:11 +01:00
Patrick H. Lauke
f359a1c2be Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-28 19:50:11 +01:00
Thomas Rittson
2449534e9e Fix totp copy not working in Chrome (#2067)
* Fix totp copy not working in Chrome

* Only use fix for Chromium-based browsers
2021-09-22 07:36:28 +10:00
Thomas Rittson
10734fc024 Move custom fields to separate components (#2072)
* Move add-edit custom fields to own component

* Fix linting and mistakes

* Update directive

* Removed linked fields work

* Move view custom fields to own component

* Remove unnecessary imports

* Wrap template in ng-container

* Update jslib

* Fix imports
2021-09-21 10:49:05 +10:00
Patrick H. Lauke
6b0167a098 Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-18 17:47:59 +01:00
Oscar Hinton
a848406ce0 Use explicit import paths (#2074) 2021-09-17 15:44:27 +02:00
Thomas Rittson
69c892807c Use custom virtual scroll strategy (#2002)
* update jslib

* Use custom virtual scroll strategy
2021-08-11 12:52:44 +10:00
Patrick H. Lauke
d528d72b4d Change links to buttons
- more semantically accurate, will expose these as buttons to assistive technologies
- note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
2021-07-31 20:50:46 +01:00
Matt Gibson
2be717d0fb Redefine cipher "share" to "move to organization" (#1903)
* Redefine cipher "share" to "move to organization"

* PR review

* update jslib
2021-06-22 15:44:06 -05:00
Oscar Hinton
78b1ae9a6a Add reprompt help link (#1908) 2021-06-21 20:55:39 +02:00
Thomas Rittson
57e34dc6e8 Merge remote-tracking branch 'origin' into cdk-virtual-scroll 2021-06-09 10:07:35 +10:00
Oscar Hinton
4e1958f417 Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Thomas Rittson
d71219caa9 Remove virtualScroll for favorites list 2021-06-03 08:50:36 +10:00
Thomas Rittson
c12ceb4877 style fixes, more descriptive naming 2021-06-03 08:47:02 +10:00
Thomas Rittson
f2977aab0c remove ciphers-list.component 2021-05-21 14:16:18 +10:00
Thomas Rittson
94ee6c1ab7 fix linting and style 2021-05-21 13:03:05 +10:00
Thomas Rittson
081bda255c use virtual scroll for favorite ciphers 2021-05-21 13:01:39 +10:00
Thomas Rittson
6b954df58c Refactor to use virtual-scroll more selectively 2021-05-21 12:42:56 +10:00
Thomas Rittson
9e5869773d Basic proof of concept for cdk-virtual-scroll 2021-05-21 12:42:21 +10:00
Thomas Rittson
df8a253a7d fix linting, minor bugfix 2021-05-17 14:32:48 +10:00
Thomas Rittson
d4055a7613 Only show autofill options if enabled 2021-05-17 13:46:39 +10:00
Thomas Rittson
13b0e09c2c Merge branch 'master' into feature-aopl-options 2021-05-14 10:55:14 +10:00
arun
f556b2a207 Fixed Name & URI 1 Fields Populated Incorrectly when creating new Login in popout window (# 1816) 2021-05-05 13:59:42 -04:00
arun
8169922f84 Fixed Name & URI 1 Fields Populated Incorrectly when creating new Login in popout window (# 1816) 2021-05-04 13:55:10 -04:00