Commit Graph

277 Commits

Author SHA1 Message Date
Davide De Rosa
6ad44216fc Refactor single search domain to TunnelKit update 2019-10-25 19:10:06 +02:00
Davide De Rosa
5387f7c597 Use consistent case in pool subtitle 2019-10-23 18:53:27 +02:00
Davide De Rosa
dfa711b335 Customize PAC in network settings 2019-10-23 13:08:04 +02:00
Davide De Rosa
e0a9fadac4 Add server network screen 2019-10-23 11:59:30 +02:00
Davide De Rosa
458041bdc8 Add cells to disclose server settings
TODO: server network.
2019-10-23 11:19:00 +02:00
Davide De Rosa
70a7bd02d7 Parse and import configuration URL from picker 2019-10-22 23:58:31 +02:00
Davide De Rosa
9bff8629b3 Present picker for .ovpn files
Do not auto-dismiss anymore if no imported files available.

XXX: use generic file types due to idiotic iOS 13 bug still unfixed.
2019-10-22 23:58:31 +02:00
Davide De Rosa
a8f37cfd82 Add item to open configuration file 2019-10-22 23:58:31 +02:00
Davide De Rosa
c034a6457c Show Organizer on launch (do not collapse)
Makes sure that service.delegate is always set to Organizer on
launch.
2019-10-22 23:47:19 +02:00
Davide De Rosa
d550461c60 Deselect imported host row regardless 2019-10-22 23:04:39 +02:00
Davide De Rosa
68da29474b Refactor import logic into HostImporter
Cover the parsing steps + passphrase. Leave name and credentials
as is.
2019-10-22 23:03:46 +02:00
Davide De Rosa
0c8ccd8cc3 Add FAQ link in Organizer (home) 2019-10-22 14:25:29 +02:00
Davide De Rosa
fdba9f3815 Auto-trust Wi-Fi only when requesting access
Delegate may invoked in other scenarios. Do nothing in that case.
2019-10-21 00:31:31 +02:00
Davide De Rosa
0893a686da Always deselect after add current Wi-Fi 2019-10-21 00:26:52 +02:00
Davide De Rosa
5ae4abf401 Externalize location alert strings 2019-10-21 00:20:04 +02:00
Davide De Rosa
9b96707d5b Improve interaction after changing location auth
- Auto-add Wi-Fi after granting location access
- Show alert when location access is denied

TODO: localize.
2019-10-21 00:18:16 +02:00
Davide De Rosa
fbe7d776e7 Request location access for trusted networks
Policy changed in iOS 13.
2019-10-21 00:05:25 +02:00
Davide De Rosa
802a4a4586 Move trust current Wi-Fi to function 2019-10-20 23:55:37 +02:00
Davide De Rosa
1916b88243 Update Convenience for review URL 2019-10-11 18:10:23 +02:00
Davide De Rosa
fc0d21a2ed Relax IP address keyboard
Sub-optimal due to illegal characters. Improve later.

Fixes #103
2019-10-11 13:48:41 +02:00
Davide De Rosa
2cd6677e16 Replace with Convenience entities
- About
- Alerts
- Dialogs
- InApp
- Reviewer
- SingleOptionViewController
- StrongTableModel
2019-10-11 12:43:05 +02:00
Davide De Rosa
7c532e94af Suppress warning on unused if let 2019-09-17 17:22:26 +02:00
Davide De Rosa
b2f8cc1513 Omit provider registration links 2019-09-13 22:17:43 +02:00
Davide De Rosa
47789132d9 Drop Patreon link 2019-09-11 09:26:30 +02:00
Davide De Rosa
f90a84f1a4 Reuse Issue from Core 2019-09-05 22:50:56 +02:00
Davide De Rosa
3b9e3879ca Move InAppHelper to Core 2019-08-16 00:24:05 +02:00
Davide De Rosa
f543b0d753 Do not delete imported host on error
Could be an app bug or something to be implemented in the future.
2019-07-08 08:44:54 +02:00
Davide De Rosa
41ed10e76e Fall back to mailto URL when no email account
Useful with third party mail apps.
2019-07-05 11:11:22 +02:00
Davide De Rosa
ac071cf6ec Move "Reconnect" string to Core 2019-07-04 10:50:14 +02:00
Davide De Rosa
1bead621fc Simplify commit of network settings 2019-07-03 18:16:18 +02:00
Davide De Rosa
60b60646d4 Move available providers to Core 2019-06-28 19:10:42 +02:00
Davide De Rosa
b45479a733 Commit network settings in separate method 2019-06-28 12:01:00 +02:00
Davide De Rosa
ab189025b9 Move ProfileNetworkChoices to Core 2019-06-28 10:53:24 +02:00
Davide De Rosa
40a7ac56f7 Move some strings to Core 2019-06-23 10:33:43 +02:00
Davide De Rosa
2e362bf553 Reuse Core extensions
- NetworkChoice.choices()
- OpenVPN.* available options
- ConnectionProfile.clientNetworkSettings
2019-06-23 00:17:37 +02:00
Davide De Rosa
282728ae1e Move app-related strings in
Move Core strings to app target.

SwiftGen uses same bundle by default. No problem because Core
does not (and should not) any string internally.
2019-06-23 00:11:56 +02:00
Davide De Rosa
4d81661cce Reuse V shortcut for cell strings 2019-06-20 20:57:35 +02:00
Davide De Rosa
03c0931190 Remove redundant community link 2019-06-13 10:33:36 +02:00
Davide De Rosa
514135804b Adjust to Core updates 2019-05-27 11:20:03 +02:00
Davide De Rosa
84eb9d09c4 Rename Core targets
Fix import in Core umbrella header.
2019-05-27 00:13:33 +02:00
Davide De Rosa
60b967ee3a Make provisioning ids dynamic via .xcconfig 2019-05-25 18:29:10 +02:00
Davide De Rosa
87527ed290 Upgrade to TunnelKit 2.0
Major reorganization. No changes in logic.

Rename by_* to pod_*.
2019-05-25 18:29:10 +02:00
Davide De Rosa
aff371d500 Fix selected option for compression fields 2019-05-04 10:33:04 +02:00
Davide De Rosa
a4cbbbc1aa Pick preset from pool supported presets only
Fixes #78
2019-05-02 13:08:24 +02:00
Davide De Rosa
7abd281c23 Retain network settings placeholder
Refines a05a016881
2019-05-01 23:29:52 +02:00
Davide De Rosa
25671e7442 Make compression framing/algorithm editable 2019-05-01 23:05:36 +02:00
Davide De Rosa
a05a016881 Use none for network setting placeholders
Less confusing when disabled.
2019-05-01 23:00:28 +02:00
Davide De Rosa
5f0d4960a5 Cut 4 gateway checkmarks down to 2 toogles 2019-05-01 23:00:28 +02:00
Davide De Rosa
c6fbdca342 Move network settings to ad-hoc screen
Can now set gateway/DNS/proxy settings explicitly.

- Read from .ovpn (hosts only)
- Pull from server (PUSH_REPLY)
- Set manually
2019-05-01 23:00:28 +02:00
Davide De Rosa
634f34405b Only hide toolbar in debug log
Split view controller is shi**y enough not to handle navigation
bar properly on rotation.

When in compact mode, the navigation bar comes from the split
view controller. Hiding it and then going to regular (landscape),
will leave the master without the navigation bar and no way to
restore it.
2019-05-01 22:59:29 +02:00