Repository navigation
chore(license): adopt the upstream 9.4 licence and per-file modification notices - #312
Merged
Merged
Conversation
This was referenced Dec 3, 2026
juliusknorr
force-pushed
the
licence/9.4
branch
2 times, most recently
from
December 3, 2026 14:56
9a7aa00 to
7865e6e
Compare
juliusknorr
marked this pull request as ready for review
December 3, 2026 18:44
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?
Member
Author
|
Not intended, switched to |
juliusknorr
force-pushed
the
licence/9.4
branch
from
December 4, 2026 09:16
d0cc0bd to
bd1c037
Compare
Revert the Section 7 header strip from 9ea562a on the files that still exist upstream, so upstream's header update applies on top unchanged. Kept as they are: files we deleted since (build/Gruntfile.js and the build/deserializer scripts) and the custom-text-annotator files, which upstream no longer has. This reverts part of commit 9ea562a. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit ef4bcc6) Signed-off-by: Julius Knorr <jus@bitgrid.net>
not_our_header=0 replaced=744 no_header=2 vendor=3 already_new=0 errors=0 (cherry picked from commit 8088a11) Signed-off-by: Julius Knorr <jus@bitgrid.net>
tools/update_color_schemes.py and common/bidi/generate-types.py still wrote the pre-9.4 header with the Section 7(b) logo clause, so a regenerated common/Shapes/ColorSchemes.js or common/bidi/unicode-data.js would bring the old terms back. Both now write the header those files carry since upstream's header update. 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
Our own files build/dummy.js, tests/common/api/api-compiled.js, tests/word/drawings/groupShapeTables.js, tests/word/styles/tableStylesWrite.js and the test pages tests/common/api/api-slide.html and api-visio.html get the SPDX pair in place of the header they were written with, or none. tests/cell/spreadsheet-calculation/CheckboxTests.js and OpenRecalcTests.js, adapted from upstream tests, get Ascensio's 9.4 header verbatim plus our block. 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
New files get the SPDX pair, changed upstream files keep upstream's header and get our "Modified by" block. The note that the fork removed LV-1050 from every header is no longer true with the 9.4 headers. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: agent guidance only
Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: docs only
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
Each 3DPARTY.md entry links its text in LICENSES/, taken from the upstream licence file at the tag the vendored copy matches, or for copies of unknown version at the commit the licence file had when it was vendored. jquery_native.js is gone, so its entry goes too. A build test checks every entry links an existing text. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5
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
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
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 4, 2026 09:53
bd1c037 to
ff31ef4
Compare
It was added here, not changed from an upstream file, so it carries the SPDX pair instead of the modification notice. Signed-off-by: Julius Knorr <jus@bitgrid.net> Assisted-by: ClaudeCode:claude-opus-5-5 No-test: licence notice only, checked by the licence gate
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.
keepHeaderlist); our notice dropped where the file now equals upstream (3)-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)3DPARTY.mdAttribution 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:build/test/3dparty-licences.test.cjs. TheLicence noticescheck fails until Euro-Office/.github#41 lands.Land together with: Euro-Office/core#536, 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