Commit Graph

393 Commits

Author SHA1 Message Date
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
4d195692c1
Start autodetect animation 2021-12-12 11:02:08 -08:00
Micah Lee
8fe54afe13
Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 10:27:01 -08:00
Micah Lee
34cf68e0a1
Add some todo comments 2021-12-12 10:17:09 -08:00
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
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
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
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
Saptak S
bbdfea218e
Reflects the autoconnect status on toggle checkbox on opening 2021-12-03 18:34:53 +05:30
Saptak S
4c3af76a5b
Creates a toggle checkbox 2021-12-03 18:27:03 +05:30
Micah Lee
c8ba508d26
Merge branch 'develop' into 1470_tempfiles 2021-12-01 20:37:45 -08:00
Micah Lee
8ec9a24af1
Explicitly cleanup temp files and dirs 2021-12-01 20:34:54 -08:00
Miguel Jacq
81cf9aabe8
Fix conflicts 2021-11-30 10:54:17 +11:00
Miguel Jacq
3273832da7
Make the saving of the automatically-obtained bridges reusable (move it to CensorshipCircumvention class). Add the same functionality used in TorConnectionWidget to TorConnectionDialog. 2021-11-30 10:50:47 +11:00
Miguel Jacq
b151eeb3c3
Make sanity checking of bridges a reusable component in cli.Common, so we can reuse it for automatic bridge fetching in censorship circumvention 2021-11-30 10:01:14 +11:00
Saptak S
e2dbe6089a
Opens TorSettingsTab when clicked on network settings 2021-11-30 03:23:16 +05:30
Saptak S
1cde115f6e
Corrects the auto connect with checkbox logic 2021-11-30 03:11:29 +05:30
Saptak S
c8224a2546
Resize components in the connection tab 2021-11-30 03:08:56 +05:30
Saptak S
3283fb7607
Updates autoconnect to use tab widget 2021-11-30 02:48:20 +05:30
Hosted Weblate
a4741a73d4
Translated using Weblate (German)
Currently translated at 98.2% (56 of 57 strings)

Translated using Weblate (Catalan)

Currently translated at 25.0% (2 of 8 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Catalan)

Currently translated at 28.5% (2 of 7 strings)

Translated using Weblate (Catalan)

Currently translated at 6.6% (2 of 30 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (25 of 25 strings)

Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: fadelkon <fadelkon@posteo.net>
Co-authored-by: ilumium <weblate@penfrat.net>
Co-authored-by: tics tics <ticse@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/sr_Latn/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Tor
2021-11-28 20:16:51 +01:00
Hosted Weblate
206d021cf6
Translated using Weblate (Galician)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/gl/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 20.0% (6 of 30 strings)

Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Added translation using Weblate (Hungarian)

Added translation using Weblate (Punjabi)

Added translation using Weblate (Czech)

Added translation using Weblate (Bulgarian)

Added translation using Weblate (Bengali)

Added translation using Weblate (Esperanto)

Added translation using Weblate (Lithuanian)

Added translation using Weblate (Galician)

Added translation using Weblate (Gujarati)

Co-authored-by: 4s3ti <4s3ti@4s3ti.net>
Co-authored-by: Blax <blacxbloc@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jo W. Burner <g0dk8pip@duck.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: tics tics <ticse@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/zh_Hans/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Sphinx
2021-11-26 19:53:28 +01:00
Hosted Weblate
ef1be43bd8
Translated using Weblate (Turkish)
Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/

Translated using Weblate (Japanese)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ja/

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Translated using Weblate (Icelandic)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/is/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/uk/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Tor
2021-11-25 16:52:57 +01:00
Miguel Jacq
06a3599fe1
Built-in bridge refactoring.
Store the built-in bridges in OnionShare settings as a dict, and try writing those into the torrc if present.

If they aren't present in OnionShare settings, use the hardcoded templates instead.

Fetch the latest built-in bridges over Tor, once connected to Tor.

If we can't fetch the bridges over Tor, fall back to Meek (domain-fronting) and try again.

Then write those as the dict to the OnionShare settings, to take precedence next time.
2021-11-24 17:55:47 +11:00
Micah Lee
e1b89652cc
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-11-23 20:29:44 -08:00
Micah Lee
a4985e7029
Support sending a custom Content-Security-Policy header in Website mode 2021-11-23 18:44:14 -08:00