Commit Graph

124 Commits

Author SHA1 Message Date
Davide De Rosa 60259a2fb9 Base profile selection on ConnectionProfile
Rather than cells, which relies on cell visibility. Drop ugly
selection segue.

Fixes #63
2019-04-11 15:52:24 +02:00
Davide De Rosa 5aadde5065 Enter active profile on VPN status selection
Rename selectedIndexPath to activeIndexPath.
2019-04-10 16:51:05 +02:00
Davide De Rosa 91b4992790 Show VPN status on top of organizer 2019-04-10 16:49:49 +02:00
Davide De Rosa c598011abc Skip scrolling to active profile 2019-04-10 16:49:43 +02:00
Davide De Rosa ff8d57e9f0 Fix selectedIndexPath with generic section indexes 2019-04-10 16:49:32 +02:00
Davide De Rosa 3309fd747f Lock donation controller if no payment method 2019-04-09 11:17:31 +02:00
Davide De Rosa db6aa10590 Show activity when purchasing donation 2019-04-08 23:05:26 +02:00
Davide De Rosa 1a7f2d745b Show activity when loading donations 2019-04-08 22:59:24 +02:00
Davide De Rosa 84c5493348 Remap donations to local RowType
Allow different cells easily.
2019-04-08 22:59:24 +02:00
Davide De Rosa f2841827fc Say "Thank you" in donation success alert title 2019-04-07 17:13:39 +02:00
Davide De Rosa e68c46d729 Set email subjects statically
App name is constant.
2019-04-07 16:56:38 +02:00
Davide De Rosa 77ce52ac33 Do not localize email templates
Risk is not understanding them!
2019-04-07 16:30:38 +02:00
Davide De Rosa d13f813236 Add email template to offer as translator 2019-04-07 16:20:15 +02:00
Davide De Rosa e926290abf Interpose HUD while loading products 2019-04-07 15:29:10 +02:00
Davide De Rosa 2bf070650d Purchase on donation selection 2019-04-07 15:29:10 +02:00
Davide De Rosa ff1c83dd3d Show headers in donation table 2019-04-07 15:29:10 +02:00
Davide De Rosa 724a4bc10a Request products in separate class 2019-04-07 15:29:10 +02:00
Davide De Rosa 26453f9612 Add donation view controller 2019-04-07 15:29:10 +02:00
Davide De Rosa 6f57d3503a Add donation cell in organizer 2019-04-07 15:29:10 +02:00
Davide De Rosa 561307568e Add Patreon link in new Support section 2019-04-07 15:29:10 +02:00
Davide De Rosa c542722f47 Regroup storyboard implementations 2019-04-07 08:52:16 +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 a4a82fbd03 Fix table pre-scrolling to selection
iOS is broken, must wrap in a DispatchQueue.main.async
2019-04-05 12:46:50 +02:00
Davide De Rosa f97b8447d9 Show provider logos in Organizer and Wizard 2019-04-05 00:52:36 +02:00
Davide De Rosa ab5517dcba Rename ParsingResult to Result
From ConfigurationParser in TunnelKit.
2019-04-04 19:26:08 +02:00
Davide De Rosa 1904687a22 Upgrade to TunnelKit 1.6.0
- Make cipher/digest/compressionFraming optional
- Move endpointProtocols inside SessionProxy.Configuration
- Rename OptionsError to ConfigurationError
2019-04-04 19:03:53 +02:00
Davide De Rosa 487b0c07ca Present add shortcut modally 2019-03-28 08:28:50 +01:00
Davide De Rosa e2cd0bc7e1 Reuse intent creation code from IntentDispatcher 2019-03-27 23:47:35 +01:00
Davide De Rosa d24295295a Drop unnecessary downcast 2019-03-27 23:03:19 +01:00
Davide De Rosa 77658e5cc6 Show shortcut add on viewDidAppear 2019-03-27 22:36:23 +01:00
Davide De Rosa c9d170768a Create shortcuts from manager
Delegate Intents callbacks to a single place.
2019-03-27 22:22:32 +01:00
Davide De Rosa ae88fdfad6 Rename shortcut manager vc 2019-03-27 22:09:08 +01:00
Davide De Rosa d29aafe08e Propagate addShortcut delegation in ConnectTo 2019-03-27 21:08:51 +01:00
Davide De Rosa 05ba654b2f Reload in the background on edit 2019-03-27 21:08:51 +01:00
Davide De Rosa f0d0eb5ed3 Sort shortcuts by phrase 2019-03-27 21:08:51 +01:00
Davide De Rosa 5ee18071b0 Add shortcut and delegate to manager 2019-03-27 21:08:51 +01:00
Davide De Rosa 0d619ffd62 Pack Siri controllers to simplify @available 2019-03-27 21:08:51 +01:00
Davide De Rosa e1638d1c73 Link add shortcut to manager 2019-03-27 21:08:51 +01:00
Davide De Rosa d5b7a1e576 Show existing Siri shortcuts as first controller 2019-03-27 21:08:51 +01:00
Davide De Rosa b459495e90 Reuse controller title 2019-03-27 21:08:36 +01:00
Davide De Rosa f3e6c34bd1 Customize block on passphrase input cancellation
Do not delete .ovpn file when importing from iTunes.
2019-03-25 20:33:17 +01:00
Davide De Rosa 8f0e28e315 Forward input passphrase to parser 2019-03-25 20:33:17 +01:00
Davide De Rosa dc81356b31 Retry import after passphrase input
Isolate .ovpn parsing routines.

- AppDelegate (external URL)
- ImportedHosts

Only delete URL if error is not encryption passphrase.
2019-03-25 20:33:07 +01:00
Davide De Rosa 8a855bf538 Show app version in About cell 2019-03-22 19:29:15 +01:00
Davide De Rosa fdc3869d29 Move baseVPNConfiguration to TransientStore
Simplifies configuration update.
2019-03-22 19:09:52 +01:00
Davide De Rosa 15f23dd448 Retain Pool.name internally but show .localizedName
Use name from API if available (XXX: not localized).

Make it private to avoid unintended use in app.
2019-03-21 22:21:42 +01:00
Davide De Rosa af51911536 Replace Cancel with X to exit shortcuts
Misleading!
2019-03-19 18:01:15 +01:00
Davide De Rosa 63d74b6feb Reorganize shortcut sections 2019-03-19 18:01:15 +01:00
Davide De Rosa c0be33dacc Add descriptive footer to Siri section 2019-03-19 18:01:15 +01:00