Skip to content

chore(license): adopt the ONLYOFFICE 9.4 licence and per-file modification notices - #434

Draft
juliusknorr wants to merge 15 commits into
mainfrom
licence/9.4
Draft

juliusknorr wants to merge 15 commits into
mainfrom
licence/9.4

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

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.

  • Cherry-pick upstream's 9.4 licence commits (-x, licence files and headers only, no code)
  • Mark every file we changed with "Modified by Euro-Office contributors, see MODIFICATIONS.txt" and SPDX-FileCopyrightText: Euro-Office contributors after the upstream header; files we added get the SPDX pair only
  • REUSE.toml for 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)
  • Packaging: ship LICENSE, LICENSE-CC, NOTICE (with the written source offer), the combined MODIFICATIONS.txt and the third-party notices in the macOS app and all Windows/Linux packages
  • Release tags regenerate the submodules' full licence records (build.yml)
  • README has the attribution and additional terms; ATTRIBUTION dropped

Attribution wording: "based on the original ONLYOFFICE software developed by Ascensio System SIA".

Tests: the licence gate passes on this branch, modrecord --note --check passes. No repo licence tests here beyond the gate. The Licence notices check fails until Euro-Office/.github#41 lands.

Pin bumps are not in this PR: they follow at landing, after the component PRs merge (pins never point at unmerged commits).

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/desktop-apps#158, Euro-Office/document-server-package#41, Euro-Office/document-server-proxy#3, Euro-Office/Docker-DocumentServer#2, Euro-Office/DocumentServer#641

trofim24 and others added 15 commits December 3, 2026 13:39
(cherry picked from commit 00c4e93)
Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit 9c2d5a2)
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
The desktop-common payload gets NOTICE and MODIFICATIONS.txt from the
desktop-apps notices target, so the Windows installers, the zip and the
macOS app ship them. The Linux package stage gets the records it combines.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: Docker and build-script wiring, the combine and notices target are tested in desktop-apps package/test/licence-metadata.sh
…s packages

The Windows payload extraction and the macOS staging take LICENSE, LICENSE-CC.txt and 3DPARTYLICENSE from the desktop-common payload, next to NOTICE and MODIFICATIONS.txt.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: build-script lists; desktop-apps package/test/licence-metadata.sh checks them only when run in a DesktopEditors checkout, no CI runs it there yet
desktop-apps builds 3DPARTYLICENSE from its own list plus core's 3DPARTY.md
and LICENSES/, so both stages that run its Makefile need them under /src/core.

No-test: covered by desktop-apps package/test/licence-metadata.sh with SUPERREPO set
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Use the wording of the package NOTICE, which also says Euro-Office is not affiliated with Ascensio System SIA.

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
On tags, a licence-records job writes MODIFICATIONS.txt of DesktopEditors and its component submodules for the pinned commits (licence action, mode record). build-common and build-linux put them over the committed copies before the payload and the packages are built.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: CI config, the record command is proven locally
desktop-apps renders the CEF version in NOTICE from core's nc-build.py.

No-test: checked by desktop-apps package/test/licence-metadata.sh with SUPERREPO
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
The README names the Section 7 terms and its badge links to our
LICENSE instead of the plain AGPL.

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
desktop-apps renders the Qt version of the written source offer in NOTICE from core/Common/3dParty/qt/nc-build.py, like the CEF one.

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 branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore desktop Desktop apps on all operating systems packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants