Commit Graph

  • 35450bf407 Remove non-helpful comments Roopesh Chander 2018-12-19 16:23:29 +05:30
  • f93c9797ea Tunnel edit: Fix comment Roopesh Chander 2018-12-19 16:23:14 +05:30
  • bba6d2f919 TunnelsManager: If only Activate On Demand has changed, don't restart tunnel Roopesh Chander 2018-12-19 16:02:48 +05:30
  • fa51e3f1d1 NE: Handle bad domain names and Activate On Demand Roopesh Chander 2018-12-19 15:38:00 +05:30
  • 04a8c2ff5a NE: No need for two startTunnel() methods Roopesh Chander 2018-12-19 13:10:42 +05:30
  • 4e516d6769 TunnelsManager: Handle waiting on a stale tunnel Roopesh Chander 2018-12-18 19:45:00 +05:30
  • fab7af6f38 Remove buttons and text from LaunchScreen.storyboard Roopesh Chander 2018-12-18 20:03:27 +05:30
  • 3ae9fb538d s/Observervation/Observation/g; Roopesh Chander 2018-12-18 20:00:01 +05:30
  • 78eaab8b5b Tunnel detail: Update restorationIdentifier when tunnel name changes Roopesh Chander 2018-12-18 19:27:27 +05:30
  • 20f8abdf04 TunnelsManager: Add periods to end the system error messages Roopesh Chander 2018-12-18 15:47:17 +05:30
  • 2582ddd6f6 Error handling: Add info on the underlying system error to error alerts Roopesh Chander 2018-12-17 18:56:26 +05:30
  • 9556901a33 Version bump 0.0.20181104-7 Jason A. Donenfeld 2018-12-17 14:08:17 +01:00
  • ed9b4c85ed Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertible Eric Kuck 2018-12-16 23:51:25 -06:00
  • fc452753a7 Potential fix for insertRowAtIndexPath crash Eric Kuck 2018-12-16 21:11:33 -06:00
  • d775682ef4 More proper way to get sdk root directory Jason A. Donenfeld 2018-12-17 00:23:11 +01:00
  • ae339a000e Further generalize makefile Jason A. Donenfeld 2018-12-16 03:47:05 +01:00
  • a80cf6a0dc Bump the go runtime Jason A. Donenfeld 2018-12-16 01:55:00 +01:00
  • 727992f5d2 Improve mock tunnels generation Jason A. Donenfeld 2018-12-16 01:51:14 +01:00
  • 2a22c0f2d6 Provide mock tunnels for the Simulator Roopesh Chander 2018-12-16 01:11:23 +05:30
  • b3f5635f4e Nuke duplicate file Jason A. Donenfeld 2018-12-15 06:21:49 +01:00
  • 946524aa8b Bump the go runtime Jason A. Donenfeld 2018-12-15 06:13:33 +01:00
  • 1450538846 Version bump 0.0.20181104-6 Jason A. Donenfeld 2018-12-15 05:08:31 +01:00
  • 5a08c67f33 Fixed editable KeyValueCells being copyable Fixed DNS servers not saving Eric Kuck 2018-12-14 21:48:48 -06:00
  • 1e9c806614 Fix confusing indentation Jason A. Donenfeld 2018-12-15 04:42:11 +01:00
  • ccd8cfe478 KeyValueCells now share code Eric Kuck 2018-12-14 20:02:37 -06:00
  • cb051f695d Reorganized project structure Eric Kuck 2018-12-14 17:27:11 -06:00
  • 7a24f18eb7 Most similar views now shared between ViewControllers Eric Kuck 2018-12-14 17:12:59 -06:00
  • 83c95dc26d Prettier log time format Jason A. Donenfeld 2018-12-15 00:08:54 +01:00
  • e0bc5e12b3 Simplify logging tags Jason A. Donenfeld 2018-12-14 22:53:42 +01:00
  • c4263da231 Fix tunnel remaining in 'Activating' state Roopesh Chander 2018-12-14 17:33:52 +05:30
  • 1eb3fd4de0 Fix status switch weird state after an error occurs Roopesh Chander 2018-12-14 16:33:31 +05:30
  • 73be704b01 Deduplicate functions Jason A. Donenfeld 2018-12-14 00:01:50 +01:00
  • 2699c613bd Simplify filemanager extension Jason A. Donenfeld 2018-12-13 23:25:18 +01:00
  • 74e983ea6f Can't -> cannot Jason A. Donenfeld 2018-12-13 23:17:05 +01:00
  • 48552d2663 NE: Communicate last error to app through a shared file Roopesh Chander 2018-12-14 02:24:53 +05:30
  • 501e412b84 TunnelsManager: startActivation() need not take a tunnelConfiguration Roopesh Chander 2018-12-14 00:01:41 +05:30
  • 77a26e4cd2 Localize swiftlint Jason A. Donenfeld 2018-12-13 20:06:37 +01:00
  • 05d750539b Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes) All swiftlint warnings except one fixed up Eric Kuck 2018-12-13 12:58:50 -06:00
  • 7323a00612 Avoid escaping heap allocation Jason A. Donenfeld 2018-12-13 19:43:12 +01:00
  • a6912ca7a2 Tidy up str to gostr conversion Jason A. Donenfeld 2018-12-13 19:36:43 +01:00
  • b256acc372 TunnelsManager: Remove mentions of 'internal error' Roopesh Chander 2018-12-13 23:53:17 +05:30
  • 7e093575a4 TunnelsManager: Ask to check Internet connectivity in error alert Roopesh Chander 2018-12-13 23:47:12 +05:30
  • 740ffd68b6 Remove unused code: InternetReachability Roopesh Chander 2018-12-13 23:45:21 +05:30
  • f67e1d8fc4 TunnelsManager: Remove unused variable Roopesh Chander 2018-12-13 23:44:13 +05:30
  • 33af8845b6 TunnelsManager: Remove assert Roopesh Chander 2018-12-13 23:42:50 +05:30
  • 154774ada2 Simplify C strings Jason A. Donenfeld 2018-12-13 19:02:48 +01:00
  • 3bddab8a9e TunnelsManager: Fix race between multiple startActivation() calls Roopesh Chander 2018-12-13 23:34:00 +05:30
  • f9239dae75 TunnelsManager: Reintroduce waiting for another tunnel to deactivate Roopesh Chander 2018-12-13 23:13:54 +05:30
  • 642b627d27 Rewrite Logger Jason A. Donenfeld 2018-12-13 15:26:04 +01:00
  • 38accad27d More reliable logo sizing Eric Kuck 2018-12-13 09:30:13 -06:00
  • bf58159d99 TunnelsManager: Report activation errors through the activationDelegate Roopesh Chander 2018-12-13 18:55:20 +05:30
  • efd4b28a0d Logging: Write versions from both app and extension Roopesh Chander 2018-12-13 18:09:38 +05:30
  • ae565db371 Logging: file_log doesn't need the message type Roopesh Chander 2018-12-13 18:06:57 +05:30
  • e199ed0d6c Logging: Tag the entries in the merged log Roopesh Chander 2018-12-13 18:00:29 +05:30
  • ba1d0c05be Logging: Use ringlogger for logging from the app Roopesh Chander 2018-12-13 17:30:02 +05:30
  • 12503ae51d Logging: ringlogger.c: Trim trailing newlines Roopesh Chander 2018-12-13 17:10:24 +05:30
  • ae7fb7323f Logging: Use ringlogger for logging from the extension Roopesh Chander 2018-12-13 15:38:10 +05:30
  • 5ae9eec555 Avoid using 'VPN' in code where possible Roopesh Chander 2018-12-13 12:20:10 +05:30
  • 6528a581de mv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/ Roopesh Chander 2018-12-13 12:14:21 +05:30
  • e11224f394 Commit untested ringlogger code Jason A. Donenfeld 2018-12-13 05:51:03 +01:00
  • 5971c197bd Remove useless whitespace Jason A. Donenfeld 2018-12-13 05:26:04 +01:00
  • ecbab37e0e Settings: better padding calculation Jason A. Donenfeld 2018-12-13 05:15:50 +01:00
  • 4eec53d6d3 Fixed hacky logo display for settings Eric Kuck 2018-12-12 21:16:28 -06:00
  • 8a916beb38 More formatting nits and cyclomatic complexity fixes Eric Kuck 2018-12-12 21:09:52 -06:00
  • e4ac48bc75 More linter warnings fixed, enabled more swiftlint rules, project cleanup Eric Kuck 2018-12-12 15:33:14 -06:00
  • d06cff2a36 Tons more swiftlint warnings fixed. Still a few remaining. Eric Kuck 2018-12-12 12:28:27 -06:00
  • de14b76b4d Added swiftlint and fixed all errors (and a bunch, but not all, warnings) Eric Kuck 2018-12-12 11:40:57 -06:00
  • af78fa9a1c Zip importing: importFromFile should take a completionHandler Roopesh Chander 2018-12-12 19:24:12 +05:30
  • 7ef12d93a7 ErrorPresenter: Support onPresented for showErrorAlert(title:,message:) Roopesh Chander 2018-12-12 19:17:06 +05:30
  • 8259145f85 Zip importing: Handle spaces in filenames correctly Roopesh Chander 2018-12-12 16:01:24 +05:30
  • 034a1a12f7 Supply missing pieces of path change Jason A. Donenfeld 2018-12-12 00:45:50 +01:00
  • 9bc7e58487 Fixed a potential race condition, better naming on PacketTunnelSettingsGenerator methods Eric Kuck 2018-12-11 16:59:15 -06:00
  • 27265fc222 Added an (unfinished) NWPathMonitor implementation for reconnecting on network changes Eric Kuck 2018-12-11 16:12:04 -06:00
  • 63e67a5e13 Revert pure-go network monitoring and add wgSetConfig Jason A. Donenfeld 2018-12-11 22:21:33 +01:00
  • bde984625c State restoration: Don't create duplicate mainVC and tunnelsListVC Roopesh Chander 2018-12-11 17:48:34 +05:30
  • 1ded24f0e0 TunnelsManager: Error out only on no-internet scenario Roopesh Chander 2018-12-11 03:48:24 +05:30
  • 1fd0c56f08 Remove the feature of waiting for another tunnel to deactivate Roopesh Chander 2018-12-11 03:24:28 +05:30
  • e59dbe6364 TunnelsManager: Deactivate only when the status becomes 'connected' Roopesh Chander 2018-12-11 01:58:40 +05:30
  • 4d63a3e9bd Allow turning off the status switch of a waiting tunnel Roopesh Chander 2018-12-11 01:36:15 +05:30
  • 9946d8f989 TunnelsManager: Handle status change in TunnelsManager Roopesh Chander 2018-12-10 17:04:24 +05:30
  • 15b6cf5412 Error handling: alertText() can be nil Roopesh Chander 2018-12-11 00:30:33 +05:30
  • 851bd8102d TunnelsManager: Don't act on status change on tunnelProviders we don't have Roopesh Chander 2018-12-10 17:03:17 +05:30
  • 0d7a585bf7 TunnelsManager: Always call the completion handler before returning Roopesh Chander 2018-12-10 17:00:31 +05:30
  • 663bb02c68 TunnelsManager: Debugging helpers for tunnel status Roopesh Chander 2018-12-10 16:31:36 +05:30
  • b491b9c371 TunnelsManager: Handle deactivation of a waiting tunnel Roopesh Chander 2018-12-10 16:28:41 +05:30
  • 707f292e4e Tunnels list: Fix AutoLayout error during deletion of a tunnel Roopesh Chander 2018-12-10 12:59:31 +05:30
  • aa41bd7d6c Settings: Dynamic Type support Roopesh Chander 2018-12-10 01:27:53 +05:30
  • ec5be76d06 Tunnel edit: Dynamic Type support Roopesh Chander 2018-12-10 01:00:08 +05:30
  • 692b0c6519 Tunnel detail: Dynamic Type support Roopesh Chander 2018-12-09 23:20:25 +05:30
  • bb836b8fdc Tunnels list: Dynamic Type support for the add button at the center Roopesh Chander 2018-12-09 18:13:37 +05:30
  • 8eda4641ca Tunnels list: Dynamic Type support for the table view Roopesh Chander 2018-12-09 17:46:01 +05:30
  • 60e13ddbf6 Model: Declare keyLength constant and use that wherever applicable Roopesh Chander 2018-12-08 18:52:11 +05:30
  • 0dcb285b67 TunnelsManager: Observe status for all tunnels in one block Roopesh Chander 2018-12-08 18:43:24 +05:30
  • 6838dc3a74 TunnelsManager: Remove unused variables Roopesh Chander 2018-12-08 13:50:41 +05:30
  • 46f4be6087 Zip: Fix comment Roopesh Chander 2018-12-08 13:43:00 +05:30
  • 2fa2f58aad Version bump 0.0.20181104-5 Jason A. Donenfeld 2018-12-07 23:58:53 +01:00
  • 1eddb2c86d PacketTunnelProvider: Show log timestamp Jason A. Donenfeld 2018-12-07 23:56:26 +01:00
  • ddccd6da4c wireguard-go-bridge: account for network changes Jason A. Donenfeld 2018-12-07 21:47:19 +01:00
  • aa0b288436 Zip: Increase size of buffer used to read data from the archive Roopesh Chander 2018-12-08 01:28:57 +05:30
  • 71568d1899 Settings: Export log: Perform file operations in a background thread Roopesh Chander 2018-12-08 01:21:46 +05:30