Commit Graph

3815 Commits

Author SHA1 Message Date
Miguel Jacq
a34ef19d9a
Add more GUI test coverage of the Client Auth private key and toggle button 2021-09-09 13:04:40 +10:00
Saptak S
66769361f0
Enforces light mode even if system OS is dark themed 2021-09-09 00:54:47 +05:30
Saptak Sengupta
51ee951ac2
Merge pull request #1418 from kushaldas/ci_fun
Changes CircleCI image to the correct path
2021-09-04 20:45:17 +05:30
Saptak S
6edab6877a
Removes trailing slash from directories inside directories 2021-09-04 20:41:22 +05:30
Kushal Das
696b88d820
Changes CircleCI image to the correct path 2021-09-04 19:20:24 +05:30
Saptak S
e488085116
Updates the tests to use a full path instead of basename 2021-09-04 19:17:31 +05:30
Saptak S
3620bf3a0c
Updates send.html to use file link instead of basename 2021-09-04 19:17:30 +05:30
Micah Lee
b09c3bc48b
Merge pull request #1411 from nyxnor/cli-installation-instructions
Cli installation instructions
2021-09-03 14:38:03 -07:00
Micah Lee
942f297428
Reveal/hide private key 2021-09-03 14:25:11 -07:00
Micah Lee
c5c9df774a
Revert "Don't show private key"
This reverts commit cf604f78f4.
2021-09-03 14:24:45 -07:00
Micah Lee
093bf454a1
Improve padding in receive mode 2021-09-03 13:42:55 -07:00
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