mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Fix typos found by codespell (#234)
This commit is contained in:
parent
bffc5d733b
commit
7bef2ccc68
@ -64,4 +64,3 @@ void GatewayAuthenticatorParams::setInputStr(const QString &inputStr)
|
|||||||
{
|
{
|
||||||
m_inputStr = inputStr;
|
m_inputStr = inputStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,7 +339,7 @@ void GPClient::onPortalFail(const QString &msg)
|
|||||||
|
|
||||||
void GPClient::tryGatewayLogin()
|
void GPClient::tryGatewayLogin()
|
||||||
{
|
{
|
||||||
LOGI << "Try to preform login on the the gateway interface...";
|
LOGI << "Try to perform login on the the gateway interface...";
|
||||||
|
|
||||||
// Treat the portal input as the gateway address
|
// Treat the portal input as the gateway address
|
||||||
GPGateway g;
|
GPGateway g;
|
||||||
|
@ -32,7 +32,7 @@ void PortalAuthenticator::authenticate()
|
|||||||
{
|
{
|
||||||
attempts++;
|
attempts++;
|
||||||
|
|
||||||
LOGI << QString("(%1/%2) attempts").arg(attempts).arg(MAX_ATTEMPTS) << ", preform portal prelogin at " << preloginUrl;
|
LOGI << QString("(%1/%2) attempts").arg(attempts).arg(MAX_ATTEMPTS) << ", perform portal prelogin at " << preloginUrl;
|
||||||
|
|
||||||
QNetworkReply *reply = createRequest(preloginUrl);
|
QNetworkReply *reply = createRequest(preloginUrl);
|
||||||
connect(reply, &QNetworkReply::finished, this, &PortalAuthenticator::onPreloginFinished);
|
connect(reply, &QNetworkReply::finished, this, &PortalAuthenticator::onPreloginFinished);
|
||||||
|
@ -172,4 +172,3 @@ void PortalConfigResponse::setPrelogonUserAuthCookie(const QString cookie)
|
|||||||
{
|
{
|
||||||
m_prelogonAuthCookie = cookie;
|
m_prelogonAuthCookie = cookie;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ void GPService::connect(QString server, QString username, QString passwd)
|
|||||||
<< "--cookie-on-stdin"
|
<< "--cookie-on-stdin"
|
||||||
<< server;
|
<< server;
|
||||||
|
|
||||||
log("Start process with arugments: " + args.join(", "));
|
log("Start process with arguments: " + args.join(", "));
|
||||||
|
|
||||||
openconnect->start(bin, args);
|
openconnect->start(bin, args);
|
||||||
openconnect->write((passwd + "\n").toUtf8());
|
openconnect->write((passwd + "\n").toUtf8());
|
||||||
|
2
cmakew
2
cmakew
@ -36,7 +36,7 @@ fi
|
|||||||
cmake_base="./.cmake"
|
cmake_base="./.cmake"
|
||||||
cmake_bin="${cmake_base}/cmake-$cmake_version/bin/cmake"
|
cmake_bin="${cmake_base}/cmake-$cmake_version/bin/cmake"
|
||||||
|
|
||||||
# download cmake if neccessary
|
# download cmake if necessary
|
||||||
if [ ! -f "$cmake_bin" ]; then
|
if [ ! -f "$cmake_bin" ]; then
|
||||||
download_link=""
|
download_link=""
|
||||||
|
|
||||||
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -57,7 +57,7 @@ globalprotect-openconnect (1.4.6-1) unstable; urgency=medium
|
|||||||
|
|
||||||
* Updated VERSION, Bumped 1.4.5 –> 1.4.6
|
* Updated VERSION, Bumped 1.4.5 –> 1.4.6
|
||||||
* feat: display address in gateway menu item
|
* feat: display address in gateway menu item
|
||||||
* fix: fix bug of parsing the portal respponse
|
* fix: fix bug of parsing the portal response
|
||||||
|
|
||||||
-- Kevin Yue <k3vinyue@gmail.com> Wed, 01 Jun 2022 23:55:50 +0800
|
-- Kevin Yue <k3vinyue@gmail.com> Wed, 01 Jun 2022 23:55:50 +0800
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ globalprotect-openconnect (1.4.5-1) unstable; urgency=medium
|
|||||||
* packaging: fix postinst for debian
|
* packaging: fix postinst for debian
|
||||||
* packaging: add postinst for debian
|
* packaging: add postinst for debian
|
||||||
* test: test debian packaging
|
* test: test debian packaging
|
||||||
* ci: fix the foder path
|
* ci: fix the folder path
|
||||||
* chore: apt -> apt-get
|
* chore: apt -> apt-get
|
||||||
* ci: verify debian package
|
* ci: verify debian package
|
||||||
* Revert "Revert "fix: improve the dbus security""
|
* Revert "Revert "fix: improve the dbus security""
|
||||||
|
@ -25,7 +25,7 @@ Sun Jan 8 12:58:32 UTC 2023 - k3vinyue@gmail.com - 1.4.9
|
|||||||
* Credentials autocompleting (secure version) (#179)
|
* Credentials autocompleting (secure version) (#179)
|
||||||
* Read all saved Gateways (for selecting in Systray) (#181)
|
* Read all saved Gateways (for selecting in Systray) (#181)
|
||||||
* copy install script for debian (#180)
|
* copy install script for debian (#180)
|
||||||
* add es and pt support to shange status when connected to vpn (#162)
|
* add es and pt support to change status when connected to vpn (#162)
|
||||||
* fix: improve the cli support
|
* fix: improve the cli support
|
||||||
* feat: add --reset option to gpclient
|
* feat: add --reset option to gpclient
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ Wed Jun 1 15:55:50 UTC 2022 - k3vinyue@gmail.com - 1.4.6
|
|||||||
- Update to 1.4.6
|
- Update to 1.4.6
|
||||||
* Updated VERSION, Bumped 1.4.5 –> 1.4.6
|
* Updated VERSION, Bumped 1.4.5 –> 1.4.6
|
||||||
* feat: display address in gateway menu item
|
* feat: display address in gateway menu item
|
||||||
* fix: fix bug of parsing the portal respponse
|
* fix: fix bug of parsing the portal response
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 29 13:15:40 UTC 2022 - k3vinyue@gmail.com - 1.4.5
|
Sun May 29 13:15:40 UTC 2022 - k3vinyue@gmail.com - 1.4.5
|
||||||
@ -72,7 +72,7 @@ Sun May 29 13:15:40 UTC 2022 - k3vinyue@gmail.com - 1.4.5
|
|||||||
* packaging: fix postinst for debian
|
* packaging: fix postinst for debian
|
||||||
* packaging: add postinst for debian
|
* packaging: add postinst for debian
|
||||||
* test: test debian packaging
|
* test: test debian packaging
|
||||||
* ci: fix the foder path
|
* ci: fix the folder path
|
||||||
* chore: apt -> apt-get
|
* chore: apt -> apt-get
|
||||||
* ci: verify debian package
|
* ci: verify debian package
|
||||||
* Revert "Revert "fix: improve the dbus security""
|
* Revert "Revert "fix: improve the dbus security""
|
||||||
|
Loading…
Reference in New Issue
Block a user