Thomas Waldmann
d51f762ddd
pep8: use triple double-quotes for docstrings
2014-11-18 17:39:04 +01: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
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
4f6cff6503
warns about sending large files in GUI ( #123 )
2014-09-18 01:35:30 +00:00
Micah Lee
3f3b52c0a7
warns about sending large files in CLI ( #123 )
2014-09-18 00:20:54 +00:00
Micah Lee
8f493b4468
make Ctrl-C close the CLI version again
2014-09-16 00:19:44 +00: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
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
b830438d60
including pysocks with onionshare, and updated code to use pysocks instead of socksipy ( #118 )
2014-09-02 17:21:19 -07: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
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
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
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
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
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
Micah Lee
bda5bc3450
in Tails, launch separate root process to do root stuff ( #96 )
2014-08-20 21:11:49 +00:00
Micah Lee
bbbf005dac
move constant_time_compare function into onionshare from itsdangerous, to avoid dependency problem
2014-08-20 20:20:17 +00:00
Lazlo Westerhof
a034b575ee
Guess the content type of a file
2014-08-10 10:44:06 +02:00
brn
85c72f1980
Solved Issue #80 UnicodeEncodeError
2014-08-01 20:04:17 +03:00
Micah Lee
7a05516a65
use hash of /dev/urandom data instead of urandom data directly, to avoid leaking state of entropy
2014-07-15 19:17:09 -07:00
Micah Lee
2edde2eb1f
Encoded strings passed to constant_time_compare as ascii, because it was
...
throwing errors in OSX. Also added --debug to command line version, and made onionshare server
log errors as well as the GUI.
2014-07-07 17:01:51 -07:00
Garrett Robinson
426d744d58
constant time compare the slug to avoid timing attacks
2014-07-03 13:06:46 -07:00
rufoa
7317d929bf
fix iptables rule removal
...
tails_close_port should remove the previously added ACCEPT rule, rather than inserting an explicit REJECT rule. This ensures the firewall is restored to its original state, which may not necessarily have had a REJECT rule on that port.
2014-06-30 18:09:20 +01:00
Espen Kåsa Notodden
4e5eb62dca
Merge branch 'master' of https://github.com/micahflee/onionshare
2014-06-26 22:51:20 +02:00
Espen Kåsa Notodden
c52fd0915e
add translated() to return encoded translated strings
2014-06-26 21:51:54 +02:00
Espen Kåsa Notodden
4f35282511
encode all strings as utf-8
2014-06-26 20:46:29 +02:00
Micah Lee
d0d4cebbff
fixed bug where hidden service still closed even if "close automatically" unchecked in GUI ( #58 )
2014-06-26 14:45:18 -04:00