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
Micah Lee
e46c4f510a
Add support for Tor control port authentication
2016-12-22 13:39:32 -08:00
Micah Lee
05e25b120a
Merge branch 'shutdowncrashfix' of https://github.com/b3sigma/onionshare into b3sigma-shutdowncrashfix
2016-12-21 23:08:33 -08:00
Micah Lee
cff11cd7e4
Replaced sanitize_html() function that was based on regex with python3's html.escape()
2016-12-21 22:56:15 -08:00
Sigma
58d8f55a63
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
11c5f5b699
Added a function to remove HTML from file and directory names
2016-12-18 21:07:38 -08:00
xSmurf
4f464aaf2c
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
c74d892968
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
76937d5cb5
Move imports to module level
2016-09-06 13:17:55 -07:00
Micah Lee
7a46336149
Enable stdout in Windows, OSX CLI versions ( #305 )
2016-09-06 12:09:10 -07:00
Micah Lee
e093c7298a
Disable writing to stdout in Windows ( fixes #304 )
2016-09-06 18:44:35 -07:00
Micah Lee
7ab936cec2
Prevent canceling download from being confused with rate limit attacker
2016-09-06 10:18:50 -07:00
Micah Lee
87761c6fce
Remove HSDirError exception, because it is no longer thrown
2016-09-05 11:32:30 -07:00
Micah Lee
360fb6cfcc
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
1372239ed7
Renamed hs to onion
2016-09-05 11:16:54 -07:00
Micah Lee
db9d81ba90
Migrate from PyInstaller to cx_Freeze for OSX
2016-09-04 19:21:09 -07:00
Micah Lee
bba46e088f
Merge branch 'master' into cx_Freeze
2016-09-04 17:23:27 -07:00
Micah Lee
dbf4af02ac
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
7e8b3e1750
Oops, use spaces instead of tabs
2016-09-04 20:08:36 -07:00
Micah Lee
8e8ea9c357
Added resources to cx_Freeze setup, and make those resources findable by the app
2016-09-04 19:54:45 -07:00
Micah Lee
310d861ce0
Stop saying 'hidden service', start saying 'onion service'
2016-09-04 17:23:06 -07:00
Srinivas Devaki
c570d7ea77
added progress bar for zipping files
2016-08-24 01:43:21 +05:30
Micah Lee
62e7035d3d
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
jvoisin
3d13c1aa27
Simplify get_resource_path
2016-04-18 01:12:59 +02:00
Micah Lee
db1ed7c6de
Fix issue with shutting down Flask server when not using --local-only ( #238 )
2016-04-12 17:04:19 -07:00
Micah Lee
d35b5a9acd
Added rate-limiting to GUI. After 20 404 errors, server automatically stops ( #238 )
2016-04-12 16:49:46 -07:00
Micah Lee
b47ef630d5
Replace onionshare slug with 2-words from securedrop diceware list ( #238 )
2016-04-12 16:29:11 -07:00
Micah Lee
c07f4e5f83
If "Stop sharing automatically" is selected, only allow one download at a time ( fixes #248 )
2016-04-12 15:59:49 -07:00
Micah Lee
0b588e543a
Fix PyInstaller to point to new resources directory, for OSX and Windows
2016-04-12 15:21:47 -07:00
Micah Lee
e81f809882
Move all resources (locale, images, html, version.txt) into central resources dir, and clean up logic to find absolute paths to resources
2016-04-12 15:14:02 -07:00
Micah Lee
e8ce6b1c54
Make helpers.get_pyinstaller_resource_path work when package is not frozen, and make tests report real platform to get accurate paths
2016-04-12 10:43:28 -07:00
Micah Lee
ef5665b050
Switched from py2app to PyInstaller for Windows. Renamed version to version.txt, to avoid Windows namespace collision with version.dll.
2016-04-11 23:25:40 -07:00
Micah Lee
7b8e9e1e6f
Closing the GUI window causes any current download to stop immediately ( fixes #262 )
2016-04-10 17:43:37 -07:00
Micah Lee
00d1e29333
Switch from py2app to PyInstaller
2016-04-10 14:20:18 -07:00
Micah Lee
3ed1f964cb
Choose ports in range 17600-17650, so Tails can whitelist them ( #220 )
2016-02-27 18:03:42 +01:00
Micah Lee
683610e962
Update copyright year to 2016
2016-02-15 22:37:28 -08:00
Micah Lee
deac54db92
Made sure switch to python3 and Qt5 works in OSX ( #261 ). Updated OSX instructions in BUILD.md.
2016-02-12 15:45:26 -08:00