Commit Graph

2236 Commits

Author SHA1 Message Date
Micah Lee
ad51d9221f Made the uninstaller delete uninstall.exe 2016-02-15 22:32:33 -08:00
Micah Lee
d438e25b9b Successfully builds a .exe with Python3/Qt5. Switched from pyinstaller to py2exe. (#261) 2016-02-15 22:16:09 -08:00
Micah Lee
d1c36fa04f Got python3/Qt5 port working in Windows, but still need to finish packaging (#261) 2016-02-15 13:06:12 -08:00
Micah Lee
a11cbe4f82 Updated .travis.yml to work with python3 tests (#261) 2016-02-15 11:18:31 -08:00
Micah Lee
f864e85ee3 Ported tests to python3 (#261) 2016-02-15 11:00:41 -08:00
Micah Lee
a8c8b56fa1 Starting to document the Python3/Qt5 development environment for Windows (#261) 2016-02-13 18:18:10 -08:00
Micah Lee
fdca383d31 Updated build instructions and script for RPM based distros 2016-02-13 17:36:18 -08:00
Micah Lee
42696cde91 Modify stdeb settings so that .deb that gets built will run in Ubuntu 14.04 2016-02-13 17:10:43 -08:00
Micah Lee
2f2e020ed4 Remove reference to working in Tails 2016-02-12 15:49:19 -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
62c69c4c0b Porting onionshare GUI from python2 to python3, and also from PyQt4 to PyQt5 (#261). This commit ports onionshare_gui. 2016-02-12 15:12:27 -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
d987a23c40 Removed references to Tails, since it is not yet supported until #220 is resolved 2016-02-12 09:32:11 -08:00
Micah Lee
5e32ede0f6 Merge pull request #256 from infinity0/patch-1
Update desktop entry as suggested by Debian lintian tool
2016-02-12 09:00:42 -08:00
Micah Lee
020c90e3e0 Merge pull request #259 from canerbasaran/master
update Turkish translation
2016-02-12 09:00:15 -08:00
Micah Lee
793ffc1e55 Merge pull request #250 from lazlolazlolazlo/patch-1
Update Dutch translation.
2016-02-12 08:59:55 -08:00
Micah Lee
f67ff384c7 Merge pull request #249 from joke2k/lang-it
translate locale file to italian language
2016-02-12 08:59:34 -08:00
Micah Lee
191218d943 Merge branch 'garrettr-eta' 2016-02-12 08:58:39 -08:00
Micah Lee
41b3e6ab9d Added estimated time remaining strings to English locale file 2016-02-12 08:58:29 -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
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