mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-20 23:02:14 +00:00
Merge branch 'integrate-windscribe'
This commit is contained in:
commit
66c472ef7d
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Windscribe provider. [#39](https://github.com/passepartoutvpn/passepartout-ios/issues/39)
|
||||
|
||||
## 1.2.0 (2019-04-01)
|
||||
|
||||
### Added
|
||||
|
@ -95,6 +95,9 @@ class AccountViewController: UIViewController, TableModelHost {
|
||||
|
||||
case .tunnelBear:
|
||||
guidance = V.Infrastructure.tunnelbear
|
||||
|
||||
case .windscribe:
|
||||
guidance = V.Infrastructure.windscribe
|
||||
}
|
||||
|
||||
model.add(.noAccount)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
Passepartout/Resources/Web/net/windscribe.json
Normal file
1
Passepartout/Resources/Web/net/windscribe.json
Normal file
File diff suppressed because one or more lines are too long
@ -137,6 +137,7 @@
|
||||
"account.suggestion_footer.infrastructure.mullvad" = "Use your website account number and password \"m\".";
|
||||
"account.suggestion_footer.infrastructure.pia" = "Use your website credentials. Your username is usually numeric with a \"p\" prefix.";
|
||||
"account.suggestion_footer.infrastructure.tunnelbear" = "Use your website credentials. Your username is usually your email.";
|
||||
"account.suggestion_footer.infrastructure.windscribe" = "Find your credentials in the OpenVPN Config Generator on the website.";
|
||||
"account.suggestion_footer.guidance_link" = "Tap to open web page.";
|
||||
"account.suggestion_footer.referral" = "Don't have an account? Tap here to get one.";
|
||||
|
||||
|
@ -164,7 +164,9 @@ public class AppConstants {
|
||||
return URL(string: "https://itunes.apple.com/app/id\(id)?action=write-review")!
|
||||
}
|
||||
|
||||
public static let guidances: [Infrastructure.Name: String] = [:]
|
||||
public static let guidances: [Infrastructure.Name: String] = [
|
||||
.windscribe: "https://windscribe.com/getconfig/openvpn"
|
||||
]
|
||||
|
||||
public static let referrals: [Infrastructure.Name: String] = [
|
||||
.mullvad: "https://mullvad.net/en/account/create/",
|
||||
|
@ -34,6 +34,8 @@ public struct Infrastructure: Codable {
|
||||
|
||||
case tunnelBear = "TunnelBear"
|
||||
|
||||
case windscribe = "Windscribe"
|
||||
|
||||
public var webName: String {
|
||||
return rawValue.lowercased()
|
||||
}
|
||||
|
@ -60,6 +60,7 @@ public class InfrastructureFactory {
|
||||
.mullvad,
|
||||
.pia,
|
||||
.tunnelBear,
|
||||
.windscribe
|
||||
]
|
||||
|
||||
private let bundle: [Infrastructure.Name: Infrastructure]
|
||||
|
@ -92,6 +92,8 @@ public enum L10n {
|
||||
public static let pia = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.pia")
|
||||
/// Use your website credentials. Your username is usually your email.
|
||||
public static let tunnelbear = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.tunnelbear")
|
||||
/// Find your credentials in the OpenVPN Config Generator on the website.
|
||||
public static let windscribe = L10n.tr("Localizable", "account.suggestion_footer.infrastructure.windscribe")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user