Commit Graph

98 Commits

Author SHA1 Message Date
Davide De Rosa 8f3d69fc4c Move FAQ about report issue
Reuse visiURL() as global macro.
2019-11-19 23:38:37 +01:00
Davide De Rosa 39ff0e3093 Drop redundant title themes 2019-11-19 23:17:55 +01:00
Davide De Rosa e704c7fe6c Reinstant hide deleted profile after review
Also, viewWillAppear() is too early. If profile deletion happens
on launch, ServiceVC will not be aware of the change until
viewDidAppear().
2019-11-09 13:21:37 +01:00
Davide De Rosa 02d9d860b3 Use modern notification structure 2019-11-02 11:34:26 +01:00
Davide De Rosa f9093715a8 Reload affected tables on reload receipt 2019-11-02 11:28:35 +01:00
Davide De Rosa ebbcaa674b Restrict "Feedback" sections to beta/paying users
Act as a rudimental spam filter.
2019-11-02 11:21:32 +01:00
Davide De Rosa 6e46757d99 Verify feature/provider eligibility
Limit hosts to 2.
2019-10-31 09:36:09 +01:00
Davide De Rosa 1d7cdc7f19 Move trust actions to separate functions 2019-10-28 10:44:51 +01:00
Davide De Rosa aea5dc330c Reuse delay() function as global macro 2019-10-28 09:55:18 +01:00
Davide De Rosa b5710cd84b Use .current instead of Theme.current
Class name is redundant for static members.
2019-10-25 19:31:02 +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 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 2cd6677e16 Replace with Convenience entities
- About
- Alerts
- Dialogs
- InApp
- Reviewer
- SingleOptionViewController
- StrongTableModel
2019-10-11 12:43:05 +02:00
Davide De Rosa f90a84f1a4 Reuse Issue from Core 2019-09-05 22:50:56 +02:00
Davide De Rosa ac071cf6ec Move "Reconnect" string to Core 2019-07-04 10:50:14 +02:00
Davide De Rosa 40a7ac56f7 Move some strings to Core 2019-06-23 10:33:43 +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 03c0931190 Remove redundant community link 2019-06-13 10:33:36 +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 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 a4cbbbc1aa Pick preset from pool supported presets only
Fixes #78
2019-05-02 13:08:24 +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 6329c32903 Reuse shared cell values globally 2019-05-01 22:59:05 +02:00
Davide De Rosa d9a0ebd923 Upgrade API to v2 (entities) 2019-04-25 21:30:43 +02:00
Davide De Rosa 458ef496fd Unlocalize some strings 2019-04-23 15:47:24 +02:00
Davide De Rosa a6745ceec7 Move feedback section to main screen 2019-04-15 14:40:16 +02:00
Davide De Rosa cf8f0984a3 Cache pool models, do not rebuild each time
Invalidate on new infrastructure.
2019-04-11 23:38:16 +02:00
Davide De Rosa 8203bc99f8 Import downloaded resources into provider cache
Show message in HUD while extracting files
2019-04-11 19:01:59 +02:00
Davide De Rosa 35605ba89f Download resource with progress HUD 2019-04-11 19:01:59 +02:00
Davide De Rosa 2f09a41d06 Stop to download additional provider resources 2019-04-11 19:01:55 +02:00
Davide De Rosa 5bb3a49a84 Disclose if poolGroup is > 1
List pool server numbers and pop to delegate.
2019-04-06 16:46:38 +02:00
Davide De Rosa 8db2b70e65 Set current pool atomically with pools 2019-04-06 16:45:46 +02:00
Davide De Rosa 8d3a5d747d Convert table model to PoolGroup 2019-04-06 16:20:01 +02:00
Davide De Rosa 8fd5a74dc4 Show AreaID (Area + Num) in pool selector
Rename localizedCountryArea to localizedId.
2019-04-06 16:19:34 +02:00
Davide De Rosa 451ab07796 Use subtitle cell in pools 2019-04-05 12:06:26 +02:00
Davide De Rosa 97db759242 Drop empty space between Account sections
Reuse code for heightForHeader.
2019-04-04 19:53:41 +02:00
Davide De Rosa fe669bb3e0 Migrate to Configuration optionals
- cipher
- digest
- compressionFraming
2019-04-04 19:03:55 +02:00
Davide De Rosa 3197f49368 Add down/up indication of data count
Other improvements:

- TunnelKit reports 0 rather than nil upon connection.
- Fall back to "Unavailable" rather than empty string.
2019-03-30 23:38:06 +01:00
Davide De Rosa 921e57557d Render data count with closest unit
Set a 10% boundary (e.g. 100MB = 0.1GB).
2019-03-30 20:10:04 +01:00
Davide De Rosa 2e142680c3 Fetch current data count on VPN status update 2019-03-30 20:10:04 +01:00
Davide De Rosa bc0a0d40dc Observe tunnel data count periodically (5s)
Use Timer as KVO is not possible on App Group defaults.

Be tolerant about missing sections, return type is optional.

Also reword data count cell caption.
2019-03-30 20:10:04 +01:00
Davide De Rosa 3b5207dc8f Better reconnect than disconnect 2019-03-22 19:25:12 +01:00
Davide De Rosa c45e741750 Disconnect on masking change
To ensure that the stale log is erased immediately.
2019-03-22 19:23:32 +01:00
Davide De Rosa fdc3869d29 Move baseVPNConfiguration to TransientStore
Simplifies configuration update.
2019-03-22 19:09:52 +01:00