Repository navigation
chore(license): adopt the upstream 9.4 licence and per-file modification notices - #158
Merged
Merged
Conversation
Revert the Section 7 header strip from 321b405 on the files that still exist upstream, so upstream's header update applies on top unchanged. Files under macos/Euro-Office count by their upstream path under macos/ONLYOFFICE. Kept as they are: files we deleted, and the Linux platform files we split out of upstream files (linux_window_utils, platformbackendfactory, cplatformdecoration), which upstream doesn't have. This reverts part of commit 321b405. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Julius Knorr <jus@bitgrid.net>
Co-authored-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com> Co-committed-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com> (cherry picked from commit ebc6195) Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit f2cb956) Signed-off-by: Julius Knorr <jus@bitgrid.net>
…source LICENSE.rtf (cherry picked from commit e5304c5) Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit ced682d) Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit 39d92db) Signed-off-by: Julius Knorr <jus@bitgrid.net>
Co-authored-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com> Co-committed-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com> (cherry picked from commit 6339985) Signed-off-by: Julius Knorr <jus@bitgrid.net>
linux_window_utils and cplatformdecoration started as renames of upstream files (xcbutils.h, cx11caption.cpp, cx11decoration.*), and platformbackendfactory.cpp carries the same Ascensio header. Upstream's header update reached them only as a conflict, so give them the 9.4 header their upstream sources now have. Code is unchanged. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Julius Knorr <jus@bitgrid.net>
Declares the licence of files that must not get our notices: vendored and generated code and file types that can't hold a comment. The header gates skip annotated paths. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
macos/apply-branding.sh is ours: it gets the SPDX pair, not the block. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Linux packages get the combined record of core, sdkjs, web-apps, sdkjs-forms, desktop-sdk, desktop-apps and DesktopEditors (SOURCE_ROOT, default ../..) next to NOTICE. The notices target renders both for the Windows and macOS payload, and the macOS app copies them into Contents/Resources. A missing record fails the build. NOTICE and debian/copyright point to it. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The 9.4 LICENSE carries the 7(b) notice and 7(e) trademark terms again, so the check that they are absent failed. It now requires both in debian/copyright and the shipped LICENSE.txt and still rejects the dropped logo term. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The notices target also emits LICENSE, LICENSE-CC.txt and 3DPARTYLICENSE, so the Windows zip, Inno installer and MSI get all five files from the payload root, and the macOS app copies them into Contents/Resources. Inno, the MSI and the Linux /opt tree no longer add their own LICENSE.txt next to the payload's LICENSE; Inno removes the one an older install left. The licence metadata test checks the notices output, every list of the payload files and that no package installs a second licence copy. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
(cherry picked from commit 478768b) Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit 07aef27) Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit f93230c) Signed-off-by: Julius Knorr <jus@bitgrid.net>
…RTYLICENSE 3DPARTYLICENSE in the Linux packages and the Windows and macOS payload now appends core's 3DPARTY.md and LICENSES/ to the desktop list, so the libraries the converter links get their notices too. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
- AGPL-3.0-only with the Section 7 additional terms of the LICENSE file - the CC BY-SA 4.0 legal code URL next to LICENSE-CC.txt - contributor copyright from 2025, when our changes start The source pointer stays the org link: the m4 does not know whether a build is a tagged release. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
…n't parse The .ps1, .spec, .m4 and .iss files we changed carry no upstream header, so the stamp skips them. Add our block in their own comment syntax: dnl in m4, so the generated files stay the same, // in the [Code] include, ; in the other Inno files, # elsewhere. The licence metadata test checks them. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Runs the header gates of licence-modification-tooling through the organization's licence action (workflow template licence.yml) on pull requests to and pushes of main. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: CI config, proven by running the gate commands locally
CEF's CREDITS.html lists the licences of the Chromium components in libcef. Install it as LICENSES.chromium.html next to 3DPARTYLICENSE: the CMake install for the Windows installers, zip and Linux /opt, /usr/share/licenses in the Linux packages, and Contents/Resources in the macOS app (staged by desktop-sdk). NOTICE points to it. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
No-test: CI path filter Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
NOTICE names the CEF and Chromium version and offers the corresponding source of the LGPL-2.1 and MPL-2.0 components listed in LICENSES.chromium.html. The test checks the offer and, with a core checkout, that the version matches core's CEF pin. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The Makefile reads cef_version from core's Common/3dParty/cef/nc-build.py and passes the CEF and Chromium versions to m4, so the source offer follows a CEF bump. A missing version fails the build. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
…ight The 9.4 LICENSE has no Section 7(a) term any more, so debian/copyright no longer repeats the old non-infringement sentence. The metadata test now fails if it comes back. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
NSHumanReadableCopyright now says "based on the original ONLYOFFICE software developed by Ascensio System SIA", as NOTICE and term 2 of the 9.4 LICENSE do. The English strings change; the 42 translations keep their wording until they are retranslated. The metadata test checks the English wording. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The CompanyName field of editors.exe, DesktopEditors.exe and the update service named Ascensio System SIA as publisher. It now says Euro-Office, as the installer's sCompanyName does. The copyright string keeps Ascensio System SIA next to Euro-Office contributors. The metadata test checks the company name. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The CC BY-SA stanza for images named Ascensio System SIA for all images, our own logos included. A later stanza now names Euro-Office contributors as holder of our logos, under their real licence. The metadata test checks the stanza and that it follows the CC BY-SA one. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
This was referenced Dec 3, 2026
juliusknorr
force-pushed
the
licence/9.4
branch
from
December 3, 2026 14:49
5653eac to
035957a
Compare
Same wording as the DocumentServer and DesktopEditors READMEs: the attribution to Ascensio System SIA, the Section 7 additional terms in LICENSE and a pointer to MODIFICATIONS.txt. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: README text only
Stamped with licence-modification-tooling 624f487 (relicence.sh). Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
juliusknorr
force-pushed
the
licence/9.4
branch
from
December 3, 2026 14:57
035957a to
d2f0bec
Compare
juliusknorr
marked this pull request as ready for review
December 3, 2026 18:45
rikled
approved these changes
Dec 3, 2026
rikled
left a comment
Member
There was a problem hiding this comment.
LGTM. Only question: licence.yml runs fork PRs on [self-hosted, ubuntu-latest] while our other PR workflows use GitHub-hosted runners. Intended?
The gate only needs git and Python 3.11+, so it does not need the few self-hosted runners, and fork PRs then don't run on them. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: CI config, proven by the licence check on this PR
Member
Author
|
Not intended, switched to |
The rebrand replaced NSHumanReadableCopyright in Info.plist and the InfoPlist.strings of every locale with a translated "Euro-Office is based on ONLYOFFICE by Ascensio System SIA", which dropped Ascensio's copyright notice from the About window. Use one English string everywhere that keeps it and names the Euro-Office contributors. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Follows the new NSHumanReadableCopyright wording and checks Info.plist and every InfoPlist.strings that sets the key, so a translated string without Ascensio's copyright fails the test. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
With BUILD_COMMITS ("DesktopEditors=<sha> core=<sha> ...", product repo
first), NOTICE names the version, the product repo commit and the commit of
each component, and ties the written offers to that version. Without it,
as in local Windows and macOS builds, NOTICE keeps the generic org link.
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
juliusknorr
force-pushed
the
licence/9.4
branch
from
December 4, 2026 09:16
ff7556e to
1537f1b
Compare
Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: README change only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream ONLYOFFICE relicensed with 9.4: AGPL-3.0-only with new additional terms. The logo clause is dropped, modified versions must say so and keep a record of changes, and the About must show the notices. This PR moves the repo to that licence and adds the required notices.
-x, licence files and headers only, no code)SPDX-FileCopyrightText: Euro-Office contributorsafter the upstream header; files we added get the SPDX pair onlyREUSE.tomlfor files that can't hold a notice (vendored, generated)MODIFICATIONS.txt: a note linking the git history. Release builds generate the full dated record.github/workflows/licence.yml: gate PRs and default-branch pushes (missing or broken notices, changed licence files)BUILD_COMMITS: version, product repo commit and each component commit; the CEF/Qt/FFmpeg offers refer to that version. Without it (local builds) the generic org link staysNSHumanReadableCopyright, all locales): one English string that keeps Ascensio's copyright, "Copyright © Ascensio System SIA, Euro-Office contributors. Based on the original ONLYOFFICE software developed by Ascensio System SIA."Attribution wording: "based on the original ONLYOFFICE software developed by Ascensio System SIA".
Tests: the licence gate and
modrecord --note --checkpass. Repo licence tests:package/test/licence-metadata.sh(CIpackage-licence.yml). TheLicence noticescheck fails until Euro-Office/.github#41 lands.Land together with: Euro-Office/core#536, Euro-Office/sdkjs#312, Euro-Office/web-apps#524, Euro-Office/server#96, Euro-Office/sdkjs-forms#9, Euro-Office/desktop-sdk#69, Euro-Office/document-server-package#41, Euro-Office/document-server-proxy#3, Euro-Office/Docker-DocumentServer#2, Euro-Office/DesktopEditors#434, Euro-Office/DocumentServer#641