Commit Graph

631 Commits

Author SHA1 Message Date
Daniel James Smith ea5f2a32ee
BEEEP: Add missing languages (#2416)
* Pull in jslib

* Import and register missing languages
2022-02-25 22:13:00 +01:00
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Thomas Rittson 06ba30fc6b
[BEEEP] Firefox Private Mode (#2294)
* Create background in popup if private mode, remove gates

* Add messaging support to runtime in private mode

* Fix messaging services and general bootstrap logic

* Add private mode warning, remove old component

* Deprecate launchGuardService

* Require in memory account for user to be considered authenticated

* Don't change icon for private mode windows

* Set all icons from background page
2022-02-16 08:06:35 +10:00
Oscar Hinton 0a44bf4dd9
Client and version headers (#2320) 2022-02-08 13:22:20 +01:00
addison 901b88b21f Update jslib 2022-02-03 13:55:06 -05: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
Daniel James Smith 4b2266a7ce
Add newline before export class 2022-01-04 16:48:57 +01:00
Daniel James Smith a3fd33c5ae
Apply prettier for previously ignored file 2022-01-04 16:41:07 +01:00
Daniel James Smith bc3de6e115
Move address containsOptions to Identity constants 2022-01-02 16:16:10 +01:00
Daniel James Smith 30f7e29773
Move fullname containsOptions to Identity constants 2022-01-02 16:15:52 +01:00
Daniel James Smith 306b7e38c3
Move cardExpiry containsOptions to CC constants 2022-01-02 16:13:32 +01:00
Daniel James Smith c0134e2776
Move cardnumber containsOptions to CC constants 2022-01-02 16:13:04 +01:00
Daniel James Smith 3bfddd0043
Move cardholder containsOptions to CC constants 2022-01-02 16:09:28 +01:00
Daniel James Smith 643fc17151
Move pasword field ignore list to AutoFillConstants 2022-01-02 15:49:37 +01:00
Daniel James Smith 4e274c2f44
Move card expiry fieldnames to CC constants 2022-01-02 15:44:57 +01:00
Daniel James Smith ec60979ee2
Move cardNumber fieldnames to CC constants 2022-01-02 15:44:19 +01:00
Daniel James Smith 37948db899
Move cardholder fieldnames to CC constants 2022-01-02 15:43:29 +01:00
Daniel James Smith ff6e63a335
Move address fieldnames to Identity constants 2022-01-02 15:42:39 +01:00
Daniel James Smith 9e350e25ce
Move fullname fieldnames to Identity constants 2022-01-02 15:41:52 +01:00
Daniel James Smith 8f889310c2
Move company fieldnames to Identity constants 2022-01-02 14:57:12 +01:00
Daniel James Smith 0a1b0f5eb9
Move username fieldnames to Identity constants 2022-01-02 14:56:01 +01:00
Daniel James Smith aeeb44e8c9
Move phone fieldnames to Identity constants 2022-01-02 14:54:31 +01:00
Daniel James Smith 423ef40aa1
Move country fieldnames to Identity constants 2022-01-02 14:52:52 +01:00
Daniel James Smith 4390989a88
Move state fieldnames to Identity constants 2022-01-02 14:51:34 +01:00
Daniel James Smith 61dbe5421f
Move city fieldnames to Identity constants 2022-01-02 14:50:26 +01:00
Daniel James Smith 6304964ad4
Move postalCode fieldnames to Identity constants 2022-01-02 14:49:10 +01:00
Daniel James Smith a880cf32e6
Move address3 fieldnames to Identity constants 2022-01-02 14:47:12 +01:00
Daniel James Smith e12b9ffa67
Move address2 fieldnames to Identity constants 2022-01-02 14:46:54 +01:00
Daniel James Smith b2a3cd7feb
Move address1 fieldnames to Identity constants 2022-01-02 14:43:46 +01:00
Daniel James Smith d25d532184
Move email fieldnames to Identity constants 2022-01-02 14:41:50 +01:00
Daniel James Smith c45d1f8f7e
Move title fieldnames to Identity constants 2022-01-02 14:40:10 +01:00
Daniel James Smith 729150d404
Move middle name fieldnames to Identity constants 2022-01-02 14:37:57 +01:00
Daniel James Smith 5c66dade4a
Move card brand fieldnames to CC constants 2022-01-02 14:18:17 +01:00
Daniel James Smith 7e5b50a6cb
Move CVV fieldnames to CC constants 2022-01-02 14:16:27 +01:00
Daniel James Smith bb294ac792
Move ExpiryYear fieldnames to CC constants 2022-01-02 14:12:56 +01:00
Daniel James Smith 8992f348d2
Move ExpiryMonth fieldnames to CC constants 2022-01-02 14:10:16 +01:00
Daniel James Smith 768f4b676c
Removed unused OperationDelays constant 2022-01-02 14:02:11 +01:00
Daniel James Smith 5fb9d0ee7f
Separate Identity constants into its own class 2022-01-02 14:01:26 +01:00
Daniel James Smith 47b40e0049
Separate CreditCard constants into its own class 2022-01-02 13:56:42 +01:00
Daniel James Smith 0fbeabf7a6
Extract constants for autofill into separate file 2022-01-02 13:45:32 +01:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +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
gabrielfin 2228ffac47
Do not autofill inputs meant for password recovery (#1999)
Fixes issue #1956
2021-10-25 16:16:01 +10: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 6dfb06c5b0
Use theme enum and platformUtilsService helpers (#2089)
* Use theme enum and platformUtilsService helpers

* Update jslib
2021-10-05 06:30:31 +10:00
Kyle Spearrin 812741219d
Ability to auto-fill span elements (#2095)
* ability to autofill span elements

* add modification comments
2021-09-30 16:02:13 -04:00
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02:00
Oscar Hinton a1f7e07f09
Add password show/hide to reprompt (#1902)
Co-authored-by: Addison Beck <abeck@bitwarden.com>
2021-08-27 15:27:22 +02:00
Daniel James Smith 2ebd8603f6
Fixed order of supportedLocales to have 'en' as fallback again 2021-08-19 22:10:13 +02:00
Oscar Hinton 056fdba6dd
Hide biometric setting when running in Android (#1907) 2021-07-16 10:11:21 +02:00