493 Commits

Author SHA1 Message Date
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
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
4e2bf199d2 Add some todo comments 2021-12-12 10:17:09 -08:00
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
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
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
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
Saptak S
1e03dd0df9 Reflects the autoconnect status on toggle checkbox on opening 2021-12-03 18:34:53 +05:30
Saptak S
2cc8cf59f3 Creates a toggle checkbox 2021-12-03 18:27:03 +05:30
Micah Lee
5322d4f037 Merge branch 'develop' into 1470_tempfiles 2021-12-01 20:37:45 -08:00
Micah Lee
2ff5f53c69 Explicitly cleanup temp files and dirs 2021-12-01 20:34:54 -08:00
Miguel Jacq
2040555134 Fix conflicts 2021-11-30 10:54:17 +11:00
Miguel Jacq
d688f63dba 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
dc717cad30 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
580ac49a88 Opens TorSettingsTab when clicked on network settings 2021-11-30 03:23:16 +05:30
Saptak S
e1861893c7 Corrects the auto connect with checkbox logic 2021-11-30 03:11:29 +05:30
Saptak S
3d2d73d975 Resize components in the connection tab 2021-11-30 03:08:56 +05:30
Saptak S
18a93b2f7b Updates autoconnect to use tab widget 2021-11-30 02:48:20 +05:30
Hosted Weblate
01aa8a36f3 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
47817a3714 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
05bfd265b7 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
57bec79c61 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
6972e58f9d Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-11-23 20:29:44 -08:00
Micah Lee
aa72b7e65a Support sending a custom Content-Security-Policy header in Website mode 2021-11-23 18:44:14 -08:00
Miguel Jacq
80276fce8d Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them 2021-11-23 15:28:40 +11:00
Saptak S
b20e3991cc Merge branch 'censorship' of github.com:onionshare/onionshare into auto-connect-ui 2021-11-19 18:29:47 +05:30
Micah Lee
24390f97ee Merge branch 'advisory-fix-1' into ros-fixes 2021-11-18 19:16:14 -08:00
Micah Lee
c29ffdf9fa Merge branch 'advisory-fix-1' of github.com:onionshare/onionshare-ghsa-jh82-c5jw-pxpc into ros-fixes 2021-11-18 19:16:00 -08:00
Micah Lee
d71db90ce9 Merge branch 'advisory-fix-1' of github.com:onionshare/onionshare-ghsa-h29c-wcm8-883h into ros-fixes 2021-11-18 19:13:41 -08:00
Micah Lee
252519115b Don't try adding a folder if the user clicks cancel, and add additional logging 2021-11-16 18:15:07 -08:00