Micah Lee
b94253e6ea
Removed transparent_torification from the full app, and refactored OnionShare class to get passed in an Onion, and doesn't get passed in stealth.
2017-04-17 19:12:02 -07:00
Micah Lee
baa7c4bdd1
Added Tor SOCKS address and port settings
2017-04-15 16:33:41 -07:00
Micah Lee
9fcb6f0c93
Added autoupdate settings to Settings, and also to the settings dialog
2017-04-15 15:24:08 -07:00
Micah Lee
be2b086cc4
Make sure tor process is killed in a more robust manner, and also increase tor connection timeout to 45 seconds
2017-04-15 11:43:19 -07:00
Micah Lee
c4997429a2
Don't use shell=true in subprocess, and instead hide the console window in Windows using the startupinfo arg
2017-04-15 11:34:03 -07:00
Micah Lee
984d2b6084
Added support for bundled tor connection type in Windows, including using ports instead of socket files
2017-04-14 18:33:44 -07:00
Micah Lee
9f9b609902
Increase Tor connection timeout to 30 seconds
2017-04-14 10:32:15 -07:00
Micah Lee
94cf86c3b4
Connecting to Tor now times out of 10 seconds
2017-04-14 10:00:56 -07:00
Micah Lee
0415b8112f
Change the settings to default to bundled connection type instead of automatic
2017-04-13 23:20:24 -07:00
Micah Lee
f82cf01e6d
Add Tor connection status to the main window status bar
2017-04-13 23:08:25 -07:00
Micah Lee
8677ea35e5
In the settings dialog, show Tor connection status when the connection type is bundled
2017-04-13 22:56:47 -07:00
Micah Lee
e295f90e68
Connecting to Tor in bundled mode now creates a temporary tor data dir, starts a new tor process, and connects to it. Also, refactored Settings dialog to allow Linux to use bundled tor as well
2017-04-13 22:22:34 -07:00
Micah Lee
9cf1011b0a
Started to implement Bundled Tor connection settings
2017-04-08 18:10:17 -07:00
Micah Lee
42acb6d34e
Added close_after_first_download and use_stealth to settings, and also to the GUI settings dialog
2017-04-08 13:42:07 -07:00
Micah Lee
332101b849
In Whonix, listen on 0.0.0.0 instead of 127.0.0.1 ( #220 )
2017-02-22 18:42:41 -08:00
Micah Lee
677951c240
Catch Tor protocol error exceptions when starting an onion service ( #344 )
2017-02-22 16:45:52 -08:00
Micah Lee
1c4574a7be
Update comments to be more accurate
2017-02-22 15:28:06 -08:00
Micah Lee
e4649ac3b5
Rip out support for non-ephemeral onion services
2017-02-22 14:10:06 -08:00
Micah Lee
61ccced12c
Properly handle KeyboardInterrupt exception in CLI in macOS
2017-02-22 13:35:34 -08:00
Micah Lee
37539c95b6
Renamed 'resources' to 'share', and updated location of 'share' files in OSX/Win binaries
2017-02-21 16:59:14 -08:00
Micah Lee
b64597ab15
Update helpers.get_resource_path to correctly find resources in frozen macOS app bundles
2017-02-21 14:34:34 -08:00
Micah Lee
c991a407e2
Add new AuthenticationFailure exception, and make the Onion/stem code catch more exceptions when connecting to a Tor controller
2017-01-07 17:31:26 -08:00
Micah Lee
b8c7807b92
Moved onionshare and onionshare_gui logic directly into __init__.py files
2017-01-06 19:00:08 -08:00
Micah Lee
c0a26b7c6c
Change GPL copyright from 2016 to 2017
2017-01-06 18:58:15 -08:00
Micah Lee
6e171f02c3
Catch exceptions for guessing default Tor Browser socket file path
2017-01-06 11:54:42 -08:00
Micah Lee
47eeb547bf
Guess the default socket file path for new versions of Tor Browser in OS X
2017-01-06 11:46:41 -08:00
Garrett Robinson
0403d3d045
Make render_template_string autoescape by default in Flask versions < 0.11
2016-12-30 13:04:19 -05:00
Garrett Robinson
ff2e0c910e
Revert "Added a function to remove HTML from file and directory names"
...
This reverts commit b95828973ca2f7d24b204aef8c431f99679fc906.
2016-12-30 12:04:09 -05:00
Garrett Robinson
c52bb03dc6
Revert "Replaced sanitize_html() function that was based on regex with python3's html.escape()"
...
This reverts commit a24b4a77627824030b926265d305d27926382f25.
2016-12-30 12:02:40 -05:00
Micah Lee
13f1f78da7
You must connect to a socket file instead of a port for Tor Browser 6.5a6. Make automatic settings fallback to socket file if the port doesn't work (only for Linux so far, have not tested in OS X, and is not supported in Windows)
2016-12-29 13:36:29 -08:00
Micah Lee
23d9de8d44
Make automatic settings work with with Tor Browser 6.0.8
2016-12-29 12:57:58 -08:00
Micah Lee
a838104025
Handle new Tor controller errors in CLI
2016-12-29 10:16:20 -08:00
Micah Lee
1c53746dd5
Display information about tor when testing settings is successful
2016-12-29 10:03:29 -08:00
Micah Lee
94e756ac0d
Onion now connects to the Tor controller using the settings in Settings (except automatic still needs some work), and the settings dialog handles error when testing settings
2016-12-29 09:58:13 -08:00
Micah Lee
940b6c647e
Refactor Settings object so it does not load from file by default. Make it so you can pass a Settings into Onion, to test settings
2016-12-29 08:02:32 -08:00
Micah Lee
e9df6e6c81
Clicking Save in the settings dialog saves settings
2016-12-28 20:03:32 -08:00
Micah Lee
024ad7fc20
Remove wrong comment
2016-12-28 19:53:02 -08:00
Micah Lee
38845b39cb
Created a Settings object, which loads and saves settings to file, and made the Settings dialog use the settings from this object
2016-12-28 19:52:21 -08:00
Sigma
0061f00f49
Support stem versions older than 1.5.0 again. Fix for issue #332
2016-12-25 22:27:47 -08:00
Micah Lee
5241d756bf
Properly handle errors for using stealth onion services in the GUI, instead of crashing in the background ( #144 )
2016-12-23 19:08:18 -08:00
Micah Lee
447b9739f6
Catch all exceptions when checking for stealth support, not just TypeError, to successfully identity old versions of stem
2016-12-22 17:07:01 -08:00
Micah Lee
8432e1ef3d
Add support for stealth onion services in CLI version
2016-12-22 16:56:39 -08:00
Micah Lee
ad0a618702
Added dev scripts for launching onionshare and onionshare-gui from the source code tree, without having to install it
2016-12-22 16:19:54 -08:00
Micah Lee
8fbb7c067f
Merge branch 'master' of https://github.com/eightnoteight/onionshare into eightnoteight-master
...
Conflicts:
onionshare/web.py
onionshare_gui/onionshare_gui.py
resources/locale/cs.json
resources/locale/eo.json
resources/locale/nl.json
This merge required quite a bit of refactoring because.
2016-12-22 16:00:06 -08:00
Micah Lee
6459498da4
Add support for Tor control port authentication
2016-12-22 13:39:32 -08:00
Micah Lee
b0108ecbbd
Merge branch 'shutdowncrashfix' of https://github.com/b3sigma/onionshare into b3sigma-shutdowncrashfix
2016-12-21 23:08:33 -08:00
Micah Lee
a24b4a7762
Replaced sanitize_html() function that was based on regex with python3's html.escape()
2016-12-21 22:56:15 -08:00
Sigma
d3b22e34d9
Fix crash when tor is closed first and then onionshare is closed and a stem.SocketClosed exception is raised.
2016-12-20 01:44:20 -08:00
Emmanuel Morales
b95828973c
Added a function to remove HTML from file and directory names
2016-12-18 21:07:38 -08:00
xSmurf
baba640894
Only check if we are in the sys prefix but not the actual executable name as this could be renamed or wrapped
2016-09-28 17:24:28 +00:00