diff options
author | Saturneric <[email protected]> | 2023-07-12 11:10:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-07-12 11:10:22 +0000 |
commit | 3129b3ef5a04a6c449d4785d679d795d98c520bc (patch) | |
tree | 7961fa91edffaae1a5c5cdafb92fddb1fbedb446 | |
parent | feat: support aws amplify for manual deploying (diff) | |
download | GpgFrontend-3129b3ef5a04a6c449d4785d679d795d98c520bc.tar.gz GpgFrontend-3129b3ef5a04a6c449d4785d679d795d98c520bc.zip |
fix: change gpgfrontend.pub to gpgfrontend.bktus.com
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | manual/CNAME | 2 | ||||
-rw-r--r-- | manual/_coverpage.md | 2 | ||||
-rw-r--r-- | manual/_navbar.md | 2 | ||||
-rw-r--r-- | manual/faq.md | 2 | ||||
-rw-r--r-- | resource/lfs/app-image/gpgfrontend/usr/share/metainfo/pub.gpgfrontend.gpgfrontend.metainfo.xml | 4 | ||||
-rw-r--r-- | resource/meta/pub.gpgfrontend.gpgfrontend.appdata.xml | 2 | ||||
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 2 | ||||
-rw-r--r-- | src/ui/dialog/Wizard.cpp | 32 | ||||
-rw-r--r-- | src/ui/dialog/help/AboutDialog.cpp | 4 | ||||
-rw-r--r-- | test/GpgCoreTestKeyModel.cpp | 11 | ||||
-rw-r--r-- | test/GpgCoreTestKeyModelAlone.cpp | 6 | ||||
-rw-r--r-- | test/GpgCoreTestKeygen.cpp | 8 | ||||
-rw-r--r-- | test/GpgCoreTestKeygenAlone.cpp | 10 |
14 files changed, 53 insertions, 48 deletions
@@ -27,8 +27,8 @@ GpgFrontend is **PERMANENTLY FREE**, but you can also "DONATE" it through STAR t [Languages Supported](#languages-support) by GpgFrontend including English, Chinese, French, Russian, German, Spanish, Portuguese, Arabic, etc. [>> Download <<](https://github.com/saturneric/GpgFrontend/releases/latest) -| [>> User Manual <<](https://www.gpgfrontend.pub/#/overview) -| [>> Developer Document <<](https://doxygen.gpgfrontend.pub/) +| [>> User Manual <<](https://www.gpgfrontend.bktus.com/#/overview) +| [>> Developer Document <<](https://doxygen.gpgfrontend.bktus.com/) | [>> Develop Code Repo <<](https://git.codesdream.com/?p=public/main/GpgFrontend.git;a=summary) <img src="https://github.com/saturneric/Blob/blob/master/screenshots/main-ubuntu.png?raw=true" alt="Ubuntu Main Screenshot"/> @@ -67,14 +67,14 @@ What about files? ## User Manual GpgFrontend provides documentations on its main features. If you want to know how to install, please -read the [User Manual](https://www.gpgfrontend.pub/#/quick-start) instead of README. +read the [User Manual](https://www.gpgfrontend.bktus.com/#/quick-start) instead of README. ## Developer Document You can view the developer documentations that is synchronized with the current latest develop code. This document will help you understand the source code and get involved more quickly in the process of contributing to open source. -[Developer Document](https://doxygen.gpgfrontend.pub) +[Developer Document](https://doxygen.gpgfrontend.bktus.com) ## Build From Source Code @@ -218,7 +218,7 @@ $ ./linuxdeployqt-continuous-x86_64.AppImage ../release/gpgfrontend/usr/share/ap ## Languages Support The supported languages are listed here. Some languages use machine translation and have not been verified. If you want -to join translation and verification work, please refer to [HERE](https://gpgfrontend.pub/#/translate-interface). +to join translation and verification work, please refer to [HERE](https://gpgfrontend.bktus.com/#/translate-interface). ### Supported Languages @@ -229,12 +229,12 @@ to join translation and verification work, please refer to [HERE](https://gpgfro Notice: Most translations are generated by Google's automatic translation machine. If you find that a certain translation is wrong, you are welcome to -[join the translation work](https://www.gpgfrontend.pub/#/translate-interface) +[join the translation work](https://www.gpgfrontend.bktus.com/#/translate-interface) to provide a more suitable human translation. ## Contract -Please refer to [HERE](https://www.gpgfrontend.pub/#/contract) for my contact details. +Please refer to [HERE](https://www.gpgfrontend.bktus.com/#/contract) for my contact details. ### Contributing & Bugs Report diff --git a/manual/CNAME b/manual/CNAME index 91bbe11c..df655f46 100644 --- a/manual/CNAME +++ b/manual/CNAME @@ -1 +1 @@ -gpgfrontend.pub
\ No newline at end of file +gpgfrontend.bktus.com
\ No newline at end of file diff --git a/manual/_coverpage.md b/manual/_coverpage.md index 0526b916..da36f21e 100644 --- a/manual/_coverpage.md +++ b/manual/_coverpage.md @@ -24,7 +24,7 @@ [Downloads](downloads.md) [Manual](overview.md) -[Document](https://doxygen.gpgfrontend.pub) +[Document](https://doxygen.gpgfrontend.bktus.com) <!-- 背景色 -->  diff --git a/manual/_navbar.md b/manual/_navbar.md index 47a99885..0a2397f9 100644 --- a/manual/_navbar.md +++ b/manual/_navbar.md @@ -1,7 +1,7 @@ <!-- _navbar.md --> - [Source Code(Develop Repo)](https://git.codesdream.com/?p=public/main/GpgFrontend.git;a=summary) -- [Document](https://doxygen.gpgfrontend.pub) +- [Document](https://doxygen.gpgfrontend.bktus.com) - [Manual](overview.md) - [Downloads](downloads.md) - [Contract](contract.md) diff --git a/manual/faq.md b/manual/faq.md index 4c1eeb6f..a5e61165 100644 --- a/manual/faq.md +++ b/manual/faq.md @@ -18,7 +18,7 @@ operations such as encryption and decryption. The various versions of GpgFrontend will be released in the GitHub repository, and you can find and download the latest version -[HERE](https://www.gpgfrontend.pub/#/downloads). After downloading, you can +[HERE](https://www.gpgfrontend.bktus.com/#/downloads). After downloading, you can refer to the instructions in ReadME and you can start using it in just a few steps. diff --git a/resource/lfs/app-image/gpgfrontend/usr/share/metainfo/pub.gpgfrontend.gpgfrontend.metainfo.xml b/resource/lfs/app-image/gpgfrontend/usr/share/metainfo/pub.gpgfrontend.gpgfrontend.metainfo.xml index 49d409e5..8e1d33c2 100644 --- a/resource/lfs/app-image/gpgfrontend/usr/share/metainfo/pub.gpgfrontend.gpgfrontend.metainfo.xml +++ b/resource/lfs/app-image/gpgfrontend/usr/share/metainfo/pub.gpgfrontend.gpgfrontend.metainfo.xml @@ -16,7 +16,7 @@ Or at the same time as the above operations, you can add your own signature to let others know that this document or this paragraph of text was issued by you. </p> - <p>For moew information visit https://gpgfrontend.pub/</p> + <p>For moew information visit https://gpgfrontend.bktus.com/</p> </description> @@ -29,7 +29,7 @@ </screenshot> </screenshots> - <url type="homepage">https://gpgfrontend.pub/</url> + <url type="homepage">https://gpgfrontend.bktus.com/</url> <project_group>GNOME</project_group> <developer_name>Saturneric</developer_name> </component>
\ No newline at end of file diff --git a/resource/meta/pub.gpgfrontend.gpgfrontend.appdata.xml b/resource/meta/pub.gpgfrontend.gpgfrontend.appdata.xml index 281215ae..edd2d64d 100644 --- a/resource/meta/pub.gpgfrontend.gpgfrontend.appdata.xml +++ b/resource/meta/pub.gpgfrontend.gpgfrontend.appdata.xml @@ -8,7 +8,7 @@ <categories> <category>Utility</category> </categories> - <url type="homepage">https://gpgfrontend.pub</url> + <url type="homepage">https://gpgfrontend.bktus.com</url> <launchable type="desktop-id">gpgfrontend.gpgfrontend.desktop</launchable> <description> <p> diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 80b6f482..614d5bc9 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -189,7 +189,7 @@ CommonUtils::CommonUtils() : QWidget(nullptr) { msgBox.setText(_("GnuPG Context Loading Failed")); msgBox.setInformativeText( _("Gnupg(gpg) is not installed correctly, please follow " - "<a href='https://www.gpgfrontend.pub/#/" + "<a href='https://www.gpgfrontend.bktus.com/#/" "faq?id=how-to-deal-with-39env-loading-failed39'>this notes</a>" " in FAQ to install Gnupg and then open " "GpgFrontend. Or, you can open GnuPG Controller to set a custom " diff --git a/src/ui/dialog/Wizard.cpp b/src/ui/dialog/Wizard.cpp index 5235a5dd..77f07559 100644 --- a/src/ui/dialog/Wizard.cpp +++ b/src/ui/dialog/Wizard.cpp @@ -83,11 +83,11 @@ IntroPage::IntroPage(QWidget* parent) : QWizardPage(parent) { auto* topLabel = new QLabel( QString(_("Welcome to use GpgFrontend for decrypting and signing text or " "file!")) + - " <br><br><a href='https://gpgfrontend.pub'>GpgFrontend</a> " + + " <br><br><a href='https://gpgfrontend.bktus.com'>GpgFrontend</a> " + _("is a Powerful, Easy-to-Use, Compact, Cross-Platform, and " "Installation-Free OpenPGP Crypto Tool.") + _("For brief information have a look at the") + - " <a href='https://gpgfrontend.pub/index.html#/overview'>" + + " <a href='https://gpgfrontend.bktus.com/index.html#/overview'>" + _("Overview") + "</a> (" + _("by clicking the link, the page will open in the web browser") + "). <br>"); @@ -124,7 +124,9 @@ ChoosePage::ChoosePage(QWidget* parent) : QWizardPage(parent) { "If you have never used GpgFrontend before and also don't own a gpg " "key yet you " "may possibly want to read how to")) + - " <a href=\"https://gpgfrontend.pub/index.html#/manual/generate-key\">" + + " <a " + "href=\"https://gpgfrontend.bktus.com/index.html#/manual/" + "generate-key\">" + _("Generate Key") + "</a><hr>"); keygenLabel->setTextFormat(Qt::RichText); keygenLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); @@ -136,11 +138,12 @@ ChoosePage::ChoosePage(QWidget* parent) : QWizardPage(parent) { "If you want to learn how to encrypt, decrypt, sign and verify text, " "you can read ")) + "<a " - "href=\"https://gpgfrontend.pub/index.html#/manual/" + "href=\"https://gpgfrontend.bktus.com/index.html#/manual/" "encrypt-decrypt-text\">" + _("Encrypt & Decrypt Text") + "</a> " + _("or") + " <a " - "href=\"https://gpgfrontend.pub/index.html#/manual/sign-verify-text\">" + + "href=\"https://gpgfrontend.bktus.com/index.html#/manual/" + "sign-verify-text\">" + _("Sign & Verify Text") + "</a><hr>"); encrDecyTextLabel->setTextFormat(Qt::RichText); @@ -148,15 +151,16 @@ ChoosePage::ChoosePage(QWidget* parent) : QWizardPage(parent) { encrDecyTextLabel->setOpenExternalLinks(true); encrDecyTextLabel->setWordWrap(true); - auto* signVerifyTextLabel = new QLabel( - QString(_("If you want to operate file, you can read ")) + - "<a " - "href=\"https://gpgfrontend.pub/index.html#/manual/" - "encrypt-decrypt-file\">" + - _("Encrypt & Sign File") + "</a> " + _("or") + - " <a " - "href=\"https://gpgfrontend.pub/index.html#/manual/sign-verify-file\">" + - _("Sign & Verify File") + "</a><hr>"); + auto* signVerifyTextLabel = + new QLabel(QString(_("If you want to operate file, you can read ")) + + "<a " + "href=\"https://gpgfrontend.bktus.com/index.html#/manual/" + "encrypt-decrypt-file\">" + + _("Encrypt & Sign File") + "</a> " + _("or") + + " <a " + "href=\"https://gpgfrontend.bktus.com/index.html#/manual/" + "sign-verify-file\">" + + _("Sign & Verify File") + "</a><hr>"); signVerifyTextLabel->setTextFormat(Qt::RichText); signVerifyTextLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); signVerifyTextLabel->setOpenExternalLinks(true); diff --git a/src/ui/dialog/help/AboutDialog.cpp b/src/ui/dialog/help/AboutDialog.cpp index faf2b316..111a77af 100644 --- a/src/ui/dialog/help/AboutDialog.cpp +++ b/src/ui/dialog/help/AboutDialog.cpp @@ -231,7 +231,7 @@ void UpdateTab::slot_show_version_status(const SoftwareVersion& version) { "github.")) + "</center><center>" + _("Please click") + " <a " - "href=\"https://www.gpgfrontend.pub/#/downloads\">" + + "href=\"https://www.gpgfrontend.bktus.com/#/downloads\">" + _("Here") + "</a> " + _("to download the latest stable version.") + "</center>"); upgrade_label_->show(); @@ -254,7 +254,7 @@ void UpdateTab::slot_show_version_status(const SoftwareVersion& version) { "stability, please do not use this version.")) + "</center><center>" + _("Please click") + " <a " - "href=\"https://www.gpgfrontend.pub/#/downloads\">" + + "href=\"https://www.gpgfrontend.bktus.com/#/downloads\">" + _("Here") + "</a> " + _("to download the latest stable version.") + "</center>"); upgrade_label_->show(); diff --git a/test/GpgCoreTestKeyModel.cpp b/test/GpgCoreTestKeyModel.cpp index 41498e95..9ab670f1 100644 --- a/test/GpgCoreTestKeyModel.cpp +++ b/test/GpgCoreTestKeyModel.cpp @@ -72,7 +72,7 @@ TEST_F(GpgCoreTest, GpgKeyTest) { ASSERT_EQ(key.name(), "GpgFrontendTest"); ASSERT_TRUE(key.comment().empty()); - ASSERT_EQ(key.email(), "[email protected]"); + ASSERT_EQ(key.email(), "[email protected]"); ASSERT_EQ(key.id(), "81704859182661FB"); ASSERT_EQ(key.fpr(), "9490795B78F8AFE9F93BD09281704859182661FB"); ASSERT_EQ(key.expires(), @@ -129,8 +129,8 @@ TEST_F(GpgCoreTest, GpgUIDTest) { ASSERT_EQ(uid.name(), "GpgFrontendTest"); ASSERT_TRUE(uid.comment().empty()); - ASSERT_EQ(uid.email(), "[email protected]"); - ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>"); + ASSERT_EQ(uid.email(), "[email protected]"); + ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>"); ASSERT_FALSE(uid.invalid()); ASSERT_FALSE(uid.revoked()); } @@ -148,7 +148,7 @@ TEST_F(GpgCoreTest, GpgKeySignatureTest) { ASSERT_EQ(signature.name(), "GpgFrontendTest"); ASSERT_TRUE(signature.comment().empty()); - ASSERT_EQ(signature.email(), "[email protected]"); + ASSERT_EQ(signature.email(), "[email protected]"); ASSERT_EQ(signature.keyid(), "81704859182661FB"); ASSERT_EQ(signature.pubkey_algo(), "RSA"); @@ -156,7 +156,8 @@ TEST_F(GpgCoreTest, GpgKeySignatureTest) { ASSERT_FALSE(signature.invalid()); ASSERT_EQ(GpgFrontend::check_gpg_error_2_err_code(signature.status()), GPG_ERR_NO_ERROR); - ASSERT_EQ(signature.uid(), "GpgFrontendTest <[email protected]>"); + ASSERT_EQ(signature.uid(), + "GpgFrontendTest <[email protected]>"); } TEST_F(GpgCoreTest, GpgKeyGetterTest) { diff --git a/test/GpgCoreTestKeyModelAlone.cpp b/test/GpgCoreTestKeyModelAlone.cpp index 31d33bf9..88611eeb 100644 --- a/test/GpgCoreTestKeyModelAlone.cpp +++ b/test/GpgCoreTestKeyModelAlone.cpp @@ -76,7 +76,7 @@ TEST_F(GpgCoreTest, GpgKeyTestAlone) { ASSERT_EQ(key.name(), "GpgFrontendTest"); ASSERT_TRUE(key.comment().empty()); - ASSERT_EQ(key.email(), "[email protected]"); + ASSERT_EQ(key.email(), "[email protected]"); ASSERT_EQ(key.id(), "81704859182661FB"); ASSERT_EQ(key.fpr(), "9490795B78F8AFE9F93BD09281704859182661FB"); ASSERT_EQ(key.expires(), @@ -133,8 +133,8 @@ TEST_F(GpgCoreTest, GpgUIDTestAlone) { ASSERT_EQ(uid.name(), "GpgFrontendTest"); ASSERT_TRUE(uid.comment().empty()); - ASSERT_EQ(uid.email(), "[email protected]"); - ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>"); + ASSERT_EQ(uid.email(), "[email protected]"); + ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>"); ASSERT_FALSE(uid.invalid()); ASSERT_FALSE(uid.revoked()); } diff --git a/test/GpgCoreTestKeygen.cpp b/test/GpgCoreTestKeygen.cpp index ebfe398b..61e03e38 100644 --- a/test/GpgCoreTestKeygen.cpp +++ b/test/GpgCoreTestKeygen.cpp @@ -35,7 +35,7 @@ TEST_F(GpgCoreTest, GenerateKeyTest) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(default_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(); keygen_info->setName("foo"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment(""); keygen_info->setKeySize(1024); keygen_info->setAlgo("rsa"); @@ -60,7 +60,7 @@ TEST_F(GpgCoreTest, GenerateKeyTest_1) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(default_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(); keygen_info->setName("foo"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hello gpgfrontend"); keygen_info->setAlgo("rsa"); keygen_info->setKeySize(4096); @@ -87,7 +87,7 @@ TEST_F(GpgCoreTest, GenerateKeyTest_4) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(default_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(); keygen_info->setName("foo"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment(""); keygen_info->setAlgo("dsa"); keygen_info->setNonExpired(true); @@ -111,7 +111,7 @@ TEST_F(GpgCoreTest, GenerateKeyTest_5) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(default_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(); keygen_info->setName("foo"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment(""); keygen_info->setAlgo("ed25519"); keygen_info->setNonExpired(true); diff --git a/test/GpgCoreTestKeygenAlone.cpp b/test/GpgCoreTestKeygenAlone.cpp index 71deb626..09a29f94 100644 --- a/test/GpgCoreTestKeygenAlone.cpp +++ b/test/GpgCoreTestKeygenAlone.cpp @@ -35,7 +35,7 @@ TEST_F(GpgCoreTest, GenerateKeyTestAlone) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(gpg_alone_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(false, true); keygen_info->setName("foobar"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hello"); keygen_info->setAlgo("rsa"); keygen_info->setNonExpired(true); @@ -59,7 +59,7 @@ TEST_F(GpgCoreTest, GenerateKeyTestAlone_1) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(gpg_alone_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(false, true); keygen_info->setName("foobar"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hello gpgfrontend"); keygen_info->setAlgo("rsa"); keygen_info->setNonExpired(false); @@ -86,7 +86,7 @@ TEST_F(GpgCoreTest, GenerateKeyTestAlone_2) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(gpg_alone_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(false, true); keygen_info->setName("foobar"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hi"); keygen_info->setAlgo("rsa"); keygen_info->setKeySize(3072); @@ -112,7 +112,7 @@ TEST_F(GpgCoreTest, GenerateKeyTestAlone_3) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(gpg_alone_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(false, true); keygen_info->setName("foo"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hello"); keygen_info->setAlgo("rsa"); keygen_info->setKeySize(4096); @@ -138,7 +138,7 @@ TEST_F(GpgCoreTest, GenerateKeyTestAlone_4) { auto& key_opera = GpgFrontend::GpgKeyOpera::GetInstance(gpg_alone_channel); auto keygen_info = std::make_unique<GpgFrontend::GenKeyInfo>(false, true); keygen_info->setName("foobar"); - keygen_info->setEmail("[email protected]"); + keygen_info->setEmail("[email protected]"); keygen_info->setComment("hello"); keygen_info->setAlgo("dsa"); keygen_info->setNonExpired(true); |