Commit graph

122 commits

Author SHA1 Message Date
Aishat Adenike Akinyemi
dcb2feace2
Merge 65c58667b1 into 82e8643a4f 2021-10-25 20:42:30 +00:00
Lesley Norton
1d608f599b
Merge branch 'master' into MAC-x-MozillaVPN 2021-10-25 10:25:31 -05:00
Andrea Marchesini
e830a5bcd8
Merge pull request #1757 from kafji/kfj/fix-sync-hog
Fix sync resource hog
2021-10-25 16:59:59 +02:00
Lesley Norton
b552d41772
Additional review refactoring 2021-10-22 15:25:37 -05:00
Lesley Norton
96bd0f4b4e
Update storage 2021-10-22 12:30:10 -05:00
Andrea Marchesini
3572bebbd9 Remove DEFAULT_PROXY 2021-10-22 17:32:04 +02:00
Andrea Marchesini
37ed2455eb Network key isolation when the VPN changes state 2021-10-22 17:25:25 +02:00
Andrea Marchesini
ec933cf730 A few changes in the proxified-containers object 2021-10-22 16:46:40 +02:00
Lesley Norton
2f6e49bec0
Review + QA updates - Part 1 2021-10-21 23:02:27 -05:00
Lesley Norton
1c0f2d8c5c
MozillaVPN Integration 2021-10-20 12:52:41 -05:00
luke crouch
8a8f5572fc Merge branch 'master' into proxy-support 2021-09-28 17:07:21 -05:00
Carlos Marin
4e4ed390e0 Replace deprecated method
Close #2047
2021-05-18 14:36:29 -03:00
luke crouch
63996ce416 Merge branch 'master' into proxy-support 2020-11-11 17:14:07 -06:00
Moonloard
46d76dfaa3 new option to replace current tab when a assigned domain is opened 2020-07-27 22:12:49 +02:00
Kafji
f4a087d0ed Fix sync resource hog
Hypothesis:
On receiving onChanged event of browser.storage.sync, sync will try to
_merge_ the container data and backup the merged data. One of the merging
process is called reconcileSiteAssignments in which sync will remove
assigned site form the delete site list. On each removal sync will tell
assignManager, the one who hold container data locally, to remove it as
well. In turn the assignManager will remove *and then* tell sync to
backup the data. This causes the backup process in sync to be invoked
multiple times, one from the sync process and one for each of removed
assigned site list. To make matters worse, the backup from removal of
assigned site list will run in parallel from each others.

This might fixes #1691.
2020-06-01 08:22:28 +07:00
Kendall Werts
7f91096311 Removed options from new container menu. Tweaked new container menu to remove
dupes from opening it twice.

Added focus highlighting for keyboard navigation
2020-02-28 15:47:43 -06:00
Kendall Werts
ef66bee929 Implemented site isolation
Added feature to isolate (lock) assigned sites: When you are in
a container with site isolation enabled, navigating to a site
outside of the assignments will open that site in a new default
container tab.

Co-authored-by: Francis McKenzie <francis.mckenzie@gmail.com>
2020-02-28 15:47:43 -06:00
Kendall Werts
707cec56c5 keyboard shortcuts working 2020-02-28 15:47:43 -06:00
Kendall Werts
8ef5cbd81b Fixed Assignement Toast on page.
Now opens in the newly opened tab (after it has been reopened
in the correct container). It also does not provide a toast
when removing sites from the edit assignments panel, becuase
user will most likely not be on that site when editing the
panel, so it has been throwing an error. Error should go away.
2020-02-28 15:47:43 -06:00
Kendall Werts
807435ca4b code review and feedback changes 2020-02-28 15:47:43 -06:00
Kendall Werts
694b0f7b47 fixed mocha tests 2020-02-28 15:47:43 -06:00
Kendall Werts
db46e71516 linting issues 2020-02-28 15:47:43 -06:00
Kendall Werts
486072bef8 keyboard shortcuts 2020-02-28 15:47:43 -06:00
Kendall Werts
a33e358de8 Now can reopen in default container. Added an 'OK' button to new container panel. Fixed some css 2020-02-28 15:47:43 -06:00
Kendall Werts
9d151f0033 working on info panel 2020-02-28 15:47:43 -06:00
Kendall Werts
1870ce08bc Page action assigns site to a container and simultaneously reopens site in container. 2020-02-28 15:47:43 -06:00
Kendall Werts
fbba6beee2 testing keyboard shortcuts 2020-02-28 15:47:43 -06:00
Kendall Werts
9e12014c07 Fix for #1632: Pinned tabs cannot be loaded as 'discarded' 2020-02-13 16:54:18 -06:00
Kendall Werts
00ace352e8 upped version and added action badge 2020-02-10 17:09:20 -06:00
Kendall Werts
7ed5085f10 changed window attachment of sync to be more clear 2020-02-10 12:38:17 -06:00
Kendall Werts
c300751958 moved test to mocha tests 2020-02-06 11:58:53 -06:00
Kendall Werts
e6f5bf76c2
Merge pull request #1 from stoically/sync-tests
Add sync tests to mocha suite
2020-02-03 11:25:31 -06:00
Kendall Werts
88d8edce7e fixed initial container sync entry dupe 2020-01-29 21:54:04 -06:00
stoically
419be23c9c
Add sync tests to mocha suite 2020-01-28 11:33:20 +01:00
Kendall Werts
53baee1d5c swapped cookieStoreId and storekey 2020-01-24 17:02:29 -06:00
Kendall Werts
0447e54b1c review fedback 2020-01-23 13:47:56 -06:00
Kendall Werts
5b8cfa14ae Update src/js/background/sync.js
Co-Authored-By: Jonathan Kingston <jonathan@jooped.co.uk>
2020-01-23 13:47:56 -06:00
Kendall Werts
d35712e9f9 Update src/js/background/sync.js
Co-Authored-By: Jonathan Kingston <jonathan@jooped.co.uk>
2020-01-23 13:47:56 -06:00
Kendall Werts
f981200921 Update src/js/background/identityState.js
Co-Authored-By: Jonathan Kingston <jonathan@jooped.co.uk>
2020-01-23 13:47:56 -06:00
Kendall Werts
85c403bef5 made some suggested changes 2020-01-23 13:47:45 -06:00
Kendall Werts
61b5c2e4b2 updated tests to match new formatting" 2020-01-22 23:50:19 -06:00
Kendall Werts
3aa2902cde added on/off switch and expiration date on instanceKeys in sync
on/off is in settings.
when instanceKey date is 30 days old, it is deleted

fixed bug
2020-01-22 22:46:36 -06:00
Kendall Werts
d7b66eca52 added key to sync for each install of MAC.
Keeps a list of installed identities and site assignments of reach MAC install
2020-01-22 10:57:27 -06:00
Kendall Werts
60bfdffdd6 fixed race condition while upgrading containers and site assignments. 2020-01-15 16:54:24 -06:00
Kendall Werts
d7c0a3d9e1 Fixed infinite loop in updating uuid for identities. 2020-01-15 10:03:40 -06:00
Kendall Werts
a7d3d6d848 fixed linting 2020-01-14 11:21:19 -06:00
Kendall Werts
26028cac20 added UUIDs of containers to site assignments 2020-01-14 11:21:09 -06:00
Kendall Werts
33909d147a fixed cookiestoreIDmap 2020-01-14 11:21:09 -06:00
Kendall Werts
10d08f2ac9 changed confusing language on sync data check 2020-01-14 11:21:09 -06:00
Kendall Werts
5ae7a395a1 added some checks on sync and some error handling for bad site assignment info 2020-01-14 11:21:00 -06:00