Commit Graph

2036 Commits

Author SHA1 Message Date
Micah Lee
6e0081ceba
pwd module doesn't exist in Windows 2018-12-19 11:45:31 -08:00
Micah Lee
ec5eff5f9d
Tweak the changelog 2018-12-19 11:42:37 -08:00
Micah Lee
498fe64617
Version bump to 2.0.dev1, and updated changelog 2018-12-18 19:39:40 -08:00
Micah Lee
187b7887fd
Merge branch '846_mac_packaging' into 406_osx_sandbox 2018-12-18 19:21:50 -08:00
Micah Lee
e6f26f6545
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
ce2efec610
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
a06bb0878f
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
043237bc20
Merge branch 'develop' into 406_osx_sandbox 2018-12-16 17:11:18 -08:00
Micah Lee
c059af97e1
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
1f3728e8c5
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
aa60fdab28
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
2b44e52fa9
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
bf337b5e34
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
7f335efaa3
Always pass in both is_authenticated and supports_v3_onions to OnionStub 2018-12-13 21:15:18 -08:00
Micah Lee
dc24b5ecd3
Fix bug in OnionStub, the stub used in settings dialog tests 2018-12-13 21:08:51 -08:00
Micah Lee
f9e6e6964c
Remove unnecessary imports from settings dialog tests 2018-12-13 21:07:23 -08:00
Micah Lee
a0e0b71da4
Remove "(legacy) from v2-only settings dialog options" 2018-12-13 20:58:13 -08:00
Micah Lee
d8246ded81
Fix test_load_strings_loads_other_languages test 2018-12-13 20:51:07 -08:00
Micah Lee
10f8e637a2
Merge pull request #836 from emmapeel2/newtrans
translations mostly completed (up to 84% translated)
2018-12-13 20:37:43 -08:00
Micah Lee
aa5fdde6a4
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
b02e1c257f
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
919fdeb096
When debug mode is enabled, don't log flask errors to disk 2018-12-11 07:16:44 -08:00
emma peel
af57803ade
translations mostly completed (up to 84% translated) 2018-12-11 07:58:44 +00:00
Micah Lee
1cf816b24b
Fixed typo in comment 2018-12-10 07:18:25 -08:00
Micah Lee
caf31090bf
Split pt locale into pt_BR and pt_PT 2018-12-08 11:25:06 -08:00
Micah Lee
300434e5ec
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
16e301af8d
Don't actually check the 'Use legacy addresses' checkbox when it's hidden 2018-12-05 20:53:03 -08:00
Micah Lee
657806a003
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
1d1efb7e54
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
aadb2a01f0
Only show onion settings if there is a Tor connection 2018-12-05 20:14:52 -08:00
Micah Lee
c7ef1bba39
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
d15e00061a
Keep the upload running in the GUI if the timer has run out 2018-12-05 18:19:35 +11:00
Micah Lee
3a0c8dc323
In macOS, split "Add" button into "Add Files" and "Add Folder" buttons 2018-11-27 12:10:16 -08:00
Miguel Jacq
ad7a858ab0
Merge pull request #826 from micahflee/update_deps
Update pip dependencies
2018-11-27 14:32:05 +11:00
Micah Lee
942f4f6bac
Merge branch 'develop' into 406_osx_sandbox 2018-11-26 18:07:12 -08:00
Micah Lee
6bfe9d4476
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
f32af3ca7e
Update pip dependencies 2018-11-26 17:14:44 -08:00
Micah Lee
4a765e0768
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
8182d24d55
Remove obsolete Download/Upload code that crept back in via an earlier merge 2018-11-27 10:50:11 +11:00
Micah Lee
01baf3d6fd
Fix test for Windows settings path 2018-11-25 19:10:19 -08:00
Micah Lee
db93734ed2
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
33bd7b4a80
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
250dbf9199
Make sure downloads_dir exists after loading settings 2018-11-25 17:34:06 -08:00
Micah Lee
29d2518911
Add comments to entitlements file, and remove the application group 2018-11-25 17:18:55 -08:00
Micah Lee
4934032144
Make tor data dir always be a tempdir inside OnionShare's data dir 2018-11-25 17:17:56 -08:00
Micah Lee
66e50c96b8
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
2cbe8979ab
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
845d7f8564
Display tor_data_directory as debug log 2018-11-25 16:26:54 -08:00
Micah Lee
d8b873a208
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
0794d7fb90
Split entitlements files into child and parent, and try using them both 2018-11-25 15:52:36 -08:00