Davide De Rosa
d6fc6a2f47
Comment Dark Mode themes out
...
Dark Mode cannot be enabled until iOS 13 release, because the
App Store rejects binaries built with Beta SDKs.
Uncomment when rebuilding with iOS 13 SDK.
See #93
2019-07-28 17:08:43 +02:00
Davide De Rosa
4c591fc6f4
Adjust theme to future iOS 13 Dark Mode
...
Update provider logos where adequate:
- NordVPN (use white on dark)
- ProtonVPN (use green)
2019-07-28 17:06:34 +02:00
Davide De Rosa
57c23085fb
Add Settings bundle to leverage language selector
...
New in iOS 13.
Fixes #90
2019-07-27 10:01:59 +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
50a458f151
Add missing LZO error handling
2019-06-28 10:23:52 +02:00
Davide De Rosa
3e1dc43684
Bump version
2019-06-23 23:49:18 +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
42e2c83eb5
Move platform-specific extensions around
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
7f5cd54f2f
Bump version globally
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
f546ca33ae
Update TunnelKit with gateway fixes
2019-05-11 17:43:30 +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
Davide De Rosa
6ecf859a5e
Add custom tap recognizer to text view
...
Stock gesture doesn't work on subview.
2019-05-01 22:59:29 +02:00
Davide De Rosa
16b8a44a30
Hide bars on tap within debug log view
2019-05-01 22:59:29 +02:00
Davide De Rosa
b6d419beed
Make outlet optional for safety
2019-05-01 22:59:28 +02:00
Davide De Rosa
6e46b4c94a
Put debug toolbar into navigation controller
2019-05-01 22:59:28 +02:00
Davide De Rosa
6329c32903
Reuse shared cell values globally
2019-05-01 22:59:05 +02:00
Davide De Rosa
6f460031a2
Bump version
2019-05-01 22:59:05 +02:00
Davide De Rosa
006f1f0a25
Leave digest editable despite cipher
...
Fixes #74
2019-04-27 09:31:49 +02:00
Davide De Rosa
ffb273ce23
Create GitHub section in About
...
Leave README and CHANGELOG untranslated.
2019-04-27 09:23:03 +02:00
Davide De Rosa
b1cde74798
Refactor renamed strings
2019-04-26 18:28:01 +02:00
Davide De Rosa
ba8afd9ad7
Move changelog/credits to About main screen
2019-04-26 18:23:07 +02:00
Davide De Rosa
ebddbe9f4b
Fix language sorting
...
Sorted by country, rendered by language.
2019-04-26 16:06:51 +02:00
Davide De Rosa
d430e7c268
Add VyprVPN provider
2019-04-26 14:05:05 +02:00
Davide De Rosa
027bf82208
Store category groups as a list
...
Map complexity is of no use.
Update JSON (stub).
2019-04-26 13:48:26 +02:00
Davide De Rosa
1c868bf460
Sort categories by case-insensitive name
2019-04-25 23:59:37 +02:00
Davide De Rosa
381668ebed
Prioritize pool sorting by num
2019-04-25 21:30:43 +02:00
Davide De Rosa
a12cecb647
Fix Pool.secondaryId and use it for sorting
...
Account for extraCountries.
2019-04-25 21:30:43 +02:00
Davide De Rosa
d9a0ebd923
Upgrade API to v2 (entities)
2019-04-25 21:30:43 +02:00
Davide De Rosa
b3a509fbea
Show default gateway policy in configuration UI
2019-04-25 15:30:23 +02:00
Davide De Rosa
458ef496fd
Unlocalize some strings
2019-04-23 15:47:24 +02:00
Davide De Rosa
3b1b34f15c
Detect missing VPN routing info
2019-04-19 09:55:26 +02:00
Davide De Rosa
351f5d92a5
Bump version
2019-04-17 22:29:09 +02:00
Davide De Rosa
a6745ceec7
Move feedback section to main screen
2019-04-15 14:40:16 +02:00
Davide De Rosa
5d7d20403b
Fix missing icon in Credits
...
After broken Xcode externalization. What the HELL?
2019-04-14 17:06:01 +02:00
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
867f5370c5
Bump version
2019-04-11 15:36:25 +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
bb299335ad
Add activity cell
2019-04-08 22:59:24 +02:00
Davide De Rosa
b745e37671
Drop redundant color prefix in Palette fields
2019-04-08 22:45:46 +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
7d1446d9c8
Present everything from Organizer in form sheet
2019-04-07 15:29:10 +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
70863da4ab
Add method to purchase a product
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
895c19328e
Add in-app donation identifiers
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
920c704359
Externalize About storyboard
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
44334486f7
Bump minor version (provider)
2019-04-06 20:29:24 +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
6503e3e015
Scroll to selected option
2019-04-06 16:20:01 +02:00
Davide De Rosa
03dd33852b
Drop OptionViewControllerDelegate, use blocks
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
00a4fe9a74
Fix SwiftGen after Countries -> Flags
2019-04-05 16:12:56 +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
Davide De Rosa
b5c1b371de
Set automatic footer height everywhere
2019-04-05 11:58:20 +02:00
Davide De Rosa
b9de756253
Move provider logos to own assets
2019-04-05 10:17:29 +02:00
Davide De Rosa
1edf712cda
Fix misplaced Account header
2019-04-05 09:26:01 +02:00
Davide De Rosa
f97b8447d9
Show provider logos in Organizer and Wizard
2019-04-05 00:52:36 +02:00
Davide De Rosa
bdf39fb36e
Add provider logo assets
2019-04-05 00:52:36 +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
ab5517dcba
Rename ParsingResult to Result
...
From ConfigurationParser in TunnelKit.
2019-04-04 19:26:08 +02:00
Davide De Rosa
ac713bebda
Present DNS domain in configuration UI
...
Fixes #48
2019-04-04 19:11:55 +02:00
Davide De Rosa
fe669bb3e0
Migrate to Configuration optionals
...
- cipher
- digest
- compressionFraming
2019-04-04 19:03:55 +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
8d3c2fb209
Bump version
2019-04-03 12:31:59 +02:00
Davide De Rosa
a98ddbb224
Add Windscribe provider
2019-04-01 09:55:57 +02:00
Davide De Rosa
8f87090587
Bump minor version
2019-04-01 09:55:43 +02:00
Davide De Rosa
09a3939e96
Drop unintended custom header/footer heights
...
Occasionally overlapping in Organizer.
2019-03-30 23:41:11 +01: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
912ae63ead
Convert resources to Base l10n
...
Could this fix the uploader issue with intents localization?
2019-03-30 19:25:06 +01: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
400cea0f7b
Show EKU and random endpoint in configuration
2019-03-27 17:07:29 +01:00