Commit Graph

22 Commits

Author SHA1 Message Date
Micah Lee
f08e6e9830
Remove useless CLI stuff from GUI tests, and refactor so that qtapp is a singleton and all tests can be run at once 2022-03-06 14:26:51 -08:00
Miguel Jacq
99023a8702
Test javascript MIME type in different modes 2021-12-17 17:59:34 +11:00
a1346054
601e215565
Fix spelling 2021-10-14 21:48:12 +00: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
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
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
Miguel Jacq
c91d67c0b0
Merge branch 'develop' into client_auth_v3 2021-05-11 14:40:07 +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
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
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
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
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