Commit Graph

173 Commits

Author SHA1 Message Date
Micah Lee
695fe5924a
Adjust file selection labels 2021-05-26 09:24:15 -07:00
Micah Lee
b181028931
Change MinimumWidthWidget to MinimumSizeWidget, and use it for height in chat mode 2021-05-25 17:18:31 -07:00
Micah Lee
40919dca6f
Merge branch 'develop' into 1347_micah_scroll_options 2021-05-25 17:08:19 -07:00
Micah Lee
c682b7ec01
Merge branch 'fix_405_error_and_other_methods' of https://github.com/mig5/onionshare into mig5-fix_405_error_and_other_methods 2021-05-25 16:27:26 -07:00
Micah Lee
8a84e7a771
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-05-20 11:30:42 -04:00
Micah Lee
dc7b80e2ef
Make ModeSettingsWidget a scroll area, and adjust all the stretches 2021-05-16 11:39:20 -04:00
Micah Lee
e3d0376b5a
Change Tor Browser URLs 2021-05-16 11:06:37 -04:00
nocturnalfilth
fee61fdc5d
Translated using Weblate (Dutch)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nl/
2021-05-14 15:32:02 +02:00
Miguel Jacq
00473eaef6
Prevent usernames in Chat mode of length 128 chars or more 2021-05-14 10:44:14 +10:00
Xosé M
8ba932e73f
Translated using Weblate (Galician)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/gl/
2021-05-13 16:32:04 +02:00
Panagiotis Vasilopoulos
60cdaffe83
Translated using Weblate (Greek)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/el/
2021-05-13 16:32:04 +02:00
Hosted Weblate
437547eb30
Translated using Weblate (Greek)
Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (German)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Russian)

Currently translated at 98.2% (55 of 56 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (German)

Currently translated at 100.0% (56 of 56 strings)

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

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

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

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

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

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

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

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

Translated using Weblate (Greek)

Currently translated at 100.0% (32 of 32 strings)

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

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

Translated using Weblate (Greek)

Currently translated at 94.6% (53 of 56 strings)

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

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

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

Translated using Weblate (German)

Currently translated at 83.9% (47 of 56 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (32 of 32 strings)

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

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

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

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

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
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: Iris S <iris.sousouni@protonmail.com>
Co-authored-by: Lukas <lukas@fuchtmann.net>
Co-authored-by: Michael Breidenbach <leahc@tutanota.com>
Co-authored-by: Mr.Grin <grin-singularity@tutanota.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Co-authored-by: Peter L <peter.ludikovsky@gmail.com>
Co-authored-by: Santiago Sáenz <smezaqs@gmail.com>
Co-authored-by: Saptak Sengupta <saptak013@gmail.com>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Co-authored-by: psychopomp9 <deadsober@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/de/
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/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
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/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/el/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Install
2021-05-11 22:47:40 +02:00
Hosted Weblate
b2d57ff787
Translated using Weblate (Greek)
Currently translated at 100.0% (32 of 32 strings)

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

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

Translated using Weblate (Greek)

Currently translated at 94.6% (53 of 56 strings)

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

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

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

Translated using Weblate (German)

Currently translated at 83.9% (47 of 56 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (32 of 32 strings)

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

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

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

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: Iris S <iris.sousouni@protonmail.com>
Co-authored-by: Michael Breidenbach <leahc@tutanota.com>
Co-authored-by: Mr.Grin <grin-singularity@tutanota.com>
Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Co-authored-by: Peter L <peter.ludikovsky@gmail.com>
Co-authored-by: Santiago Sáenz <smezaqs@gmail.com>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
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-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/es/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Features
2021-05-11 16:30:12 +02:00
Miguel Jacq
3394571fad
Add the 'Test 405 HTTP response for bad methods' test to the Chat mode GUI tests, which uncovered the exception that the previous commit fixes 2021-05-11 08:41:56 +10:00
Hosted Weblate
db5bc1ea10
Merge branch 'origin/develop' into Weblate. 2021-05-11 00:38:57 +02:00
Hosted Weblate
b7c4246493
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

Translated using Weblate (Indonesian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (56 of 56 strings)

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

Added translation using Weblate (Indonesian)

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

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

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

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

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

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

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

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

Added translation using Weblate (Indonesian)

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Algustionesa Yoshi <algustionesa@gmail.com>
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: Jonas Matisen <hdsumo@protonmail.ch>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Robert Obryk <robryk@gmail.com>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/uk/
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-index/id/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/nb_NO/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
2021-05-11 00:38:55 +02:00
Micah Lee
9687db6b47
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-05-10 15:38:02 -07:00
Miguel Jacq
a066c871a9
Merge branch 'develop' into fix_405_error_and_other_methods 2021-05-11 08:15:35 +10:00
Miguel Jacq
dc4eaffa97
Website mode doesn't need to support POST as a method 2021-05-11 08:14:49 +10:00
Miguel Jacq
b39162f33c
Add tests for Chat, and fix the server_status message bar when in Chat mode 2021-05-10 15:05:16 +10:00
Hosted Weblate
09280a7ebd
Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Indonesian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (56 of 56 strings)

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

Added translation using Weblate (Indonesian)

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

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

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

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

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

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

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

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

Added translation using Weblate (Indonesian)

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Algustionesa Yoshi <algustionesa@gmail.com>
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: Robert Obryk <robryk@gmail.com>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/uk/
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-index/id/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Index
2021-05-10 06:27:23 +02:00
Miguel Jacq
30f53267df
Fix receive mode test 2021-05-10 11:42:13 +10:00
Miguel Jacq
2618e89eda
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
Micah Lee
3656c3508c
Fix Windows and Mac build scripts 2021-05-05 20:39:14 -07:00
Micah Lee
cb1e03db04
Downgrade pyside2 to 5.15.1 to see if tests pass 2021-05-05 11:04:53 -07:00
Micah Lee
5a37f38d4b
Update tor 2021-05-04 20:26:21 -07:00
Micah Lee
b6d86a8e12
Change version to 2.3.2.dev1 2021-05-04 20:21:10 -07:00
Micah Lee
cab96f3e39
Merge branch 'develop' into version-2.3.2 2021-05-04 20:14:45 -07:00
Micah Lee
0c4aa645cb
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-05-04 20:13:09 -07:00
Micah Lee
479b01b66b
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
49a1e2890b
Fix call to web.cleanup() when closing a tab that has a running share 2021-05-04 16:48:42 +10:00
Miguel Jacq
c6ccd4de57
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
d8801ff061
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
04019389da
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
5d4966cd09
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
659ed83853
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
bbbe53b345
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
5345eadaec
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
Micah Lee
7554d0e3fd
Test sending messages in GUI receive mode 2021-05-02 14:51:33 -07:00
Micah Lee
ce7f676527
Fix GUI tests 2021-05-02 14:34:09 -07:00
Micah Lee
ce6b28dca3
Click "Read Message" opens message in default text editor 2021-04-30 17:20:14 -07:00
Micah Lee
17966471ab
GUI displays "Read Message" button when a receive mode submission includes a message 2021-04-30 17:16:02 -07:00
Micah Lee
47e02d781a
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
b51c0ee046
Fix flake8 warnings in desktop 2021-04-30 11:38:23 -07:00
Micah Lee
343e1be3d0
Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -07:00
Saptak Sengupta
34554414e9
Merge pull request #1334 from micahflee/ascii_art
Prettier ASCII art
2021-04-29 19:19:52 +05:30
Micah Lee
0de27f9775
WIP: Starting to make messages in receive mode work in GUI 2021-04-28 19:10:26 -04:00
Saptak Sengupta
059a4425bd
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
ee3761af6c
Move graphical banner into common, and display it in GUI too 2021-04-26 19:29:18 -07:00
Micah Lee
e48878e558
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