Commit Graph

601 Commits

Author SHA1 Message Date
Micah Lee
07bdbd5714 Renamed linux_scripts to scripts, since they are now used for Linux, OSX, and Windows 2016-04-12 10:46:44 -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
229603eb7d Localize quit confirm button text (#264) 2016-04-11 10:08:24 -07:00
Micah Lee
cb3d39fb4f Confirm when user tries to close the GUI window (fixes #264) 2016-04-10 19:28:22 -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
f5496ba20c Remove reference to OSX CLI version in readme (#201) 2016-04-10 15:24:21 -07:00
Micah Lee
08c5e720ae Updated OSX codesigning code for PyInstaller 2016-04-10 15:13:52 -07:00
Micah Lee
55b653d3d2 Renamed OSX binary from onionshare_gui to onionshare-gui 2016-04-10 15:13:38 -07:00
Micah Lee
00d1e29333 Switch from py2app to PyInstaller 2016-04-10 14:20:18 -07:00
Micah Lee
3b638cfd99 Made URL label no longer word-wrap 2016-04-10 13:33:16 -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
738c05a5f8 Updated .travis.yml 2016-02-15 23:09:09 -08:00
Micah Lee
683610e962 Update copyright year to 2016 2016-02-15 22:37:28 -08:00
Micah Lee
b5d45e90be Merge branch 'master' of github.com:micahflee/onionshare 2016-02-15 22:33:13 -08:00
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