1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 18:43:25 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
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
Oscar Hinton
3eb860f464 BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01: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
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
Oscar Hinton
d252fd1740 Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +02:00
Oscar Hinton
44463e7bc0 Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Chad Scharf
ed2837e826 Merge pull request #1617 from lionel-rowe/close-popup-on-esc
Close browser popup on Escape key press
2021-03-22 11:02:25 -04:00
lionel-rowe
aee1968436 Close browser popup on Escape key press 2021-03-21 23:02:39 +00:00
Vincent Salucci
61d7fcfc85 Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06: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
0f2c4b4a59 Remove more old safari app extension logic 2020-12-09 18:23:44 +01:00
Addison Beck
fdfb6fb152 tracked last-launched ciphers for autofill 2020-10-12 13:33:26 -04:00
Chad Scharf
dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Chad Scharf
2644afca93 [Soft delete] - remove uselss type definition 2020-04-13 11:32:56 -04:00
Chad Scharf
4116302965 [Soft Delete] - Trash bin in browser extension 2020-04-13 10:26:11 -04:00
Kyle Spearrin
0bbe17f6e2 fix removing no folder when showNoFolderCiphers 2019-06-07 13:20:23 -04:00
Kyle Spearrin
10bb317a67 search input type variable 2019-03-13 22:54:18 -04:00
Kyle Spearrin
7653ce2234 null checks on query param sub 2019-01-16 23:30:39 -05:00
Kyle Spearrin
d6e257b1ce allow launching URLs without protocol than end with tld 2019-01-07 10:33:20 -05:00
Kyle Spearrin
fd5d47da7c unsub from queryParams observable 2018-12-20 10:20:57 -05:00
Kyle Spearrin
c903ad7e66 load even if sync didnt complete successfully 2018-11-27 09:28:36 -05:00
Kyle Spearrin
c1a3025bdf update groupings deps 2018-11-09 22:35:00 -05:00
Kyle Spearrin
0cdc343ce0 forward/back animations for nested cipher folders/cols 2018-10-29 08:58:20 -04:00
Kyle Spearrin
69e664a154 WIP: add support for nested folders and collection 2018-10-26 12:37:55 -04:00
Kyle Spearrin
50c94f587d implement notifications service 2018-08-20 17:40:39 -04:00
Kyle Spearrin
d56dfab2fe popup search service to avoid background page marshalling 2018-08-16 23:33:07 -04:00
Kyle Spearrin
bc0009a61c replaceState when searchtext param is read 2018-08-16 15:11:09 -04:00
Kyle Spearrin
4ab36bc8ee implement search service 2018-08-13 11:53:16 -04:00
Kyle Spearrin
fe94d0533b Revert "set focus manually before search text"
This reverts commit fee87030de.
2018-05-08 08:44:33 -04:00
Kyle Spearrin
fee87030de set focus manually before search text 2018-05-08 08:35:17 -04:00
Kyle Spearrin
ebdde5925c slice instead of pop folders 2018-04-19 09:02:25 -04:00
Kyle Spearrin
b8b6803d6d reduce edge pages even more 2018-04-17 13:06:57 -04:00
Kyle Spearrin
5958fa1fc4 only wait 5 seconds to load vault 2018-04-14 13:40:25 -04:00
Kyle Spearrin
e871d4749b safari fixes 2018-04-14 12:52:46 -04:00
Kyle Spearrin
38f55d7147 dont show popout in firefox sidebar 2018-04-13 23:37:57 -04:00
Kyle Spearrin
57a0c0fc75 even small lists for edge 2018-04-13 23:23:35 -04:00
Kyle Spearrin
15792a1ae6 smaller list sizes on edge 2018-04-13 23:22:20 -04:00
Kyle Spearrin
fa6fc76346 cache groupings page state 2018-04-12 15:56:27 -04:00
Kyle Spearrin
78058c3591 lint fixes 2018-04-10 23:49:46 -04:00
Kyle Spearrin
1e1aca2db3 double click to launch cipher 2018-04-10 23:28:50 -04:00
Kyle Spearrin
e31d8dd702 load on sync 2018-04-10 22:49:19 -04:00
Kyle Spearrin
67ab9b1d3e move new app into popup folder 2018-04-10 21:54:20 -04:00