38 Commits

Author SHA1 Message Date
Miguel Jacq
7ac6bfa215 Various safety checks to prevent a share from starting after the timeout has expired. Also enforce that a timeout lands right on the minute and not precisely when the user clicks start (e.g mid-minute), to avoid confusion that a share might be lingering longer than desired 2017-11-09 17:26:32 +11:00
Miguel Jacq
f5b45539b0 use QDateTimeEdit instead of a spinbox for selecting a future date/time to auto-stop share 2017-11-09 11:29:55 +11:00
Miguel Jacq
c6f36e2086 Implements a shutdown timer to stop a share automatically (downloaded or not) after N hours 2017-11-08 20:25:59 +11:00
Miguel Jacq
e8304b861f Make it possible to supply a custom json settings file from somewhere else 2017-06-01 17:35:27 +10:00
Miguel Jacq
18bec095d3 Make adding of files/folders a single button 2017-05-29 10:22:16 +10:00
Micah Lee
4460c4e414 Merge branch 'add_help_button' of https://github.com/mig5/onionshare into mig5-add_help_button 2017-05-22 16:44:10 -07:00
Micah Lee
caed1d5336 Update desktop notification settings text 2017-05-22 16:38:46 -07:00
Micah Lee
c26ccd48fa Update desktop notification text 2017-05-22 16:35:59 -07:00
Micah Lee
d1512dcd9c Merge branch '285_systray_notifications' of https://github.com/mig5/onionshare into mig5-285_systray_notifications 2017-05-22 16:15:06 -07:00
Miguel Jacq
5a166e9fc1 Add desktop notification messages on download events (via systray) 2017-05-22 16:47:23 +10:00
Miguel Jacq
4b4de9add3 Adjust folder dialog caption to be plural 2017-05-21 16:25:15 +10:00
Miguel Jacq
d9e882cbdc Make it possible to select multiple folders by using non-native QFileDialog 2017-05-21 16:14:32 +10:00
Miguel Jacq
b3bde7083f Add help button to settings dialog, which takes user to the wiki 2017-05-20 13:56:20 +10:00
Miguel Jacq
5f92e3d606 #345 - validate the readability of files before adding them 2017-05-18 18:09:49 +10:00
Micah Lee
62b5d64bc7 Catch errors that occur when connection_type is bundled_tor, but the tor process closes before it can connect 2017-05-17 12:00:42 -07:00
Micah Lee
41f4b666e7 When saving settings, if Tor settings changed or if Tor isn't connected, reboot the Onion object, so that it's always connected to Tor when using the app 2017-05-16 16:50:33 -07:00
Micah Lee
b7a9574490 Fixed signal/slot/thread issue in TorConnectionDialog and TorConnectionThread, and updated the language of bundled Tor error messages 2017-05-16 13:09:27 -07:00
Micah Lee
6b35a44d41 Renamed onionshare.helpers module to onionshare.common 2017-05-16 11:05:48 -07:00
Micah Lee
68e02dab1f Make UpdateChecker use the shared Onion object instead of creating a new one 2017-05-14 19:54:12 -07:00
Micah Lee
224f2bb0ad Now when you cancel connecting to Tor, it prompts you if you want to quit or open settings 2017-05-14 19:21:33 -07:00
Micah Lee
915d548399 Began making a TorConnectionDialog, which handles connecting to the Tor network 2017-04-17 20:26:35 -07:00
Micah Lee
add0094ccd Created update_checker module, and logic to load http://elx57ue5uyfplgva.onion/latest-version.txt (this is the OnionShare website's onion site) to check for updates. Also added UX in the settings dialog to force checking for updates. Does not actually do so automatically yet. 2017-04-15 18:04:05 -07:00
Micah Lee
baa7c4bdd1 Added Tor SOCKS address and port settings 2017-04-15 16:33:41 -07:00
Micah Lee
9fcb6f0c93 Added autoupdate settings to Settings, and also to the settings dialog 2017-04-15 15:24:08 -07:00
Micah Lee
e6859f35dc Rearranged settings layout so that all Tor-related settings are inside of the 'How should OnionShare connect to Tor?' box, including the Test Tor Settings button 2017-04-15 13:05:11 -07:00
Micah Lee
94cf86c3b4 Connecting to Tor now times out of 10 seconds 2017-04-14 10:00:56 -07:00
Micah Lee
8677ea35e5 In the settings dialog, show Tor connection status when the connection type is bundled 2017-04-13 22:56:47 -07:00
Micah Lee
e295f90e68 Connecting to Tor in bundled mode now creates a temporary tor data dir, starts a new tor process, and connects to it. Also, refactored Settings dialog to allow Linux to use bundled tor as well 2017-04-13 22:22:34 -07:00
Micah Lee
3bbefd7267 Created a TorDialog class, and beginning to subprocess out to tor.exe 2017-04-08 19:00:31 -07:00
Micah Lee
9cf1011b0a Started to implement Bundled Tor connection settings 2017-04-08 18:10:17 -07:00
Micah Lee
ad64074a2b Add bundled Tor to Tor connection settings, and make it only work in Windows and Mac, and not in dev mode 2017-04-08 17:48:58 -07:00
Micah Lee
b33d87953b Remove old strings from locales 2017-04-08 15:09:33 -07:00
Micah Lee
42acb6d34e Added close_after_first_download and use_stealth to settings, and also to the GUI settings dialog 2017-04-08 13:42:07 -07:00
Micah Lee
da699014e8 Fixed typo 2017-02-28 15:39:45 -08:00
Micah Lee
677951c240 Catch Tor protocol error exceptions when starting an onion service (#344) 2017-02-22 16:45:52 -08:00
Micah Lee
e4649ac3b5 Rip out support for non-ephemeral onion services 2017-02-22 14:10:06 -08:00
Micah Lee
3d2bfd94f5 Merge branch 'master' into pyinstaller 2017-02-21 17:13:06 -08:00
Micah Lee
37539c95b6 Renamed 'resources' to 'share', and updated location of 'share' files in OSX/Win binaries 2017-02-21 16:59:14 -08:00