aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/TunnelImporter.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Importing: Only the main thread shall access lastFileImportErrorTextRoopesh Chander2019-03-051-8/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Make use of lastError returned from TunnelsManager.addMultiple()Roopesh Chander2019-03-051-13/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: addMultiple() should also return the last errorRoopesh Chander2019-03-051-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Simplify TunnelImporterRoopesh Chander2019-03-041-65/+56
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: macOS: Support importing of multiple files at a timeRoopesh Chander2019-02-251-1/+39
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Use case-insensitive comparison for zip extensionRoopesh Chander2019-02-251-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Show OS error when unable to open a .conf fileRoopesh Chander2019-02-241-2/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Give a clearer error message on importing an invalid configRoopesh Chander2019-02-221-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Better error message when .conf file is not readableRoopesh Chander2019-02-211-2/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: Fix up copyright headersJason A. Donenfeld2019-01-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Refactor importFromFileRoopesh Chander2019-01-141-0/+43
So that it can be used in macOS as well Signed-off-by: Roopesh Chander <roop@roopc.net>