Commit Graph

244 Commits

Author SHA1 Message Date
Micah Lee
bfce4b005c
Disable drag and drop in flatpak 2021-11-14 15:08:06 -08:00
Micah Lee
94c588d0ce
Make the FileSelection widget use native file browser widgets under Flatpak in order to enable the sandbox 2021-11-14 14:24:02 -08:00
Micah Lee
365ddc5e34
Merge branch 'develop' into 1459_linux_packaging 2021-11-14 13:28:45 -08:00
Saptak Sengupta
182b6bb67b
Merge pull request #1454 from Max1Truc/fix-bad-locale
Fix "KeyError: 'fr'" in desktop strings.py
2021-11-14 19:05:14 +05:30
Micah Lee
be1772b2a4
Fix tor paths for flatpak 2021-11-12 17:18:28 -08:00
Micah Lee
3464a24e69
Add logging 2021-11-12 16:21:17 -08:00
Micah Lee
da94b92d18
Merge branch 'censorship' into develop 2021-11-11 14:42:14 -08:00
Micah Lee
d88005d550
When Tor is disconnected, hide the Check for Updates button in the Settings tab 2021-11-09 18:57:07 -08:00
Micah Lee
73b570f4b4
Check if Tor is connected instead of if the Tor controller is authenticated 2021-11-09 18:49:23 -08:00
Micah Lee
9430439b5f
Fix meek-client in Windows 2021-11-07 12:12:12 -08:00
Micah Lee
472e383b7d
Fix settings error color in dark mode 2021-11-06 21:02:28 -07:00
Micah Lee
f915f911c6
Make autoupdate group in Settings Tab centered 2021-11-06 20:55:50 -07:00
Micah Lee
0e2d2a1e46
macOS seems to have close buttons that work on their own now 2021-11-06 20:52:05 -07:00
Micah Lee
7448f76f2e
Respect --local-only 2021-11-06 20:17:02 -07:00
Micah Lee
7b162b4bc7
In all modes, if Tor isn't connected display a message instead of showing the mode content 2021-11-06 20:05:20 -07:00
Micah Lee
7da1ac187b
Remove sticky "Disconnected from Tor" message (patch thanks to @mig5) 2021-11-06 19:20:36 -07:00
Max1Truc
e9ef087c8f Fix "KeyError: 'fr'" in desktop strings.py 2021-10-27 11:47:17 +02:00
Micah Lee
de3c95cc50
Set self.torr_settings_tab to None _before_ deleting the tab 2021-10-26 22:12:22 -07:00
Micah Lee
bde94d37fc
Don't delete any custom bridges that are set 2021-10-26 22:09:24 -07:00
Micah Lee
706a04242f
Show message in Tor Settings tab if any tabs have active services, to prevent the user from changing settings without stopping them 2021-10-26 22:00:39 -07:00
Micah Lee
53c192665b
Refactor Tor Settings tab to use the new settings 2021-10-26 21:33:58 -07:00
Miguel Jacq
577b2a7f67
Correctly load a persistent Chat tab 2021-10-25 15:01:12 +11:00
Micah Lee
e33fc49815
Merge branch 'censorship' into 1442_settings_tabs 2021-10-24 20:23:38 -07:00
Micah Lee
e6c7cc989f
Only show bridge error if connection type is bundled 2021-10-24 20:03:19 -07:00
Micah Lee
f784870c76
Implement blank settings_have_changed in SettingsTab and TorSettingsTab 2021-10-24 19:53:37 -07:00
Micah Lee
20a0d7f25b
Fix TabWidget to stop confusing tab_id and index 2021-10-24 19:31:53 -07:00
Micah Lee
4897015ad7
Rename tor_connection_dialog.py to tor_connection.py 2021-10-24 18:57:14 -07:00
Micah Lee
1420b28d23
Saving tor settings connects to tor in the widget, not the dialog. And erros are displayed in a label, not an alert 2021-10-24 18:55:25 -07:00
Miguel Jacq
8543d215dc
Fix-ups for detecting if the meek binary doesn't exist. Pass the GUI's get_tor_paths down to the CLI when instantiating Meek object 2021-10-25 11:45:50 +11:00
Miguel Jacq
6f0674afd8
React to Meek client binary not found 2021-10-25 11:12:38 +11:00
Miguel Jacq
3a715346af
Add cleanup method for the Meek class to kill any meek-client subprocesses once done. Hide stderr from the CLI printed output 2021-10-25 10:44:38 +11:00
Micah Lee
556aedf08d
Fix mixup with tab_ids and their indicies, so tabs open and close smoothly 2021-10-20 21:06:38 -07:00
Micah Lee
3b9cc80160
Create a TorConnectionWidget, and use that when testing settings 2021-10-20 20:33:16 -07:00
Micah Lee
0fb7d7d761
Refactor TorSettingsDialog into TorSettingsTab 2021-10-20 19:03:24 -07:00
Micah Lee
55d6ac4e3d
Refactor SettingsDialog into SettingsTab 2021-10-20 18:56:37 -07:00
Miguel Jacq
242312ba82
Fix conflicts from snowflake merge, and fix detection of lack of meek in Moat BridgeDB request 2021-10-20 15:52:29 +11:00
Micah Lee
596c819957
Allow custom snowflake bridges 2021-10-19 08:53:52 -07:00
Micah Lee
1f5dcd1689
Ask BridgeDB for obfs4 and snowflake bridges, because that is what OnionShare supports 2021-10-19 08:41:40 -07:00
Micah Lee
072f90df4f
Move Submit button next to the input field in MoatDialog 2021-10-18 18:18:04 -07:00
Miguel Jacq
bd6390042f
Try to bail if we are not in local-only mode and couldn't start the Meek client 2021-10-19 11:46:21 +11:00
Miguel Jacq
5b4d77c363
Refactor to CensorshipCircumvention and Meek classes. Use Meek domain fronting when requesting bridges in frontend 2021-10-19 11:36:03 +11:00
Micah Lee
3b6b74f649
Rearrange moat dialog so pressing enter submits 2021-10-17 15:59:07 -07:00
Micah Lee
a89412e79d
Make it so when selecting moat tor actually uses those bridges, and improve tor settings dialog 2021-10-17 15:47:11 -07:00
Micah Lee
40cb55894a
Totally change the Tor Settings dialog to even more closely resemble Tor Browser 2021-10-17 15:34:42 -07:00
Micah Lee
01b51e94bf
Save/load moat bridges to/from settings 2021-10-17 14:26:56 -07:00
Micah Lee
2212589625
Actually get bridges from moat 2021-10-17 14:02:11 -07:00
Micah Lee
2161c58a4a
If connecting to Tor fails, open the correct TorSettings dialog 2021-10-17 12:15:25 -07:00
Micah Lee
67126a3497
Start making MoatDialog 2021-10-15 16:53:40 -07:00
Micah Lee
168e3057ae
Start implementing moat 2021-10-15 14:44:09 -07:00
Micah Lee
d1ae4e454f
Simplify variable names in TorSettingsDialog, and start adding UI for moat 2021-10-15 14:25:18 -07:00