Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
31 changes: 22 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
submodules: recursive
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand Down Expand Up @@ -60,11 +60,14 @@ jobs:
cmake --build build --target zipdebug
cmake --build build --target macdeployqt
cmake --build build --target zip
cmake --install build/sbom
- name: Archive artifacts
uses: actions/upload-artifact@v6
with:
name: macOS
path: build/qdigidoc4*.zip
path: |
build/qdigidoc4*.zip
build/qdigidoc4*.spdx
ubuntu:
name: Build on Ubuntu ${{ matrix.container }} ${{ matrix.arch }}
runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }}
Expand All @@ -79,7 +82,7 @@ jobs:
DEBEMAIL: github-actions@github.com
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand All @@ -104,13 +107,18 @@ jobs:
run: |
dpkg-buildpackage -us -uc
mv ../qdigidoc4*.* .
cmake -B build -S .
cmake --install build/sbom
mv build/qdigidoc4*.spdx .
- name: Lintian
run: lintian *.deb;
- name: Archive artifacts
uses: actions/upload-artifact@v6
with:
name: ubuntu_${{ matrix.container }}_${{ matrix.arch }}
path: qdigidoc4*.*
path: |
qdigidoc4*.*
qdigidoc4*.spdx
fedora:
name: Build on Fedora ${{ matrix.container }}
runs-on: ubuntu-latest
Expand All @@ -120,7 +128,7 @@ jobs:
container: [42, 43]
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand All @@ -134,11 +142,14 @@ jobs:
run: |
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S .
cmake --build build --target all package
cmake --install build/sbom
- name: Archive artifacts
uses: actions/upload-artifact@v6
with:
name: fedora_${{ matrix.container }}
path: build/qdigidoc4*.rpm
path: |
build/qdigidoc4*.rpm
build/qdigidoc4*.spdx
windows:
name: Build on Windows
runs-on: ${{ matrix.platform == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
Expand All @@ -151,7 +162,7 @@ jobs:
steps:
- *Checkout
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand Down Expand Up @@ -190,13 +201,15 @@ jobs:
cmake --build build --target msi
cmake --build build --target msishellext
cmake --build build --target appx
cmake --install build/sbom
- name: Archive artifacts
uses: actions/upload-artifact@v6
with:
name: msi_${{ matrix.vcver }}_${{ matrix.platform }}
path: |
build/*.msi
build/*.appx
build/*.spdx
coverity:
name: Run Coverity tests
if: github.repository == 'open-eid/DigiDoc4-Client' && contains(github.ref, 'coverity_scan')
Expand All @@ -207,7 +220,7 @@ jobs:
steps:
- *Checkout
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand Down Expand Up @@ -246,7 +259,7 @@ jobs:
steps:
- *Checkout
- name: Download artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v19
with:
workflow: build.yml
branch: master
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "common"]
path = common
url = ../qt-common
[submodule "cmake/cmake-sbom"]
path = cmake/cmake-sbom
url = https://github.com/DEMCON/cmake-sbom.git
branch = v1.4.0
4 changes: 3 additions & 1 deletion AppxManifest.xml.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- SPDX-FileCopyrightText: Estonian Information System Authority -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Estonian Information System Authority
# SPDX-License-Identifier: LGPL-2.1-or-later

cmake_minimum_required(VERSION 3.22)
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/common/CMakeLists.txt)
message(FATAL_ERROR "common submodule directory empty, did you 'git clone --recursive'?")
Expand Down Expand Up @@ -67,3 +70,4 @@ endif()

add_subdirectory( common )
add_subdirectory( client )
include(cmake/sbom.cmake)
20 changes: 2 additions & 18 deletions client/Application.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDoc4
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#define NOMINMAX

Expand Down
20 changes: 2 additions & 18 deletions client/Application.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDoc4
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

Expand Down
20 changes: 2 additions & 18 deletions client/Application_mac.mm
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QEstEidCommon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "Application.h"

Expand Down
20 changes: 2 additions & 18 deletions client/CDoc1.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "CDoc1.h"

Expand Down
20 changes: 2 additions & 18 deletions client/CDoc1.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

Expand Down
20 changes: 2 additions & 18 deletions client/CDoc2.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "CDoc2.h"

Expand Down
20 changes: 2 additions & 18 deletions client/CDoc2.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

Expand Down
3 changes: 3 additions & 0 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Estonian Information System Authority
# SPDX-License-Identifier: LGPL-2.1-or-later

get_filename_component(TSL_FILENAME ${TSL_URL} NAME_WLE)
set(TSL_LIST ${TSL_FILENAME} ${TSL_INCLUDE})
list(TRANSFORM TSL_LIST APPEND .xml)
Expand Down
20 changes: 2 additions & 18 deletions client/CheckConnection.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "CheckConnection.h"

Expand Down
20 changes: 2 additions & 18 deletions client/CheckConnection.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

Expand Down
20 changes: 2 additions & 18 deletions client/Crypto.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/*
* QDigiDocClient
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "Crypto.h"

Expand Down
Loading
Loading