Skip to content

Commit

Permalink
Merge branch 'api-access-methods'
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Jan 29, 2024
2 parents fd4b9f0 + 4776f28 commit 3ad7afe
Show file tree
Hide file tree
Showing 37 changed files with 2,894 additions and 38 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Line wrap the file at 100 chars. Th
- Add CLI command for exporting settings patches: `mullvad export-settings`. Currently, it generates
a patch containing all patchable settings, which only includes relay IP overrides.
- Make `mullvad status` prints if lockdown mode is enabled when disconnected.
- Add option to configure custom API access methods. Custom API access methods allows the user to
circumvent censorship by proxying API traffic.

#### Android
- Add support for all screen orientations.
Expand Down
4 changes: 4 additions & 0 deletions gui/assets/images/icon-more.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
211 changes: 208 additions & 3 deletions gui/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ msgstr ""
msgid "Account settings"
msgstr ""

msgid "Add"
msgstr ""

msgid "Any"
msgstr ""

Expand Down Expand Up @@ -71,6 +74,9 @@ msgstr ""
msgid "Cancel"
msgstr ""

msgid "Cipher"
msgstr ""

msgid "Clear"
msgstr ""

Expand Down Expand Up @@ -99,6 +105,9 @@ msgstr ""
msgid "Default"
msgstr ""

msgid "Delete"
msgstr ""

msgid "Delete list"
msgstr ""

Expand Down Expand Up @@ -148,6 +157,9 @@ msgstr ""
msgid "less than a day left"
msgstr ""

msgid "Name"
msgstr ""

msgid "Next"
msgstr ""

Expand All @@ -163,6 +175,15 @@ msgstr ""
msgid "Open URL"
msgstr ""

msgid "Optional"
msgstr ""

msgid "Password"
msgstr ""

msgid "Port"
msgstr ""

#. The connection is secure and isn't breakable by quantum computers.
msgid "QUANTUM SECURE CONNECTION"
msgstr ""
Expand All @@ -173,6 +194,9 @@ msgstr ""
msgid "Reconnect"
msgstr ""

msgid "Required"
msgstr ""

msgid "Save"
msgstr ""

Expand Down Expand Up @@ -201,6 +225,9 @@ msgstr ""
msgid "Try a different search."
msgstr ""

msgid "Type"
msgstr ""

msgid "UDP"
msgstr ""

Expand All @@ -210,6 +237,9 @@ msgstr ""
msgid "UNSECURED CONNECTION"
msgstr ""

msgid "Username"
msgstr ""

msgctxt "accessibility"
msgid "%(title)s, View loaded"
msgstr ""
Expand Down Expand Up @@ -306,6 +336,174 @@ msgctxt "account-view"
msgid "Paid until"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Add method"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Adding a new API access method also tests it."
msgstr ""

msgctxt "api-access-methods-view"
msgid "API reachable"
msgstr ""

msgctxt "api-access-methods-view"
msgid "API reachable, adding method…"
msgstr ""

msgctxt "api-access-methods-view"
msgid "API reachable, saving method…"
msgstr ""

msgctxt "api-access-methods-view"
msgid "API unreachable"
msgstr ""

msgctxt "api-access-methods-view"
msgid "API unreachable, add anyway?"
msgstr ""

msgctxt "api-access-methods-view"
msgid "API unreachable, save anyway?"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Authentication"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Clicking “Save” changes the in use method."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Delete %(name)s?"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Edit method"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Editing an API access method also tests it."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Enter IP"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Enter name"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Enter port"
msgstr ""

msgctxt "api-access-methods-view"
msgid "In use"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Local SOCKS5 server"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Manage and add custom methods to access the Mullvad API."
msgstr ""

msgctxt "api-access-methods-view"
msgid "On some networks, where various types of censorship are being used, the API servers might not be directly reachable."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Please enter a valid IPv4 or IPv6 address."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Please enter a valid localhost port."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Please enter a valid remote server port."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Remote Server"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Server"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Server details"
msgstr ""

msgctxt "api-access-methods-view"
msgid "SOCKS5 local"
msgstr ""

msgctxt "api-access-methods-view"
msgid "SOCKS5 remote"
msgstr ""

msgctxt "api-access-methods-view"
msgid "Testing method..."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Testing..."
msgstr ""

msgctxt "api-access-methods-view"
msgid "The API could not be reached using the %(name)s method."
msgstr ""

msgctxt "api-access-methods-view"
msgid "The app needs the remote server details, where your local SOCKS5 server will forward your traffic."
msgstr ""

msgctxt "api-access-methods-view"
msgid "The app needs to communicate with a Mullvad API server to log you in, fetch server lists, and other critical operations."
msgstr ""

msgctxt "api-access-methods-view"
msgid "The in use API access method will change."
msgstr ""

msgctxt "api-access-methods-view"
msgid "The TCP port where your local SOCKS5 server is listening."
msgstr ""

msgctxt "api-access-methods-view"
msgid "This can be useful if the API is censored but Mullvad’s bridge servers are not."
msgstr ""

msgctxt "api-access-methods-view"
msgid "This can be useful when you are not affected by censorship."
msgstr ""

msgctxt "api-access-methods-view"
msgid "This feature allows you to circumvent that censorship by adding custom ways to access the API via proxies and similar methods."
msgstr ""

msgctxt "api-access-methods-view"
msgid "This is needed so our app can allow that traffic in the firewall."
msgstr ""

msgctxt "api-access-methods-view"
msgid "Transport protocol"
msgstr ""

msgctxt "api-access-methods-view"
msgid "With the “Direct” method, the app communicates with a Mullvad API server directly without any intermediate proxies."
msgstr ""

msgctxt "api-access-methods-view"
msgid "With the “Mullvad bridges” method, the app communicates with a Mullvad API server via a Mullvad bridge server. It does this by sending the traffic obfuscated by Shadowsocks."
msgstr ""

msgctxt "auth-failure"
msgid "Blocking internet: account is out of time"
msgstr ""
Expand Down Expand Up @@ -741,6 +939,11 @@ msgctxt "login-view"
msgid "Valid account number"
msgstr ""

#. Title label in navigation bar
msgctxt "navigation-bar"
msgid "API access"
msgstr ""

#. Title label in navigation bar
msgctxt "navigation-bar"
msgid "Settings"
Expand Down Expand Up @@ -1086,6 +1289,11 @@ msgctxt "select-location-view"
msgid "While connected, your traffic will be routed through two secure locations, the entry point and the exit point (needs to be two different VPN servers)."
msgstr ""

#. Navigation button to the 'API access methods' view
msgctxt "settings-view"
msgid "API access methods"
msgstr ""

msgctxt "settings-view"
msgid "App is out of sync. Please quit and restart."
msgstr ""
Expand Down Expand Up @@ -1741,9 +1949,6 @@ msgstr ""
msgid "Enter MTU"
msgstr ""

msgid "Enter port"
msgstr ""

msgid "Excluded applications"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions gui/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"download": "https://mullvad.net/download/vpn/"
},
"colors": {
"darkerBlue": "rgba(25, 38, 56, 0.95)",
"darkBlue": "rgb(25, 46, 69)",
"blue": "rgb(41, 77, 115)",
"darkGreen": "rgb(32, 84, 37)",
Expand All @@ -18,12 +19,14 @@
"white": "rgb(255, 255, 255)",
"white80": "rgba(255, 255, 255, 0.8)",
"white60": "rgba(255, 255, 255, 0.6)",
"white50": "rgba(255, 255, 255, 0.5)",
"white40": "rgba(255, 255, 255, 0.4)",
"white20": "rgba(255, 255, 255, 0.2)",
"white10": "rgba(255, 255, 255, 0.1)",
"blue10": "rgba(41, 77, 115, 0.1)",
"blue20": "rgba(41, 77, 115, 0.2)",
"blue40": "rgba(41, 77, 115, 0.4)",
"blue50": "rgba(41, 77, 115, 0.5)",
"blue60": "rgba(41, 77, 115, 0.6)",
"blue80": "rgba(41, 77, 115, 0.8)",
"red95": "rgba(227, 64, 57, 0.95)",
Expand Down
Loading

0 comments on commit 3ad7afe

Please sign in to comment.