733 Commits

Author SHA1 Message Date
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
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
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
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
ef6de7eb3a Make tor data dir always be a tempdir inside OnionShare's data dir 2018-11-25 17:17:56 -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
91b4c3cc00 Fix bug related to persistent addresses when using v2 onion services 2018-11-25 13:14:56 -08:00
Micah Lee
eca1f9cc8d Merge branch 'develop' into v3-revisited 2018-11-18 17:04:20 -08:00
Miguel Jacq
7151874dad remove debug log 2018-11-13 15:06:28 +11:00
Miguel Jacq
1b670898a0 Merge develop branch and fix conflicts 2018-11-13 14:45:40 +11:00
Miguel Jacq
005d2d0af7 Try and fix closing the request for a valid upload post-timer expiry, whilst still rejecting subsequent uploads 2018-11-13 14:42:26 +11:00
Micah Lee
a8dae82ac3 Fix tests so they recognize the new receive mode location 2018-10-26 15:08:55 -07:00
Micah Lee
0bab7be444 Communicate the receive mode dir to the GUI, so clicking the open folder button opens the file manager to the correct directory 2018-10-25 21:38:20 -07:00
Micah Lee
2c45f6851e Receive mode puts files in a directory based on the timestamp of the upload 2018-10-25 21:13:16 -07:00
Micah Lee
36a785f617 Remove the whole onionkey module, and generate onion keys using stem 1.7.0 2018-10-11 19:38:05 -07:00
Miguel Jacq
826e1c2d51 Fix conflicts 2018-10-11 13:04:48 +11:00
Micah Lee
5db8bd36b9 Merge branch '780_improved_ui' into 690_language_dropdown 2018-10-10 18:32:01 -07:00
Micah Lee
84cafcbd3d Make the history indicator label circular again 2018-10-09 21:49:05 -07:00
Micah Lee
93d21c6041 Set min width and height so everything always looks good, and change onion address to monospace font 2018-10-09 20:51:10 -07:00
Miguel Jacq
b27007b20d Make auto-stop timer work on CLI when an upload is still in progress on expiry 2018-10-02 15:41:29 +10:00
Miguel Jacq
509d313464 Try to fix logic handling last upload after timer expiry 2018-10-02 08:22:08 +10:00
Miguel Jacq
80a70a6fc6 remove unused variable 2018-10-02 07:33:13 +10:00
Miguel Jacq
7fc4f97b2a remove uploads_in_progress list from web side 2018-10-01 19:18:50 +10:00
Miguel Jacq
c8fc6d7f85 Another unused variable 2018-10-01 19:17:50 +10:00
Miguel Jacq
eeedd32793 remove unused variable, whitespace 2018-10-01 19:15:58 +10:00
Miguel Jacq
d267cc597d Fix logic for handling an upload still in progress when timer runs out. Show thankyou page for last uploader post-timer expiry 2018-10-01 18:42:53 +10:00
Miguel Jacq
d69bba4c9d Merge develop in and fix upload/timer functionality so that it works as described. Still needs fixing to not throw a connection error to the lucky last uploader after their upload completes and server stops due to expiry having passed 2018-10-01 16:42:54 +10:00
Miguel Jacq
1e3b32ebbb Load default settings before parsing for any alternate config. Reload strings if an alternate config was passed in after 2018-10-01 15:32:53 +10:00
Micah Lee
e6302f3ba4 Remove the useless gui=True arg getting passed intro strings._ all over the place 2018-09-30 17:47:10 -07:00
Micah Lee
fc1360a0ba Fix tests 2018-09-30 17:35:58 -07:00
Micah Lee
30b14712e9 Make printing the settings filename as debug statement instead of print 2018-09-30 17:18:56 -07:00
Micah Lee
8d44c0f729 Set OnionShare language based on the locale stored in settings, and prompt user to restart OnionShare after changing their language 2018-09-30 17:06:29 -07:00
Micah Lee
786a8146d4 Translate language names to their own language 2018-09-30 16:18:40 -07:00
Micah Lee
e61c43fde1 Make Settings.available_locales be a dictionary mapping locale codes to language names in that language 2018-09-30 15:01:02 -07:00
Micah Lee
dc464aae23 Add locale to Settings, and make it default to the system locale, or English 2018-09-30 14:45:21 -07:00
Micah Lee
554f6e1b48 Got the indicator label to display in the correct location for share mode 2018-09-29 14:40:55 -07:00
Micah Lee
5632fffc5f Added an indicator count for share mode 2018-09-28 19:54:46 -07:00
Micah Lee
b7137d4bf6 Slightly improve Downloads progress bar style, but still needs spacing 2018-09-28 19:05:26 -07:00
Micah Lee
9390a0d199 Got empty Downloads looking good 2018-09-28 18:30:32 -07:00
Micah Lee
481bc8bdc1 Attempting to redesign Downloads 2018-09-28 17:01:48 -07:00
Micah Lee
bdf91361b4 Keep trying ports until it finds a free one 2018-09-27 21:22:10 -07:00
Micah Lee
c7901e1628 Merge pull request #789 from mig5/show_v3_onion_support
Show whether Tor version supports next-gen onion support
2018-09-26 17:09:34 -07:00