25 Commits

Author SHA1 Message Date
Miguel Jacq
f8b3187359 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
b15651e27e Tweak test 2021-08-27 16:10:53 +10:00
Miguel Jacq
5d9554438f 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
b43e7fee13 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
8e284f1027 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
1e5e886577 Prevent usernames in Chat mode of length 128 chars or more 2021-05-14 10:44:14 +10:00
Miguel Jacq
45f798c5d2 Merge branch 'develop' into client_auth_v3 2021-05-11 14:40:07 +10:00
Miguel Jacq
9aedb0cc00 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
8967470f95 Merge branch 'develop' into fix_405_error_and_other_methods 2021-05-11 08:15:35 +10:00
Miguel Jacq
e409141362 Website mode doesn't need to support POST as a method 2021-05-11 08:14:49 +10:00
Miguel Jacq
772d12b4bb 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
7b5b2d32f6 Add comment to test function 2021-05-10 12:34:38 +10:00
Miguel Jacq
dbdb04a3bf Fix receive mode test 2021-05-10 11:42:13 +10:00
Miguel Jacq
92027345d0 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
d86ce6c9af 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
5ed2188156 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
50027a6327 Test sending messages in GUI receive mode 2021-05-02 14:51:33 -07:00
Micah Lee
ddbd7a2fb9 Fix GUI tests 2021-05-02 14:34:09 -07:00
Micah Lee
bf08e29162 Fix flake8 warnings in desktop 2021-04-30 11:38:23 -07:00
Aksh Gupta
6805f6acae chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
64227a9445 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
e877855827 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
decf703cd9 Port from PyQt5 to PySide2 2020-10-13 22:28:21 -07:00
Micah Lee
5eb2bb6353 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
a54f99adf6 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