Commit Graph

3968 Commits

Author SHA1 Message Date
Miguel Jacq
a385e1ffed
Add a CensorshipCircumventionError class that is raised if there's a requests exception connecting to the Tor API 2021-12-20 14:50:09 +11:00
Miguel Jacq
5d8300df10
Add 'Try Again' button in AutoConnect bridge options. Update wording. Reset back to bridge/try again options if Tor Cancel clicked again 2021-12-20 14:20:32 +11:00
Micah Lee
4f3313fd20
If no country-specific settings are found, try automatically using obfs4 bridge instead of prompting user to go to Tor Settings 2021-12-18 17:58:51 -08:00
Micah Lee
a676551821
Remove back button, and make TorConnectionWidget reset its progress in case it gets re-used 2021-12-18 17:37:50 -08:00
Saptak S
576bee555f
Update the autoconnect checkbox language 2021-12-17 23:37:09 +05:30
Saptak S
440b9cd3cd
Rescales the country images to fit the height 2021-12-17 19:49:21 +05:30
Saptak S
094e469f0d
Fixes alignment of the toggle button 2021-12-17 18:54:31 +05:30
Miguel Jacq
47d6f39c06
Various fixes for handling Tor connection errors, reconnecting scenarios, flow from fixing connection back to AutoConnect or main Mode tabs depending on autoconnect settings 2021-12-17 15:14:22 +11:00
Miguel Jacq
4f40a9b501
Tweaks to CensorshipCircumvention and also Meek cleanup fixes that were causing a crazy read loop on the stdout queue 2021-12-15 18:22:18 +11:00
Miguel Jacq
042fed2e55
Send settings object to the AutoConnectFirstLaunchWidget so we can set the checkbox properly when returning from TorSettingsTab 2021-12-15 14:52:49 +11:00
Miguel Jacq
1fd43b316b
Check for updates to OnionShare after connecting to Tor via the AutoConnectTab 2021-12-15 13:45:39 +11:00
Miguel Jacq
12b725e821
Need to reconnect to Tor with the curr_settings Settings object after obtaining new bridges 2021-12-14 14:57:01 +11:00
Miguel Jacq
04efd3fc0e
Cleanup Meek in the CensorshipCircumventionThread 2021-12-14 14:46:19 +11:00
Miguel Jacq
29bf8dc5cd
Raise an Alert dialog when failing to connect to Tor even after trying to circumvent censorship, so the user knows they need to configure settings manually 2021-12-14 14:38:30 +11:00
Miguel Jacq
1aa67f8406
Fix the saving of bridges received from CensorshipCircumvention API - need to also save the bridges_enabled setting else TorSettingsTab doesn't show them 2021-12-14 14:32:00 +11:00
Miguel Jacq
b03823267e
Show progress bar for Censorship Circumvention process 2021-12-14 14:20:45 +11:00
Miguel Jacq
d699940615
remove unused _autodetecting_timer_callback 2021-12-14 13:31:50 +11:00
Miguel Jacq
28786f5a63
remove obsolete censorship circumvention settings option in the TorSettingsTab 2021-12-14 11:15:26 +11:00
Miguel Jacq
89894fe9fe
Wording changes to make it clear that the IP address will be used for automatic country location by Tor's API 2021-12-14 11:07:17 +11:00
Miguel Jacq
3f4cb6a02e
Use the CensorshipCircumvention methods to fetch bridges for the country/autodetection 2021-12-14 10:48:47 +11:00
Micah Lee
c101536d90
Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 11:18:59 -08:00
Micah Lee
4d195692c1
Start autodetect animation 2021-12-12 11:02:08 -08:00
Micah Lee
42379f50ba
Merge branch 'develop' into censorship 2021-12-12 10:35:19 -08:00
Micah Lee
8fe54afe13
Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 10:27:01 -08:00
Micah Lee
49df289869
Add release step to update country list after updating available languages 2021-12-12 10:17:34 -08:00
Micah Lee
34cf68e0a1
Add some todo comments 2021-12-12 10:17:09 -08:00
Saptak Sengupta
9d86b943b2
Merge pull request #1439 from SaptakS/auto-connect-ui
Implementation of the enable quickstart screen
2021-12-10 21:25:50 +05:30
Micah Lee
2af28def34
Add country shapes 2021-12-09 21:51:07 -08:00
Saptak S
24152e8b4d
Reload settings in connection tab when tor settings tab closed 2021-12-09 14:38:11 +05:30
Saptak S
df85ea0f60
Fixes from_autoconnect check from MainWindow 2021-12-09 14:07:25 +05:30
Saptak S
7e982f2223
Opens connect tab if persistent tab is there 2021-12-09 03:43:19 +05:30
Saptak S
8d1d395d11
Dont start tor if torsettingstab opened from autoconnect 2021-12-09 03:26:15 +05:30
Saptak S
2ad9f8df58
Don't show autoconnect tab if local only 2021-12-09 03:15:21 +05:30
Micah Lee
8416d089f4
Make automatic detection flip through country names while it's running meek 2021-12-06 20:54:03 -08:00
Micah Lee
feaecc9e4d
Merge branch 'mig5-censorship_automatically_attempt_and_reconnect' into 1422_autodetect_location 2021-12-06 20:11:41 -08:00
Micah Lee
09ac74a1be
Add country dropdown 2021-12-06 20:01:28 -08:00
Micah Lee
08ed7dab65
Oops, default connect_timeout should still be 120s 2021-12-06 19:42:43 -08:00
Micah Lee
339fc9338e
Start making UseBridgeWidget, and add json files that list country names for each enabled locale 2021-12-06 19:39:44 -08:00
Micah Lee
ce9c35ac9b
Move the first launch widgets into AutoConnectFirstLaunchWidget 2021-12-05 15:36:23 -08:00
Micah Lee
6a132a4991
Remove stretch from TorConnectionWidget so it takes the full width 2021-12-05 15:14:21 -08:00
Micah Lee
22fb0cfac5
Delete the TorConnectionDialog 2021-12-05 15:12:18 -08:00
Micah Lee
75d286386b
Merge branch 'censorship_automatically_attempt_and_reconnect' of https://github.com/mig5/onionshare into mig5-censorship_automatically_attempt_and_reconnect 2021-12-04 20:40:58 -08:00
Micah Lee
a71a4f9baa
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08:00
Micah Lee
20c291161e
Merge pull request #1432 from nyxnor/cli-shell-instructions
POSIX compliant input path on any shell
2021-12-04 20:31:25 -08:00
Micah Lee
27ee69a220
Merge pull request #1478 from mig5/fetch-builtin-bridges
Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them
2021-12-04 20:28:04 -08:00
Micah Lee
85ac5d1ef3
Merge pull request #1475 from onionshare/1470_tempfiles
Stop storing temporary files in /tmp
2021-12-03 07:56:20 -08:00
Saptak S
5ca7236f0c
Fixes CLI tests 2021-12-03 20:03:22 +05:30
Saptak S
3b16ca461b
Fix window title in quickstart 2021-12-03 19:53:00 +05:30
Saptak S
97a604a4c8
Shows the Main window before starting to connect to Tor on autoconnect enabled 2021-12-03 19:30:20 +05:30
Saptak S
51e49c01f1
Adds autoconnect settings in tor settings tab 2021-12-03 19:02:41 +05:30