Commit Graph

4165 Commits

Author SHA1 Message Date
Micah Lee
40b4d8f84c
Allow onionshare-cli binary made by cx_Freeze find tor binaries in macOS 2021-12-22 13:08:01 -08:00
Micah Lee
ba5a746e93
Support cx_Freeze in macOS 2021-12-22 12:04:44 -08:00
Micah Lee
ec7fa4ef16
Solve obnoxious cx_Freeze issue that broke websockets by enforcing async_mode=gevent, and including the correct modules in the build 2021-12-21 16:55:59 -08:00
Micah Lee
3da0b7a3ea
Enable websocket logs in verbose mode 2021-12-21 15:01:35 -08:00
Micah Lee
7e55e8e816
Fix permission denied error in Windows, which was introduced using tempfile.NamedTemporaryFile, by using a TemporaryDirectory instead 2021-12-21 14:28:23 -08:00
Micah Lee
f0d40beb77
Start implementing cx_Freeze 2021-12-21 14:16:10 -08:00
Micah Lee
f4fb212dbc
Fix finding tor binary paths in Windows 2021-12-21 14:15:52 -08:00
Micah Lee
bd12949652
Update python dependencies 2021-12-21 14:15:20 -08:00
Miguel Jacq
a335e9738c
Connect to the emitted TorConnectionDialog success to trigger tab update (fixes persistent tab update) 2021-12-21 14:11:22 +11:00
Micah Lee
4ab5e0003c
Merge pull request #1489 from mig5/meek_stdout_cleanup_fix
Don't enqueue stdout from Meek subprocess in a Thread
2021-12-20 12:13:21 -08:00
Micah Lee
d7269e80f7
Merge pull request #1492 from SaptakS/autoconnect-dark
Fixes dark mode for initial autoconnect tab
2021-12-20 12:05:10 -08:00
Micah Lee
df27c22e12
Slightly tweak wording 2021-12-20 11:47:58 -08:00
Saptak S
16d03ac377
Fixes dark mode for initial autoconnect tab 2021-12-20 16:57:08 +05:30
Miguel Jacq
24fa10ea4f
Show/hide widgets more aggressively. Different error message on CensorshipCircumventionError. 2021-12-20 15:17:40 +11:00
Miguel Jacq
eb1f5c0d4a
Show an error in the AutoConnect tab if the CensorshipCircumventionError class is raised 2021-12-20 14:51:55 +11:00
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
868b1fa2b6
Update release docs, and remove appimage script that didn't work 2021-12-19 17:42:11 -08:00
Micah Lee
b03a9bf610
Update snapcraft 2021-12-19 17:36:45 -08:00
Micah Lee
1d53712544
Continue switching from briefcase to poetry 2021-12-19 17:33:11 -08:00
Micah Lee
8dfbba736d
Move the rest of the desktop files out of the src folder 2021-12-19 17:33:00 -08:00
Micah Lee
5aa5c9ebcc
Switch from briefcase to poetry 2021-12-19 17:17:54 -08:00
Micah Lee
709e4ae3c8
Move desktop code from desktop/src/onionshare to just desktop/onionshare 2021-12-19 17:17:04 -08:00
Micah Lee
b949234e49
Merge pull request #1491 from mig5/force_js_mimetype
Force javascript MIME type to work around silly operating system MIME databases
2021-12-19 16:08:09 -08: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
Hosted Weblate
43e59cd8c1
Translated using Weblate (Japanese)
Currently translated at 35.2% (6 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Japanese)

Currently translated at 11.7% (2 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 90.9% (30 of 33 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (60 of 60 strings)

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

Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/ru/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Tor
2021-12-18 06:52:39 +01: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
99023a8702
Test javascript MIME type in different modes 2021-12-17 17:59:34 +11:00
Miguel Jacq
e6a17bc743
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
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
2689f35635
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
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
4b18cb7d0f
Merge branch 'develop' of github.com:micahflee/onionshare into develop 2021-12-12 13:03:47 -08:00
Micah Lee
805998e962
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-12-12 13:03:32 -08:00
Micah Lee
d304005fce
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
c101536d90
Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 11:18:59 -08:00