Commit Graph

4076 Commits

Author SHA1 Message Date
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
Saptak S
98f6f3b7d7
Checks if username is ASCII string else throw an error 2021-11-30 01:19:29 +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
Miguel Jacq
546633ac62
remove import of requests module in Onion 2021-11-27 11:14:05 +11:00
Miguel Jacq
55c8ada6ef
Move the ability to use Tor vs Meek into the CensorshipCircumvention class so that we can use those endpoints over Tor elsewhere later 2021-11-27 10:35:25 +11:00
Micah Lee
bdd1f999bc
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-11-26 10:53:40 -08: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
Micah Lee
11a4ed05a6
Wait between weblate API requests to avoid hammering the server 2021-11-26 10:51:30 -08:00
Hosted Weblate
2a67f9a78f
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: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Weblate <noreply@weblate.org>
2021-11-26 02:19:36 +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
2e4dd03cdc
Merge pull request #1479 from onionshare/docs-2.4.1
Docs for 2.4.1
2021-11-23 20:26:02 -08:00
Micah Lee
27899a3655
Rebuild docs 2021-11-23 19:34:06 -08:00
Micah Lee
9ad87ea25e
Update documentation for 2.4.1 2021-11-23 19:33:21 -08:00
Micah Lee
a4985e7029
Support sending a custom Content-Security-Policy header in Website mode 2021-11-23 18:44:14 -08:00
Miguel Jacq
f8dd9547cd
Raise exception if the API didn't return bridges for a specific bridge type, or if the bridge type wasn't recognized 2021-11-23 15:36:41 +11:00
Miguel Jacq
19072503a9
Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them 2021-11-23 15:28:40 +11:00
Micah Lee
97fe219e21
Merge pull request #1 from onionshare/otf-5
Removes invisible whitespace characters from username in chat
2021-11-19 11:24:57 -08:00
Saptak S
3422364fa1
Merge branch 'censorship' of github.com:onionshare/onionshare into auto-connect-ui 2021-11-19 18:29:47 +05:30
Saptak S
2a68b5bce1
Removes invisible whitespace characters from username in chat 2021-11-19 15:25:10 +05:30
Micah Lee
b659eccfbf
Use a NamedTemporaryFile instead of TemporaryFile for streamed gzip files 2021-11-18 20:17:39 -08:00
Micah Lee
1d0d30458c
Merge pull request #1447 from tladesignz/develop
Fixed send.js table sorting.
2021-11-18 20:14:14 -08:00
Micah Lee
f5b60de2e6
Use high level tempfile classes that clean up after themselves 2021-11-18 20:03:18 -08:00
Micah Lee
092cbc12ce
Merge branch 'advisory-fix-1' into ros-fixes 2021-11-18 19:16:14 -08:00
Micah Lee
627f44c423
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
5f5b761fcf
Merge branch 'chat-session-handling' of github.com:onionshare/onionshare-ghsa-gjj5-998g-v36v into ros-fixes 2021-11-18 19:15:24 -08:00
Micah Lee
09d2c2a7f8
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
236bc33bc8
Don't try adding a folder if the user clicks cancel, and add additional logging 2021-11-16 18:15:07 -08:00
Micah Lee
221eb1cbac
Fix comment 2021-11-16 18:10:25 -08:00
Micah Lee
ec45a08054
Update snapcraft docs 2021-11-15 18:41:42 -08:00
Micah Lee
f40e5012e0
Change snapcraft grade to stable, and version bump to 2.4.1 in snapcraft 2021-11-15 18:30:10 -08:00
Micah Lee
267e9eb1e4
Exception handling on printing the banner 2021-11-15 18:16:10 -08:00
Micah Lee
a4db0d26c9
Fix for meek to working in snapcraft 2021-11-15 18:07:57 -08:00
Saptak S
8ec28da4fe
Fixes typo 2021-11-15 19:53:02 +05:30
Micah Lee
99c85f55e2
Fix bug that was preventing tor from connecting in snapcraft 2021-11-14 20:53:22 -08:00
Micah Lee
f09bb66425
Snap successfully builds meek-client, and WIP getting tor to connect 2021-11-14 17:52:40 -08:00
Micah Lee
0f63c89a59
Detect Flatpak via environment variable 2021-11-14 17:16:21 -08:00
Micah Lee
70248ed4a5
Upgrade to cepa 1.8.3 2021-11-14 16:24:36 -08:00
Micah Lee
6b521c152e
Show the alert on the the dragEnterEvent 2021-11-14 16:11:39 -08:00
Micah Lee
ab800c577a
More thoroughly remove drag and drop to prevent the drop label from getting created 2021-11-14 16:00:00 -08:00
Micah Lee
ad9cacd44a
Drag and drop string does not use filename 2021-11-14 15:49:30 -08:00
Micah Lee
3eb912bf5a
Move drag and drop logic into dropEvent 2021-11-14 15:46:20 -08:00
Micah Lee
bfce4b005c
Disable drag and drop in flatpak 2021-11-14 15:08:06 -08:00