Commit Graph

3758 Commits

Author SHA1 Message Date
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
Hosted Weblate
1c467e66da
Translated using Weblate (French)
Currently translated at 70.9% (22 of 31 strings)

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translation: OnionShare/Doc - Tor
2021-05-21 23:32:01 +02:00
Micah Lee
7ef5a99c0a
Rebuild docs translations 2021-05-20 11:39:45 -04: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
Miguel Jacq
c550bdaedb
Merge branch 'develop' into client_auth_v3 2021-05-18 09:22:47 +10:00
Saptak Sengupta
e097f00806
Merge pull request #1359 from mig5/chat_mode_prevent_too_long_usernames
Prevent usernames in Chat mode of length 128 chars or more
2021-05-17 13:38:04 +05:30
Miguel Jacq
d7ce658628
Pin Flask at 1.1.4 to avoid Flask 2.0.0 which requires Jinja2 3.0.0 but the latter of which conflicts with Briefcase 2021-05-17 09:02:47 +10:00
Miguel Jacq
b66b5eca4d
Use label tag for chat username label, and rename javascript function to checkUsernameTooLong to better reflect its purpose 2021-05-17 08:17:45 +10:00
Agnes de Lion
fbbd69f438
Translated using Weblate (French)
Currently translated at 70.9% (22 of 31 strings)

Translation: OnionShare/Doc - Tor
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
2021-05-16 18:32:05 +02: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
4b225eb733
Translated using Weblate (Dutch)
Currently translated at 90.9% (20 of 22 strings)

Translation: OnionShare/Doc - Install
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/nl/
2021-05-14 21:05:50 +02:00
nocturnalfilth
e63a05feb3
Translated using Weblate (Dutch)
Currently translated at 88.8% (8 of 9 strings)

Translation: OnionShare/Doc - Help
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/nl/
2021-05-14 21:05:49 +02:00
nocturnalfilth
ab7ff84979
Translated using Weblate (Dutch)
Currently translated at 100.0% (2 of 2 strings)

Translation: OnionShare/Doc - Sphinx
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/nl/
2021-05-14 15:32:03 +02:00
nocturnalfilth
1cb862b739
Translated using Weblate (Dutch)
Currently translated at 90.9% (10 of 11 strings)

Translation: OnionShare/Doc - Security
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/nl/
2021-05-14 15:32:03 +02:00
nocturnalfilth
e3834df18d
Translated using Weblate (Dutch)
Currently translated at 4.5% (1 of 22 strings)

Translation: OnionShare/Doc - Install
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/nl/
2021-05-14 15:32:03 +02:00
nocturnalfilth
ba134eb679
Translated using Weblate (Dutch)
Currently translated at 100.0% (2 of 2 strings)

Translation: OnionShare/Doc - Index
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/nl/
2021-05-14 15:32:02 +02: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
AO Localisation Lab
6fcb1c2c26
Translated using Weblate (French)
Currently translated at 67.7% (21 of 31 strings)

Translation: OnionShare/Doc - Tor
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
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
whew
ea72440543
Update web.py 2021-05-13 08:17:51 +00:00
whew
04fae8ada1
Update share_mode.py 2021-05-13 08:15:17 +00:00
whew
c19dc4fa78
Update send_base_mode.py 2021-05-13 08:14:33 +00:00
whew
986a9a09a9
Update receive_mode.py 2021-05-13 08:13:43 +00:00
whew
020e9a6a5a
Update chat_mode.py 2021-05-13 08:11:29 +00: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
c91d67c0b0
Merge branch 'develop' into client_auth_v3 2021-05-11 14:40:07 +10:00
Micah Lee
6dcdef6a15
Merge branch 'update-locales' into develop 2021-05-10 18:27:16 -07:00
Micah Lee
cd5eff4ba7
Build docs 2021-05-10 18:26:53 -07:00
Micah Lee
bf881cbada
Update dev examples in docs 2021-05-10 18:26:06 -07:00
Micah Lee
6328626683
Fix check-weblate.py to accurately describe the levels of translations 2021-05-10 18:19:20 -07:00
Micah Lee
f471346f04
Write script that uses the weblate API to help determine which languages are ready for a release 2021-05-10 18:05:41 -07:00
Miguel Jacq
d4d6eea500
Move the 'supports_file_requests' attribute into the actual modes rather than the Web class 2021-05-11 09:25:22 +10: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
Miguel Jacq
0b6db6559d
Adds attribute self.mode_supports_file_requests in Web class. Don't send REQUEST_INDIVIDUAL_FILE_STARTED to the frontend if the mode doesn't support this, so that we don't trigger a chain reaction of toggling history widgets and the like. Set this attribute to True by default since most modes use it, but turn it off for Chat mode. Prevents an exception when sending a bad HTTP method or a 404 to a chat room 2021-05-11 08:41:17 +10:00
Miguel Jacq
a55a59e021
Disable OPTIONS on the update-session-username route on Chat mode 2021-05-11 08:39:44 +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
06e10c6657
Merge branch 'develop' into update-locales 2021-05-10 15:38:35 -07: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
Micah Lee
9ba14c7a89
Remove Finnish, add Indonesian and Serbian (latin) 2021-05-10 15:36:53 -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
Micah Lee
66b27b863e
Merge branch 'pin-flask-socketio' of https://github.com/SaptakS/onionshare into SaptakS-pin-flask-socketio 2021-05-10 14:40:31 -07:00
Micah Lee
99350f07e5
Merge pull request #1352 from mig5/receiver_text_hint
Remind the user to submit contact info if they want a response to a message in Receive Mode
2021-05-10 21:22:39 +00:00
Miguel Jacq
97922d33d0
Fix HTTP return code for custom 500 internal server error handler 2021-05-10 15:57:23 +10:00
Saptak Sengupta
1dbffa9b0c
Merge pull request #1354 from mig5/chat_tests
Add tests for Chat! and fix the server_status message bar when in Chat mode
2021-05-10 11:11:14 +05:30