258 Commits

Author SHA1 Message Date
Miguel Jacq
dbdb04a3bf Fix receive mode test 2021-05-10 11:42:13 +10:00
Miguel Jacq
92027345d0 Register the 405 error handler properly. Enforce the appropriate methods for each route (GET or POST only, with OPTIONS disabled). Add tests for invalid methods. Add a friendlier 500 internal server error handler 2021-05-10 11:23:44 +10:00
Miguel Jacq
d86ce6c9af Rename things with client_auth_v3_ in the name because there is only one type of client_auth now that v2 is gone. 2021-05-06 18:02:40 +10:00
Miguel Jacq
5ed2188156 GUI tests for v3 Client Auth (albeit only in local mode, so kind of stubbed 2021-05-06 15:24:26 +10:00
Miguel Jacq
084b6c4867 Allow setting a 'fake' ClientAuth in local-only mode - which will help with tests 2021-05-06 15:06:36 +10:00
Miguel Jacq
80cc1f43e8 merge from develop and fix conflicts, update poetry 2021-05-06 14:30:29 +10:00
Miguel Jacq
286d7703d6 Remove v2 legacy onion support, and its corresponding client auth functionality. Update the v3 Client Auth to take its place in settings 2021-05-06 14:26:00 +10:00
Micah Lee
b3a820a5f1 Fix Windows and Mac build scripts 2021-05-05 20:39:14 -07:00
Micah Lee
4914fe1878 Downgrade pyside2 to 5.15.1 to see if tests pass 2021-05-05 11:04:53 -07:00
Micah Lee
e89fa6c977 Update tor 2021-05-04 20:26:21 -07:00
Micah Lee
ba56cd37b1 Change version to 2.3.2.dev1 2021-05-04 20:21:10 -07:00
Micah Lee
3779adee43 Merge branch 'develop' into version-2.3.2 2021-05-04 20:14:45 -07:00
Micah Lee
40ae286d51 Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-05-04 20:13:09 -07:00
Micah Lee
15f87666e7 Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into version-2.3.2 2021-05-04 20:12:34 -07:00
Miguel Jacq
4d1a606ac7 Fix call to web.cleanup() when closing a tab that has a running share 2021-05-04 16:48:42 +10:00
Miguel Jacq
7092e4ebee Remove unnecessary cleanup_filenames appending in the CompressThread. Ensure we also remove the temp dir that a Zip file is made within, by setting the temp dir in ZipWriter as a variable 2021-05-04 16:42:23 +10:00
Miguel Jacq
484aa23477 move self.get_mode().web.cleanup() inside the if self.get_mode() conditional, in desktop 2021-05-04 16:30:38 +10:00
Miguel Jacq
ff5e73a2ae Move the cleanup() function from Onionshare class to Web class, so that the list of files to be cleaned up is always available (needed for website temp files) 2021-05-04 16:21:42 +10:00
Micah Lee
60732a0f56 Version bump to 2.3.2 and update changelog, and upgrade PySide to 5.15.2 2021-05-03 18:50:01 -07:00
Micah Lee
e48b300ff9 Merge branch 'reinstate_tor_protocol_error_alert_string' of https://github.com/mig5/onionshare into mig5-reinstate_tor_protocol_error_alert_string 2021-05-03 18:20:02 -07:00
Miguel Jacq
9f40daef81 Make the error_tor_protocol_error the same string that it used to be, so that translations are still correct 2021-05-04 10:12:15 +10:00
Miguel Jacq
63717c06b0 Re-instate the locale key string error_tor_protocol_error, for surfacing Alert dialogs in the UI when Stem throws a ProtocolError back from Tor 2021-05-04 10:04:33 +10:00
Miguel Jacq
4aa6d6f3ec Early support for ClientAuth with v3 onions 2021-05-04 10:02:02 +10:00
Micah Lee
50027a6327 Test sending messages in GUI receive mode 2021-05-02 14:51:33 -07:00
Micah Lee
ddbd7a2fb9 Fix GUI tests 2021-05-02 14:34:09 -07:00
Micah Lee
7e1c4b3764 Click "Read Message" opens message in default text editor 2021-04-30 17:20:14 -07:00
Micah Lee
34b791abcf GUI displays "Read Message" button when a receive mode submission includes a message 2021-04-30 17:16:02 -07:00
Micah Lee
031b5c9e92 If a text message is received, save it in the ReceiveModeRequest object, and add includes_text=True to REQUEST_STARTED 2021-04-30 14:12:41 -07:00
Micah Lee
bf08e29162 Fix flake8 warnings in desktop 2021-04-30 11:38:23 -07:00
Micah Lee
754c7d96dd Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -07:00
Saptak Sengupta
ad93056a17 Merge pull request #1334 from micahflee/ascii_art
Prettier ASCII art
2021-04-29 19:19:52 +05:30
Micah Lee
ea17eacf43 WIP: Starting to make messages in receive mode work in GUI 2021-04-28 19:10:26 -04:00
Saptak Sengupta
8f9d21f783 Merge pull request #1327 from micahflee/1306_customization
Allow custom title for each onion service
2021-04-28 14:43:10 +05:30
Micah Lee
4f2ca21c9a Move graphical banner into common, and display it in GUI too 2021-04-26 19:29:18 -07:00
Micah Lee
552fa19c9d Rename "Title" to "Custom title", move it into advanced settings, and make whitespace title default to not setting a title 2021-04-25 17:49:06 -04:00
Hosted Weblate
ea4d08e3bd Translated using Weblate (Bengali)
Currently translated at 9.0% (1 of 11 strings)

Translated using Weblate (Bengali)

Currently translated at 100.0% (2 of 2 strings)

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

Added translation using Weblate (Bengali)

Added translation using Weblate (Bengali)

Added translation using Weblate (Bengali)

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

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
2021-04-25 01:31:52 +02:00
whew
e1266aec4b Update __init__.py 2021-04-24 10:01:33 +00:00
Micah Lee
d393d4f312 Add tooltips to tabs, so you can tell what even long titles are 2021-04-13 18:28:00 -04:00
Micah Lee
348fb4b284 Put the title and persistent options at the top of the options widget, above mode-specific options 2021-04-13 18:18:44 -04:00
Micah Lee
6aefd6fe64 Add custom title to GUI 2021-04-13 18:06:29 -04:00
Micah Lee
2e2e775125 Improve webhook label in GUI, improve webhook message that gets POSTed, and display webhook errors without verbose mode 2021-04-12 09:08:47 -07:00
Micah Lee
3a0d8bc4d4 Save state when unchecking webhook checkbox 2021-04-12 07:53:14 -07:00
Micah Lee
4d68f8ddc8 Add receive mode webhook to GUI 2021-04-11 21:16:18 -07:00
Micah Lee
8b2b283208 Merge pull request #1317 from akshgpt7/chore-refactor-issues
Refactor code quality issues
2021-04-11 11:37:42 -07:00
Micah Lee
16ce8510ec Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-04-10 21:29:08 -07:00
Hosted Weblate
4de40040dd Translated using Weblate (Italian)
Currently translated at 63.6% (14 of 22 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Italian)

Currently translated at 96.7% (30 of 31 strings)

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

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

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

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% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (29 of 29 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

Translated using Weblate (Croatian)

Currently translated at 66.6% (6 of 9 strings)

Translated using Weblate (Croatian)

Currently translated at 24.1% (7 of 29 strings)

Translated using Weblate (French)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

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

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

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

Translated using Weblate (Serbian (latin))

Currently translated at 50.0% (1 of 2 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Added translation using Weblate (Sinhala)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (22 of 22 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Agnes de Lion <belocurry@pm.me>
Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
Co-authored-by: Eduardo Addad de Oliveira <duduaddad@gmail.com>
Co-authored-by: Elton Viana Gonçalves da Luz <eltongoncalves94@hotmail.com>
Co-authored-by: Eric Camellini <eric.camellini@gmail.com>
Co-authored-by: Filipovic Dragan <filipovic@tutanota.com>
Co-authored-by: HelaBasa <R45XvezA@protonmail.ch>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jonatan Nyberg <jonatan.nyberg.karl@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: george k <norhorn@gmail.com>
Co-authored-by: rc <coluccini.riccardo@gmail.com>
Co-authored-by: x <hardwired1.0@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/hr/
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/hr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/it/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/it/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/it/
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 - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
Translation: OnionShare/Doc - Tor
2021-04-09 21:26:45 +02:00
Aksh Gupta
6805f6acae chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Miguel Jacq
cede51936b Fix the filename of the obfs4proxy binary on macOS 2021-03-05 13:34:56 +11:00
Micah Lee
f3ad19368e Update changelog, and also fix version in appdata.xml 2021-02-22 13:44:03 -08:00
Micah Lee
63fe021dcb Version bump to 2.3.1 2021-02-22 13:37:21 -08:00