Commit Graph

3854 Commits

Author SHA1 Message Date
Micah Lee
a27c89e574
Merge branch '1409_clientauthv3_ux_improvements' of https://github.com/mig5/onionshare into mig5-1409_clientauthv3_ux_improvements 2021-09-03 13:28:35 -07:00
Micah Lee
3d698d0fb7
Merge pull request #1413 from mig5/cli_allow_persistent_mode_as_only_arg
Don't force mode to be sent in CLI if --persistent is in use. Store the persistent mode only the first time the persistent file is created
2021-09-03 13:27:53 -07:00
Micah Lee
aac8020c3e
Merge pull request #1416 from SaptakS/fix-chat-shutdown
Adds exception for ConnectionError in chat mode during shutdown
2021-09-03 13:23:43 -07:00
Micah Lee
46b3c01e82
Merge pull request #1417 from kushaldas/more_ci_fixes
Removes extra comments from CI config
2021-09-03 13:12:35 -07:00
Saptak Sengupta
1b5b6a6b71
Merge pull request #1399 from easyteacher/develop
Make last_modified and if_date timezone-aware (Fix #1398)
2021-09-04 00:13:12 +05:30
Saptak Sengupta
810288b9c4
Merge pull request #1358 from whew/add_security_headers
Add security headers to every response
2021-09-04 00:12:21 +05:30
Kushal Das
8081daa276
Removes extra comments from CI config 2021-09-03 21:05:47 +05:30
Fushan Wen
f4b35f25d3 Make last_modified and if_date timezone-aware
Fix #1398
2021-09-03 00:07:48 +08:00
Saptak S
5a7ab3c12e
Adds exception for ConnectionError in chat mode during shutdown
The way flask-socketio stops a connection when running using
eventlet is by raising SystemExit to abort all the processes.
Hence the connections are closed and no response is returned
So I am just catching the ConnectionError to check if it was
chat mode, in which case it's okay.
2021-09-02 18:57:21 +05:30
Saptak Sengupta
ede47aaf48
Merge pull request #1415 from kushaldas/fix_tests_on_linux
Fixes typos about Linux as platform name
2021-09-02 12:47:35 +05:30
Kushal Das
e4178cff49
Fixes typos about Linux as platform name
It is `linux` not 'Linux' in sys.platform
2021-09-02 08:31:30 +05:30
nyxnor
a0e322a906
remove duplicated comma 2021-08-31 11:59:07 +02:00
Miguel Jacq
686e5abd0e
Don't force mode to be sent in CLI if --persistent is in use. Store the persistent mode only the first time the persistent file is created 2021-08-31 17:53:50 +10:00
Miguel Jacq
cf604f78f4
Don't show private key 2021-08-31 14:52:27 +10:00
Miguel Jacq
30b12cac55
Reintroduce the titles in the QR codes to help differentiate them 2021-08-31 14:23:33 +10:00
Miguel Jacq
cb144e218a
Client Auth UX improvements 2021-08-31 14:17:23 +10:00
nyxnor
10a0c522bf
site refer to readme and README corrections 2021-08-31 03:34:44 +02:00
nyxnor
80b2fe15f1
correct formatting 2021-08-30 22:56:25 +02:00
nyxnor
f0d823bdcc
installation instructions 2021-08-30 22:54:24 +02:00
Miguel Jacq
dd7938a134
Merge develop and resolve conflict 2021-08-30 13:41:15 +10:00
Micah Lee
3a07bbe161
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-08-29 12:31:19 -07:00
Micah Lee
cf9dfad1c6
Merge pull request #1404 from mig5/client_auth_v3
Support ClientAuth (a.k.a 'stealth') on v3 onions with Tor 0.4.6.x
2021-08-29 12:22:49 -07:00
Miguel Jacq
bca5bee209
Update documentation to note that ClientAuth is used in place of basic auth, and that legacy mode (v2 onions) no longer is possible 2021-08-28 10:34:51 +10:00
Miguel Jacq
268b27232f
Test that the Private Key button is not present in public mode, in GUI share tests 2021-08-28 09:41:31 +10:00
Miguel Jacq
a08f303f89
Remove rate-limit related code, and a couple more places where flask-httpauth was referenced 2021-08-28 09:41:09 +10:00
Miguel Jacq
625c642aab
Fix the Chat Mode description when using public vs non-public 2021-08-28 09:29:01 +10:00
Miguel Jacq
aebdb6e952
Fix wording for public mode 2021-08-28 09:27:46 +10:00
Miguel Jacq
0b41021c68
Make QR Codes the same size 2021-08-28 09:27:00 +10:00
Miguel Jacq
06344f23ad
Clean up some inefficient code, and re-word the 'too old for stealth' dialog message 2021-08-27 17:59:52 +10:00
Miguel Jacq
41ddeb08b9
typo.. omg 2021-08-27 17:16:44 +10:00
Miguel Jacq
ebba0c4448
Add missing string for chat mode when using ClientAuth 2021-08-27 17:09:35 +10:00
Miguel Jacq
662f9171c5
Show ClientAuth private key as QR code 2021-08-27 16:57:56 +10:00
Miguel Jacq
60d3564a9b
remove more public_mode stuff in receive mode test 2021-08-27 16:43:00 +10:00
Miguel Jacq
84b5f98612
remove basic auth stuff in receive mode tests 2021-08-27 16:32:44 +10:00
Miguel Jacq
23dab488b3
remove persistent mode test for now, doesn't have much value now that there's no password to check in local mode as to whether it's the same 2021-08-27 16:26:31 +10:00
Miguel Jacq
5a82a61304
Tweak test 2021-08-27 16:10:53 +10:00
Miguel Jacq
0bf8f53d30
ClientAuthV3 fixes
* Remove Client Auth as an explicit option (it's on by default).
 * Update wording about Public mode
 * Fix tuple error when raising TorTooOldStealth exception in CLI
 * Move Private Key button next to URL button in GUI
 * Replace visual references of ClientAuth to Private Key
 * Remove HTTPAuth Flask dependency and remove a lot of code to do with password generation,
   401 auth triggers/invalid password rate limit detection etc
 * Test updates
 * Remove obsolete locale keys
2021-08-27 15:52:29 +10:00
Miguel Jacq
f63e0c37d1
Upgrade to Stem 1.8.1 (our fork) to satisfy wheel build. Raise minimumHeight to avoid cutoff of client auth option in sharing settings 2021-08-27 10:07:29 +10:00
Miguel Jacq
cbdf2594c6
merge develop branch into client_auth_v3 branch and use our forked stem which works with poetry 2021-08-27 09:44:43 +10:00
Hosted Weblate
cad8b7bf9f
Translated using Weblate (Finnish)
Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Finnish)

Currently translated at 74.1% (23 of 31 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Finnish)

Currently translated at 12.5% (7 of 56 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (22 of 22 strings)

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

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

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 (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 (Finnish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fi/

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Added translation using Weblate (Finnish)

Merge branch 'origin/develop' into Weblate.

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 (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/

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

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (2 of 2 strings)

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

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

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (32 of 32 strings)

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

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

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (11 of 11 strings)

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

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

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

Translated using Weblate (Bengali)

Currently translated at 27.2% (3 of 11 strings)

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

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

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

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

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

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

Co-authored-by: Algustionesa Yoshi <algustionesa@gmail.com>
Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: Eduardo Addad de Oliveira <duduaddad@gmail.com>
Co-authored-by: Emmanuel Balogun <beoloruntobi@yahoo.co.uk>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jonatan Nyberg <jonatan@autistici.org>
Co-authored-by: Kaantaja <ufdbvgoljrjkrkyyub@ianvvn.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Mohit Bansal (Philomath) <philomath@disroot.org>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Panina Nonbinary <panina@nonbinary.me>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Tur <tur+translate@simplelogin.fr>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: scootergrisen <scootergrisen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/fi/
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-develop/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/hr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fi/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/uk/
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-08-25 20:33:39 +02:00
Micah Lee
02254b13bb
Update release instructions to include making a flatpak bundle 2021-08-20 14:13:44 -07:00
Micah Lee
675c8cbe57
Build docs again 2021-08-20 13:37:24 -07:00
Micah Lee
1cc3a1111f
Update version in docs 2021-08-20 13:36:27 -07:00
Micah Lee
6049509db6
Change github URLs from micahflee/onionshare to onionshare/onionshare 2021-08-20 13:34:55 -07:00
Micah Lee
4b4fecc802
Update changelog, and update appdata XML 2021-08-20 13:30:42 -07:00
Micah Lee
601f818990
Build docs for 2.3.3 2021-08-20 13:24:24 -07:00
Micah Lee
300189d95b
Add Lithuanian 2021-08-20 13:24:15 -07:00
Micah Lee
c017f8dd33
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into version-2.3.3 2021-08-20 13:16:02 -07:00
Hosted Weblate
7a8b135da3
Merge branch 'origin/develop' into Weblate. 2021-08-20 22:15:29 +02:00
Hosted Weblate
e44dda0927
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 (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/

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

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (2 of 2 strings)

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

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

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (32 of 32 strings)

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

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

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (32 of 32 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (56 of 56 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (11 of 11 strings)

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

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

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

Translated using Weblate (Bengali)

Currently translated at 27.2% (3 of 11 strings)

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

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

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

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

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

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

Co-authored-by: Algustionesa Yoshi <algustionesa@gmail.com>
Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: Eduardo Addad de Oliveira <duduaddad@gmail.com>
Co-authored-by: Emmanuel Balogun <beoloruntobi@yahoo.co.uk>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jonatan Nyberg <jonatan@autistici.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Mohit Bansal (Philomath) <philomath@disroot.org>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Panina Nonbinary <panina@nonbinary.me>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Tur <tur+translate@simplelogin.fr>
Co-authored-by: scootergrisen <scootergrisen@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-develop/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/hr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/uk/
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 - Tor
2021-08-20 22:15:22 +02:00