Repository navigation
chore(license): adopt the ONLYOFFICE 9.4 licence and per-file modification notices - #536
Draft
juliusknorr wants to merge 21 commits into
Draft
juliusknorr wants to merge 21 commits into
juliusknorr wants to merge 21 commits into
Conversation
Revert the Section 7 header strip from e452ace on the files that still exist upstream, so upstream's header update applies on top unchanged. Also drop the SPDX lines we put in front of upstream's header in xlsx_numFmts.cpp and odf_number_styles_context.cpp. Kept as they are: files we deleted since, files upstream no longer has (the fontengine, hunspell, hyphen, xmlsec and zlib wasm sources), and PdfFile/test/test.cpp, which we rewrote with our own tests. This reverts part of commit e452ace. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit df08ed4) 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 76ee07f) 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, clean-room lanes 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
Common/js/stringserialize.js, copied from sdkjs, gets sdkjs's 9.4 header plus our block. The CxImage and libpsd files we changed keep our block, although REUSE.toml declares their own licences, so the stamp skips them. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Each text comes untouched from the library's own repository at the version the build scripts fetch, so it carries the project's copyright lines. 3DPARTY.md links every library to its text and to that source; the personal fork links pointed to a GitHub account that does not exist, the build fetches upstream. mdds is MIT, hunspell and hyphen are MPL-1.1/GPL/LGPL tri-licensed. 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
The default branch pins hyphen to c281a33 in nc-build.py. Its COPYING and the licence files are unchanged since 3fb46d9, so LICENSES/LicenseRef-hyphen.txt stays. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: docs link only, the 3DPARTY test checks the text exists
… they are FTL.txt comes from freetype 37515cf docs/FTL.TXT, libtiff.txt from libtiff v4.7.2 LICENSE.md, the refs the build uses. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
…text Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
nc-build.py fetches hyphen at the pinned commit; nothing calls nc-fetch.sh. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
The organization licence action no longer takes a token: the tooling is public. The workflow matches the .github template again. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
Our SPDX pair names no year, as the stamp writes it. Signed-off-by: Julius Knorr <jus@bitgrid.net> No-test: header text only, the licence gate covers the SPDX pair Assisted-by: ClaudeCode:claude-opus-5-5
A merge left its path in the input_sheets_macro annotation, so REUSE.toml had two path keys in one table and no longer parsed. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: REUSE.toml data, the licence gate parses it
The socket.io replacement put its SPDX lines above the upstream header of socketio_internal.h, socketio_internal_private.h and socketio_internal_private_no_tls.h. Move them below it, unchanged, so the upstream header leads again. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: header order only, the licence gate's retention check covers it
harfbuzz/nc-build.py now builds tag 8.5.0. COPYING at 8.5.0 is identical to the text in LICENSES/. The test checks that every linked version is pinned by an nc-build.py; all other entries already match. 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: header-only change; the relicence.sh header gates check the upstream headers and our block #420 added SPDX lines with Ascensio's 2010-2023 years to the socketio sources. In the three headers they now follow upstream's 9.4 header and our block, so they only contradict upstream's 2009-2026. socketio_internal_private.cpp, code #420 moved out of upstream's header, gets upstream's 9.4 header in place of the pre-9.4 one (with the dropped Section 7(a) clause) and our block.
A substring match let a short version such as 8.5 pass for 8.5.0. The version now has to be a whole quoted string in an nc-build.py, or the start of a pinned commit hash or of CEF's version. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
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
This was referenced Dec 3, 2026
juliusknorr
temporarily deployed
to
build-cache
December 3, 2026 13:02 — with
GitHub Actions
Inactive
juliusknorr
temporarily deployed
to
build-cache
December 3, 2026 13:39 — with
GitHub Actions
Inactive
juliusknorr
temporarily deployed
to
build-cache
December 3, 2026 13:53 — with
GitHub Actions
Inactive
This branch was previously deployed
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, clean-room)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)LICENSES/for every library in3DPARTY.md, entries point at the pinned versionsAttribution wording: "based on the original ONLYOFFICE software developed by Ascensio System SIA".
Tests: the licence gate passes on this branch,
modrecord --note --checkpasses. Repo licence tests:scripts/test_3dparty_licences.py. TheLicence noticescheck fails until Euro-Office/.github#41 lands.Land together with: 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/desktop-apps#158, 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