Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop 2.1.3.1 #148

Merged
merged 101 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
ee96f19
fix: add some missing libraries to the installation directory
saturneric Feb 1, 2024
017f539
Merge remote-tracking branch 'origin/main' into dev/2.1.2/main
saturneric Feb 2, 2024
e6b481f
feat: update app stream metainfo
saturneric Feb 2, 2024
f823beb
fix: solve issues reported on flathub revirew
saturneric Feb 11, 2024
da6eb24
fix: flathub doesn't support webp as screenshots
saturneric Feb 14, 2024
6f2e58c
fix: use bundled pinentry as default in flatpak container
saturneric Feb 14, 2024
a91ca05
Merge branch 'doc/2.1.2/main' into dev/2.1.2/main
saturneric Feb 24, 2024
75b9507
Merge branch 'doc/2.1.2/main' into dev/2.1.2/main
saturneric Feb 24, 2024
8b1a51c
freat: update logo and icons
saturneric Feb 24, 2024
0f79d13
fix: add component type and content rating to appdata.xml
saturneric Feb 24, 2024
b518bbd
fix: adjust logo and icons
saturneric Feb 24, 2024
01d5501
fix: change GpgFrontend to Gpg Frontend on linux platform
saturneric Feb 24, 2024
49367ea
fix: change GpgFrontend to Gpg Frontend on linux platform
saturneric Feb 24, 2024
c102187
fix: it names Gpg_Frontend.AppImage now
saturneric Feb 24, 2024
d008cb9
feat: improve icons deployment and remove dir lfs/app-image
saturneric Feb 25, 2024
92108e1
fix: unify app icons
saturneric Feb 25, 2024
94819b5
fix: improve icons and logo style
saturneric Feb 25, 2024
17b37d5
fix: show the real UTC datetime
saturneric Feb 26, 2024
7ab5d54
fix: add English translation
saturneric Feb 26, 2024
59cdf57
feat: add user agent header when doing http request
saturneric Feb 26, 2024
12d70e1
feat: upgrade module system
saturneric Feb 28, 2024
c1f5b33
feat: add module controller and continue to work on module system
saturneric Feb 29, 2024
84b04d8
feat: add prefix GF to all sdk and module symbols
saturneric Feb 29, 2024
a74841f
feat: validate module id format and compatibility of sdk and qt env
saturneric Mar 1, 2024
091b579
refactor: remove qt6 core5compat dependencies
saturneric Mar 1, 2024
3a0b2bd
Merge branch 'dev/2.1.2/main' into develop
saturneric Mar 2, 2024
154ebea
refactor: reduce core prebuild headers and isolate core to modules
saturneric Mar 2, 2024
f82b7c0
fix: slove a ci issue on linux platform
saturneric Mar 3, 2024
b0221c6
fix: translation doesn't refresh after switching
saturneric Mar 3, 2024
d472840
Merge branch 'dev/2.1.2/main' into develop
saturneric Mar 3, 2024
0f9d06a
fix: could not determine the path to the executable based on the desk…
saturneric Mar 3, 2024
b82f546
fix: could not determine the path to the executable based on the desk…
saturneric Mar 3, 2024
0dbba9d
docs: move manual out of repo
saturneric Apr 5, 2024
8c758ba
fix: nothing changed is still triggering restart at gnupg controller
saturneric Apr 11, 2024
210d677
feat: add module manager ui file
saturneric Apr 11, 2024
e6be01c
fix: find and solve some issues on module management
saturneric Apr 11, 2024
26e2422
feat: add auto activate function and optimums for some structures
saturneric Apr 12, 2024
5967d6c
fix: use qt designer placeholder instead of custom initialized
saturneric Apr 14, 2024
cb2672c
feat: add a grt viewer and solve some issues in gnupg info tab
saturneric Apr 14, 2024
a961672
feat: prefer to show module name instead of module id
saturneric Apr 15, 2024
c59deb6
fix: high cpu usage when using file tab
saturneric Apr 15, 2024
903985a
fix: improve grt tab, mods name and its project structure
saturneric Apr 16, 2024
1deb6c2
fix: move binaries and libs to AppDir of AppImage
saturneric Apr 21, 2024
5b2303b
fix: use more cross-platform methods for add_custom_command on linux …
saturneric Apr 21, 2024
f5b1f30
fix: move to notarytool in apple notarization process
saturneric Apr 21, 2024
ced3f9f
fix: switch to qt 6.5 lts
saturneric Apr 21, 2024
408eb98
feat: adapt linux appimage of modules loading
saturneric Apr 21, 2024
571a290
Merge branch 'dev/2.1.2/module' into develop
saturneric Apr 21, 2024
0713999
fix: solve macOS auto-build issues
saturneric Apr 28, 2024
ac72f6b
fix: code.qt.io is down now
saturneric Apr 28, 2024
0dbbc0e
Merge branch 'dev/2.1.2/main' into develop
saturneric Apr 28, 2024
2af2fff
feat: load both integrated and external modules
saturneric Apr 28, 2024
5001b5f
fix: --team-id line missing '\'
saturneric Apr 28, 2024
4d71df7
feat: add the build mods only option for macos ci
saturneric Apr 28, 2024
edb780e
fix: run macdeployqt and codesign out of cmake build process
saturneric Apr 28, 2024
e820be6
fix: correct a mistake in ci config file
saturneric Apr 28, 2024
ee5e152
fix: enable the hardened runtime
saturneric Apr 28, 2024
a891f5f
feat: place mods at linux install process
saturneric Apr 30, 2024
3d2ab7c
feat: improve functions and ui on module
saturneric Apr 30, 2024
e3df0b8
fix: can not find mods on macos platform
saturneric Apr 30, 2024
87dc0be
feat: add progress bar at gnupg info tab
saturneric Apr 30, 2024
46870f1
fix: reset module settings object in a proper way
saturneric Apr 30, 2024
526170b
feat: support theme changing by user
saturneric May 3, 2024
b5f7516
fix: correct some spelling mistakes
saturneric May 3, 2024
ddfaa5b
fix: min size of main windows is 640 * 480
saturneric May 3, 2024
3d3c3d9
feat: add option to close all gnupg daemon at close
saturneric May 3, 2024
15901a9
fix: set min size of key mnt and another main window
saturneric May 3, 2024
1c1b4cb
fix: update translations
saturneric May 3, 2024
056edbb
feat: add different icons
saturneric May 3, 2024
30096c9
fix: "auto-key-retrieve" instead of "auto-key-import"
saturneric May 3, 2024
4001446
feat: upgrade project to v2.1.3
saturneric May 3, 2024
773b06e
Merge remote-tracking branch 'origin/main' into develop
saturneric May 3, 2024
1d9cffa
fix: discard changes but text still remains
saturneric May 3, 2024
2596468
fix: off but still can edit
saturneric May 3, 2024
149d278
fix: solve safe issues
saturneric May 3, 2024
f98bb44
feat: add german translations and fix a chinese translation
saturneric May 3, 2024
e0f69cc
fix: continue to solve safe issues
saturneric May 3, 2024
a092a81
fix: solve a build issue and add a tip for integrated module
saturneric May 3, 2024
44b4c03
feat: update translations
saturneric May 3, 2024
07ed6ad
fix: editing subkey expire date of public key ring is forbidden
saturneric May 4, 2024
10cccc1
fix: solve flatpak build issue
saturneric May 10, 2024
6a7a9ae
fix: add libgpgfrontend_module_sdk as a installed share library
saturneric May 11, 2024
66ce041
fix: add mods into linuxdeployqt executable dir
saturneric May 11, 2024
2da9c5d
fix: mod_gpg_info use qt5::core at qt5 env
saturneric May 11, 2024
942304f
fix: move some of the functions in TaskRunner.h into public scope ins…
saturneric May 11, 2024
427c983
fix: rewrite function signature SlotMkdirBelowAtSelectedItem
saturneric May 11, 2024
0c4eae9
fix: use &(exec_contexts.first()) instead of exec_contexts.constData(…
saturneric May 11, 2024
4d07173
fix: try to get style name at qt5 env
saturneric May 11, 2024
1e33c5c
fix: use keyValueBegin() and keyValueEnd() at qt5 env
saturneric May 11, 2024
cc184e5
fix: use qvector instead of qlist at qt5 env
saturneric May 11, 2024
b63e1cb
fix: use gfalloc functions properly
saturneric May 11, 2024
50c8b15
fix: modules should be activated before adding actions to menu
saturneric May 11, 2024
a236f22
feat: let user select keys to sync from key server
saturneric May 11, 2024
ba74ab8
fix: update translations
saturneric May 11, 2024
e9b7344
fix: add c++ header "optional"
saturneric May 11, 2024
aafe6cc
fix: downgrade to 6.5.3 on windows build and add qt5 build for linux …
saturneric May 11, 2024
22bbde3
fix: solve some issues on ci build
saturneric May 11, 2024
f9fe0ce
fix: update README.md
saturneric May 11, 2024
0158b70
fix: upgrade to actions/checkout@v4
saturneric May 11, 2024
7a78be4
fix: add mingw-w64-x86_64-icu-73.2-1-any.pkg.tar.zst to solve uic.exe…
saturneric May 11, 2024
952ed73
fix: remove qt5compat and redirect dll output path of modules
saturneric May 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'false'
submodules: recursive
Expand Down Expand Up @@ -97,9 +97,8 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.6.1'
version: '6.5.3'
cache: 'true'
modules: 'qt5compat'

- name: Configure CMake && Build GpgFrontend
run: |
Expand Down
77 changes: 74 additions & 3 deletions .github/workflows/release-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build:
strategy:
matrix:
os: [ 'windows-2019' ]
os: [ 'ubuntu-20.04', 'windows-2019' ]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
git config --global core.eol lf
if: matrix.os == 'windows-2019'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'false'
submodules: recursive
Expand All @@ -58,6 +58,25 @@ jobs:
pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-libarchive
if: matrix.os == 'windows-2019'

- name: Install Dependence (Linux)
run: |
sudo apt-get update
sudo apt-get -y install build-essential binutils git autoconf automake gettext texinfo
sudo apt-get -y install gcc g++ ninja-build
sudo apt-get -y install libarchive-dev libssl-dev
sudo apt-get -y install gpgsm libxcb-xinerama0 libxcb-icccm4-dev libcups2-dev libdrm-dev libegl1-mesa-dev
sudo apt-get -y install libgcrypt20-dev libnss3-dev libpci-dev libpulse-dev libudev-dev libxtst-dev gyp
sudo apt-get -y install libglu1-mesa-dev libfontconfig1-dev libx11-xcb-dev libxcb-image0
sudo apt-get -y install libglu1-mesa-dev libfontconfig1-dev libx11-xcb-dev libxcb-* libxkbcommon-x11-0
if: matrix.os == 'ubuntu-20.04'

- name: Install Qt5
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
cache: 'true'
if: matrix.os == 'ubuntu-20.04'

- name: Build gpg-error (Windows)
shell: msys2 {0}
run: |
Expand All @@ -69,6 +88,16 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'

- name: Build gpg-error (Linux)
run: |
git clone --depth 1 --branch libgpg-error-1.47 git://git.gnupg.org/libgpg-error.git ${{github.workspace}}/third_party/libgpg-error
cd ${{github.workspace}}/third_party/libgpg-error
./autogen.sh
./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'

- name: Build assuan (Windows)
shell: msys2 {0}
run: |
Expand All @@ -79,6 +108,16 @@ jobs:
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'

- name: Build assuan (Linux)
run: |
git clone --depth 1 --branch libassuan-2.5.6 git://git.gnupg.org/libassuan.git ${{github.workspace}}/third_party/libassuan
cd ${{github.workspace}}/third_party/libassuan
./autogen.sh
./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'

- name: Build GpgME (Windows)
shell: msys2 {0}
Expand All @@ -90,17 +129,49 @@ jobs:
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'

- name: Build GpgME (Linux)
run: |
git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
cd ${{github.workspace}}/third_party/gpgme
./autogen.sh
./configure --enable-maintainer-mode --enable-languages=cpp && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'

- name: Configure CMake & Build Binary(Windows)
shell: msys2 {0}
run: |
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON -DGPGFRONTEND_QT5_BUILD=ON ..
# Build your program with the given configuration
cmake --build . --config ${{env.BUILD_TYPE}} -- -j 4
if: matrix.os == 'windows-2019'

- name: Build GpgFrontend (Linux)
# Build your GpgFrontend with the given configuration
run: |
cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_QT5_BUILD=ON
cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'ubuntu-20.04'

- name: Package App Image (Linux)
run: |
mkdir ${{github.workspace}}/build/final-artifact
cd ${{github.workspace}}/build/final-artifact
wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod u+x linuxdeployqt-continuous-x86_64.AppImage
./linuxdeployqt-continuous-x86_64.AppImage ${{github.workspace}}/build/artifacts/AppDir/usr/share/applications/*.desktop -no-translations -extra-plugins=iconengines,platformthemes/libqgtk3.so -appimage -executable-dir=${{github.workspace}}/build/artifacts/AppDir/usr/plugins/mods/
if: matrix.os == 'ubuntu-20.04'

- name: Upload Artifact(Linux)
uses: actions/upload-artifact@master
with:
name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{ github.sha }}
path: ${{github.workspace}}/build/final-artifact/Gpg_Frontend*.AppImage*
if: matrix.os == 'ubuntu-20.04'

- name: Upload Artifact(Windows)
uses: actions/upload-artifact@master
with:
Expand Down
42 changes: 30 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git config --global core.eol lf
if: matrix.os == 'windows-2019' || matrix.os == 'macos-11' || matrix.os == 'macos-12'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'false'
submodules: recursive
Expand Down Expand Up @@ -77,8 +77,7 @@ jobs:
- name: Install Qt6
uses: jurplel/install-qt-action@v3
with:
version: '6.6.1'
modules: 'qt5compat'
version: '6.5.3'
cache: 'true'
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11' || matrix.os == 'macos-12'

Expand All @@ -101,8 +100,14 @@ jobs:
run: |
pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf
pacman --noconfirm -S --needed make texinfo automake
pacman --noconfirm -S --needed mingw-w64-x86_64-qt6 libintl msys2-runtime-devel gettext-devel
pacman --noconfirm -S --needed libintl msys2-runtime-devel gettext-devel
pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-libarchive
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-icu-73.2-1-any.pkg.tar.zst
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt6-base-6.5.3-1-any.pkg.tar.zst
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt6-5compat-6.5.3-1-any.pkg.tar.zst
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt6-svg-6.5.3-1-any.pkg.tar.zst
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt6-tools-6.5.3-1-any.pkg.tar.zst
pacman --noconfirm -U *.pkg.tar.zst
if: matrix.os == 'windows-2019'

- name: Build gpg-error (Linux)
Expand Down Expand Up @@ -175,6 +180,13 @@ jobs:
cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'ubuntu-20.04'

- name: Build Integrated Modules (macOS)
# Build your GpgFrontend with the given configuration
run: |
cmake -B ${{github.workspace}}/build-mods -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_MODS_ONLY=On
cmake --build ${{github.workspace}}/build-mods --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'macos-11' || matrix.os == 'macos-12'

- name: Build & Export GpgFrontend (macOS)
# Build your GpgFrontend with the given configuration
run: |
Expand All @@ -195,6 +207,13 @@ jobs:
-exportPath ${{github.workspace}}/build/package/
if: matrix.os == 'macos-11' || matrix.os == 'macos-12'

- name: Copy Modules into Bundle & Deploy Qt & Code Sign (macOS)
run: |
cmake -E copy_directory ${{github.workspace}}/build-mods/artifacts/mods ${{github.workspace}}/build/package/GpgFrontend.app/Contents/PlugIns/mods
macdeployqt ${{github.workspace}}/build/package/GpgFrontend.app -verbose=2 -appstore-compliant -always-overwrite
codesign -s "${{secrets.GPGFRONTEND_XOCDE_CODE_SIGN_IDENTITY}}" -f --deep --options=runtime ${{github.workspace}}/build/package/GpgFrontend.app
if: matrix.os == 'macos-11' || matrix.os == 'macos-12'

- name: Package & Sign App Bundle (macOS)
run: |
security -v unlock-keychain -p gpgfrontend
Expand All @@ -212,11 +231,11 @@ jobs:

- name: Notarize Release Build (macOS)
run: |
xcrun altool --notarize-app \
-f ${{github.workspace}}/build/GpgFrontend-${{env.sha_short}}-x86_64.zip \
--primary-bundle-id ${{secrets.GPGFRONTEND_XOCDE_APPID}} \
-u ${{secrets.APPLE_DEVELOPER_ID}} \
-p ${{secrets.APPLE_DEVELOPER_ID_SECRET}}
xcrun notarytool submit \
--apple-id ${{secrets.APPLE_DEVELOPER_ID}} \
--team-id ${{secrets.APPLE_DEVELOPER_TEAM_ID}} \
--password ${{secrets.APPLE_DEVELOPER_ID_SECRET}} \
${{github.workspace}}/build/GpgFrontend-${{env.sha_short}}-x86_64.zip
if: matrix.os == 'macos-11' || matrix.os == 'macos-12'

- name: Package App Image (Linux)
Expand All @@ -225,7 +244,7 @@ jobs:
cd ${{github.workspace}}/build/final-artifact
wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod u+x linuxdeployqt-continuous-x86_64.AppImage
./linuxdeployqt-continuous-x86_64.AppImage ${{github.workspace}}/build/artifacts/gpgfrontend/usr/share/applications/*.desktop -appimage
./linuxdeployqt-continuous-x86_64.AppImage ${{github.workspace}}/build/artifacts/AppDir/usr/share/applications/*.desktop -no-translations -extra-plugins=iconengines,platformthemes/libqgtk3.so -appimage -executable-dir=${{github.workspace}}/build/artifacts/AppDir/usr/plugins/mods/
if: matrix.os == 'ubuntu-20.04'

- name: Configure CMake & Build Binary(Windows)
Expand All @@ -234,15 +253,14 @@ jobs:
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON ..
# Build your program with the given configuration
cmake --build . --config ${{env.BUILD_TYPE}} -- -j 4
if: matrix.os == 'windows-2019'

- name: Upload Artifact(Linux)
uses: actions/upload-artifact@master
with:
name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{ github.sha }}
path: ${{github.workspace}}/build/final-artifact/GpgFrontend*.AppImage*
path: ${{github.workspace}}/build/final-artifact/Gpg_Frontend*.AppImage*
if: matrix.os == 'ubuntu-20.04'

- name: Upload Artifact(macOS)
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
url = https://github.com/libarchive/libarchive.git
[submodule "third_party/qttranslations"]
path = third_party/qttranslations
url = git://code.qt.io/qt/qttranslations.git
url = https://github.com/qt/qttranslations.git
Loading
Loading