Commit Graph

656 Commits

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