3830 Commits

Author SHA1 Message Date
Micah Lee
1eb2476d3c Fix settings error color in dark mode 2021-11-06 21:02:28 -07:00
Micah Lee
71b6d77e97 Make autoupdate group in Settings Tab centered 2021-11-06 20:55:50 -07:00
Micah Lee
9f40d2d1d3 macOS seems to have close buttons that work on their own now 2021-11-06 20:52:05 -07:00
Micah Lee
22fc1354ce Copy snowflake-client from macOS Tor Browser 2021-11-06 20:46:52 -07:00
Micah Lee
42507b1138 Get tor from Tor Browser 11.0a10 on all platforms 2021-11-06 20:42:51 -07:00
Micah Lee
985e0fdf6b Respect --local-only 2021-11-06 20:17:02 -07:00
Micah Lee
8919e2924b 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
1d4d841239 Remove sticky "Disconnected from Tor" message (patch thanks to @mig5) 2021-11-06 19:20:36 -07:00
Micah Lee
f4eeab03db Set self.torr_settings_tab to None _before_ deleting the tab 2021-10-26 22:12:22 -07:00
Micah Lee
ffee426e6d Don't delete any custom bridges that are set 2021-10-26 22:09:24 -07:00
Micah Lee
7752f5fa9b 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
4b56595ac3 Refactor Tor Settings tab to use the new settings 2021-10-26 21:33:58 -07:00
Micah Lee
0220c0049b Remove all references to old settings 2021-10-26 21:07:38 -07:00
Micah Lee
bed9596ce3 Update bridge related settings in Settings, and use those new settings in Onion 2021-10-26 21:06:05 -07:00
Micah Lee
01c079b8b7 Oops, fix meek-client path 2021-10-24 20:26:36 -07:00
Micah Lee
3ffff26f02 Make meek debug log show host:port on one line 2021-10-24 20:23:55 -07:00
Micah Lee
1c59fe741c Merge branch 'censorship' into 1442_settings_tabs 2021-10-24 20:23:38 -07:00
Micah Lee
ceb786e4cb Merge pull request #1446 from mig5/censorship_tor_api_endpoints
Censorship tor api endpoints and Meek client support for domain fronting
2021-10-24 20:16:24 -07:00
Micah Lee
fe53890583 Only show bridge error if connection type is bundled 2021-10-24 20:03:19 -07:00
Micah Lee
38d3a26a4e Implement blank settings_have_changed in SettingsTab and TorSettingsTab 2021-10-24 19:53:37 -07:00
Micah Lee
6ff9fa5e9a Fix TabWidget to stop confusing tab_id and index 2021-10-24 19:31:53 -07:00
Micah Lee
876b96b635 Rename tor_connection_dialog.py to tor_connection.py 2021-10-24 18:57:14 -07:00
Micah Lee
51997f870b 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
cee540c9ca Move debug log call in meek.start() 2021-10-25 11:56:33 +11:00
Miguel Jacq
40f2ed2c06 Merge branch 'censorship' into censorship_tor_api_endpoints 2021-10-25 11:46:30 +11:00
Miguel Jacq
a5ff00c1f5 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
Micah Lee
315833c678 In CLI get_tor_path, stop trying to look in resources first 2021-10-24 17:35:24 -07:00
Miguel Jacq
93ea5eb068 React to Meek client binary not found 2021-10-25 11:12:38 +11:00
Miguel Jacq
fa0f707a22 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
Miguel Jacq
969cd2bb62 Fix comment about meek-client.exe subprocess 2021-10-25 10:28:06 +11:00
Micah Lee
e4eee95154 Merge branch 'censorship' into 1442_settings_tabs 2021-10-24 13:04:58 -07:00
Micah Lee
6bd1a4c527 Add script to compile meek-client and copy into resources 2021-10-24 11:48:18 -07:00
Miguel Jacq
39d97193a3 Merge branch 'censorship' into censorship_tor_api_endpoints 2021-10-21 15:16:34 +11:00
Micah Lee
75451f0eb7 Fix mixup with tab_ids and their indicies, so tabs open and close smoothly 2021-10-20 21:06:38 -07:00
Micah Lee
c15d9ff3e6 Create a TorConnectionWidget, and use that when testing settings 2021-10-20 20:33:16 -07:00
Micah Lee
0f9cb2a732 Refactor TorSettingsDialog into TorSettingsTab 2021-10-20 19:03:24 -07:00
Micah Lee
cfa7597555 Refactor SettingsDialog into SettingsTab 2021-10-20 18:56:37 -07:00
Micah Lee
ab89ab0b61 Merge pull request #1444 from onionshare/1442_snowflake
Snowflake support, and updated Tor Settings
2021-10-20 08:50:34 -07:00
Miguel Jacq
476e4bd441 Add meek_client stuff to CLI tests 2021-10-20 15:55:24 +11:00
Miguel Jacq
10d1c37e08 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
084455deb4 Allow custom snowflake bridges 2021-10-19 08:53:52 -07:00
Micah Lee
2a82167852 Don't print Bridge lines in torrc for blank lines 2021-10-19 08:50:33 -07:00
Micah Lee
cbd95759e8 Ask BridgeDB for obfs4 and snowflake bridges, because that is what OnionShare supports 2021-10-19 08:41:40 -07:00
Micah Lee
0113c9f317 Move Submit button next to the input field in MoatDialog 2021-10-18 18:18:04 -07:00
Miguel Jacq
cc3729c5b8 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
a0c386123f Refactor to CensorshipCircumvention and Meek classes. Use Meek domain fronting when requesting bridges in frontend 2021-10-19 11:36:03 +11:00
Miguel Jacq
5f93864eb6 merge 1442_snowflake branch and fix conflicts 2021-10-19 09:49:46 +11:00
Miguel Jacq
8a19d8088e Move Censorship stuff into its own class. Early attempt at subprocessing out to meek (unfinished) 2021-10-18 17:17:47 +11:00
Micah Lee
494bdc0c14 Rearrange moat dialog so pressing enter submits 2021-10-17 15:59:07 -07:00
Micah Lee
8d135defdd Make it so when selecting moat tor actually uses those bridges, and improve tor settings dialog 2021-10-17 15:47:11 -07:00