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

Refactor 2022-2023 #91

Merged
merged 185 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
a7f1625
Refactor WIP
jsuchal Nov 21, 2022
2ad9a61
Add clean architecture spike with functioning demo & tests
jsuchal Mar 1, 2023
ebceb73
Add WIP for GUI
jsuchal Mar 8, 2023
6d4a23e
pom cleanup & tests directory fixed
sabomichal Mar 9, 2023
4e6b4d0
Refactor nasty setters into clean controllers
jsuchal Mar 22, 2023
1d82999
Add server boilerplate wiring
jsuchal Mar 22, 2023
cab67c7
Add support for multiple windows & cleanup
jsuchal Mar 22, 2023
41c466b
Bump version and rename
jsuchal Mar 22, 2023
236f45e
Bump version and rename
jsuchal Mar 22, 2023
1d0e856
Add intermediate loading cert status
jsuchal Mar 22, 2023
68608b4
Add UI for changing certificate
jsuchal Mar 22, 2023
94ba714
added api asice signature
celuchmarek Mar 29, 2023
6dfb3c3
format code
celuchmarek Mar 29, 2023
fe0d2d2
Style radios based on IDSK, refactor a bit
jsuchal Mar 29, 2023
14676e9
add signer info to sign api response
celuchmarek Mar 29, 2023
23dc7bc
use signing parameters sent by client
celuchmarek Mar 29, 2023
6d44c88
Style according to IDSK and allow pdf/html/plaintext visualization
jsuchal Mar 29, 2023
71530db
Cleanup
jsuchal Mar 30, 2023
751ac9f
fix client api parameters and add trandforamtion
celuchmarek Mar 31, 2023
b4d6176
Style main menu, support drag'n'drop & file picker
jsuchal Mar 31, 2023
861254d
refactor for PR#94
celuchmarek Mar 31, 2023
bc7fe65
fix build
celuchmarek Mar 31, 2023
3574f9b
fix malformed mimetype imports
celuchmarek Mar 31, 2023
c128067
Add basic error handling
jsuchal Mar 31, 2023
4c838ff
Add basic error handling
jsuchal Mar 31, 2023
7778aaa
Add handling of drivers & short circuit dialogs with one option
jsuchal Mar 31, 2023
c03d901
Cleanup a bit
jsuchal Mar 31, 2023
81fc114
Merge pull request #93 from slovensko-digital/idsk-v2
jsuchal Mar 31, 2023
08dc6c7
Merge branch 'refactor-spike-2022' into GO-15/new-http-server
jsuchal Mar 31, 2023
2e95678
Refactor a bit
jsuchal Mar 31, 2023
f25b036
Style a bit and wire visualization to parameters
jsuchal Mar 31, 2023
8b36a15
Make main menu not resizable
jsuchal Mar 31, 2023
4638dd1
fix schema and transformation base64
celuchmarek Apr 5, 2023
eda1d01
revert unfinished xdc transformation file
celuchmarek Apr 5, 2023
da72d25
Show PDFs lazily
jsuchal Apr 5, 2023
43a8745
Trim transformation output
jsuchal Apr 5, 2023
4a9a528
Cleanup
jsuchal Apr 5, 2023
1ec55dd
Merge branch 'main' into pom_cleanup
jsuchal Apr 5, 2023
bf31d69
Cleanup after merge
jsuchal Apr 5, 2023
2e5e1cf
Cleanup
jsuchal Apr 5, 2023
f4f3777
Merge branch 'refactor-spike-2022' into pom_cleanup
jsuchal Apr 5, 2023
069e003
Merge pull request #92 from slovensko-digital/pom_cleanup
jsuchal Apr 5, 2023
8be4d8c
add datacontainer support for asic xades - not working on upvs
celuchmarek Apr 5, 2023
8b7575c
datacontainer funckny
celuchmarek Apr 5, 2023
d76fef8
update datacontainer mimetype
celuchmarek Apr 5, 2023
9e224a6
Add nice error pages & minor UX fixes
jsuchal Apr 5, 2023
50efdad
update xdc schema
celuchmarek Apr 6, 2023
2c60302
bump liberica to jdk17.0.6+10
celuchmarek Apr 6, 2023
2637a6e
fix UTF-8 charset to capslock
celuchmarek Apr 6, 2023
b2a7d58
fix signedBy response
celuchmarek Apr 6, 2023
e37ebd9
update response signedBy and issuedBy format
celuchmarek Apr 6, 2023
cc99535
Merge pull request #96 from slovensko-digital/GO-38/lazy-loading-pdf
celuchmarek Apr 6, 2023
7dc0bdc
add sign response class
celuchmarek Apr 6, 2023
fab77f9
Merge branch 'GO-15/new-http-server' into GO-15/better-error-pages
jsuchal Apr 6, 2023
0fa260c
Better wording
jsuchal Apr 6, 2023
a040f5b
Merge pull request #97 from slovensko-digital/GO-15/better-error-pages
jsuchal Apr 6, 2023
ad946df
Merge branch 'refactor-spike-2022' into GO-15/new-http-server
jsuchal Apr 6, 2023
455b1ff
Merge pull request #94 from slovensko-digital/GO-15/new-http-server
jsuchal Apr 6, 2023
3bc2c45
Make it stop when closed and start minimized when started from protocol
jsuchal Apr 6, 2023
0dae862
maven wrapper/scripts bump
sabomichal Apr 9, 2023
b0c55dc
jacoco maven plugin
sabomichal Apr 9, 2023
f487241
jacoco report github action
sabomichal Apr 9, 2023
e3af16e
Bump GitHub actions versions
jsuchal Apr 12, 2023
85204b7
Merge pull request #98 from slovensko-digital/test_coverage_report
jsuchal Apr 12, 2023
17c2676
set default params based on file suffix and save signed file named ac…
celuchmarek Apr 12, 2023
ef41c65
create saveFileResponder and use the output filename there
celuchmarek Apr 12, 2023
009d8b4
rm duplicit filename setting
celuchmarek Apr 12, 2023
015b8c1
add https server
celuchmarek Apr 12, 2023
d90f853
move naming logic to SaveFileResponder
celuchmarek Apr 12, 2023
9036ea3
rm info souts
celuchmarek Apr 12, 2023
50716ea
Merge pull request #99 from slovensko-digital/GO-50/desktop-set-type-…
celuchmarek Apr 12, 2023
a4ffd5f
Add support for non-eid cards password prompts, style a bit, closes G…
jsuchal Apr 12, 2023
8eb325e
Update src/main/java/digital/slovensko/autogram/core/Autogram.java
jsuchal Apr 12, 2023
7cd7022
Add PIN blocked error
jsuchal Apr 13, 2023
04843fd
Fix tests
jsuchal Apr 13, 2023
8f10cc2
Merge remote-tracking branch 'origin/GO-57/non-eid-cards' into GO-57/…
jsuchal Apr 13, 2023
945e790
Merge pull request #100 from slovensko-digital/GO-57/non-eid-cards
jsuchal Apr 13, 2023
e9fb005
load server config from file and args; rebrand to Autogram Slovensko …
celuchmarek Apr 13, 2023
556a240
save signed file to source directory and try not to overwrite existin…
celuchmarek Apr 13, 2023
f1fe43f
Add support for plaintext visualization, closes GO-79
jsuchal Apr 14, 2023
6b6ecc8
rm debug sout
celuchmarek Apr 14, 2023
916893a
Rename to "Autogram"
celuchmarek Apr 14, 2023
c71b00f
Rename to "Autogram"
celuchmarek Apr 14, 2023
c510931
Add support for unsupported visualization cases, closes GO-80
jsuchal Apr 14, 2023
8b83f60
clean up
celuchmarek Apr 14, 2023
4a498db
Style a bit
jsuchal Apr 14, 2023
f305645
Newline
jsuchal Apr 14, 2023
8de5527
Disable focus on webview
jsuchal Apr 14, 2023
cf2b825
Merge pull request #102 from slovensko-digital/GO-45/save-signed-file…
celuchmarek Apr 14, 2023
5c47bd0
set dssdocument mimetype from request's filename and fileMimeType
celuchmarek Apr 14, 2023
7313aba
add isUrl to LaunchParameters
celuchmarek Apr 14, 2023
7266d35
mv LaunchParameters from util to core
celuchmarek Apr 14, 2023
f15bcac
Update src/main/resources/digital/slovensko/autogram/ui/gui/signing-d…
jsuchal Apr 14, 2023
6b2cb56
Merge pull request #104 from slovensko-digital/GO-80/unsupported-visu…
jsuchal Apr 14, 2023
5811651
Merge pull request #103 from slovensko-digital/GO-79/sign-plaintext
jsuchal Apr 14, 2023
d0e312d
Merge pull request #101 from slovensko-digital/GO-54/add-https-support
jsuchal Apr 14, 2023
1b605f3
Fix broken error dialog
jsuchal Apr 14, 2023
0284986
get version from package
celuchmarek Apr 14, 2023
1022266
Close token on change button, fixes GO-81
jsuchal Apr 14, 2023
d3c0d2e
mv logic from InfoResponse constructor upwards
celuchmarek Apr 14, 2023
569a868
Add support for image visualization, closes GO-85
jsuchal Apr 14, 2023
c3507aa
Merge pull request #105 from slovensko-digital/GO-84/get-version-from…
jsuchal Apr 14, 2023
2274ff9
Merge pull request #106 from slovensko-digital/GO-85/image-visualization
jsuchal Apr 14, 2023
27c20a6
Add comment
jsuchal Apr 14, 2023
e5aabf5
default to payloadMimetype asi DSSDocument mimetype
celuchmarek Apr 14, 2023
6f7d2a0
Fix CSS property
jsuchal Apr 14, 2023
f1cf83a
rm filename and filemimetype from sign request and rm custom Mimetype…
celuchmarek Apr 14, 2023
02d7413
format SigningJob.java
celuchmarek Apr 14, 2023
73ec0cc
merge refactor-spike-2022 update
celuchmarek Apr 14, 2023
9710e52
Merge pull request #107 from slovensko-digital/default-to-payload-mim…
celuchmarek Apr 15, 2023
2ae5d43
Switch UI dependency and cleanup, fixes GO-71
jsuchal Apr 18, 2023
5de9c00
Cleanup a lot
jsuchal Apr 18, 2023
a29cfdc
Rename a bit
jsuchal Apr 18, 2023
65b2fc5
Move Autogram to core namespace
jsuchal Apr 18, 2023
8811696
Cleanup
jsuchal Apr 18, 2023
0b227aa
Semicolon
jsuchal Apr 18, 2023
1a7de06
Be explicit with lambda params
jsuchal Apr 18, 2023
9a203d5
Optimize imports
jsuchal Apr 18, 2023
45d9853
Change LICENSE, refs GO-57
jsuchal Apr 18, 2023
654346d
Merge pull request #108 from solver-it-sro:refactor-spike-2022-v3
celuchmarek Apr 19, 2023
040039d
only transform to XDC if not already in XDC
celuchmarek Apr 19, 2023
3412658
add extraction from XDC
celuchmarek Apr 19, 2023
4a23929
Use built-in Consumer interface
jsuchal Apr 19, 2023
481dfc9
Merge pull request #111 from solver-it-sro/refactor-spike-2022-cleanup
jsuchal Apr 20, 2023
d9037e1
add namespace to xmldata search
celuchmarek Apr 20, 2023
64bc52a
rm explicit xdc: search
celuchmarek Apr 20, 2023
3b9063a
Merge pull request #110 from solver-it-sro/xdc-input-handling
celuchmarek Apr 20, 2023
6dbe1fb
Add logging properly, closes #90
jsuchal Apr 20, 2023
a090b06
mv signer to protocol
celuchmarek Apr 20, 2023
ded936a
revert version in pom.xml
celuchmarek Apr 20, 2023
282f30d
Merge pull request #112 from solver-it-sro/add-logging
jsuchal Apr 20, 2023
2b671fd
Merge pull request #113 from solver-it-sro/GO-74/rename-protocol-to-a…
celuchmarek Apr 20, 2023
2929328
maven dependabot enabled & jdeps skipped
sabomichal Apr 20, 2023
0492e68
Remove old docs
jsuchal Apr 20, 2023
58e5a5f
Remove old doc
jsuchal Apr 20, 2023
4b663d8
Remove old octosign code
jsuchal Apr 20, 2023
8c5354f
Merge pull request #117 from slovensko-digital/dependabot_maven
jsuchal Apr 20, 2023
347019b
Enable signing again after signed error, refs GO-71
jsuchal Apr 20, 2023
7f5d159
Merge pull request #120 from solver-it-sro/GO-71/enable-signing-after…
jsuchal Apr 20, 2023
d786354
refactor server signing parameters
celuchmarek Apr 20, 2023
162da0d
update openapi yml
celuchmarek Apr 20, 2023
74b6378
suppress dss info logs
sabomichal Apr 20, 2023
a6a47ab
Merge pull request #122 from slovensko-digital/logging_properties
jsuchal Apr 20, 2023
06d65eb
Refactor a bit
jsuchal Apr 20, 2023
338fb57
update swagger
celuchmarek Apr 20, 2023
97424bd
add support for cades without asice
celuchmarek Apr 20, 2023
217ef7c
Merge pull request #119 from solver-it-sro/GO-59/nuke-old-code
jsuchal Apr 20, 2023
9c3ff4e
Merge pull request #121 from solver-it-sro/refactor-server-sign-param…
celuchmarek Apr 20, 2023
b52c924
fix xdc transformer test after merge
celuchmarek Apr 20, 2023
ee591a4
Merge pull request #123 from solver-it-sro/fix/xdc-test-after-merge
celuchmarek Apr 20, 2023
5b1ee91
rename remaning files to Autorgam
celuchmarek Apr 20, 2023
9eeef5d
Simplify a bit
jsuchal Apr 20, 2023
f3212ff
Merge pull request #125 from solver-it-sro/refactor-spike-2022
jsuchal Apr 20, 2023
4a76b95
Merge branch 'refactor-spike-2022' into GO-74/rebrand-all-resources-t…
celuchmarek Apr 21, 2023
3cc9be3
add server request validation and error handling; update swagger
celuchmarek Apr 21, 2023
372551d
Force token reload on TokenRemovedException
jsuchal Apr 21, 2023
5b65f3f
Refactor a bit
jsuchal Apr 21, 2023
d0193bd
Refactor error handling a lot
jsuchal Apr 21, 2023
dab1a9d
Refactor a bit more
jsuchal Apr 21, 2023
f21d5ae
Naming
jsuchal Apr 21, 2023
42e987e
refactor - rm unused gson
celuchmarek Apr 21, 2023
ab038b7
Merge pull request #1 from solver-it-sro/GO-83/refactor
celuchmarek Apr 21, 2023
fa69c6d
Merge pull request #128 from solver-it-sro/GO-92/fix-card-change-bug
jsuchal Apr 22, 2023
7dcb755
Update main.scpt with new app name
alhafoudh Apr 22, 2023
fc6c172
Merge pull request #124 from solver-it-sro/GO-74/rebrand-all-resource…
jsuchal Apr 23, 2023
f7d555a
Merge pull request #127 from solver-it-sro/GO-83/request-validation-a…
celuchmarek Apr 24, 2023
12345a2
Bump JDK
jsuchal Apr 25, 2023
8d12412
Use native static password constructor.
jsuchal Apr 25, 2023
ed3cadc
Refactor a bit and remove obsolete TODOs, refs GO-86
jsuchal Apr 25, 2023
48f291d
bump jdk in pom.xml
celuchmarek Apr 25, 2023
68469ad
rm empty .env
celuchmarek Apr 25, 2023
4fc48b5
Merge branch 'refactor-spike-2022' into GO-57/eupl-license
jsuchal Apr 25, 2023
e91d611
Translate and update README.md
jsuchal Apr 25, 2023
589810c
Add about dialog, closes GO-56
jsuchal Apr 25, 2023
d9e844f
Fix minor bug
jsuchal Apr 25, 2023
845b40d
Newline
jsuchal Apr 25, 2023
cf94109
Merge pull request #129 from solver-it-sro/bump-jdk-version
jsuchal Apr 25, 2023
b6dd997
Merge pull request #132 from solver-it-sro/GO-56/about-dialog
jsuchal Apr 25, 2023
4d1d9f6
Add more info
jsuchal Apr 25, 2023
e3f84f0
Load fonts nicely
jsuchal Apr 25, 2023
54bcfd1
minor wording refactor
celuchmarek Apr 25, 2023
f37ff7c
Merge branch 'refactor-spike-2022' into GO-57/eupl-license
celuchmarek Apr 25, 2023
4ccaed1
Merge pull request #109 from solver-it-sro/GO-57/eupl-license
jsuchal Apr 25, 2023
fca6f04
Merge pull request #130 from solver-it-sro/GO-86/todos-cleanup
jsuchal Apr 25, 2023
1f7c813
Fix link to LICENSE
jsuchal Apr 25, 2023
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
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "maven"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
17 changes: 15 additions & 2 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- os: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Update version in pom if tag pushed
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -28,7 +28,7 @@ jobs:
java-package: 'jdk+fx'

- name: Cache local Maven repository and JDK cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository
Expand Down Expand Up @@ -57,3 +57,16 @@ jobs:
target/*.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: JaCoCo Code Coverage Report
id: jacoco_report
uses: PavanMudigonda/jacoco-reporter@v4.8
with:
coverage_results_path: ${{ github.workspace }}/target/site/jacoco/jacoco.xml
coverage_report_name: Coverage
coverage_report_title: JaCoCo
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_check_run: false
minimum_coverage: 80
fail_below_threshold: false # set to true for Github CI build failing when coverage check do not pass
publish_only_summary: false
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ whitelabel.iml
.settings
.vscode/*
!/.vscode/launch.json
.idea/
whitelabel.iml

# macOS-specific
.DS_Store
Expand Down
6 changes: 3 additions & 3 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
4 changes: 2 additions & 2 deletions .run/Main.run.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Main" type="Application" factoryName="Application" nameIsGenerated="true">
<option name="ALTERNATIVE_JRE_PATH" value="$PROJECT_DIR$/target/jdkCache/LIBERICA_jdk17.0.1+12_linux_amd64-full" />
<option name="ALTERNATIVE_JRE_PATH" value="$PROJECT_DIR$/target/jdkCache/LIBERICA_jdk17.0.7+7_linux_amd64-full" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="MAIN_CLASS_NAME" value="com.octosign.whitelabel.ui.Main" />
<module name="whitelabel" />
<option name="PROGRAM_PARAMETERS" value="--url=signer://listen?protocol=http&amp;host=localhost&amp;port=37200&amp;origin=*&amp;language=sk" />
<option name="PROGRAM_PARAMETERS" value="--url=autogram://listen?protocol=http&amp;host=localhost&amp;port=37200&amp;origin=*&amp;language=sk" />
<option name="VM_PARAMETERS" value="--add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED" />
<extension name="coverage">
<pattern>
Expand Down
308 changes: 287 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,287 @@
MIT License

Copyright (c) 2021 Jakub Duras

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
EUROPEAN UNION PUBLIC LICENCE v. 1.2
EUPL © the European Union 2007, 2016

This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined
below) which is provided under the terms of this Licence. Any use of the Work,
other than as authorauthorised under this Licence is prohibited (to the extent such
use is covered by a right of the copyright holder of the Work).

The Work is provided under the terms of this Licence when the Licensor (as
defined below) has placed the following notice immediately following the
copyright notice for the Work:

Licensed under the EUPL

or has expressed by any other means his willingness to license under the EUPL.

1. Definitions

In this Licence, the following terms have the following meaning:

- ‘The Licence’: this Licence.

- ‘The Original Work’: the work or software distributed or communicated by the
Licensor under this Licence, available as Source Code and also as Executable
Code as the case may be.

- ‘Derivative Works’: the works or software that could be created by the
Licensee, based upon the Original Work or modifications thereof. This Licence
does not define the extent of modification or dependence on the Original Work
required in order to classify a work as a Derivative Work; this extent is
determined by copyright law applicable in the country mentioned in Article 15.

- ‘The Work’: the Original Work or its Derivative Works.

- ‘The Source Code’: the human-readable form of the Work which is the most
convenient for people to study and modify.

- ‘The Executable Code’: any code which has generally been compiled and which is
meant to be interpreted by a computer as a program.

- ‘The Licensor’: the natural or legal person that distributes or communicates
the Work under the Licence.

- ‘Contributor(s)’: any natural or legal person who modifies the Work under the
Licence, or otherwise contributes to the creation of a Derivative Work.

- ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
the Work under the terms of the Licence.

- ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
renting, distributing, communicating, transmitting, or otherwise making
available, online or offline, copies of the Work or providing access to its
essential functionalities at the disposal of any other natural or legal
person.

2. Scope of the rights granted by the Licence

The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
sublicensable licence to do the following, for the duration of copyright vested
in the Original Work:

- use the Work in any circumstance and for all usage,
- reproduce the Work,
- modify the Work, and make Derivative Works based upon the Work,
- communicate to the public, including the right to make available or display
the Work or copies thereof to the public and perform publicly, as the case may
be, the Work,
- distribute the Work or copies thereof,
- lend and rent the Work or copies thereof,
- sublicense rights in the Work or copies thereof.

Those rights can be exercised on any media, supports and formats, whether now
known or later invented, as far as the applicable law permits so.

In the countries where moral rights apply, the Licensor waives his right to
exercise his moral right to the extent allowed by law in order to make effective
the licence of the economic rights here above listed.

The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to
any patents held by the Licensor, to the extent necessary to make use of the
rights granted on the Work under this Licence.

3. Communication of the Source Code

The Licensor may provide the Work either in its Source Code form, or as
Executable Code. If the Work is provided as Executable Code, the Licensor
provides in addition a machine-readable copy of the Source Code of the Work
along with each copy of the Work that the Licensor distributes or indicates, in
a notice following the copyright notice attached to the Work, a repository where
the Source Code is easily and freely accessible for as long as the Licensor
continues to distribute or communicate the Work.

4. Limitations on copyright

Nothing in this Licence is intended to deprive the Licensee of the benefits from
any exception or limitation to the exclusive rights of the rights owners in the
Work, of the exhaustion of those rights or of other applicable limitations
thereto.

5. Obligations of the Licensee

The grant of the rights mentioned above is subject to some restrictions and
obligations imposed on the Licensee. Those obligations are the following:

Attribution right: The Licensee shall keep intact all copyright, patent or
trademarks notices and all notices that refer to the Licence and to the
disclaimer of warranties. The Licensee must include a copy of such notices and a
copy of the Licence with every copy of the Work he/she distributes or
communicates. The Licensee must cause any Derivative Work to carry prominent
notices stating that the Work has been modified and the date of modification.

Copyleft clause: If the Licensee distributes or communicates copies of the
Original Works or Derivative Works, this Distribution or Communication will be
done under the terms of this Licence or of a later version of this Licence
unless the Original Work is expressly distributed only under this version of the
Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
(becoming Licensor) cannot offer or impose any additional terms or conditions on
the Work or Derivative Work that alter or restrict the terms of the Licence.

Compatibility clause: If the Licensee Distributes or Communicates Derivative
Works or copies thereof based upon both the Work and another work licensed under
a Compatible Licence, this Distribution or Communication can be done under the
terms of this Compatible Licence. For the sake of this clause, ‘Compatible
Licence’ refers to the licences listed in the appendix attached to this Licence.
Should the Licensee's obligations under the Compatible Licence conflict with
his/her obligations under this Licence, the obligations of the Compatible
Licence shall prevail.

Provision of Source Code: When distributing or communicating copies of the Work,
the Licensee will provide a machine-readable copy of the Source Code or indicate
a repository where this Source will be easily and freely available for as long
as the Licensee continues to distribute or communicate the Work.

Legal Protection: This Licence does not grant permission to use the trade names,
trademarks, service marks, or names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the copyright notice.

6. Chain of Authorship

The original Licensor warrants that the copyright in the Original Work granted
hereunder is owned by him/her or licensed to him/her and that he/she has the
power and authority to grant the Licence.

Each Contributor warrants that the copyright in the modifications he/she brings
to the Work are owned by him/her or licensed to him/her and that he/she has the
power and authority to grant the Licence.

Each time You accept the Licence, the original Licensor and subsequent
Contributors grant You a licence to their contributions to the Work, under the
terms of this Licence.

7. Disclaimer of Warranty

The Work is a work in progress, which is continuously improved by numerous
Contributors. It is not a finished work and may therefore contain defects or
‘bugs’ inherent to this type of development.

For the above reason, the Work is provided under the Licence on an ‘as is’ basis
and without warranties of any kind concerning the Work, including without
limitation merchantability, fitness for a particular purpose, absence of defects
or errors, accuracy, non-infringement of intellectual property rights other than
copyright as stated in Article 6 of this Licence.

This disclaimer of warranty is an essential part of the Licence and a condition
for the grant of any rights to the Work.

8. Disclaimer of Liability

Except in the cases of wilful misconduct or damages directly caused to natural
persons, the Licensor will in no event be liable for any direct or indirect,
material or moral, damages of any kind, arising out of the Licence or of the use
of the Work, including without limitation, damages for loss of goodwill, work
stoppage, computer failure or malfunction, loss of data or any commercial
damage, even if the Licensor has been advised of the possibility of such damage.
However, the Licensor will be liable under statutory product liability laws as
far such laws apply to the Work.

9. Additional agreements

While distributing the Work, You may choose to conclude an additional agreement,
defining obligations or services consistent with this Licence. However, if
accepting obligations, You may act only on your own behalf and on your sole
responsibility, not on behalf of the original Licensor or any other Contributor,
and only if You agree to indemnify, defend, and hold each Contributor harmless
for any liability incurred by, or claims asserted against such Contributor by
the fact You have accepted any warranty or additional liability.

10. Acceptance of the Licence

The provisions of this Licence can be accepted by clicking on an icon ‘I agree’
placed under the bottom of a window displaying the text of this Licence or by
affirming consent in any other similar way, in accordance with the rules of
applicable law. Clicking on that icon indicates your clear and irrevocable
acceptance of this Licence and all of its terms and conditions.

Similarly, you irrevocably accept this Licence and all of its terms and
conditions by exercising any rights granted to You by Article 2 of this Licence,
such as the use of the Work, the creation by You of a Derivative Work or the
Distribution or Communication by You of the Work or copies thereof.

11. Information to the public

In case of any Distribution or Communication of the Work by means of electronic
communication by You (for example, by offering to download the Work from a
remote location) the distribution channel or media (for example, a website) must
at least provide to the public the information requested by the applicable law
regarding the Licensor, the Licence and the way it may be accessible, concluded,
stored and reproduced by the Licensee.

12. Termination of the Licence

The Licence and the rights granted hereunder will terminate automatically upon
any breach by the Licensee of the terms of the Licence.

Such a termination will not terminate the licences of any person who has
received the Work from the Licensee under the Licence, provided such persons
remain in full compliance with the Licence.

13. Miscellaneous

Without prejudice of Article 9 above, the Licence represents the complete
agreement between the Parties as to the Work.

If any provision of the Licence is invalid or unenforceable under applicable
law, this will not affect the validity or enforceability of the Licence as a
whole. Such provision will be construed or reformed so as necessary to make it
valid and enforceable.

The European Commission may publish other linguistic versions or new versions of
this Licence or updated versions of the Appendix, so far this is required and
reasonable, without reducing the scope of the rights granted by the Licence. New
versions of the Licence will be published with a unique version number.

All linguistic versions of this Licence, approved by the European Commission,
have identical value. Parties can take advantage of the linguistic version of
their choice.

14. Jurisdiction

Without prejudice to specific agreement between parties,

- any litigation resulting from the interpretation of this License, arising
between the European Union institutions, bodies, offices or agencies, as a
Licensor, and any Licensee, will be subject to the jurisdiction of the Court
of Justice of the European Union, as laid down in article 272 of the Treaty on
the Functioning of the European Union,

- any litigation arising between other parties and resulting from the
interpretation of this License, will be subject to the exclusive jurisdiction
of the competent court where the Licensor resides or conducts its primary
business.

15. Applicable Law

Without prejudice to specific agreement between parties,

- this Licence shall be governed by the law of the European Union Member State
where the Licensor has his seat, resides or has his registered office,

- this licence shall be governed by Belgian law if the Licensor has no seat,
residence or registered office inside a European Union Member State.

Appendix

‘Compatible Licences’ according to Article 5 EUPL are:

- GNU General Public License (GPL) v. 2, v. 3
- GNU Affero General Public License (AGPL) v. 3
- Open Software License (OSL) v. 2.1, v. 3.0
- Eclipse Public License (EPL) v. 1.0
- CeCILL v. 2.0, v. 2.1
- Mozilla Public Licence (MPL) v. 2
- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
works other than software
- European Union Public Licence (EUPL) v. 1.1, v. 1.2
- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong
Reciprocity (LiLiQ-R+).

The European Commission may update this Appendix to later versions of the above
licences without producing a new version of the EUPL, as long as they provide
the rights granted in Article 2 of this Licence and protect the covered Source
Code from exclusive appropriation.

All other changes or additions to this Appendix require the production of a new
EUPL version.
Loading