Commit Graph

656 Commits

Author SHA1 Message Date
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
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
brn
e138d4e865 add Turkish translation string 2014-08-01 16:51:06 +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
Lazlo
be8358175d Add missing Dutch translation string 2014-07-04 21:02:54 +02: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
Micah Lee
1243b234bc Merge branch 'patch-1' of https://github.com/djsmith85/onionshare into djsmith85-patch-1
Conflicts:
	onionshare/strings.json
2014-06-29 00:43:27 -07:00
djsmith85
1fbb2cda43 Added German translations 2014-06-29 03:56:15 +02:00
Anton Nesterov
1a8a42a43d Add Russian translation (and make "Copy URL" translatable) 2014-06-29 03:11:04 +04:00
Michael Ball
a81ca4e8b8 Update strings.json 2014-06-26 19:44:26 -06:00
Michael Ball
9a8df2ae4a Update strings.json 2014-06-26 19:44:09 -06:00
Michael Ball
c005aba5c9 Update Spanish strings 2014-06-26 18:41:29 -06:00
Micah Lee
fc97e45295 Merge pull request #61 from joke2k/0.3/ita
update italian translation for 0.3
2014-06-26 16:05:49 -07: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
eb69586b12 New norwegian translations. 2014-06-26 22:36:42 +02:00
Espen Kåsa Notodden
c52fd0915e add translated() to return encoded translated strings 2014-06-26 21:51:54 +02:00
joke2k
6882734c92 update italian translation for 0.3 2014-06-26 21:43:45 +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
Micah Lee
4e3c32cbff gave file argument a help description 2014-06-26 14:21:39 -04:00
Micah Lee
9db3ca59c8 made pyinstaller work for OSX (#43) 2014-06-25 14:42:39 -07:00
Micah Lee
fc13ef5707 merging in relevant work from #59 2014-06-24 15:08:39 -04:00
Micah Lee
f54dfaaf26 command line version automatically closes after download is compltee, unless --stay-open flag is being used (fixes #53) 2014-06-23 20:45:10 -04:00
Micah Lee
1b28a4be49 command line version displays download progress (#53), and hidden service page displays file size as human readable 2014-06-23 19:57:09 -04:00
Seth Schoen
63df6fe727 Added Portuguese translations 2014-06-23 14:19:17 -07:00
Micah Lee
4ac7111011 switch random strings from hex-encoded to base32-encoded 2014-06-23 16:15:02 -04:00
Micah Lee
e00a888b9d randomize the name of hidden service directories (fixes #28) 2014-06-20 20:45:31 -04:00
Micah Lee
ff7791939b ported select_file to Qt 2014-06-19 16:36:49 -04:00
Micah Lee
684333776c fix bug where error 404 was 500ing 2014-06-13 00:16:22 -04:00
Micah Lee
1f0fd734fa find path for onionshare dir in cross-platform way 2014-06-12 17:05:33 -07:00
Micah Lee
86d835f291 onionshare closes automatically (if box is checked) when download finishes. fixes #36 2014-06-11 20:53:19 -04:00
Micah Lee
1cc817db3c renamed check_for_requests to heartbeat, and made the heartbeat serve all items in the queue instead of just the latest (#36) 2014-06-11 19:55:28 -04:00
Micah Lee
68bba73a8c added progress download progress notifications (#36) 2014-06-11 19:45:10 -04:00
Micah Lee
28b9140afd force tails users to run as root (#42) 2014-06-10 21:55:58 +00:00
Micah Lee
c2ab0206dd deleted tails python libs, and started new method for installing in tails (#42) 2014-06-10 17:41:13 -04:00
Thomas White
7545965edb Fixed IOError in onionshare.py (load_strings())
Onionshare.py can now be run from inside ~/onionshare/onionshare.
2014-06-07 00:00:22 -04:00
Micah Lee
5475038d79 if a string doesn't exist, fallback to English 2014-06-06 22:04:13 -04:00
Micah Lee
c8f3632fa4 added new english strings for GUI 2014-06-06 22:00:18 -04:00
Micah Lee
927282a432 displays web logs in GUI now. fixes #33 2014-06-06 21:54:08 -04:00
Micah Lee
d272002084 removing unnecessary output, whitespace 2014-06-06 15:48:52 -04:00
Joshua Thayer
467977195c Merge branch 'master' of https://github.com/micahflee/onionshare into plugin-changes
Conflicts:
	onionshare/onionshare.py
2014-06-05 17:17:13 -07:00
Joshua Thayer
d0b3145e17 Adds local-only command line flag. 2014-06-05 16:11:21 -07:00
Joshua Thayer
5b03b41bcd Fixes port bug when using tor browser, adds local-only flag 2014-06-05 15:52:05 -07:00
Joshua Thayer
af46ee0bda Adds meta tags to index.html 2014-06-05 15:16:56 -07:00
Micah Lee
1485734462 Merge branch 'gui' into ecmendenhall-write-tests 2014-05-31 19:57:27 -04:00
Micah Lee
79f36fc804 Merge branch 'write-tests' of https://github.com/ecmendenhall/onionshare into ecmendenhall-write-tests 2014-05-31 19:55:53 -04:00
Connor Mendenhall
47ba6043ce Add more unit tests. 2014-05-30 22:06:08 -05:00
Micah Lee
898cbfce31 oops, changed order of set_file_info args 2014-05-30 21:27:21 -04:00
Micah Lee
4868a9155b started web server in separate thread. organized file info, so it can be set from both cli and gui. 2014-05-30 21:25:26 -04:00
Micah Lee
837533e9c6 gui now handles NoTor successfully, and cleaned up business logic in both cli and gui 2014-05-30 21:03:53 -04:00
Lazlo
11e3b297bc Add Dutch translation 2014-05-30 09:02:02 +00:00
Micah Lee
9d7689f578 starting to build onionshare functionality into GUI 2014-05-29 23:23:40 -04:00
Micah Lee
3deab0dc40 rearranged onionshare_gui files, made it work better with packaging 2014-05-29 22:53:35 -04:00
Micah Lee
0cd457f47f fixed bug where onionshare throws 500 on download if you don't supply absolute path 2014-05-28 15:29:21 -04:00
Micah Lee
25b55093be fixed bug involving global variables not getting set correctly, making strings not display in html 2014-05-27 20:13:52 -04:00
Micah Lee
62a309fdb8 removing finnish translations until I can work out utf8 bugs 2014-05-27 19:55:24 -04:00
Micah Lee
2024ac2fb4 added Finnish translations, thanks to CryptoParty Finland 2014-05-27 17:49:13 -04:00
Micah Lee
72ee710c24 Merge pull request #20 from joke2k/master
add italian strings
2014-05-27 14:11:56 -07:00
Micah Lee
851777fe42 re-added dependencies, to get onionshare working in Tails again (fixes #16) 2014-05-27 21:08:56 +00:00
joke2k
56fc07a358 add italian strings 2014-05-27 17:39:26 +02:00
Micah Lee
6791fc48ce packaging onionshare more proper-like 2014-05-24 21:16:44 -04:00
Micah Lee
8fa3fe3bfb renaming onionshare.py to onionshare 2014-05-24 20:46:45 -04:00