181 Commits

Author SHA1 Message Date
Micah Lee
657d51de48 Make cleaning up the onion more reliably kill the tor subprocess, and make iit so testing tor settings in the settings dialog always uses a tmp tor data dir 2019-11-28 20:32:28 -08:00
Micah Lee
1d8d33f6fd Remove all mode settings from settings dialog 2019-11-02 17:24:06 -07:00
Micah Lee
e9e7ddc7a8 Stop worrying about common.gui.config in settings and update check 2019-11-02 17:13:06 -07:00
Micah Lee
1d903efeb2 Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window 2019-10-20 22:08:47 -07:00
Micah Lee
bd832051e0 Make a new onionshare_gui.GuiCommon object, and move css from onionshare.Common into it 2019-10-20 20:01:09 -07:00
Micah Lee
db48e04e65 Replace .format with python 3.6 f-strings in onionshare_gui module 2019-10-20 10:30:16 -07:00
Micah Lee
88e151d414 Format all code using black 2019-10-12 21:01:25 -07:00
Miguel Jacq
d83b75cc04 Invert the CSP header setting and put it in its own Website Mode settings group. Make the CSP header mandatory for share/receive modes, optional for website mode only. 2019-09-22 16:49:31 +10:00
Miguel Jacq
a0d4e2880f Make setting the Content-Security-Policy header optional so it doesn't break website mode shares 2019-09-16 12:10:17 +10:00
Micah Lee
73e6cb1874 Merge pull request #1020 from micahflee/991_sharing_code
[WIP] Share code between share mode and website mode
2019-09-15 14:52:57 -07:00
Micah Lee
04d49dc3bd Add individual downloads label to settings dialog 2019-09-08 12:02:17 -07:00
Micah Lee
113cd7eb4b Remove the "Allow downloading individual files" setting altogether, and make it just automatically enabled if "Stop sharing..." is disabled 2019-09-01 21:22:59 -07:00
Micah Lee
1ceaaaf533 Add new "Allow downloading of individual files" checkbox to share settings, and only allow it to be enabled when "Stop sharing after files have been sent" is unchecked 2019-09-01 20:15:30 -07:00
Micah Lee
74e961fd68 If ONIONSHARE_HIDE_TOR_SETTINGS is set, hide Tor settings in the settings dialog 2019-09-01 13:16:00 -07:00
Micah Lee
7dce7eec45 Rename "slug" to "password" 2019-05-20 22:18:49 -07:00
Micah Lee
27158870b0 Fix auto-start timer URL 2019-04-21 18:14:53 -07:00
Miguel Jacq
e32b478501 Update the URL to the Auto-Start timer wiki page 2019-04-22 09:48:15 +10:00
Miguel Jacq
eb823042bb Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
a4c8865dcd Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
84aa627d1f Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
Miguel Jacq
26d262ccfc Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Miguel Jacq
808733e418 Re-order so persistence checkbox comes before legacy mode checkbox. Remove superfluous conditional 2019-02-11 16:23:47 +11:00
Miguel Jacq
174d821225 Support persistent v3 onions 2019-02-11 11:36:18 +11:00
Micah Lee
afc913e243 Separete onion settings into their own group, and remove css that was breaking the look of the "Copy HidServAuth" button 2019-01-28 20:30:05 -08:00
Micah Lee
9f4f07c133 Fix crash that occurs when opening settings when both client authentication and persistence are enabled 2019-01-28 20:01:51 -08:00
Micah Lee
c1eb849d2a In SettingsDialog, rename downloads_layout to data_dir_layout 2019-01-20 15:33:33 -08:00
Micah Lee
303a2f9f34 Rename receive mode "downloads_dir" to the OnionShare "data_dir" 2019-01-20 11:46:20 -08:00
Micah Lee
f883700c92 Merge pull request #853 from micahflee/847_fix_mac_css
Make settings dialog checkboxes line up in macOS
2018-12-21 10:38:38 -08:00
Micah Lee
a68329ffdb Merge branch 'develop' of https://github.com/irykoon/onionshare into irykoon-develop 2018-12-20 14:07:47 -08:00
Micah Lee
3707664089 Make settings dialog checkboxes line up in macOS 2018-12-20 14:02:52 -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
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
Miguel Jacq
1b670898a0 Merge develop branch and fix conflicts 2018-11-13 14:45:40 +11:00
Micah Lee
5db8bd36b9 Merge branch '780_improved_ui' into 690_language_dropdown 2018-10-10 18:32:01 -07: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
a700f8627d Move Alert dialog about restart into the conditional that fires only if locale was changed 2018-10-01 13:32:09 +10:00
Miguel Jacq
a503da5264 Explicitly set true/false values for settings that need it 2018-10-01 12:53:10 +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
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
08c01db69d Change how language selection setting looks 2018-09-30 16:23:46 -07:00
Micah Lee
17df699aad Allow switching locales from the settings dialog 2018-09-30 16:14:14 -07:00
Micah Lee
f9568caf81 Fix crash when clicking Help from the systray 2018-09-29 14:49:06 -07:00
Miguel Jacq
112a7a25d1 Show whether Tor version supports next-gen onion support 2018-09-25 15:26:19 +10:00
Miguel Jacq
58259d4500 Fix conflict 2018-09-18 10:26:16 +10:00
Micah Lee
2c80a74467 Make what's this links use the same string, and change their style 2018-09-17 16:11:52 -07:00
Miguel Jacq
551e7e97ca Remove unnecessary loop. Remove the Close route/setting which can DoS another running upload. Fix detecting whether any uploads are still in progress before terminating the service after timer expires. Don't register 404s for uploads after expiry has finished (throw a 403 instead)" 2018-09-18 08:36:07 +10:00
Miguel Jacq
73508f380f Hide the legacy settings if legacy mode is not enabled. Fix unrelated bug regarding displaying the HidServAuth copy button/label 2018-09-17 09:12:13 +10:00
Miguel Jacq
e9721aa243 Add 'what's this' labels to each General Setting 2018-09-17 09:01:30 +10:00