Commit Graph

176 Commits

Author SHA1 Message Date
Micah Lee
3a2cc8bdee
Replace .format with python 3.6 f-strings in onionshare_gui module 2019-10-20 10:30:16 -07:00
Micah Lee
3037727890
Format all code using black 2019-10-12 21:01:25 -07:00
Miguel Jacq
d8c0bc4e4f
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
2524ddaf94
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
51a1f92d99
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
ece908e170
Add individual downloads label to settings dialog 2019-09-08 12:02:17 -07:00
Micah Lee
877a73ab59
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
1c465b40fe
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
d7441af368
If ONIONSHARE_HIDE_TOR_SETTINGS is set, hide Tor settings in the settings dialog 2019-09-01 13:16:00 -07:00
Micah Lee
7d89f80f20
Rename "slug" to "password" 2019-05-20 22:18:49 -07:00
Micah Lee
9471fb9781
Fix auto-start timer URL 2019-04-21 18:14:53 -07:00
Miguel Jacq
81108b06f3
Update the URL to the Auto-Start timer wiki page 2019-04-22 09:48:15 +10:00
Miguel Jacq
ee3a14a025
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
365798b12f
Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
Miguel Jacq
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Miguel Jacq
366509a75c
Re-order so persistence checkbox comes before legacy mode checkbox. Remove superfluous conditional 2019-02-11 16:23:47 +11:00
Miguel Jacq
7c71aef15b
Support persistent v3 onions 2019-02-11 11:36:18 +11:00
Micah Lee
2a949802d2
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
b42f1c47b8
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
4aa8a1d4c6
In SettingsDialog, rename downloads_layout to data_dir_layout 2019-01-20 15:33:33 -08:00
Micah Lee
6e3b103ef5
Rename receive mode "downloads_dir" to the OnionShare "data_dir" 2019-01-20 11:46:20 -08:00
Micah Lee
6c0de01f99
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
c87e688d4c
Merge branch 'develop' of https://github.com/irykoon/onionshare into irykoon-develop 2018-12-20 14:07:47 -08:00
Micah Lee
e501bb4de8
Make settings dialog checkboxes line up in macOS 2018-12-20 14:02:52 -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
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
Miguel Jacq
d3b5e1e256
Merge develop branch and fix conflicts 2018-11-13 14:45:40 +11:00
Micah Lee
ac10b8899f
Merge branch '780_improved_ui' into 690_language_dropdown 2018-10-10 18:32:01 -07:00
Miguel Jacq
f653e8cc04
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
9aa9dc39a1
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
c43d882a65
Explicitly set true/false values for settings that need it 2018-10-01 12:53:10 +10:00
Micah Lee
a1f5b5964a
Remove the useless gui=True arg getting passed intro strings._ all over the place 2018-09-30 17:47:10 -07:00
Micah Lee
c4f776c42a
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
23c55bc95b
Change how language selection setting looks 2018-09-30 16:23:46 -07:00
Micah Lee
9a19a7aecd
Allow switching locales from the settings dialog 2018-09-30 16:14:14 -07:00
Micah Lee
8ca34fadd9
Fix crash when clicking Help from the systray 2018-09-29 14:49:06 -07:00
Miguel Jacq
3ed04bf5ec
Show whether Tor version supports next-gen onion support 2018-09-25 15:26:19 +10:00
Miguel Jacq
c3755389dd
Fix conflict 2018-09-18 10:26:16 +10:00
Micah Lee
359e470383
Make what's this links use the same string, and change their style 2018-09-17 16:11:52 -07:00
Miguel Jacq
7e875e021a
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
6ed5c94df7
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
6c01d7a2da
Add 'what's this' labels to each General Setting 2018-09-17 09:01:30 +10:00
Miguel Jacq
7c55f0adae
Reorder the general settings 2018-09-17 08:44:56 +10:00
Miguel Jacq
026322b458
Fix margins on HBoxLayouts in settings 2018-09-16 14:06:55 +10:00
Miguel Jacq
95f097eae3
Move the hyperlink labels into HBox layouts with the checkboxes 2018-09-16 14:00:41 +10:00
Miguel Jacq
d8566c2d78
Move stealth to general options, and add hyperlinks for more info for this and legacy addresses 2018-09-16 13:54:47 +10:00
Miguel Jacq
3a7ae401af
Fix conflicts 2018-09-16 13:37:22 +10:00