Commit Graph

37 Commits

Author SHA1 Message Date
Micah Lee
a71a4f9baa
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08:00
Miguel Jacq
627c185fcb
Support sending a custom Content-Security-Policy header in Website mode 2021-11-08 16:31:05 +11:00
a1346054
601e215565
Fix spelling 2021-10-14 21:48:12 +00:00
Micah Lee
bb1b3ad157
Merge pull request from SaptakS/fix-filelisting
Fixes directory listing in send mode
2021-09-09 16:52:25 -07:00
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
e488085116
Updates the tests to use a full path instead of basename 2021-09-04 19:17:31 +05:30
Micah Lee
c5c9df774a
Revert "Don't show private key"
This reverts commit cf604f78f4.
2021-09-03 14:24:45 -07:00
Miguel Jacq
cf604f78f4
Don't show private key 2021-08-31 14:52:27 +10:00
Miguel Jacq
cb144e218a
Client Auth UX improvements 2021-08-31 14:17:23 +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
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
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
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
Miguel Jacq
00473eaef6
Prevent usernames in Chat mode of length 128 chars or more 2021-05-14 10:44:14 +10:00
Miguel Jacq
c91d67c0b0
Merge branch 'develop' into client_auth_v3 2021-05-11 14:40:07 +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
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
Miguel Jacq
b242ea5bde
Add comment to test function 2021-05-10 12:34:38 +10: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
Miguel Jacq
c4cf9f08ec
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
50d5cf5740
GUI tests for v3 Client Auth (albeit only in local mode, so kind of stubbed 2021-05-06 15:24:26 +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
b51c0ee046
Fix flake8 warnings in desktop 2021-04-30 11:38:23 -07:00
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
f67e7ce678
End web thread successfully when cleaning up after a tab, which prevents crashes after running the tests; and fix msi_filename in Windows build script 2020-11-09 19:47:57 -08:00
Micah Lee
79100f050c
Load onionshare_cli from source tree instead of pip dependency, and start making tests work with PySide2 2020-10-14 20:17:08 -07:00
Micah Lee
cb0494d46f
Port from PyQt5 to PySide2 2020-10-13 22:28:21 -07:00
Micah Lee
b42f92d714
Move docs back to root, move onionshare_gui into briefcase app, and make modifications so briefcase app will work 2020-10-13 17:28:54 -07:00
Micah Lee
f4abcf1be9
Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00