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
anonym
0314acede6
Try to get the Tor ControlPort from the environment.
...
... via the TOR_CONTROL_PORT variable. If set, onionshare will only
try this port.
2016-09-22 14:10:24 +02:00
Micah Lee
26212f852c
Move imports to module level
2016-09-06 13:17:55 -07:00
Micah Lee
c53d4f5e24
Enable stdout in Windows, OSX CLI versions ( #305 )
2016-09-06 12:09:10 -07:00
Micah Lee
94e29d1ddf
Disable writing to stdout in Windows ( fixes #304 )
2016-09-06 18:44:35 -07:00
Micah Lee
558e428508
Prevent canceling download from being confused with rate limit attacker
2016-09-06 10:18:50 -07:00
Micah Lee
5b19d9eaf0
Remove HSDirError exception, because it is no longer thrown
2016-09-05 11:32:30 -07:00
Micah Lee
f7882c6a74
Refactor onionshare CLI to use await_publication=True when using ephemeral onion services, instead of relying on wait_for_hs function
2016-09-05 11:29:12 -07:00
Micah Lee
eb4c8df105
Renamed hs to onion
2016-09-05 11:16:54 -07:00
Micah Lee
6bb312216b
Migrate from PyInstaller to cx_Freeze for OSX
2016-09-04 19:21:09 -07:00
Micah Lee
e461ba4b59
Merge branch 'master' into cx_Freeze
2016-09-04 17:23:27 -07:00
Micah Lee
4cb90dc96d
Pass helpers into strings.load_strings instead of importing it, so fix issue with cx_Freeze in Windows
2016-09-04 20:09:18 -07:00
Micah Lee
b033c5ea74
Oops, use spaces instead of tabs
2016-09-04 20:08:36 -07:00
Micah Lee
d0e4e1653e
Added resources to cx_Freeze setup, and make those resources findable by the app
2016-09-04 19:54:45 -07:00
Micah Lee
8140dbeefb
Stop saying 'hidden service', start saying 'onion service'
2016-09-04 17:23:06 -07:00
Srinivas Devaki
12591c2cab
added progress bar for zipping files
2016-08-24 01:43:21 +05:30
Micah Lee
82617f0b83
Tweaked Spanish locale and typo in comment, thanks to kant ( #269 , #270 )
2016-06-10 17:24:44 -07:00
Micah Lee
7f438052c6
Merge pull request #288 from mscherer/fix_cve
...
Fix CVE-2016-5026
2016-06-10 17:18:36 -07:00
Micah Lee
185006d662
Merge pull request #280 from jvoisin/pep8
...
Improve pep8 conformance
2016-06-10 17:14:11 -07:00
Michael Scherer
70c55511b1
Fix CVE-2016-5026
...
See http://www.openwall.com/lists/oss-security/2016/05/23/5 for details
on a potential convoluted attack. Basically, /tmp/onionshare is
a predictable name, which mean that a local attacker
could precreate it on a shared server and later mess with the hidden
service operations in various way.
2016-05-23 20:45:07 +02:00
jvoisin
17e389b800
Improve pep8 conformance
2016-04-18 01:40:17 +02:00