Commit Graph

4149 Commits

Author SHA1 Message Date
Miguel Jacq
1fa82818c3
Add meek_client stuff to CLI tests 2021-10-20 15:55:24 +11:00
Miguel Jacq
242312ba82
Fix conflicts from snowflake merge, and fix detection of lack of meek in Moat BridgeDB request 2021-10-20 15:52:29 +11:00
Micah Lee
596c819957
Allow custom snowflake bridges 2021-10-19 08:53:52 -07:00
Micah Lee
3aa7902695
Don't print Bridge lines in torrc for blank lines 2021-10-19 08:50:33 -07:00
Micah Lee
1f5dcd1689
Ask BridgeDB for obfs4 and snowflake bridges, because that is what OnionShare supports 2021-10-19 08:41:40 -07:00
Micah Lee
072f90df4f
Move Submit button next to the input field in MoatDialog 2021-10-18 18:18:04 -07:00
Miguel Jacq
bd6390042f
Try to bail if we are not in local-only mode and couldn't start the Meek client 2021-10-19 11:46:21 +11:00
Miguel Jacq
5b4d77c363
Refactor to CensorshipCircumvention and Meek classes. Use Meek domain fronting when requesting bridges in frontend 2021-10-19 11:36:03 +11:00
Miguel Jacq
bcf697574e
merge 1442_snowflake branch and fix conflicts 2021-10-19 09:49:46 +11:00
Miguel Jacq
0989f2b133
Move Censorship stuff into its own class. Early attempt at subprocessing out to meek (unfinished) 2021-10-18 17:17:47 +11:00
Micah Lee
3b6b74f649
Rearrange moat dialog so pressing enter submits 2021-10-17 15:59:07 -07:00
Micah Lee
a89412e79d
Make it so when selecting moat tor actually uses those bridges, and improve tor settings dialog 2021-10-17 15:47:11 -07:00
Micah Lee
40cb55894a
Totally change the Tor Settings dialog to even more closely resemble Tor Browser 2021-10-17 15:34:42 -07:00
Micah Lee
01b51e94bf
Save/load moat bridges to/from settings 2021-10-17 14:26:56 -07:00
Micah Lee
2212589625
Actually get bridges from moat 2021-10-17 14:02:11 -07:00
Micah Lee
6bf839f826
In some distros, LD_LIBRARY_PATH must be explicitly set for tor to work 2021-10-17 12:16:03 -07:00
Micah Lee
2161c58a4a
If connecting to Tor fails, open the correct TorSettings dialog 2021-10-17 12:15:25 -07:00
Micah Lee
9f9328fd1f
Update linux Tor Browser URL and hash 2021-10-17 12:15:01 -07:00
Micah Lee
67126a3497
Start making MoatDialog 2021-10-15 16:53:40 -07:00
Micah Lee
168e3057ae
Start implementing moat 2021-10-15 14:44:09 -07:00
Micah Lee
d1ae4e454f
Simplify variable names in TorSettingsDialog, and start adding UI for moat 2021-10-15 14:25:18 -07:00
Micah Lee
66a744c9da
Improve the look of the Settings dialog, displaying the version and help link 2021-10-15 14:14:12 -07:00
Micah Lee
64973a00ec
Fix CLI tests 2021-10-15 09:21:58 -07:00
Micah Lee
2ffd15ae82
Move ClientTransportPlugin into normal torrc file, and fix snowflake support 2021-10-15 09:17:03 -07:00
Miguel Jacq
c9fa2308a7
Add early (non-domain-fronted!) methods for interacting with the planned Tor censorship circumvention moat endpoints.
This is based on loose specs from https://gitlab.torproject.org/tpo/anti-censorship/bridgedb/-/issues/40025
2021-10-15 14:58:32 +11:00
a1346054
cea34725f1
Fix whitespace issues
* make sure files contain a final newline
* use consistent indentation
* trim excess whitespace
* trim trailing whitespace
2021-10-14 21:48:12 +00:00
a1346054
601e215565
Fix spelling 2021-10-14 21:48:12 +00:00
a1346054
f827d5232d
Fix shellcheck warnings 2021-10-14 21:48:11 +00:00
a1346054
252ba46d5c
Use HTTPS link instead of HTTP 2021-10-14 21:48:11 +00:00
a1346054
2fd2f2939c
Use license file from gnu.org
Downloaded from:
https://www.gnu.org/licenses/gpl-3.0.txt

and then the previous header was manually added.
2021-10-14 21:48:04 +00:00
Micah Lee
39d624e923
Allow selecting a snowflake bridge, and make it try to use the snowflake bridge 2021-10-13 21:11:56 -07:00
Micah Lee
f2dbc97285
Improve layout of SettingsDialog 2021-10-13 20:34:11 -07:00
Micah Lee
67d61d2c53
Move test tor button to the bottons layout at the bottom 2021-10-13 20:27:17 -07:00
Micah Lee
496adf01d2
When you click "Test Connecting to Tor" in Tor settings, it now uses the TorConnectionDialog 2021-10-13 20:14:38 -07:00
Micah Lee
c4a038720b
Change some Tor settings language, and combine various settings into a single "Tor settings" group box 2021-10-13 19:49:51 -07:00
Micah Lee
17beca1692
Open Tor settings when canceling connecting to tor 2021-10-13 19:19:53 -07:00
Micah Lee
fda4f5ff26
Rip out Tor settings from SettingsDialog 2021-10-12 21:24:18 -07:00
Micah Lee
4b976e538f
Rip out non-Tor settings from TorSettingsDialog 2021-10-12 21:19:48 -07:00
Micah Lee
76659bdc6e
Start splitting settings into normal settings and Tor settings 2021-10-12 21:09:58 -07:00
Micah Lee
229da0aaab
Make get_tor_paths work properly now that in linux the tor binaries are bundled too 2021-10-11 20:45:28 -07:00
Micah Lee
343a8cccc1
Update dependencies 2021-10-11 20:44:42 -07:00
Micah Lee
3e61e8dd37
Write Linux script to download Tor Browser and extract binaries 2021-10-11 20:17:26 -07:00
Micah Lee
357e3efead
Merge pull request #1441 from onionshare/update-weblate-script
Update weblate script to make the output more
2021-10-11 19:01:08 -07:00
Micah Lee
8e59cc6b9b
Update weblate script to make the output more 2021-10-03 14:09:07 -07:00
Hosted Weblate
7369d2d281
Translated using Weblate (Turkish)
Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (58 of 58 strings)

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

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

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/tr/
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 - Tor
2021-10-02 14:37:06 +02:00
Micah Lee
33da57613a
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-10-01 14:59:43 -07:00
Hosted Weblate
a7975f65b8
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 100.0% (8 of 8 strings)

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

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Deleted translation using Weblate (Portuguese)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (2 of 2 strings)

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

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

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

Added translation using Weblate (Portuguese)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (11 of 11 strings)

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

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

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

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Mitchael Toribio <unknowtime@protonmail.com>
Co-authored-by: Rohan <Rohanbagade250@gmail.com>
Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Username1234567890 <danarauz@protonmail.com>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Co-authored-by: emma peel <emma.peel@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pt/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/pt/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pt/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/pt/
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
2021-09-30 06:32:02 +02:00
Micah Lee
5de48bba6e
Change all version to 2.4, update languages, rebuild docs, update tor from Tor Browser 2021-09-26 11:41:01 -07:00
Hosted Weblate
62c11f1683
Translated using Weblate (Bengali)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/bn/

Co-authored-by: Saptak Sengupta <saptak013@gmail.com>
2021-09-26 20:12:39 +02:00
Hosted Weblate
5681ba4439
Translated using Weblate (Russian)
Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (28 of 28 strings)

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

Translated using Weblate (Spanish)

Currently translated at 87.5% (21 of 24 strings)

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

Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/ru/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Tor
2021-09-25 14:36:12 +02:00