1079 Commits

Author SHA1 Message Date
Miguel Jacq
2b36938d53 Ensure we don't consider the Tor connection 'lost' if we're still in the connection dialog process (wait for that thread to finish).
Also various implementations of onion.is_authenticated() for a more robust check than onion.connected_to_tor,
which seemed to help some corner cases
2017-12-21 12:15:23 +11:00
Miguel Jacq
6e64f08f08 #493, #500 - detect if the Tor connection (bundled, TorBrowser or otherwise) has been lost while the app is open. Stop a running share if so 2017-12-21 09:22:53 +11:00
Micah Lee
d7190497cb Merge branch 'intrigeri-bugfix/nautilus-extension-dont-spam-logs' 2017-12-07 14:32:07 -08:00
Micah Lee
7c41c44b49 Merge branch 'bugfix/nautilus-extension-dont-spam-logs' of https://github.com/intrigeri/onionshare into intrigeri-bugfix/nautilus-extension-dont-spam-logs 2017-12-07 14:30:22 -08:00
intrigeri
f59fd5d525 Nautilus extension: avoid spamming the logs due to missing method.
Without this change I see a dozen or so warnings in the Journal:

    nautilus_menu_provider_get_background_items: assertion
    'NAUTILUS_IS_MENU_PROVIDER (provider)' failed

Nautilus upstream developers are going to discuss if/how they want to address
this on their side; in the meantime they recommend simply adding a no-op method
to silence the logs, so here we go.
2017-12-07 06:04:48 +00:00
Micah Lee
069e351ebf Upgrade Windows and Mac version of bundled Tor to 0.3.1.8 2017-12-06 16:37:10 -08:00
Micah Lee
f75bc1f867 Merge branch 'mig5-no_available_port_error' 2017-12-06 16:15:34 -08:00
Micah Lee
2ae7ce2761 Merge branch 'no_available_port_error' of https://github.com/mig5/onionshare into mig5-no_available_port_error 2017-12-06 16:14:21 -08:00
Micah Lee
722530e64a Merge branch 'mig5-dont_uncheck_timer_checkbox_on_stop' 2017-12-06 16:11:11 -08:00
Micah Lee
5cf3385ef2 Merge branch 'dont_uncheck_timer_checkbox_on_stop' of https://github.com/mig5/onionshare into mig5-dont_uncheck_timer_checkbox_on_stop 2017-12-06 16:03:23 -08:00
Miguel Jacq
00e37894a9 Better wording for no_available_port error 2017-12-07 08:59:34 +11:00
Miguel Jacq
9052a6c33f Raise an error if we were unable to obtain a random port 2017-12-07 08:49:10 +11:00
Micah Lee
7177adbf0e Merge branch 'wondratsch-master' 2017-12-06 12:02:28 -08:00
wondratsch
b469e44033 fix typo 2017-12-06 12:57:47 +01:00
wondratsch
1837084119 add OpenBSD Support 2017-12-06 12:47:47 +01:00
Miguel Jacq
38d96c91f7 Actually still uncheck the timer when the server stops, but *only* when it stops 2017-12-06 10:21:39 +11:00
Miguel Jacq
5d45ca7f22 Don't uncheck the auto-stop timer when the server stops (adding new files before starting the share will otherwise uncheck it) 2017-12-06 10:02:22 +11:00
Micah Lee
7d0ea87cb4 Merge branch '447_reload_tor_if_not_connected_and_settings_cancelled' of https://github.com/mig5/onionshare into mig5-447_reload_tor_if_not_connected_and_settings_cancelled 2017-12-05 14:05:16 -08:00
Micah Lee
42debc7cf1 Merge branch 'mig5-shutdown_timer' 2017-12-05 13:58:16 -08:00
Miguel Jacq
1cd4b9ec24 Better wording when OnionShare can't connect to Tor and the attempt to configure settings is canceled 2017-12-05 11:27:16 +11:00
Miguel Jacq
721ac80c84 Let the timer stop the share if there were no downloads, or all downloads are done 2017-12-05 11:18:26 +11:00
Micah Lee
ba6c8c34f2 Merge branch 'mig5-431_filelist_minimum_height' 2017-12-04 15:27:05 -08:00
Miguel Jacq
8f4bd32bea #447 show alert and exit if the Settings dialog is canceled yet Tor is still not connected 2017-12-04 18:43:40 +11:00
Miguel Jacq
cd83d90ef1 #431 Set minimum height of FileList to prevent resize bug affecting scrolling/visibility of bottom rows 2017-12-04 16:39:22 +11:00
Miguel Jacq
3fc360a0ae Update comment to reflect that we don't hide the timer checkbox when checked anymore 2017-12-04 15:22:46 +11:00
Miguel Jacq
6d02d2ef91 Better fix for preventing timeout firing if a download is not yet done (works for CLI as well as GUI) 2017-12-04 15:03:28 +11:00
Miguel Jacq
f6763b25ef Merge master branch and fix conflicts 2017-12-03 17:06:33 +11:00
Miguel Jacq
487cd6c799 Don't auto-stop the share if a download is still in progress 2017-12-03 13:21:25 +11:00
Miguel Jacq
501d771064 Properly stop the server when the timeout is reached (and reset the interface so we can share again) 2017-12-02 14:53:38 +11:00
Miguel Jacq
b0aae09f70 Always show the shutdown timer checkbox, in case the user changes their mind and wants to unset it 2017-12-02 14:48:44 +11:00
Micah Lee
e54836a69a Allow for localization for "Share via OnionShare" string in the nautilus extension 2017-12-01 12:57:18 -08:00
Micah Lee
3ed0c38205 Merge branch 'mig5-468_canceled_feedback_on_stopped_server' 2017-12-01 11:51:02 -08:00
Micah Lee
4c1a10b1d2 Merge branch '468_canceled_feedback_on_stopped_server' of https://github.com/mig5/onionshare into mig5-468_canceled_feedback_on_stopped_server 2017-12-01 11:44:33 -08:00
Micah Lee
e4804e5594 Merge branch 'mig5-fix_tor_connection_progress_bar' 2017-11-30 18:04:19 -08:00
Micah Lee
9c19239f33 Merge branch 'fix_tor_connection_progress_bar' of https://github.com/mig5/onionshare into mig5-fix_tor_connection_progress_bar 2017-11-30 18:03:09 -08:00
Micah Lee
3f57199b2e Merge branch 'mig5-404_response' 2017-11-30 18:01:28 -08:00
Micah Lee
df49baaadd Merge branch '404_response' of https://github.com/mig5/onionshare into mig5-404_response 2017-11-30 18:01:18 -08:00
Micah Lee
94387c6986 Merge branch 'mig5-442_use_looseversion' 2017-11-30 17:58:39 -08:00
Micah Lee
d5d8d2495a Merge branch '442_use_looseversion' of https://github.com/mig5/onionshare into mig5-442_use_looseversion 2017-11-30 17:58:25 -08:00
Micah Lee
4c3dcf50ea Merge branch 'fixes' of https://github.com/delirious-lettuce/onionshare into delirious-lettuce-fixes 2017-11-30 17:54:24 -08:00
Micah Lee
9b1dd9430d Merge branch 'kushaldas-rpmlint' 2017-11-30 15:49:56 -08:00
Kushal Das
2a3e7b3b14 Mentions python2 as the interpreter 2017-11-28 04:09:33 +05:30
Micah Lee
f56df5be46 Allow tests to find share folders when building .deb 2017-11-20 16:19:04 -08:00
Micah Lee
fac6debe32 Rename test files to have test_ prefix 2017-11-20 15:52:33 -08:00
Miguel Jacq
2f4d8610c8 add missing arg to onion.connect() (config) which broke the Tor Connection progress dialog (regression from b19f8f) 2017-11-12 17:53:40 +11:00
Miguel Jacq
4a2f5daaf8 Better wording for shutdown timer 2017-11-12 11:48:06 +11:00
Miguel Jacq
bcb61f3627 Format the argparser output better, to deal with the longer argument names 2017-11-12 10:40:04 +11:00
Miguel Jacq
a4a4035e10 better metavar for --shutdown-timeout arg 2017-11-11 17:12:10 +11:00
Miguel Jacq
ee9dfb7a8b No longer treating shutdown_timeout as a float, but an int of seconds 2017-11-09 19:50:50 +11:00
Miguel Jacq
d6324080ac only prevent the share from starting when the timeout has expired, if the timeout feature was even set at all 2017-11-09 18:23:11 +11:00