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 11c5f5b699
.
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 cff11cd7e4
.
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
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
Micah Lee
170811f450
Porting onionshare from python2 to python3 ( #261 ). This commit only ports the CLI version, not the GUI. Has not been tested in Fedora, Windows, or OSX. Removed hack to make unicode filenames work because hack does not work in python3. Replaced constant_time_compare function with a new one that works in python3. Tweaked hidden service checking code because urllib is different in python3.
2016-02-12 14:34:19 -08:00
Micah Lee
b2bda8294a
Create new slug each time onionshare server is started ( #247 ). This required making removing check_slug_candidate as a decorator and calling it inside functions that needed it instead.
2016-02-12 11:56:35 -08:00
Micah Lee
e199946a8d
Display version string automatically in CLI, and in the status bar in GUI ( #251 )
2016-02-12 11:00:35 -08:00
Micah Lee
3c3ea6faf3
Merge branch 'eta' of https://github.com/garrettr/onionshare into garrettr-eta
2016-02-12 08:36:46 -08:00
Garrett Robinson
ea47e80f14
Add estimated time remaining to progress indicator
...
Estimates the time remaining for each download and displays it in the
progress bar. Waits for 10 seconds before showing the progress bar to
allow the download rate to stabilize, which prevents the estimated time
remaining from jumping all over the place at the start of the download
(a.k.a the "Windows copy dialog experience"). If your download takes
less than 10 seconds, you don't really need to see an ETA anyway.
This commit also refactors the Downloads class, splitting out the
download-specific functionality into a new Download class, providing
better encapsulation. As a result, I was able to simplify the call to
`update_download` because it was no longer necessary to pass the
`total_bytes` (which don't change after the download has begun).
Tested on Mac OS 10.9.
2015-12-23 01:05:30 -05:00
Garrett Robinson
9d5ba9b4f6
Revert to using wait_for_hs for ephemeral HS
...
Using `await_publication = True` blocks inside stem until the hidden
service is published, which makes OnionShare appear to hang. This is a
quick fix that reverts to using `wait_for_hs` for ephemeral hidden
services (as well as non-ephemeral hidden services), which avoids
blocking OnionShare.
2015-12-22 23:09:30 -05:00
Micah Lee
e60a82ad22
Fixed crash in Windows, related to HS directory path and slashes
2015-12-07 23:47:13 -08:00
Micah Lee
d67d5010d1
Catch exception that occurs when stopping a web app that has not started ( fixes #237 )
2015-12-07 15:03:53 -08:00
Micah Lee
2ce32e2327
Make hidserv_dir a class variable so it can be cleaned up ( fixes #232 ), and refactor _hsdic2list ( #199 )
2015-12-06 13:51:42 -08:00
Micah Lee
9723270794
Revert "Refactored non-ephemeral hidden services to use get_hidden_service_conf and set_hidden_service_conf rather than get_conf_map and set_options. So much cleaner this way. ( fixes #216 )"
...
I'm reverting this it's causing #232 .
This reverts commit df8e4f6cd4
.
2015-12-06 13:40:35 -08:00
Micah Lee
f4780813d6
Decorator is expecting argument to be named slug_candidate, not shutdown_slug_candidate ( #200 )
2015-12-04 13:17:45 -08:00
Micah Lee
9d1abf668a
Merge branch 'slug_decorator' of https://github.com/pwplus/onionshare into pwplus-slug_decorator
2015-12-04 12:46:51 -08:00
Micah Lee
f2389cc602
Remove all language and localization from download page, to prevent leaking the sender's locale ( fixes #228 )
2015-12-04 12:43:12 -08:00
Micah Lee
e6e323fc9a
Don't access self.hs when using --local-only
2015-12-04 12:37:51 -08:00
Micah Lee
df8e4f6cd4
Refactored non-ephemeral hidden services to use get_hidden_service_conf and set_hidden_service_conf rather than get_conf_map and set_options. So much cleaner this way. ( fixes #216 )
2015-11-20 17:47:42 -08:00
Micah Lee
8f8e38b11d
Refactored _hsdic2list method. It it much easier to understand now. ( fixes #199 )
2015-11-20 14:20:29 -08:00
Micah Lee
76d65c678b
Changed 404 page to just say "404" ( fixes #225 )
2015-11-20 12:50:34 -08:00
Micah Lee
35c1c9cbcb
When looking for a Tor to use, prefer (in this order): Tor Browser, Tor Messenger, system Tor ( fixes #215 )
2015-11-20 12:43:08 -08:00
Will Plusnick
42d7dd4181
Add a decorator to check the slug
...
This commit will add a decorator to the check the slug rather than copy
and pasting the same lines of code at the begining of every route.
2015-11-16 02:09:51 -06:00
Micah Lee
dc58921187
Add docstrings to all classes and methods ( fix #198 )
2015-11-15 19:01:20 -08:00
Micah Lee
a5aff46050
Cleanup ephemeral hidden services
2015-11-15 16:26:44 -08:00
Micah Lee
fd39f84bff
Merge branch 'master' into ephemeral
...
Conflicts:
onionshare/helpers.py
onionshare/onionshare.py
2015-11-15 15:35:59 -08:00
Micah Lee
34591b5634
Merge branch 'master' of https://github.com/jvoisin/onionshare into jvoisin-master
...
Conflicts:
onionshare/socks.py
2015-11-08 15:53:41 -08:00
Micah Lee
d67ca2c406
Merge pull request #207 from lazlolazlolazlo/docstrings
...
Add some missing docstrings.
2015-11-08 12:44:30 -08:00
Micah Lee
55c4c0fac1
Updated onionshare-gui to support ephemeral hidden services
2015-09-08 18:12:24 -07:00
Micah Lee
82e0c4e122
No need to pass transparent_torification into wait_for_hs
2015-09-08 17:48:16 -07:00
Micah Lee
1a4cb26f5d
Move wait_for_hs() function into the HS class
2015-09-08 17:42:08 -07:00
Micah Lee
629a70c249
Fixed call to create_ephemeral_hidden_service, and also await_publication=True to make the app.wait_for_hs() call obsolete
2015-09-08 17:28:23 -07:00
Micah Lee
eba6dbb843
Moved hidden service login into separate file. Prefer to use ephemeral hidden services now if they are available. Ephermal does not yet work, but old hidservdir still works.
2015-09-07 22:34:54 -07:00
Micah Lee
bbee1599c5
Updated copyright year to 2015
2015-09-07 21:48:49 -07:00
Micah Lee
5d37d9b7b2
Removed all of the Tails-specific code. If we use ephemeral hidden services, we no longer need to touch the filesystem, and hopefully no longer need root in Tails.
2015-09-07 21:44:29 -07:00
jvoisin
ac97ddf7d0
Various fixes
...
- more pep8
- add some forgotten deps in setup.py
2015-07-25 11:22:24 +02:00
Lazlo Westerhof
7446cee655
Fix some codestyle issues according to pep8.
2015-06-26 19:38:22 +02:00
Lazlo Westerhof
7fada800f3
Add some missing docstrings.
2015-06-25 21:55:29 +02:00
Micah Lee
19fac71a3e
figure out the osx_resource_dir only once, to fix issue with cli version in OSX
2015-06-16 14:30:09 -07:00
Micah Lee
ba424fa427
suppress download progress output to stdout in OSX ( fixes #203 )
2015-06-16 13:03:04 -07:00
Micah Lee
0350cb3cdc
catch exceptions when cleaning up hidden services
2015-06-16 12:33:56 -07:00
Micah Lee
210448d6c9
In Linux, create HS dir in /tmp/onionshare/* ( #185 ), and also connect to Tor control port more robustly
2015-05-19 13:34:36 -07:00
Micah Lee
1f52c9b565
Handles a new exception that gets thrown in Tails using a bridge while waiting for the HS
2015-05-18 20:54:04 +00:00
Micah Lee
815c2a8741
changed cwd in onionshare CLI script for OSX in the right places to support both loading strings and relative paths for files to share ( #132 )
2015-05-16 13:37:28 -07:00
Micah Lee
ccc8b87b9a
CLI version of onionshare in OSX now works when symlinked ( closes #132 )
2015-05-15 19:07:41 -07:00
Micah Lee
2ea0c6aef3
moving platform-specific scripts into install folder, and making onionshare CLI work in OSX ( #132 )
2015-05-15 18:52:20 -07:00
Micah Lee
ad553146c7
adding html files to Resources, loading them from the correct path, and make sure to include jinja2 extension in py2app ( #151 )
2015-05-15 17:43:01 -07:00
Micah Lee
a86cda4549
Ripping out dmg code, replacing pyinstaller with py2app for OSX -- still in progress ( #151 )
2015-05-15 16:56:22 -07:00
Micah Lee
669750be37
specify types in all str.format() calls ( fixes #169 )
2015-05-15 12:26:58 -07:00
Micah Lee
e78e21ac47
create the ZipFile with allowZip64=True. fixes #173
2015-02-12 17:03:56 -08:00
Micah Lee
027d77416e
fix Windows path to prevent Tor control port from breaking
2014-12-09 19:06:59 -08:00
Micah Lee
21e2546435
In Tails OnionShare now creates HS directory in /var/lib/tor, to obey AppArmor rules ( fixes #166 )
2014-12-10 02:09:10 +00:00
Micah Lee
ee98e1b024
removed helpers.get_tmp_dir() in favor of tempdir module
2014-12-10 00:50:19 +00:00
Thomas Waldmann
087102bde4
pep8: too long lines, reformat lines to < 120 chars. removed redundancy from long_description in setup.py.
...
note: pep8 usually recommends 80 chars, but I find that impractical and unnecessary - it's not 1980 any more when code was edited on 80x25 terminals.
i was a bit wondering about onionshare-launcher.py - it does a lot of imports, but does not use the imported names.
2014-11-18 18:59:48 +01:00
Thomas Waldmann
f5889d96dd
pep8: remove unexpected spaces around "=" in function/method head
2014-11-18 18:43:35 +01:00
Thomas Waldmann
152bc32ba7
pep8: no space after {[ or before ]}, reindent
2014-11-18 18:41:45 +01:00
Thomas Waldmann
aa2b59ec5d
pep8: 2 spaces before inline comments
2014-11-18 18:37:17 +01:00
Thomas Waldmann
63965fd2d9
pep8: blank after comma and colon
2014-11-18 18:35:09 +01:00
Thomas Waldmann
179eefae29
pep8: fix empty line counts
...
top level: 2, else 1
I also advice to not put "pass" into empty classes, but rather a docstring instead of "pass".
2014-11-18 18:29:32 +01:00
Thomas Waldmann
5deb3f9e0f
pep8: fix indentation to be a multiple of four
...
note: i used pycharm "reformat file", so there are other reformattings also
2014-11-18 18:03:34 +01:00
Thomas Waldmann
d51f762ddd
pep8: use triple double-quotes for docstrings
2014-11-18 17:39:04 +01:00
Micah Lee
0812e371aa
Merge pull request #161 from ThomasWaldmann/fixes
...
some minor fixes
2014-11-17 10:58:29 -08:00
Micah Lee
a70ddacb26
Merge branch 'respect-fellow-hs' of github.com:hidden-id/onionshare into hidden-id-respect-fellow-hs
...
Conflicts:
onionshare/onionshare.py
2014-11-17 10:51:30 -08:00
Thomas Waldmann
46492e0446
fix typos
2014-10-26 14:40:41 +01:00
Thomas Waldmann
77e257efc2
fix unclosed table tag
2014-10-26 14:16:53 +01:00
The Dod
0b50829695
Allow for arbitrary order of service open/close
...
d'Oh
2014-10-21 06:46:56 +07:00
The Dod
1786b5a891
Typo
...
Overlooked because I can only use a password-auth branch on my PC
2014-10-13 14:15:06 +07:00
The Dod
aab094d0e2
Remove debug prints :s
2014-10-13 11:42:48 +07:00
The Dod
0302dca77f
Don't disable existing hidden services
...
Still not perfect: can't seem to remove our temporary hs
(master branch doesn't do that either, but that's no excuse ;) )
probably something I don't understand re stem and hidden services
2014-10-13 11:36:10 +07:00
kkka
f2cd447a58
Fix CLI to exit when server is shutdown
2014-10-05 02:42:27 +09:00
Micah Lee
b035330805
fixed OSX filename-related issues
2014-09-25 11:42:29 -07:00
Micah Lee
f5ddd23b70
handles canceled downloads properly ( fixes #81 )
2014-09-22 20:22:30 +00:00
Micah Lee
8892126155
launch Flash in threaded mode, to support multiple concurrent connections ( #117 )
2014-09-22 19:30:10 +00:00
Micah Lee
a9c68104ce
splits translations into multiple files ( #146 )
2014-09-19 23:15:20 +00:00
Daniel James Smith
5be0b1dfa4
Updated German translation
2014-09-18 15:15:14 +02:00
Micah Lee
4f6cff6503
warns about sending large files in GUI ( #123 )
2014-09-18 01:35:30 +00:00
Micah Lee
5b9176c9d4
combined Start Server and Stop Server buttons into a single button
2014-09-18 00:37:19 +00:00
Micah Lee
c159ef671d
removed unused strings
2014-09-18 00:26:22 +00:00
Micah Lee
3f3b52c0a7
warns about sending large files in CLI ( #123 )
2014-09-18 00:20:54 +00:00
Micah Lee
f550f09885
NoTor error message tells user where to download Tor Browser ( #44 )
2014-09-18 00:09:17 +00:00
Micah Lee
89581b0a03
encode one way for CLI, encode another for GUI ( #141 )
2014-09-16 02:09:37 +00:00
Micah Lee
fec0c9ad65
fixes #115
2014-09-16 01:23:43 +00:00
Micah Lee
8cdecbcaf4
removing unnecessary whitespace
2014-09-16 00:22:14 +00:00
Micah Lee
8f493b4468
make Ctrl-C close the CLI version again
2014-09-16 00:19:44 +00:00
Micah Lee
8514f74b1c
make onionshare use utf-8 to support unicode filenames, partial fix for #141
2014-09-16 00:08:27 +00:00
Micah Lee
43f3f4123a
Merge pull request #142 from kalikaneko/feature/improve-es-translation
...
complete /es/ locales
2014-09-15 18:45:47 +00:00
Kali Kaneko
60385c43b3
complete /es/ locales
2014-09-13 13:25:14 -05:00
kkka
e33cfd621d
Fix CLI version to automatically exit when the server is shut down.
2014-09-07 10:35:17 +09:00
Micah Lee
bfcd5190bd
try connecting to Tor SOCKS5 server on ports 9050 and 9150, instead of just 9150 ( #136 )
2014-09-03 14:23:07 -07:00
Micah Lee
65a7cf78cf
Merge branch 'deprecated' of https://github.com/lazlolazlolazlo/onionshare into lazlolazlolazlo-deprecated
...
Conflicts:
onionshare/strings.json
2014-09-03 14:06:41 -07:00
Lazlo Westerhof
a07bc739d6
Remove unused translations
2014-09-03 20:51:26 +02:00
Lazlo Westerhof
ea7c4dd0a0
Update Dutch translation and add missing strings
2014-09-03 20:26:13 +02:00
Micah Lee
2c1534979e
squash bug in closing Flask web server ( fixes #131 )
2014-09-03 00:11:25 -07:00
Micah Lee
17646641f6
close the wait for HS connection after it successfully connects, because then flask is unresponsive until it times out
2014-09-02 18:32:59 -07:00
Micah Lee
4edcce9ece
add utf-8 encoding to all .py files
2014-09-02 17:30:01 -07:00
Micah Lee
8c9bcdad6d
Merge pull request #124 from kkka/fix-wait_for_hs-bug
...
Fix wait_for_hs bug when specifying --local-only
2014-09-02 17:23:00 -07:00
Micah Lee
c161003acd
Merge pull request #127 from u451f/translations
...
french translation
2014-09-02 17:22:39 -07:00
Micah Lee
de991c8498
Merge pull request #128 from u451f/translation-de
...
german translation
2014-09-02 17:22:20 -07:00
Micah Lee
b830438d60
including pysocks with onionshare, and updated code to use pysocks instead of socksipy ( #118 )
2014-09-02 17:21:19 -07:00
u451f
2a349b1ab8
fix typo
2014-09-03 00:14:57 +02:00
u451f
61fa25f883
german translation
2014-09-03 00:07:54 +02:00
u451f
b832c1ed78
french translation - improved
2014-09-02 23:46:27 +02:00
u451f
de4de6317d
french translation
2014-09-02 23:41:47 +02:00
Micah Lee
a6e99fcc21
added GPLv3 license to each source file
2014-09-02 12:10:42 -07:00
kkka
a5b3d45d1e
Fix wait_for_hs bug when specifying --local-only
2014-09-02 00:04:41 +09:00
Micah Lee
c49cc75a55
fixed Tails bug where if you stopped server in GUI, you could not start a new server again
2014-08-30 01:42:17 +00:00
Micah Lee
cf52c2dcd0
fix bug caused by refactoring that made Tails launch infinite onionshare processes (oops)
2014-08-30 01:10:58 +00:00
Micah Lee
0858366e31
remove gui_mode from web app, because it is no longer useful
2014-08-29 16:06:13 -07:00
Micah Lee
89bad45825
make other_page_loaded string shorter, to fit in status bar better
2014-08-29 16:02:56 -07:00
Micah Lee
d1cd3c83ab
added status bar to GUI, populated it with useful status messages
2014-08-29 15:43:07 -07:00
Micah Lee
846b10b755
waits for hidden service before displaying URL. fixes #116
2014-08-29 14:32:19 -07:00
Micah Lee
36914114f9
sort the list of filenames being shared
2014-08-28 16:26:56 -07:00
Micah Lee
fcdcfd7c39
added download progress bars to GUI, and made close automatically act as stop server automatically
2014-08-27 23:52:56 -07:00
Micah Lee
5325b7b173
made it so clicking Start Server actually starts the server, and made the URL fields hide/show appropriately, and the Copy URL button work
2014-08-27 19:07:15 -07:00
Micah Lee
349ca67cc9
server can be started and stopped from the GUI
2014-08-27 17:52:45 -07:00
Micah Lee
e7af77b3f7
beginning Downloads layout
2014-08-27 16:43:18 -07:00
Micah Lee
d519e62b93
beginning ServerStatus layout
2014-08-27 16:11:43 -07:00
Micah Lee
78f6c31061
beginning to refactor onionshare_gui to work with multiple files ( #66 )
2014-08-27 14:21:08 -07:00
Micah Lee
c5ced60f8b
support for multiple files and folders ( #66 )
2014-08-27 13:51:39 -07:00
Micah Lee
eebcdfb81e
refactored onionshare_gui to work with new refactored onionshare
2014-08-26 19:04:39 -07:00
Micah Lee
54a37ee28e
Split the increasingly-sprawly onionshare module into different modules:
...
onionshare: the main business logic
helpers: helper function used in multiple modules
strings: handles all localized strings
web: the flask web server
2014-08-26 18:22:59 -07:00
Micah Lee
0a6d01f11e
removed debug comment
2014-08-26 17:07:57 -07:00
Micah Lee
805522be36
Merge branch 'master' of https://github.com/canerbasaran/onionshare into canerbasaran-master
...
Conflicts:
onionshare_gui/onionshare_gui.py
2014-08-26 16:59:48 -07:00
Micah Lee
0bc778437d
refactored cleanup handlers to use a queue, so they will work with the GUI
2014-08-26 15:44:44 -07:00
Micah Lee
a3fb7a930b
Merge branch 'cleanup-after-exit' of https://github.com/r4v5/onionshare into r4v5-cleanup-after-exit
2014-08-26 15:23:03 -07:00
Micah Lee
1067df9370
Merge pull request #112 from lazlolazlolazlo/unused
...
Remove unused imports
2014-08-26 15:19:59 -07:00
Micah Lee
49d539045e
Merge pull request #110 from lazlolazlolazlo/stayopen
...
Fix close automatically
2014-08-26 15:19:30 -07:00
Mason Donahue
0e5b182a54
Just realized Windows is a supported OS. This should be more portable.
2014-08-24 01:19:10 -05:00
Mason Donahue
91d0bb4fda
Clean up tmpdir storing hidden service info after exit.
2014-08-23 18:03:36 -05:00
Lazlo Westerhof
829f15ab34
Remove unused imports
2014-08-23 00:10:51 +02:00
Lazlo Westerhof
9194b79b8a
Fix close automatically
2014-08-22 23:12:12 +02:00
Lazlo Westerhof
1366d45e65
Fix close automatically
2014-08-22 23:07:39 +02:00
Lazlo Westerhof
ef3e8398fe
Update dutch translation strings
2014-08-22 18:48:43 +02:00
Micah Lee
4284476902
moved several english strings into strings.json for translation
2014-08-20 14:45:24 -07:00
Micah Lee
2ac25e2995
import appropriate modules for constant_time_compare to work
2014-08-20 21:29:45 +00:00