aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Tunnel creation: Refactor by creating a separate view modelRoopesh Chander2018-10-273-330/+346
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Validate the data and prepare to save to a configurationRoopesh Chander2018-10-271-2/+178
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Save typed values in a scratchpadRoopesh Chander2018-10-271-9/+90
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Fix Persistent Keepalive label's lookRoopesh Chander2018-10-271-14/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel creation: Start off with tunnel creationRoopesh Chander2018-10-273-1/+460
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Make InterfaceConfiguration and PeerConfiguration structsRoopesh Chander2018-10-271-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Make it impossible to create invalid interface / peer configuration instancesRoopesh Chander2018-10-271-1/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use Endpoint in the Configuration modelRoopesh Chander2018-10-271-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for an endpointRoopesh Chander2018-10-272-0/+83
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: IPAddressRange: Converting to and from StringRoopesh Chander2018-10-271-0/+31
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Name should be part of the interface, not the tunnelRoopesh Chander2018-10-272-5/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Show an actions list when the '+' is tappedRoopesh Chander2018-10-271-1/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Show data from the tunnels managerRoopesh Chander2018-10-271-2/+42
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Make the table view style explicitRoopesh Chander2018-10-271-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Add TunnelsManager to manage the tunnels in the appRoopesh Chander2018-10-272-0/+94
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Bump deployment target to iOS 12.0Roopesh Chander2018-10-271-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use IPAddressRange in the Configuration modelRoopesh Chander2018-10-271-2/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model for an IP Address rangeRoopesh Chander2018-10-272-0/+58
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Models for tunnel, interface and peerRoopesh Chander2018-10-272-0/+53
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Configure the split-view controller to work in both iPhone and iPadRoopesh Chander2018-10-271-0/+24
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Change copyright to WireGuard LLCRoopesh Chander2018-10-273-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use a split-view controller as the main (root) view controllerRoopesh Chander2018-10-273-3/+50
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move UI code into a separate platform-specific folderRoopesh Chander2018-10-273-8/+24
| | | | | | | Later, we hope to have a UI/macOS folder for developing a macOS client from this codebase. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Prepare for rewrite: Move WireGuardNetworkExtension into the new project folderRoopesh Chander2018-10-275-0/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Use APP_ID in xcconfig rather than PRODUCT_BUNDLE_IDENTIFIERRoopesh Chander2018-10-272-2/+6
| | | | | | | | | This is required because when we add an app extension to the project, there will be two PRODUCT_BUNDLE_IDENTIFIER fields in our project file, so we cannot use xcconfig to set that key directly. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Enable Network Extensions capabilityRoopesh Chander2018-10-272-0/+31
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move App ID to Developer.xcconfig as wellRoopesh Chander2018-10-272-2/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove storyboard and create UI from codeRoopesh Chander2018-10-276-93/+27
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move DEVELOPMENT_TEAM into an xcconfig out of the git repoRoopesh Chander2018-10-272-0/+8
| | | | | | | | | This is so that other developers can work on this codebase by copying Developer.xcconfig.template to Developer.xcconfig and setting the DEVELOPMENT_TEAM to their respective Team IDs. The Team IDs need not be checked into source control. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Create a new project in XcodeRoopesh Chander2018-10-2710-0/+621
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Prepare for rewrite: Remove CocoaPods and Carthage stuff from .gitignoreRoopesh Chander2018-10-271-15/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Prepare for rewrite: Remove UI and model codeRoopesh Chander2018-10-2770-4379/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Prepare for rewrite: Remove CocoaPodsRoopesh Chander2018-10-272-52/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Prepare for rewrite: Remove Xcode project and workspaceRoopesh Chander2018-10-275-1138/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Allow customizing MTUJason A. Donenfeld2018-10-274-8/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* bridge: go get requires arch pathsJason A. Donenfeld2018-10-261-7/+12
| | | | | | | So we move it into the build phase. This makes sense, since ostensibly different archs might have different required modules. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MIT licenseJason A. Donenfeld2018-10-101-26/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use go modulesJason A. Donenfeld2018-10-092-20/+27
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Better handling of CIDR values.Jeroen Leenarts2018-10-032-11/+40
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Disable auto corrects and related helpers on UITextfields.Jeroen Leenarts2018-10-031-9/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export qr scanned config to system settings.Jeroen Leenarts2018-10-031-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Do not try to resolve a valid ip address.Jeroen Leenarts2018-10-031-3/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove extra comment cruftJason A. Donenfeld2018-10-037-28/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove a few prints, add some whitespace.Jeroen Leenarts2018-10-024-15/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add some form of image for when no configurations are available.Jeroen Leenarts2018-10-023-0/+35
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Dismiss qr scan vc on cancel.Jeroen Leenarts2018-10-021-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Handle persistentKeepAlive better.Jeroen Leenarts2018-10-021-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Wireguard logo to bottom of settings.Jeroen Leenarts2018-10-023-0/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Extract WireGuardGo version at build time.Jeroen Leenarts2018-10-028-45/+90
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Deal with type body length warning.Jeroen Leenarts2018-10-021-18/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>