514 Commits

Author SHA1 Message Date
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