Skip to content

Commit

Permalink
Merge pull request #131 from Psiphon-Inc/next-release
Browse files Browse the repository at this point in the history
Next release
  • Loading branch information
adamkruger authored Dec 12, 2023
2 parents 2840c05 + 8820e86 commit aeb4745
Show file tree
Hide file tree
Showing 11 changed files with 583 additions and 434 deletions.
Binary file modified src/3rdParty/psiphon-tunnel-core.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions src/embeddedvalues.h.stub
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ static const char* GET_NEW_VERSION_URL = "https://s3.amazonaws.com/invalid_bucke
static const char* GET_NEW_VERSION_EMAIL = "[email protected]";
static const char* FAQ_URL = "https://s3.amazonaws.com/invalid_bucket_name/en.html#other_frequently_asked_questions";
static const char* DATA_COLLECTION_INFO_URL = "https://s3.amazonaws.com/invalid_bucket_name/en/index.html#what_user_information_does_psiphon_3_collect";

static const char* ADDITIONAL_PARAMETERS = "";
3 changes: 3 additions & 0 deletions src/psiphon_tunnel_core_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ bool WriteParameterFiles(const WriteParameterFilesIn& in, WriteParameterFilesOut
config["EmitDiagnosticNotices"] = true;
config["EmitDiagnosticNetworkParameters"] = true;
config["EmitServerAlerts"] = true;
config["AdditionalParameters"] = ADDITIONAL_PARAMETERS;

// Don't use an upstream proxy when in VPN mode. If the proxy is on a private network,
// we may not be able to route to it. If the proxy is on a public network we prefer not
Expand Down Expand Up @@ -134,6 +135,7 @@ bool WriteParameterFiles(const WriteParameterFilesIn& in, WriteParameterFilesOut
// Feedback
config["FeedbackUploadURLs"] = LoadJSONArray(FEEDBACK_UPLOAD_URLS_JSON);
config["FeedbackEncryptionPublicKey"] = FEEDBACK_ENCRYPTION_PUBLIC_KEY;
config["EnableFeedbackUpload"] = true;

// In temporary tunnel mode, only the specific server should be connected to,
// and a handshake is not performed.
Expand Down Expand Up @@ -228,6 +230,7 @@ bool WriteParameterFiles(const WriteParameterFilesIn& in, WriteParameterFilesOut
config["MigrateUpgradeDownloadFilename"] = WStringToUTF8(out.oldClientUpgradeFilename);
config["UpgradeDownloadURLs"] = LoadJSONArray(UPGRADE_URLS_JSON);
config["UpgradeDownloadClientVersionHeader"] = string("x-amz-meta-psiphon-client-version");
config["EnableUpgradeDownload"] = true;

// Newer versions of tunnel-core download the upgrade file to its own data directory. Both oldClientUpgradeFilename and
// newClientUpgradeFilename should be deleted when Psiphon starts if they exist.
Expand Down
24 changes: 24 additions & 0 deletions src/webui/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,30 @@
"message": "Latvia",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Latvia will be used."
},
"settings#egress-region#select-id": {
"message": "Indonesia",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Indonesia will be used."
},
"settings#egress-region#select-nz": {
"message": "New Zealand",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in New Zealand will be used."
},
"settings#egress-region#select-gr": {
"message": "Greece",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Greece will be used."
},
"settings#egress-region#select-hr": {
"message": "Croatia",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Croatia will be used."
},
"settings#egress-region#select-pt": {
"message": "Portugal",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Portugal will be used."
},
"settings#egress-region#select-ua": {
"message": "Ukraine",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Ukraine will be used."
},
"settings#egress-region#description": {
"message": "Psiphon has servers in many different countries and regions. Using a Psiphon server in a region close to your home country will generally provide a better network connection, but you may wish to access websites and services like you are virtually in a specific country or region.",
"description": "Help text in the 'Psiphon Server Region' settings section explaining what the option is and why the user may want to override the default ('best') setting value. The word 'Psiphon' must not be translated or transliterated."
Expand Down
24 changes: 24 additions & 0 deletions src/webui/_locales/haw-Arab/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -715,14 +715,26 @@
"message": "‮∩uıʇǝp‬ ‮Ӽıuƃpoɯ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in the UK will be used."
},
"settings#egress-region#select-gr": {
"message": "‮פɹǝǝɔǝ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Greece will be used."
},
"settings#egress-region#select-hk": {
"message": "‮Houƃ‬ ‮Ӽouƃ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Hong Kong will be used."
},
"settings#egress-region#select-hr": {
"message": "‮Ↄɹoɐʇıɐ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Croatia will be used."
},
"settings#egress-region#select-hu": {
"message": "‮Hnuƃɐɹʎ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Hungary will be used."
},
"settings#egress-region#select-id": {
"message": "‮Iupouǝsıɐ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Indonesia will be used."
},
"settings#egress-region#select-ie": {
"message": "‮Iɹǝʅɐup‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Ireland will be used."
Expand Down Expand Up @@ -767,10 +779,18 @@
"message": "‮Noɹʍɐʎ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Norway will be used."
},
"settings#egress-region#select-nz": {
"message": "‮Nǝʍ‬ ‮Zǝɐʅɐup‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in New Zealand will be used."
},
"settings#egress-region#select-pl": {
"message": "‮Ԁoʅɐup‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Sweden will be used."
},
"settings#egress-region#select-pt": {
"message": "‮Ԁoɹʇnƃɐʅ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Portugal will be used."
},
"settings#egress-region#select-ro": {
"message": "‮ᴚoɯɐuıɐ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Romania will be used."
Expand All @@ -795,6 +815,10 @@
"message": "‮⊥ɐıʍɐu‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Taiwan will be used."
},
"settings#egress-region#select-ua": {
"message": "‮∩ʞɹɐıuǝ‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Ukraine will be used."
},
"settings#egress-region#select-us": {
"message": "‮∩uıʇǝp‬ ‮Sʇɐʇǝs‬",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in the United States will be used."
Expand Down
24 changes: 24 additions & 0 deletions src/webui/_locales/haw-Cyrl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -715,14 +715,26 @@
"message": "[Ŭŭƞīīŧḗḗḓ Ķīīƞɠḓǿǿḿ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in the UK will be used."
},
"settings#egress-region#select-gr": {
"message": "[Ɠřḗḗḗḗƈḗḗ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Greece will be used."
},
"settings#egress-region#select-hk": {
"message": "[Ħǿǿƞɠ Ķǿǿƞɠ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Hong Kong will be used."
},
"settings#egress-region#select-hr": {
"message": "[Ƈřǿǿȧȧŧīīȧȧ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Croatia will be used."
},
"settings#egress-region#select-hu": {
"message": "[Ħŭŭƞɠȧȧřẏ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Hungary will be used."
},
"settings#egress-region#select-id": {
"message": "[Īīƞḓǿǿƞḗḗşīīȧȧ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Indonesia will be used."
},
"settings#egress-region#select-ie": {
"message": "[Īīřḗḗŀȧȧƞḓ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Ireland will be used."
Expand Down Expand Up @@ -767,10 +779,18 @@
"message": "[Ƞǿǿřẇȧȧẏ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Norway will be used."
},
"settings#egress-region#select-nz": {
"message": "[Ƞḗḗẇ Ẑḗḗȧȧŀȧȧƞḓ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in New Zealand will be used."
},
"settings#egress-region#select-pl": {
"message": "[Ƥǿǿŀȧȧƞḓ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Sweden will be used."
},
"settings#egress-region#select-pt": {
"message": "[Ƥǿǿřŧŭŭɠȧȧŀ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Portugal will be used."
},
"settings#egress-region#select-ro": {
"message": "[Řǿǿḿȧȧƞīīȧȧ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Romania will be used."
Expand All @@ -795,6 +815,10 @@
"message": "[Ŧȧȧīīẇȧȧƞ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Taiwan will be used."
},
"settings#egress-region#select-ua": {
"message": "[Ŭŭķřȧȧīīƞḗḗ]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Ukraine will be used."
},
"settings#egress-region#select-us": {
"message": "[Ŭŭƞīīŧḗḗḓ Şŧȧȧŧḗḗş]",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in the United States will be used."
Expand Down
18 changes: 9 additions & 9 deletions src/webui/_locales/pt-BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@
"description": "Title of a modal dialog shown when a PsiCash transaction (like Speed Boost purchase) fails. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#transaction-InvalidTokens-body-account": {
"message": "Your PsiCash login has expired. Log into your account and try again.",
"message": "Seu login no PsiCash expirou. Entre na sua conta e tente novamente.",
"description": "Body text of a modal dialog shown when a PsiCash transaction (like Speed Boost purchase) fails. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#transaction-ServerError-title": {
Expand Down Expand Up @@ -732,11 +732,11 @@
"description": "Label on a button. Clicking this button will buy 1 day (24 hours) of Speed Boost."
},
"psicash#1-week": {
"message": "1 week",
"message": "1 semana",
"description": "Label on a button. Clicking this button will buy 1 week (7 days) of Speed Boost."
},
"psicash#1-month": {
"message": "1 month",
"message": "1 mês",
"description": "Label on a button. Clicking this button will buy 1 month (31 days) of Speed Boost."
},
"psicash#ui-buyingboost-buttontext": {
Expand Down Expand Up @@ -824,7 +824,7 @@
"description": "Button in the modal dialog encouraging users to create an account when they attempt to buy PsiCash with real money without one. If they click this button, they will be taken to a screen where they can create an account or log into an existing one."
},
"psicash#modal-create-psicash-account-continue-button": {
"message": "Continue without account",
"message": "Continuar sem conta",
"description": "Button in the modal dialog encouraging users to create an account when they attempt to buy PsiCash with real money without one. If they click this button, they will continue on to the PsiCash store."
},
"psicash#modal-psicash-logout-offline-header": {
Expand All @@ -848,15 +848,15 @@
"description": "Button in the modal dialog shown to users when they attempt to log out of their PsiCash account with no active Psiphon tunnel. Clicking this button will cancel the attempt."
},
"psicash#modal-login-header": {
"message": "PsiCash Account",
"message": "Conta PsiCash",
"description": "Header of modal dialog in which the user can log in to an existing account or click a link to create a new one. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#modal-login-body": {
"message": "<a class=\"js-psicash-account-signup\" href=\"#\">Create a new account</a> or log in below.",
"description": "Body of modal dialog in which the user can log in to an existing account or click a link to create a new one."
},
"psicash#modal-login-username-field": {
"message": "PsiCash username",
"message": "Nome de usuário PsiCash",
"description": "Label for a username field in the PsiCash account login modal dialog."
},
"psicash#modal-login-password-field": {
Expand Down Expand Up @@ -928,7 +928,7 @@
"description": "Label for a button that leads to more Speed Boost purchase choices. The translation can be like 'More options' or 'More choices' or 'See more'. Only use an ellipsis if it makes sense in your language."
},
"psicash#login#failure-modal-title": {
"message": "PsiCash Login Failed",
"message": "Falha no login do PsiCash",
"description": "Title of modal dialog shown when the PsiCash account login attempt fails for some reason. Text within the modal will explain why. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#login#catastrophic-error-body": {
Expand All @@ -944,7 +944,7 @@
"description": "Body text of a modal dialog shown when a PsiCash login fails due to bad username or password."
},
"psicash#login#server-error-body": {
"message": "The PsiCash server responded with an error while trying to log you in. Please try again later.",
"message": "O servidor PsiCash respondeu com um erro ao tentar fazer login. Tente novamente mais tarde.",
"description": "Body text of a modal dialog shown when a PsiCash account login fails due to a server error. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#login#badrequest-error-body": {
Expand All @@ -956,7 +956,7 @@
"description": "Title of modal dialog shown when the PsiCash account login attempt succeeds, if additional information needs to be conveyed. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#login#last-tracker-merge-body": {
"message": "You are logged into your PsiCash account. The preexisting balance from this device has been transferred into your account, but this is the last time a balance merge will occur.",
"message": "Você está logado em sua conta PsiCash. O saldo preexistente deste dispositivo foi transferido para a sua conta, mas esta é a última vez que ocorrerá uma mesclagem de saldo.",
"description": "Body text of a modal dialog shown when a PsiCash login succeeds. There is a fixed number of times that a user can merge a pre-account balance into a PsiCash account. This message indicates that the user has hit that limit and the merge that occurred is the last one allowed. The word 'PsiCash' must not be translated or transliterated."
},
"psicash#alert#tokens-expired": {
Expand Down
Loading

0 comments on commit aeb4745

Please sign in to comment.