Commit Graph

714 Commits

Author SHA1 Message Date
Caner Başaran
d674928842 update Turkish translation 2016-01-15 13:59:51 +02:00
Ximin Luo
2ff48fd346 Update desktop entry
- Remove UTF-8 entry - it is now redundant; see http://standards.freedesktop.org/desktop-entry-spec/latest/apc.html
- Add some suggested keywords; see http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
2016-01-06 19:08:14 +01:00
Micah Lee
4c40b89faf Merge pull request #245 from garrettr/wait-for-ephemeral-hs
Revert to using wait_for_hs for ephemeral HS
2016-01-05 18:37:44 -08:00
Micah Lee
7c22ba1af1 Merge pull request #244 from garrettr/fix-start-server-statusbar
Remove unnecessary status_bar.showMessage
2016-01-05 18:33:08 -08:00
Lazlo
2c76d7a49d Update nl.json 2015-12-30 15:37:50 +01:00
Lazlo
da56e1dd74 Update nl.json 2015-12-30 15:36:41 +01:00
joke2k
c825dd3e62 translate locale file to italian language 2015-12-29 16:43:10 +01:00
Garrett Robinson
e9eed561d6 Add time elapsed for completed downloads 2015-12-23 01:21:40 -05: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
Garrett Robinson
a54443084c Remove unnecessary status_bar.showMessage
status_bar.showMessage is already called with the same message at the
beginning of start_server, so there is no reason to call it again in the
try block.
2015-12-22 22:03:29 -05:00
Micah Lee
41a30dd4e4 Version bump to 0.8.1, updated changelog 2015-12-07 16:34:50 -08: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
9b83c3d959 Updating Windows build instructions to support both Win7 and Win10 (#235) 2015-12-07 21:17:37 -08:00
Micah Lee
e8296fca13 Add installing Microsoft Visual C++ 2008 Redistributiable Package back to Windows build instructions (#235) 2015-12-06 17:23:41 -08:00
Micah Lee
0e44621f92 Merge branch 'master' of github.com:micahflee/onionshare 2015-12-06 13:51:57 -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
78eb935aee Add Esparanto locale to Windows pyinstaller data 2015-12-05 18:58:34 -08:00
Micah Lee
9428172571 Version bump to 0.8, and updated changelog 2015-12-04 18:19:36 -08:00
Micah Lee
269018bcee Deleted Tails folder, because it is currently broken and will be until it gets included in Tails 2015-12-04 16:59:51 -08:00
Micah Lee
064bcb032c Rewrote Windows build instructions for Windows 10 (fixes #227). Also, switched from sha1 to sha256 for Authenticate codesigning, and updated NSIS config for the Windows installer. 2015-12-04 16:56:16 -08:00
Micah Lee
4cfffbf847 Don't access self.hs when using --local-only in GUI 2015-12-04 13:19:21 -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
a765a0b931 Adds python-qt4 as a debian dependency (fixes #230) 2015-12-04 12:24:47 -08:00
Micah Lee
a3ff1f6c8b Merge pull request #229 from Venca24/master
OnionShare translated into Esperanto language.
2015-12-03 15:11:25 -08:00
Venca24
48744b0793 OnionShare translated into Esperanto language. 2015-11-27 09:58:11 +01:00
Micah Lee
6b59c8e808 Merge pull request #226 from Venca24/master
Add Czech translation
2015-11-20 17:53:00 -08:00
Micah Lee
e7a9cd3d14 Merge branch 'master' of github.com:micahflee/onionshare 2015-11-20 17:49:58 -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
39cf82afc2 Fixed issue with path in NSIS spec file in Windows 2015-11-20 17:26:12 -08:00
Venca24
ef20c8e4d0 Minor change in Czech translation. 2015-11-21 02:07:41 +01:00
Venca24
ea2f4a3229 Onionshare translated into Czech language. 2015-11-21 02:03:32 +01:00
Micah Lee
ffd50445ba Added AppData file, and made new screenshots for it (fixes #160) 2015-11-20 15:17:25 -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
ce79633eec "Stop sharing automatically" checkbox respected in GUI when toggled before the server is started (fixes #223) 2015-11-20 13:43:19 -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
Micah Lee
52205be7fe Merge pull request #224 from oittaa/patch-1
Updated fi.json with new strings
2015-11-20 12:10:15 -08:00
oittaa
ba0de434fa Updated fi.json with new strings 2015-11-17 22:40:42 +02: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
ecb8128f91 Merge pull request #217 from effigies/ctrlq
Clean up and exit on Ctrl-Q
2015-11-08 12:52:12 -08:00