28 Commits

Author SHA1 Message Date
Miguel Jacq
a50cd11dd8 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
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
80cc1f43e8 merge from develop and fix conflicts, update poetry 2021-05-06 14:30:29 +10:00
Miguel Jacq
286d7703d6 Remove v2 legacy onion support, and its corresponding client auth functionality. Update the v3 Client Auth to take its place in settings 2021-05-06 14:26:00 +10:00
Miguel Jacq
ff5e73a2ae Move the cleanup() function from Onionshare class to Web class, so that the list of files to be cleaned up is always available (needed for website temp files) 2021-05-04 16:21:42 +10:00
Miguel Jacq
4aa6d6f3ec Early support for ClientAuth with v3 onions 2021-05-04 10:02:02 +10:00
Micah Lee
cfbf07b903 Fix flake8 issues found in cli 2021-04-29 17:13:05 -07:00
Micah Lee
754c7d96dd Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -07:00
Saptak Sengupta
ad93056a17 Merge pull request #1334 from micahflee/ascii_art
Prettier ASCII art
2021-04-29 19:19:52 +05:30
Saptak Sengupta
8f9d21f783 Merge pull request #1327 from micahflee/1306_customization
Allow custom title for each onion service
2021-04-28 14:43:10 +05:30
Micah Lee
4f2ca21c9a Move graphical banner into common, and display it in GUI too 2021-04-26 19:29:18 -07:00
Micah Lee
b343d391b3 Allow sending messages as well as uploading files in receive mode 2021-04-25 20:46:06 -04:00
Micah Lee
a07c66d689 Prettier ASCII art 2021-04-25 19:23:10 -04:00
whew
ad8efc7d24 Use socks5h instead of socks5
With `socks5h` the proxy server resolves the domain name, which avoids leaking DNS requests.
2021-04-24 09:59:53 +00:00
Micah Lee
024cc83943 Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -04:00
Micah Lee
b4c856424b Implement receive mode webhooks in CLI 2021-04-11 13:33:58 -07:00
Aksh Gupta
6805f6acae chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Miguel Jacq
cf69a2368f Fix the call to start_onion_service in CLI mode when using autostart timer, which had out of date positional args. Fix Tor exception handlers which were also out of date with the start_onion_service function 2021-03-10 15:04:22 +11:00
Micah Lee
4f5f75cc25 Update copyright year to 2021 2021-02-22 13:35:14 -08:00
Saptak S
c960636f48 Fixes issues with persistent mode
- adds mode to the persistent file
- adds filenames for share and website mode in persistent file
2021-02-23 02:23:31 +05:30
Micah Lee
4e577cde7e Merge branch 'develop' into 929_download_errors 2020-12-13 11:40:25 -08:00
Micah Lee
93f8d2c848 Merge pull request #1239 from micahflee/1214_onion_error_translations
Translate Tor-related error messages
2020-12-01 22:21:25 -08:00
Micah Lee
30b86efd45 The CLI error message gets printed from the Onion object, so don't try to print it the exception 2020-11-29 12:30:19 -08:00
Micah Lee
ee5b950f7c Make CLI throw an error if it cannot find tor binary 2020-11-29 11:08:46 -08:00
Micah Lee
8d3b999a81 Only wait for share mode rendezvous circuits to close, ignore the rest 2020-11-27 11:22:29 -08:00
Micah Lee
d4ea276c76 Change --autostop-sharing option to --no-autostop-sharing, so that it can default to being disabled (so autostop sharing can be enabled by default) 2020-11-24 21:52:15 -08:00
Micah Lee
9a4c9c73eb Escape backslashes in ASCII-art 2020-11-01 11:04:12 -08: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