Fix license headers: correct copyright owner and add SPDX identifiers

JS files had wrong copyright owner (The Forgejo Authors → Bruno Postle).
Python files lacked SPDX-License-Identifier: LGPL-3.0-or-later.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bruno Postle 2026-05-19 21:07:23 +01:00
parent bd43c32fd5
commit 10ea3ca071
19 changed files with 19 additions and 6 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //
// ifcurl — inject "View in 3D" button on .ifc file view and history pages. // ifcurl — inject "View in 3D" button on .ifc file view and history pages.

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //
// Pure ifc:// URL logic shared between viewer.html and tests. // Pure ifc:// URL logic shared between viewer.html and tests.

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //
// Pure utility functions shared between viewer.js, ifcurl.js, and tests. // Pure utility functions shared between viewer.js, ifcurl.js, and tests.

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
import { THREE, OBC, OBCF, JSZip } from "/assets/viewer-deps.js"; import { THREE, OBC, OBCF, JSZip } from "/assets/viewer-deps.js";
import { parseIfcUrl, toRawUrl, buildIfcUrl as _buildIfcUrl } from "./viewer-url.js"; import { parseIfcUrl, toRawUrl, buildIfcUrl as _buildIfcUrl } from "./viewer-url.js";

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
import { test, describe } from "node:test"; import { test, describe } from "node:test";

View file

@ -1,4 +1,4 @@
// Copyright 2026 The Forgejo Authors. All rights reserved. // Copyright 2026 Bruno Postle <bruno@postle.net>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
import { test, describe } from "node:test"; import { test, describe } from "node:test";

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — BCF 3.0 REST API routes # IFC URL — BCF 3.0 REST API routes
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — OpenCDE Documents API routes # IFC URL — OpenCDE Documents API routes
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #

View file

@ -1,5 +1,6 @@
# IFC URL — resolve and render ifc:// URLs # IFC URL — resolve and render ifc:// URLs
# Copyright (C) 2026 Bruno Postle <bruno@postle.net> # Copyright (C) 2026 Bruno Postle <bruno@postle.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
# #
# This file is part of IFC URL. # This file is part of IFC URL.
# #