2034 Commits

Author SHA1 Message Date
Micah Lee
b9c5ab5ae0 Version bump to 2.0.dev1, and updated changelog v2.0.dev1 2018-12-18 19:39:40 -08:00
Micah Lee
66b0b4a028 Merge branch '846_mac_packaging' into 406_osx_sandbox 2018-12-18 19:21:50 -08:00
Micah Lee
6856ae7e87 When discovering default locale, default to english if locale.getdefaultlocale() returns None. Also, make locales that include country codes (pt_PT and pt_BR) actually work as default locales 2018-12-18 18:53:40 -08:00
Micah Lee
d4c02cbad1 Delete install/Info.plist, because PyInstaller doesn't actually even use it. And bump Mac Tor Browser version to 8.0.4, but I'll still need to bump it again before the 2.0 release 2018-12-18 18:13:02 -08:00
Micah Lee
e99666f458 When enabling debug mode in Web, use common.build_data_dir() to get data dir path 2018-12-16 17:20:28 -08:00
Micah Lee
f316b6ef3b Merge branch 'develop' into 406_osx_sandbox 2018-12-16 17:11:18 -08:00
Micah Lee
a26c457b3c Merge pull request #831 from micahflee/812_fix_v3_onions
[WIP] Fix v3 onion services
2018-12-16 17:01:40 -08:00
Micah Lee
8e900ace5c If a locale file includes a blank string, fallback to English instead of using the blank string 2018-12-16 10:55:13 -08:00
Micah Lee
0a039b58a5 Merge pull request #843 from emmapeel2/split_pt_locale
Add weblate versions for locales to fix merge conflict.
2018-12-16 10:43:17 -08:00
emma peel
1ca54cd6b5 Add weblate versions of this files, to see if it stops complaining without a real merge.
A real merge from weblate will include more files yet not translated.
2018-12-15 10:34:38 +00:00
Micah Lee
83b390fe22 Remove qtapp.processEvents() call from settings dialog tests, because they cause a segfault in circleci for some reason 2018-12-13 21:44:47 -08:00
Micah Lee
e6e315c632 Always pass in both is_authenticated and supports_v3_onions to OnionStub 2018-12-13 21:15:18 -08:00
Micah Lee
1ac013f444 Fix bug in OnionStub, the stub used in settings dialog tests 2018-12-13 21:08:51 -08:00
Micah Lee
fcf01d3e4f Remove unnecessary imports from settings dialog tests 2018-12-13 21:07:23 -08:00
Micah Lee
71ea5e5437 Remove "(legacy) from v2-only settings dialog options" 2018-12-13 20:58:13 -08:00
Micah Lee
0fe1fb22f1 Fix test_load_strings_loads_other_languages test 2018-12-13 20:51:07 -08:00
Micah Lee
1da3167d09 Merge pull request #836 from emmapeel2/newtrans
translations mostly completed (up to 84% translated)
2018-12-13 20:37:43 -08:00
Micah Lee
21f55f77dd Merge pull request #839 from micahflee/837_2.x_cve-2018-19960
Change filename of flask debug log to be in ~/.config/onionshare, not /tmp
2018-12-11 12:50:47 -08:00
Micah Lee
f85c68c504 Change filename of flask debug log file, store it in the OnionShare data dir instead of /tmp 2018-12-11 08:06:14 -08:00
Micah Lee
29f0570e4b When debug mode is enabled, don't log flask errors to disk 2018-12-11 07:16:44 -08:00
emma peel
d537889484 translations mostly completed (up to 84% translated) 2018-12-11 07:58:44 +00:00
Micah Lee
86598ca094 Fixed typo in comment 2018-12-10 07:18:25 -08:00
Micah Lee
d3298f8e7c Split pt locale into pt_BR and pt_PT 2018-12-08 11:25:06 -08:00
Micah Lee
5655bb9017 Update settings dialog tests to use an OnionStub instead of an Onion, and test different states of tor (authenticate and not, supports v3 and not) 2018-12-05 23:05:25 -08:00
Micah Lee
f1962cf647 Don't actually check the 'Use legacy addresses' checkbox when it's hidden 2018-12-05 20:53:03 -08:00
Micah Lee
04171a7ca6 Only allow starting v3 onion services if the tor that we're connected to supports it 2018-12-05 20:46:01 -08:00
Micah Lee
16f6742a71 Require tor 0.4.0.0 for v3 onion services (will change in the future). And update settings dialog so if the connected version of tor doesn't support v3 onions, then always show legacy options. If it does support v3 onions, allow 'Use legacy addresses' 2018-12-05 20:33:45 -08:00
Micah Lee
00cbc2ff4b Only show onion settings if there is a Tor connection 2018-12-05 20:14:52 -08:00
Micah Lee
73fdc0ffc4 Merge pull request #752 from mig5/receiver-mode-gui-hold-timeout-share-open-til-upload-finished
Hold a share open if its timer has expired but a file is still uploading.
2018-12-05 09:13:54 -08:00
Miguel Jacq
195df0499d Keep the upload running in the GUI if the timer has run out 2018-12-05 18:19:35 +11:00
Micah Lee
1ebb2dc796 In macOS, split "Add" button into "Add Files" and "Add Folder" buttons 2018-11-27 12:10:16 -08:00
Miguel Jacq
9db2b57783 Merge pull request #826 from micahflee/update_deps
Update pip dependencies
2018-11-27 14:32:05 +11:00
Micah Lee
63a02f4e81 Merge branch 'develop' into 406_osx_sandbox 2018-11-26 18:07:12 -08:00
Micah Lee
9e7c83cf6a Merge pull request #763 from mig5/open_folder_uploads_macos_windows
Open folder containing uploads with the file selected, in macOS and Windows
2018-11-26 18:03:52 -08:00
Micah Lee
54f7d67f20 Update pip dependencies 2018-11-26 17:14:44 -08:00
Micah Lee
036b051126 Merge pull request #825 from mig5/download_upload_cruft
Remove obsolete Download/Upload code that crept back in via an earlier merge
2018-11-26 16:56:36 -08:00
Miguel Jacq
9a3e2df7aa Remove obsolete Download/Upload code that crept back in via an earlier merge 2018-11-27 10:50:11 +11:00
Micah Lee
76de6c098e Fix test for Windows settings path 2018-11-25 19:10:19 -08:00
Micah Lee
23897cfc06 Add trailing slash to ~/OnionShare/ in entitlements file, so the sandbox knows it's a directory and not a file 2018-11-25 18:00:04 -08:00
Micah Lee
794573ec5e Build downloads_dir a different way in macOS, so it's correct despite the sandbox 2018-11-25 17:48:11 -08:00
Micah Lee
507cb837ab Make sure downloads_dir exists after loading settings 2018-11-25 17:34:06 -08:00
Micah Lee
87d47d60f1 Add comments to entitlements file, and remove the application group 2018-11-25 17:18:55 -08:00
Micah Lee
ef6de7eb3a Make tor data dir always be a tempdir inside OnionShare's data dir 2018-11-25 17:17:56 -08:00
Micah Lee
4b4a07a877 Fix indenting in entitlements plist, and give OnionShare read-only access to Tor Browser's data, so it can optionally use Tor Browser's tor 2018-11-25 17:00:02 -08:00
Micah Lee
dd67de5563 Make macOS use Tor control ports instead of unix sockets to connect to the Tor controller 2018-11-25 16:50:20 -08:00
Micah Lee
d5538e715d Display tor_data_directory as debug log 2018-11-25 16:26:54 -08:00
Micah Lee
267c4013f5 Create a group container for macOS sandbox, and on Mac put the Tor data dir in it 2018-11-25 16:15:27 -08:00
Micah Lee
695705a875 Split entitlements files into child and parent, and try using them both 2018-11-25 15:52:36 -08:00
Miguel Jacq
c006d90336 Merge pull request #822 from micahflee/819_update_readme
Include repology badge, and new screenshots
2018-11-26 10:37:04 +11:00
Micah Lee
a96b25cf58 Use entitlements file when codesigning for macOS 2018-11-25 15:14:29 -08:00