Commit Graph

41 Commits

Author SHA1 Message Date
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
addison 5962abb382 [chore] Update jslib 2022-01-28 09:24:04 -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
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Thomas Rittson cffd4b3515
Fix Copy Custom Field Name on pages with iframes (#2091)
* Improve error messages

* Send getClickedElement msg to specific frameId

* Add support for finding input element from label

* Use i18n for error messages

* Fix unrelated linting
2021-10-07 09:52:33 +10: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
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 dae41425a4 Change Autofill on Page Load default to autofill 2021-05-21 09:11:04 +10:00
Thomas Rittson 56e127d20c Merge branch 'master' into feature-aopl-options 2021-05-18 10:11:40 +10:00
Thomas Rittson 13b0e09c2c Merge branch 'master' into feature-aopl-options 2021-05-14 10:55:14 +10:00
Thomas Rittson af61732800 Copy TOTP after all autofills, remove old UI 2021-05-14 10:04:08 +10:00
Thomas Rittson 8c29cf7f33 Organize Options page and add headings 2021-05-05 13:57:50 +10:00
Thomas Rittson 0da4f7df73
Merge branch 'master' into copy-totp-on-auto-fill 2021-05-05 12:23:37 +10:00
Kyle Sferrazza 60ef611b78 get name of Solarized Dark using i18n 2021-04-28 16:12:37 -04:00
Kyle Sferrazza 6e0087457d Add support for the Solarized Dark color scheme 2021-04-28 15:24:14 -04:00
Thomas Rittson 16f726738d Update UI strings, remove autofillOnPageLoad enum 2021-04-16 13:46:56 +10:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Thomas Rittson 89dd393c32 Update UI 2021-04-07 10:45:12 +10:00
Vlad 518722c781 Fixes for text logic
Moved settings check above setting text, also added send message when settings is changed
Now when settings is changed, current tab badge is changed immediately, and other tabs do so in milliseconds after switch
2021-03-06 19:18:11 +03:00
Tomer Shvueli 6eb7106bc5 fix: Nest sub option in Options page, tie auto fill & auto copy features together 2021-03-04 09:58:22 -05:00
Vlad 0ed08cca23 remove excessive code
removed analytics and excessive components from jslib
2021-02-25 21:47:35 +03:00
Vlad eb59c9e692 browser version of 287 issue
added condition when badge should set text based on setting
2021-02-22 01:35:14 +03:00
Tomer Shvueli 72d0a439d2 feat: Add option to auto-copy TOTP code when page auto fills credentials 2021-02-20 14:48:54 -05:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton 7b5ec47ba5 Cleanup a few more safari things 2020-12-09 13:18:29 +01:00
Kyle Spearrin 2a7e361300 cleanup safari specific features 2019-08-19 15:57:37 -04:00
Miguel Crespo 20425e5d67 Add support for the Nord Theme (#980)
* Add support for the Nord Theme as in Desktop and mobile apps

* Improves
2019-07-22 10:47:45 -04:00
Kyle Spearrin a60c60529f dont call clearclipboard in a loop 2019-05-30 09:37:09 -04:00
Kyle Spearrin 16185ffa76 Revert "make clipboardRead optional permission"
This reverts commit a797f18b78.
2019-03-06 20:28:49 -05:00
Kyle Spearrin a797f18b78 make clipboardRead optional permission 2019-03-06 18:42:05 -05:00
Kyle Spearrin 9e24616bf9 dont show clear clipboard options for safari 2019-03-05 09:26:57 -05:00
Kyle Spearrin d45ff363b2 cap disabled 2019-02-27 11:45:10 -05:00
Kyle Spearrin 5ae81b197a clear clipboard setting 2019-02-27 11:07:54 -05:00
Kyle Spearrin b6705bc338 remove analytics settings 2019-01-15 11:08:25 -05:00
Kyle Spearrin 2a3beacbe0 default match detection setting 2019-01-09 11:59:14 -05:00
Kyle Spearrin f043010067 option to not show cards/identities on current tab list 2018-11-21 14:31:34 -05:00
Kyle Spearrin 4076247908 option to disable change password notification 2018-07-31 23:48:11 -04:00
Kyle Spearrin db06b60704 start styling for dark theme 2018-05-30 23:11:05 -04:00
Kyle Spearrin 344cd2ac40 add theme support to browser extension 2018-05-30 17:26:43 -04:00
Kyle Spearrin 5bf7faa09a settings -> options page 2018-04-13 14:19:33 -04:00