Skip to content

Commit

Permalink
Merge pull request #138 from Psiphon-Inc/next-release
Browse files Browse the repository at this point in the history
Next release
  • Loading branch information
adamkruger authored Nov 18, 2024
2 parents 037a8e9 + b9b50d6 commit 54fe953
Show file tree
Hide file tree
Showing 49 changed files with 1,624 additions and 1,356 deletions.
Binary file modified src/3rdParty/psiphon-tunnel-core.exe
Binary file not shown.
10 changes: 4 additions & 6 deletions src/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1852,19 +1852,17 @@ VERSIONHELPERAPI IsWindows10OrGreater()
/// (or versions). It will result in upgrades being blocked for users on that OS version.
/// When changing this value, the versions used in IsOSUnsupported and/or IsOSLegacy
/// must change.
#define IS_LEGACY_BUILD true
#define IS_LEGACY_BUILD false

bool IsOSUnsupported()
{
// We no longer support Windows XP or Vista.
return !IsWindows7OrGreater();
// We no longer support Windows XP, Vista, 7, 8, 8.1
return !IsWindows10OrGreater();
}

bool IsOSLegacy()
{
// Windows 7, 8, and 8.1 are considered legacy -- this is the last build
// that will support them.
return IS_LEGACY_BUILD && IsWindows7OrGreater() && !IsWindows10OrGreater();
return IS_LEGACY_BUILD;
}

void EnforceOSSupport(HWND parentWnd, const wstring& message, const string& faqURL)
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/am/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "ላትቪያ",
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphonን በWindows XP እና VISTA መጠቀም አይችሉም። ለተጨማሪ መረጃ ድር ጣቢያችንን ይጎብኙ።",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "የPsiCash ግብይት ስህተት",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "لاتفيا",
"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-lt": {
"message": "ليتوانيا",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon لم يعد يدعم نظام التشغيل Windows XP أو Vista.\nيرجى زيارة موقعنا على الانترنت لمزيد من المعلومات.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "خطأ في معاملة PsiCash",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/az/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/be/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "Латвія",
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/bn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/bo/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "Lettland",
"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-lt": {
"message": "Litauen",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania will be used."
},
"settings#egress-region#select-id": {
"message": "Indonesien",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Indonesia will be used."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
4 changes: 4 additions & 0 deletions src/webui/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "Letonia",
"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-lt": {
"message": "Lituania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon ya no soporta Windows XP o Vista.\nPor favor visita nuestro sitio web para más información.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "Error de transacción PsiCash",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/fa-AF/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/fa/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"message": "لاتیوا",
"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-lt": {
"message": "لتونی",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon (Psiphon) دیگر از ویندوز XP و Vista پشتیبانی نمی‌کند.\nلطفا برای اطلاعات بیشتر به وبسایت ما مراجعه کنید.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "خطا در مبادله با PsiCash",
Expand Down
8 changes: 6 additions & 2 deletions src/webui/_locales/fi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
"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-lt": {
"message": "Lithuania",
"description": "One of the choices in the 'Psiphon Server Region' combo box. If selected, a Psiphon server in Lithuania 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."
Expand Down Expand Up @@ -668,8 +672,8 @@
"description": "Appears in the notification area balloon when Psiphon has been minimized to the Windows' notification area (aka 'system tray' aka 'systray', the area of the taskbar with the clock, battery indicator, and other icons)."
},
"appbackend#os-unsupported": {
"message": "Psiphon no longer supports Windows XP or Vista.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsuppoted version of Windows. Is followed by a URL."
"message": "Psiphon only supports Windows 10 and newer.\nPlease visit our website for more information.",
"description": "Appears in a message box when Psiphon is run on an unsupported version of Windows. Is followed by a URL."
},
"psicash#transaction-error-title": {
"message": "PsiCash transaction error",
Expand Down
Loading

0 comments on commit 54fe953

Please sign in to comment.