Commit graph

79 commits

Author SHA1 Message Date
stoically
1003d191b8 Remove identityState when deleting containers
Fixes #1140
2022-11-11 12:13:24 -05:00
eladyn
0b869a139a
improve proxy type matching
Co-authored-by: nekno <nekno@users.noreply.github.com>
2022-04-21 14:09:38 +02:00
eladyn
0ef50dd2f0
enable proxyDNS only for supported proxies (SOCKS4/5) 2022-04-19 16:21:56 +02:00
luke crouch
a3e978338a return single ProxyInfo object when advanced proxy 2022-02-09 14:47:59 -06:00
luke crouch
53e9d24d40 fix #2248: proxy DNS too 2022-01-01 11:01:41 -06:00
Andrea Marchesini
c146a0bd11
Move the permission observers in the background scripts 2021-12-07 10:22:49 -06:00
Lesley Norton
1b165aebb5
Handle proxy and nativeMessaging permission disabling + enabling 2021-12-07 10:22:49 -06:00
Andrea Marchesini
8bde28a4ac Use an empty object for no-proxy requests 2021-11-29 16:21:36 +01: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
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
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
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
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
stoically
419be23c9c
Add sync tests to mocha suite 2020-01-28 11:33:20 +01:00
Kendall Werts
0447e54b1c review fedback 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
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
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
5ae7a395a1 added some checks on sync and some error handling for bad site assignment info 2020-01-14 11:21:00 -06:00
Kendall Werts
9de6df6157 fixed bug that was showing all assigned site in the create new container panel 2020-01-14 11:20:51 -06:00
Kendall Werts
53f7dc4915 added some tests in the browser html 2020-01-08 15:37:08 -06:00
Kendall Werts
0252f9d1c3 refactored runSync and following functions 2020-01-05 14:32:11 -06:00
Kendall Werts
19dce3ba45 refactor and fixed site assignment reconcilding 2020-01-05 14:32:11 -06:00
Kendall Werts
0bdf8558f6 Syncs deletion of site assignments and reassignments 2020-01-05 14:32:11 -06:00
Kendall Werts
0e45f06338 deletes containers, and adds and deletes site assignments. 2020-01-05 14:32:11 -06:00
Kendall Werts
063b7509bd removed awaits that were causing issues with error handling 2020-01-05 14:32:11 -06:00
Kendall Werts
136aa3ce0e wip: cleaning up storage before sync 2020-01-05 14:32:11 -06:00
Kendall Werts
a7f6659204 added check for uuid in updateUUID 2020-01-05 14:32:11 -06:00
Kendall Werts
f4024bba66 re-enabled listeners 2020-01-05 14:32:11 -06:00
Kendall Werts
e65c88cde2 updated with comments fixes from review 2020-01-05 14:32:11 -06:00
Kendall Werts
27225df281 added restore on previously synced browser 2020-01-05 14:32:11 -06:00
Kendall Werts
88e32fc72f added second run restore 2020-01-05 14:32:11 -06:00
Kendall Werts
d61ea16db1 broke up restoreFristRun 2020-01-05 14:32:11 -06:00
Kendall Werts
adc1f5ffe6 made some requested changes 2020-01-05 14:32:11 -06:00
Kendall Werts
e8f8123c4c combined getByContainer and getAllAssignedSites 2020-01-05 14:29:53 -06:00
Kendall Werts
9788e159ae cleanup of old code 2020-01-05 14:29:53 -06:00