Commit Graph

31 Commits

Author SHA1 Message Date
Miguel Jacq
3a715346af
Add cleanup method for the Meek class to kill any meek-client subprocesses once done. Hide stderr from the CLI printed output 2021-10-25 10:44:38 +11:00
Miguel Jacq
5b4d77c363
Refactor to CensorshipCircumvention and Meek classes. Use Meek domain fronting when requesting bridges in frontend 2021-10-19 11:36:03 +11:00
Miguel Jacq
0989f2b133
Move Censorship stuff into its own class. Early attempt at subprocessing out to meek (unfinished) 2021-10-18 17:17:47 +11: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
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
b385d6bac7
merge from develop and fix conflicts, update poetry 2021-05-06 14:30:29 +10:00
Miguel Jacq
e0b378055c
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
04019389da
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
b48848eb04
Early support for ClientAuth with v3 onions 2021-05-04 10:02:02 +10:00
Micah Lee
0a6056e5e6
Fix flake8 issues found in cli 2021-04-29 17:13:05 -07:00
Micah Lee
343e1be3d0
Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -07:00
Saptak Sengupta
34554414e9
Merge pull request #1334 from micahflee/ascii_art
Prettier ASCII art
2021-04-29 19:19:52 +05:30
Saptak Sengupta
059a4425bd
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
ee3761af6c
Move graphical banner into common, and display it in GUI too 2021-04-26 19:29:18 -07:00
Micah Lee
2acdea5229
Allow sending messages as well as uploading files in receive mode 2021-04-25 20:46:06 -04:00
Micah Lee
dac508d06e
Prettier ASCII art 2021-04-25 19:23:10 -04:00
whew
161f20c1d6
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
b5c68fa5ca
Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -04:00
Micah Lee
29970d38ff
Implement receive mode webhooks in CLI 2021-04-11 13:33:58 -07:00
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Miguel Jacq
5b5c3ad87a
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
2a7d9dbd51
Update copyright year to 2021 2021-02-22 13:35:14 -08:00
Saptak S
8a412fed85
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
b96b83905b
Merge branch 'develop' into 929_download_errors 2020-12-13 11:40:25 -08:00
Micah Lee
5f612a94a0
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
edaa8bd073
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
aecaae896d
Make CLI throw an error if it cannot find tor binary 2020-11-29 11:08:46 -08:00
Micah Lee
7927ef83b2
Only wait for share mode rendezvous circuits to close, ignore the rest 2020-11-27 11:22:29 -08:00
Micah Lee
cb598ee697
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
74edae02a4
Escape backslashes in ASCII-art 2020-11-01 11:04:12 -08: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