Commit Graph

3904 Commits

Author SHA1 Message Date
Micah Lee
3464a24e69
Add logging 2021-11-12 16:21:17 -08:00
Micah Lee
f00d2cc0b0
Switch stem with cepa, and update CLI packages 2021-11-12 15:47:33 -08:00
Micah Lee
58dd3c73f9
Delete flatpak from here since it is managed in a separate repo 2021-11-11 17:38:38 -08:00
Miguel Jacq
80e7316249
Allow website mode to stop even if people have viewed it 2021-11-12 11:58:48 +11:00
Miguel Jacq
f5e4d70731
Remove unnecessary censorship class invocation, which breaks CLI mode right now.
Fix Website and Chat modes with auto-stop timer in CLI mode.

Add 'poetry run onionshare-cli' tests to CircleCI to catch CLI runtime bugs.
2021-11-12 11:43:09 +11:00
Miguel Jacq
dbae142a87
Resolve conflicts in locale 2021-11-12 10:56:15 +11:00
Micah Lee
da94b92d18
Merge branch 'censorship' into develop 2021-11-11 14:42:14 -08:00
Micah Lee
6a8766671b
Merge pull request #1449 from onionshare/1442_settings_tabs
Switch Settings and Tor Settings dialogs into tabs
2021-11-11 14:41:49 -08:00
Hosted Weblate
a80cd7f2a6
Translated using Weblate (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/

Added translation using Weblate (Indonesian)

Translated using Weblate (Polish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (58 of 58 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 89.2% (25 of 28 strings)

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (French)

Currently translated at 100.0% (23 of 23 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 95.8% (23 of 24 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 3.3% (1 of 30 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (French)

Currently translated at 17.3% (4 of 23 strings)

Translated using Weblate (French)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (French)

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (French)

Currently translated at 47.0% (8 of 17 strings)

Translated using Weblate (French)

Currently translated at 47.0% (8 of 17 strings)

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (French)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (French)

Currently translated at 96.6% (29 of 30 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 87.9% (51 of 58 strings)

Translated using Weblate (French)

Currently translated at 96.7% (30 of 31 strings)

Translated using Weblate (French)

Currently translated at 13.0% (3 of 23 strings)

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

Translated using Weblate (Polish)

Currently translated at 75.8% (44 of 58 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 70.6% (41 of 58 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Polish)

Currently translated at 67.8% (19 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Polish)

Currently translated at 90.9% (10 of 11 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (27 of 27 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 88.8% (24 of 27 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Spanish)

Currently translated at 81.0% (47 of 58 strings)

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: EdwardCage <contact@edwardcage.pro>
Co-authored-by: Gabriel Cardoso <g.cardoso@mailfence.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Rafał Godek <p3run@tutanota.com>
Co-authored-by: Raul <rgarciag@tutanota.com>
Co-authored-by: Username1234567890 <danarauz@protonmail.com>
Co-authored-by: Yukik4ze <hikarukireina@gmail.com>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Co-authored-by: aezjrareareare <jeromechaland@riseup.net>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_PT/
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-11-11 14:31:22 +01:00
Micah Lee
d88005d550
When Tor is disconnected, hide the Check for Updates button in the Settings tab 2021-11-09 18:57:07 -08:00
Micah Lee
73b570f4b4
Check if Tor is connected instead of if the Tor controller is authenticated 2021-11-09 18:49:23 -08:00
Miguel Jacq
627c185fcb
Support sending a custom Content-Security-Policy header in Website mode 2021-11-08 16:31:05 +11:00
Micah Lee
9430439b5f
Fix meek-client in Windows 2021-11-07 12:12:12 -08:00
Micah Lee
472e383b7d
Fix settings error color in dark mode 2021-11-06 21:02:28 -07:00
Micah Lee
f915f911c6
Make autoupdate group in Settings Tab centered 2021-11-06 20:55:50 -07:00
Micah Lee
0e2d2a1e46
macOS seems to have close buttons that work on their own now 2021-11-06 20:52:05 -07:00
Micah Lee
fa70368a8d
Copy snowflake-client from macOS Tor Browser 2021-11-06 20:46:52 -07:00
Micah Lee
4e62b8831a
Get tor from Tor Browser 11.0a10 on all platforms 2021-11-06 20:42:51 -07:00
Micah Lee
1b259a208d
Merge pull request #1450 from mig5/fix_persistent_chat_mode_load
Correctly load a persistent Chat tab
2021-11-06 23:26:55 -04:00
Micah Lee
7448f76f2e
Respect --local-only 2021-11-06 20:17:02 -07:00
Micah Lee
7b162b4bc7
In all modes, if Tor isn't connected display a message instead of showing the mode content 2021-11-06 20:05:20 -07:00
Micah Lee
7da1ac187b
Remove sticky "Disconnected from Tor" message (patch thanks to @mig5) 2021-11-06 19:20:36 -07:00
Max1Truc
e9ef087c8f Fix "KeyError: 'fr'" in desktop strings.py 2021-10-27 11:47:17 +02:00
Micah Lee
de3c95cc50
Set self.torr_settings_tab to None _before_ deleting the tab 2021-10-26 22:12:22 -07:00
Micah Lee
bde94d37fc
Don't delete any custom bridges that are set 2021-10-26 22:09:24 -07:00
Micah Lee
706a04242f
Show message in Tor Settings tab if any tabs have active services, to prevent the user from changing settings without stopping them 2021-10-26 22:00:39 -07:00
Micah Lee
53c192665b
Refactor Tor Settings tab to use the new settings 2021-10-26 21:33:58 -07:00
Micah Lee
9515fe6aaf
Remove all references to old settings 2021-10-26 21:07:38 -07:00
Micah Lee
2b3b6d7635
Update bridge related settings in Settings, and use those new settings in Onion 2021-10-26 21:06:05 -07:00
Miguel Jacq
577b2a7f67
Correctly load a persistent Chat tab 2021-10-25 15:01:12 +11:00
Micah Lee
54f4f2a53f
Oops, fix meek-client path 2021-10-24 20:26:36 -07:00
Micah Lee
44f4053603
Make meek debug log show host:port on one line 2021-10-24 20:23:55 -07:00
Micah Lee
e33fc49815
Merge branch 'censorship' into 1442_settings_tabs 2021-10-24 20:23:38 -07:00
Micah Lee
10147b6c6b
Merge pull request #1446 from mig5/censorship_tor_api_endpoints
Censorship tor api endpoints and Meek client support for domain fronting
2021-10-24 20:16:24 -07:00
Micah Lee
e6c7cc989f
Only show bridge error if connection type is bundled 2021-10-24 20:03:19 -07:00
Micah Lee
f784870c76
Implement blank settings_have_changed in SettingsTab and TorSettingsTab 2021-10-24 19:53:37 -07:00
Micah Lee
20a0d7f25b
Fix TabWidget to stop confusing tab_id and index 2021-10-24 19:31:53 -07:00
Micah Lee
4897015ad7
Rename tor_connection_dialog.py to tor_connection.py 2021-10-24 18:57:14 -07:00
Micah Lee
1420b28d23
Saving tor settings connects to tor in the widget, not the dialog. And erros are displayed in a label, not an alert 2021-10-24 18:55:25 -07:00
Miguel Jacq
54bfca5f4b
Move debug log call in meek.start() 2021-10-25 11:56:33 +11:00
Miguel Jacq
29d5928624
Merge branch 'censorship' into censorship_tor_api_endpoints 2021-10-25 11:46:30 +11:00
Miguel Jacq
8543d215dc
Fix-ups for detecting if the meek binary doesn't exist. Pass the GUI's get_tor_paths down to the CLI when instantiating Meek object 2021-10-25 11:45:50 +11:00
Micah Lee
c3eeaefb9f
In CLI get_tor_path, stop trying to look in resources first 2021-10-24 17:35:24 -07:00
Miguel Jacq
6f0674afd8
React to Meek client binary not found 2021-10-25 11:12:38 +11:00
Miguel Jacq
3a715346af
Add cleanup method for the Meek class to kill any meek-client subprocesses once done. Hide stderr from the CLI printed output 2021-10-25 10:44:38 +11:00
Miguel Jacq
c81862130b
Fix comment about meek-client.exe subprocess 2021-10-25 10:28:06 +11:00
Micah Lee
7cd1a53d00
Merge branch 'censorship' into 1442_settings_tabs 2021-10-24 13:04:58 -07:00
Micah Lee
dbeb0f2194
Add script to compile meek-client and copy into resources 2021-10-24 11:48:18 -07:00
Benjamin Erhart
f3f25166d4 Fixed send.js table sorting. Looks like it stopped working a long time ago. 2021-10-22 12:21:22 +02:00
Miguel Jacq
cf7ec0676d
Merge branch 'censorship' into censorship_tor_api_endpoints 2021-10-21 15:16:34 +11:00