Commit Graph

167 Commits

Author SHA1 Message Date
Davide De Rosa 80bc362f04 Hide guidance string for non-embedded providers
String key is not found when NSLocalizedString returns key itself.
2020-05-09 17:33:19 +02:00
Davide De Rosa 8547899a53 Update TunnelKit
Disconnect on server shutdown.
2020-04-06 11:29:11 +02:00
Davide De Rosa 25ea04c3a3 Drop FIXME about logos, load statically
Quite complicated to do via API.
2020-02-29 18:46:39 +01:00
Davide De Rosa 8318821a80 Return provider guidance string dynamically
Drop annoying switch/case.
2020-02-29 18:12:24 +01:00
Davide De Rosa 7db0bb0d48 Allow any character in host profile name
Fixes #26
2020-02-28 18:33:03 +01:00
Davide De Rosa c7b2ff56b5 Use wrappers for profile metadata
Contextually fix provider appearance in Siri shortcuts. Was using
name (lowercase) rather than description (fancy).
2020-02-27 01:03:37 +01:00
Davide De Rosa 9a807d16b3 Update copyright clause 2020-01-11 09:30:46 +01:00
Davide De Rosa 688c9feda7 Simplify eligibility checks 2019-12-22 12:12:20 +01:00
Davide De Rosa eeb85f89b1 For IAP, fall back to provider .name, not .description
Add explicit inApp = description in index.json for all current
providers. Future ones will use name as a suffix instead.
2019-12-22 12:05:57 +01:00
Davide De Rosa c1854ffd00 Fix check for provider eligibility 2019-12-22 11:56:06 +01:00
Davide De Rosa 535caf4d37 Improve nl strings 2019-12-21 11:13:41 +01:00
Davide De Rosa 4b0de92b45 Improve some de strings 2019-12-16 11:57:53 +01:00
Davide De Rosa 1945844cf5 Drop redundant view theme
Use system background in storyboards.
2019-12-12 18:05:06 +01:00
Davide De Rosa 0d6904b1dc Fix incorrect Siri IAP identifier 2019-12-12 10:47:59 +01:00
Davide De Rosa 6eb6e5a735 Adjust to issue with infrastructure metadata 2019-12-12 00:55:34 +01:00
Davide De Rosa 5c918c3a86 Use provider description in issue report 2019-12-12 00:46:19 +01:00
Davide De Rosa a11c2bd3ee Improve el translations 2019-12-11 20:32:32 +01:00
Davide De Rosa 03515ba901 Add more strings
E.g. Mullvad username without spaces.
2019-12-11 14:02:03 +01:00
Davide De Rosa fc32be53a7 Add/update translations
XXX: Google Translate

- de
- el
- nl
- pt
- sv
2019-12-11 13:40:17 +01:00
Davide De Rosa 6159221d0b Add/update translations
Legitimate:

- es
- fr
- it
- pl
- ru
- zh-Hans
2019-12-11 12:28:03 +01:00
Davide De Rosa 23f1cfdad3 Restore provider flow after purchase 2019-12-04 15:13:16 +01:00
Davide De Rosa 36cdbdb728 Use provider in-app metadata before description
To infer product identifier suffix.
2019-12-04 15:13:03 +01:00
Davide De Rosa 312f3ddb5e Use name as is for logo
Names are already lowercase.
2019-12-02 17:50:54 +01:00
Davide De Rosa 89b638eaa3 Fix index caching in Core 2019-11-30 12:32:52 +01:00
Davide De Rosa c1c7587c8c Handle errors in product requests
Update Convenience due to main queue bugs.
2019-11-30 12:08:30 +01:00
Davide De Rosa d302e504df Fall back to placeholder logo 2019-11-30 11:04:16 +01:00
Davide De Rosa 4a659b8f8d Drop old comments 2019-11-30 10:57:17 +01:00
Davide De Rosa 1619c7f46c Use placeholder when provider logo is missing
So far it's what happens for dynamically added providers, because
there is no local asset.
2019-11-28 11:44:39 +01:00
Davide De Rosa 28a7dcdcf7 Update providers via web service
Reload products after update. Always re-list products!

Had to fix web services in Convenience, completion handler not
invoked from main queue.
2019-11-28 11:34:01 +01:00
Davide De Rosa e5325cea7e Make in-app product identifiers dynamic 2019-11-28 11:33:53 +01:00
Davide De Rosa d4977f499a Add "Update list" stub in provider wizard 2019-11-28 11:27:23 +01:00
Davide De Rosa 97f458385c Update to API v3
- Dynamic providers
- Add index.json to API
2019-11-28 09:57:34 +01:00
Davide De Rosa d43acb8593 Display informational footer on empty favorites 2019-11-21 15:42:22 +01:00
Davide De Rosa 05697b12cc Use primary color for normal actions 2019-11-21 15:42:14 +01:00
Davide De Rosa 9c916b335e Highlight item when in favorites 2019-11-21 15:42:14 +01:00
Davide De Rosa b88eedc42c Manage favorites through swipe 2019-11-21 15:42:05 +01:00
Davide De Rosa 2c4dea7b43 Configure trusted networks in profile 2019-11-21 09:55:44 +01:00
Davide De Rosa 1fd2d18653 Refactor trusted networks code 2019-11-21 09:15:24 +01:00
Davide De Rosa 70783f9dda Reuse Credits from Convenience 2019-11-20 23:14:19 +01:00
Davide De Rosa d8ef4f96e0 Fix text size in purchase cells 2019-11-20 20:00:51 +01:00
Davide De Rosa 3c2df0c6e5 Use Dynamic Type in labels 2019-11-20 19:36:56 +01:00
Davide De Rosa 816c7ca575 Use Dynamic Type in cells
Also fix activity cell layout.
2019-11-20 19:36:53 +01:00
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 99da23de8e Simulate full version through scheme arguments 2019-11-19 23:38:04 +01:00
Davide De Rosa bacd510345 Create modal presentation theme 2019-11-19 23:20:22 +01:00
Davide De Rosa 39ff0e3093 Drop redundant title themes 2019-11-19 23:17:55 +01:00
Davide De Rosa 1578b82beb Refine in-app related strings
XXX: Google Translate
2019-11-19 23:13:00 +01:00
Davide De Rosa 4ee56d8e7b Clean up IAP receipt loop 2019-11-09 18:29:50 +01:00
Davide De Rosa 2c6033f20a Translate new strings
XXX: Google Translate
2019-11-09 18:17:34 +01:00
Davide De Rosa 6e0ad83520 Replace full version description with bullets 2019-11-09 18:08:38 +01:00