Commit Graph

209 Commits

Author SHA1 Message Date
Davide De Rosa b65db8d42f Use translation language, not country 2019-04-13 18:51:54 +02:00
Davide De Rosa b6d7655b6d Add translations to Credits 2019-04-13 18:45:33 +02:00
Davide De Rosa 6aa3ec2e76 Show proxy servers in configuration 2019-04-13 09:30:53 +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 d264c0089d Pick random server number on simple selection 2019-04-11 23:38:16 +02:00
Davide De Rosa 2088795a9c Add NordPVN provider 2019-04-11 19:11:03 +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 4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +02:00
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 89d259e27d Sort Pool only when listed as Options
Normally it's PoolGroup who needs sorting.
2019-04-10 15:31:14 +02:00
Davide De Rosa 3309fd747f Lock donation controller if no payment method 2019-04-09 11:17:31 +02:00
Davide De Rosa fca1aee73e Use form sheet presentation in more vcs
- Shortcuts
- Mail composers

BEWARE: viewDidAppear is NOT called, move code to dismiss callback.
2019-04-09 11:01:11 +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 01babcfcbc Drop a few redundant .apply(Theme) 2019-04-08 22:35:35 +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 64e00fdadd Improve pool name in MoveToLocation intent 2019-04-07 16:03:25 +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 6f7b06b7c7 Add PoolModel.isEmpty 2019-04-06 22:16:10 +02:00
Davide De Rosa 969b19361b Drop checkmark in pools
For self consistency.
2019-04-06 21:17:07 +02:00
Davide De Rosa 4343c99b10 Create a section for free and paid servers
No section if only one exists.
2019-04-06 21:13:21 +02:00
Davide De Rosa 2bc7c031c2 Fix enum case 2019-04-06 20:33:18 +02:00
Davide De Rosa 36ee076c9c Add ProtonVPN provider 2019-04-06 20:25:26 +02:00
Davide De Rosa b3eea07ee1 Select row when pool group is disclosable
No checkmark. Ugly yet the lesser evil.
2019-04-06 20:15:33 +02:00
Davide De Rosa a63525c19a Add detail/disclosure to pool group
- Disclosure: select first (default)
- Detail: show options
2019-04-06 16:46:39 +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 bc457270cc Improve Account section for providers 2019-04-05 16:48:53 +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 451ab07796 Use subtitle cell in pools 2019-04-05 12:06:26 +02:00
Davide De Rosa 7d417e14ee Add pool country flags 2019-04-05 11:59:39 +02:00