Micah Lee
90e82217e7
Onion calls tor_status_update_func much more frequently, which makes the GUI more responsive
2017-04-17 20:54:55 -07:00
Micah Lee
6c02984a98
Add an Onion exception for canceling connecting Tor
2017-04-17 20:49:06 -07:00
Micah Lee
71dc65edee
Began making a TorConnectionDialog, which handles connecting to the Tor network
2017-04-17 20:26:35 -07:00
Micah Lee
9f43b7298c
Move OnionShare object into its own file, so __init__ is just CLI logic
2017-04-17 19:28:51 -07:00
Micah Lee
593c9e9afe
Make it so ctrl-c actually quits the CLI version
2017-04-17 19:22:40 -07:00
Micah Lee
6b5dfe62c0
Added helper function get_available_port(), and use it to avoid code duplication. Removed unused is_root() helper function. Refactored Onion object to not try to connect in the constructor.
2017-04-17 19:13:53 -07:00
Micah Lee
bb990ff574
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
fa12784f8b
Added Tor SOCKS address and port settings
2017-04-15 16:33:41 -07:00
Micah Lee
4b11bd00c5
Added autoupdate settings to Settings, and also to the settings dialog
2017-04-15 15:24:08 -07:00
Micah Lee
e4cdfa6c99
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
0ddcda1570
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
9b3cee0878
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
6200cb3b08
Increase Tor connection timeout to 30 seconds
2017-04-14 10:32:15 -07:00
Micah Lee
ffc2e23981
Connecting to Tor now times out of 10 seconds
2017-04-14 10:00:56 -07:00
Micah Lee
87e969fc4a
Change the settings to default to bundled connection type instead of automatic
2017-04-13 23:20:24 -07:00
Micah Lee
1fa88c3d07
Add Tor connection status to the main window status bar
2017-04-13 23:08:25 -07:00
Micah Lee
80d475f65b
In the settings dialog, show Tor connection status when the connection type is bundled
2017-04-13 22:56:47 -07:00
Micah Lee
169be518eb
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
da225ed7d1
Started to implement Bundled Tor connection settings
2017-04-08 18:10:17 -07:00
Micah Lee
848d8db34e
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
6c074e4e3e
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
34301d3088
Catch Tor protocol error exceptions when starting an onion service ( #344 )
2017-02-22 16:45:52 -08:00
Micah Lee
1336a1c3b4
Update comments to be more accurate
2017-02-22 15:28:06 -08:00
Micah Lee
6370139d2e
Rip out support for non-ephemeral onion services
2017-02-22 14:10:06 -08:00
Micah Lee
a57703cb5a
Properly handle KeyboardInterrupt exception in CLI in macOS
2017-02-22 13:35:34 -08:00
Micah Lee
248f59cbd1
Renamed 'resources' to 'share', and updated location of 'share' files in OSX/Win binaries
2017-02-21 16:59:14 -08:00
Micah Lee
6f5a3aedbb
Update helpers.get_resource_path to correctly find resources in frozen macOS app bundles
2017-02-21 14:34:34 -08:00
Micah Lee
12acb893f8
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
db052ce85f
Moved onionshare and onionshare_gui logic directly into __init__.py files
2017-01-06 19:00:08 -08:00
Micah Lee
f8005a63ea
Change GPL copyright from 2016 to 2017
2017-01-06 18:58:15 -08:00
Micah Lee
f14b5ebfa1
Catch exceptions for guessing default Tor Browser socket file path
2017-01-06 11:54:42 -08:00
Micah Lee
d069cc2a29
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
406fffdb39
Make render_template_string autoescape by default in Flask versions < 0.11
2016-12-30 13:04:19 -05:00
Garrett Robinson
bfbf006c57
Revert "Added a function to remove HTML from file and directory names"
...
This reverts commit 11c5f5b699d302edfda15a1d7bfd3ed2fec87a59.
2016-12-30 12:04:09 -05:00
Garrett Robinson
e1f9957f56
Revert "Replaced sanitize_html() function that was based on regex with python3's html.escape()"
...
This reverts commit cff11cd7e48fe4e94ef484ba1f1095362330452d.
2016-12-30 12:02:40 -05:00
Micah Lee
50835b67f8
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
a0abab3653
Make automatic settings work with with Tor Browser 6.0.8
2016-12-29 12:57:58 -08:00
Micah Lee
ebf13cfa11
Handle new Tor controller errors in CLI
2016-12-29 10:16:20 -08:00
Micah Lee
b8e797049b
Display information about tor when testing settings is successful
2016-12-29 10:03:29 -08:00
Micah Lee
19d020f245
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
5bfa4da648
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
9462b7d05f
Clicking Save in the settings dialog saves settings
2016-12-28 20:03:32 -08:00
Micah Lee
c9607cf986
Remove wrong comment
2016-12-28 19:53:02 -08:00
Micah Lee
25109c8a66
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
7fe9f3be13
Support stem versions older than 1.5.0 again. Fix for issue #332
2016-12-25 22:27:47 -08:00
Micah Lee
6eed7258a7
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
6fdef85878
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
eff0d3729a
Add support for stealth onion services in CLI version
2016-12-22 16:56:39 -08:00
Micah Lee
fd41eac48d
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
eb00a29ca7
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