4134 Commits

Author SHA1 Message Date
Miguel Jacq
e00db31de5 Force the MIME type for .js files to be text/javascript, to override silly OS databases/registries with incorrect settings, which Flask would otherwise depend on 2021-12-17 17:53:15 +11:00
Miguel Jacq
bcfe7f6a85 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
8082437d33 Don't enqueue stdout from Meek subprocess in a Thread, just read it as it comes. Solves infinite loop queue read issue on cleanup() 2021-12-15 18:28:55 +11:00
Miguel Jacq
42b8c8a464 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
cbd74954b6 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
54775ba7b2 Check for updates to OnionShare after connecting to Tor via the AutoConnectTab 2021-12-15 13:45:39 +11:00
Miguel Jacq
890c24b0b3 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
fc4f96b129 Cleanup Meek in the CensorshipCircumventionThread 2021-12-14 14:46:19 +11:00
Miguel Jacq
c2113de6b1 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
5c8ddc1735 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
3c87ba792e Show progress bar for Censorship Circumvention process 2021-12-14 14:20:45 +11:00
Miguel Jacq
dcf2957191 remove unused _autodetecting_timer_callback 2021-12-14 13:31:50 +11:00
Miguel Jacq
4b07b6d66b remove obsolete censorship circumvention settings option in the TorSettingsTab 2021-12-14 11:15:26 +11:00
Miguel Jacq
b99125515d 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
57b60d5114 Use the CensorshipCircumvention methods to fetch bridges for the country/autodetection 2021-12-14 10:48:47 +11:00
Micah Lee
a4e9c10875 Merge branch 'develop' of github.com:micahflee/onionshare into develop 2021-12-12 13:03:47 -08:00
Micah Lee
ea0cfcef9d Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-12-12 13:03:32 -08:00
Micah Lee
7ca11eb92e Merge pull request #1484 from mig5/fetch-builtin-bridges-in-get-tor-scripts
Fetch builtin bridges in get tor scripts
2021-12-12 11:33:46 -08:00
Micah Lee
c349ac5016 Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 11:18:59 -08:00
Micah Lee
7185556c37 Start autodetect animation 2021-12-12 11:02:08 -08:00
Micah Lee
56a9ed6a0e Merge branch 'develop' into censorship 2021-12-12 10:35:19 -08:00
Micah Lee
5b0093cc54 Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 10:27:01 -08:00
Micah Lee
048f1d4d4e Add release step to update country list after updating available languages 2021-12-12 10:17:34 -08:00
Micah Lee
4e2bf199d2 Add some todo comments 2021-12-12 10:17:09 -08:00
Saptak Sengupta
f7a2f55c62 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
a8016c15c4 Add country shapes 2021-12-09 21:51:07 -08:00
Miguel Jacq
9d63d0ee9b Update our bridge templates with the latest built-in bridges in the get-tor scripts 2021-12-10 16:48:39 +11:00
Hosted Weblate
97e6f0f02a Translated using Weblate (Japanese)
Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (Japanese)

Currently translated at 83.3% (25 of 30 strings)

Translated using Weblate (German)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (German)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (German)

Currently translated at 100.0% (57 of 57 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (60 of 60 strings)

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

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

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

Co-authored-by: Gabriel Cardoso <g.cardoso@mailfence.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jannes Leßmann <janneslessmann@web.de>
Co-authored-by: M <mikael.hargbo+gitlab@gmail.com>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Co-authored-by: Venilson Carneiro <venilsoncarneiro@pm.me>
Co-authored-by: aezjrareareare <jeromechaland@riseup.net>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_BR/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
Translation: OnionShare/Doc - Tor
2021-12-10 03:52:16 +01:00
Saptak S
a10ea04b32 Reload settings in connection tab when tor settings tab closed 2021-12-09 14:38:11 +05:30
Saptak S
940be6b8e2 Fixes from_autoconnect check from MainWindow 2021-12-09 14:07:25 +05:30
Saptak S
0fcd189db3 Opens connect tab if persistent tab is there 2021-12-09 03:43:19 +05:30
Saptak S
af9c25d9e7 Dont start tor if torsettingstab opened from autoconnect 2021-12-09 03:26:15 +05:30
Saptak S
99e683a6d6 Don't show autoconnect tab if local only 2021-12-09 03:15:21 +05:30
Micah Lee
95a82c62dc Make automatic detection flip through country names while it's running meek 2021-12-06 20:54:03 -08:00
Micah Lee
d512ce5743 Merge branch 'mig5-censorship_automatically_attempt_and_reconnect' into 1422_autodetect_location 2021-12-06 20:11:41 -08:00
Micah Lee
01d44fd10f Add country dropdown 2021-12-06 20:01:28 -08:00
Micah Lee
a7c54a64e7 Oops, default connect_timeout should still be 120s 2021-12-06 19:42:43 -08:00
Micah Lee
20dd579e59 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
f8ef7d3ac2 Move the first launch widgets into AutoConnectFirstLaunchWidget 2021-12-05 15:36:23 -08:00
Micah Lee
7a3dd3570f Remove stretch from TorConnectionWidget so it takes the full width 2021-12-05 15:14:21 -08:00
Micah Lee
c43a616ff2 Delete the TorConnectionDialog 2021-12-05 15:12:18 -08:00
Micah Lee
33e0b549a8 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
16c6a9f89d Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08:00
Micah Lee
e4aad471e5 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
16e7aa2755 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
6717ac3cf9 Merge pull request #1475 from onionshare/1470_tempfiles
Stop storing temporary files in /tmp
2021-12-03 07:56:20 -08:00
Saptak S
03890f6e5e Fixes CLI tests 2021-12-03 20:03:22 +05:30
Saptak S
94f9251076 Fix window title in quickstart 2021-12-03 19:53:00 +05:30
Saptak S
673ee74f5a Shows the Main window before starting to connect to Tor on autoconnect enabled 2021-12-03 19:30:20 +05:30
Saptak S
acc961f582 Adds autoconnect settings in tor settings tab 2021-12-03 19:02:41 +05:30