From 7f5333e7025b096de5bfa71159561785d6b334b2 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Dec 2025 14:33:59 +0000 Subject: [PATCH 01/10] fix: restore proper license headers for third-party code and add attribution This commit addresses license compliance issues identified during an audit: 1. Restored original MIT license headers for third-party code: - pyright-language-service/src/*.ts (TypeFox monaco-languageclient) - common/workflow-operator/src/main/scala/com/kjetland/** (mbknor-jackson-jsonschema) - frontend/src/app/common/formly/array.type.ts (Google Angular) 2. Updated LICENSE file with proper third-party attribution section including full MIT license text for each bundled dependency 3. Updated .licenserc.yaml to exclude third-party files from Apache license header checking 4. Added sbt-license-report plugin (v1.7.0) for automated dependency license tracking and compliance auditing The third-party code (all MIT licensed, Category A) is compatible with Apache License 2.0 but requires proper attribution per Apache policy. --- .licenserc.yaml | 6 + LICENSE | 104 ++++++++++++++++++ .../jackson/jsonSchema/JsonSchemaDraft.java | 19 +--- .../jsonSchema/JsonSchemaGenerator.scala | 19 +--- .../JsonSchemaArrayWithUniqueItems.java | 20 +--- .../annotations/JsonSchemaBool.java | 20 +--- .../annotations/JsonSchemaDefault.java | 20 +--- .../annotations/JsonSchemaDescription.java | 20 +--- .../annotations/JsonSchemaExamples.java | 20 +--- .../annotations/JsonSchemaFormat.java | 20 +--- .../annotations/JsonSchemaInject.java | 20 +--- .../jsonSchema/annotations/JsonSchemaInt.java | 20 +--- .../annotations/JsonSchemaOptions.java | 20 +--- .../annotations/JsonSchemaString.java | 20 +--- .../annotations/JsonSchemaTitle.java | 20 +--- frontend/src/app/common/formly/array.type.ts | 23 +--- project/plugins.sbt | 3 + .../src/language-server-runner.ts | 23 +--- pyright-language-service/src/main.ts | 23 +--- .../src/server-commons.ts | 23 +--- 20 files changed, 196 insertions(+), 267 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index fed8faf136e..57e9da64bdc 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -26,3 +26,9 @@ header: - '.licenserc.yaml' - 'frontend/.yarn/**' - 'amber/src/main/python/proto/**' + # Third-party code with MIT license - see LICENSE file for attribution + - 'pyright-language-service/src/main.ts' + - 'pyright-language-service/src/language-server-runner.ts' + - 'pyright-language-service/src/server-commons.ts' + - 'common/workflow-operator/src/main/scala/com/kjetland/**' + - 'frontend/src/app/common/formly/array.type.ts' diff --git a/LICENSE b/LICENSE index 261eeb9e9f8..62711d245a1 100644 --- a/LICENSE +++ b/LICENSE @@ -199,3 +199,107 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +-------------------------------------------------------------------------------- +THIRD-PARTY DEPENDENCIES +-------------------------------------------------------------------------------- + +This product bundles source code from third-party projects. The following +sections list these bundled dependencies and their licenses. + +================================================================================ +monaco-languageclient (MIT License) +================================================================================ + +The following files are derived from monaco-languageclient by TypeFox: + - pyright-language-service/src/language-server-runner.ts + - pyright-language-service/src/server-commons.ts + - pyright-language-service/src/main.ts + +Source: https://github.com/TypeFox/monaco-languageclient + +Copyright (c) 2024 TypeFox and others. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ +mbknor-jackson-jsonschema (MIT License) +================================================================================ + +The following files are derived from mbknor-jackson-jsonschema: + - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala + - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java + - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/*.java + +Source: https://github.com/mbknor/mbknor-jackson-jsonschema + +Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ +Angular (MIT License) +================================================================================ + +The following file contains code derived from Angular examples: + - frontend/src/app/common/formly/array.type.ts + +Source: https://angular.io + +Copyright (c) 2018 Google Inc. All Rights Reserved. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java index 4a75e2f44c4..60f3a6d0b1e 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java @@ -1,20 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ package com.kjetland.jackson.jsonSchema; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala index 69bf1c11963..395de278997 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala @@ -1,20 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ package com.kjetland.jackson.jsonSchema diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaArrayWithUniqueItems.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaArrayWithUniqueItems.java index 1e5d8d231a3..752424cde99 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaArrayWithUniqueItems.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaArrayWithUniqueItems.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaBool.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaBool.java index 384651567b4..176b0d2be66 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaBool.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaBool.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDefault.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDefault.java index f03682ff64b..b6f15ab751e 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDefault.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDefault.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDescription.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDescription.java index 59a01ec2ec5..6aca3afec48 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDescription.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaDescription.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaExamples.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaExamples.java index b7a56eea9e8..e955bbe05af 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaExamples.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaExamples.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaFormat.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaFormat.java index 67fc164a360..0864f6cafcd 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaFormat.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaFormat.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInject.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInject.java index af8932bfa93..3b2df70eac8 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInject.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInject.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import com.fasterxml.jackson.databind.JsonNode; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInt.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInt.java index 95e93304f78..b356cba7009 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInt.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaInt.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaOptions.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaOptions.java index 188bc9d0f18..75f3b4a7052 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaOptions.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaOptions.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaString.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaString.java index db9587e36e7..97052da15e1 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaString.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaString.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaTitle.java b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaTitle.java index a31002bc1c0..031df809c8f 100644 --- a/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaTitle.java +++ b/common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/JsonSchemaTitle.java @@ -1,22 +1,12 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + * Licensed under the MIT License. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from mbknor-jackson-jsonschema. + * Source: https://github.com/mbknor/mbknor-jackson-jsonschema */ + package com.kjetland.jackson.jsonSchema.annotations; import java.lang.annotation.Retention; diff --git a/frontend/src/app/common/formly/array.type.ts b/frontend/src/app/common/formly/array.type.ts index 5f4bf66455f..9306d43ff77 100644 --- a/frontend/src/app/common/formly/array.type.ts +++ b/frontend/src/app/common/formly/array.type.ts @@ -1,20 +1,10 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright 2018 Google Inc. All Rights Reserved. + * Use of this source code is governed by an MIT-style license that + * can be found in the LICENSE file at http://angular.io/license * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from Angular examples. + * Source: https://angular.io */ import { Component } from "@angular/core"; @@ -59,6 +49,3 @@ import { FieldArrayType } from "@ngx-formly/core"; `, }) export class ArrayTypeComponent extends FieldArrayType {} -/** Copyright 2018 Google Inc. All Rights Reserved. - Use of this source code is governed by an MIT-style license that - can be found in the LICENSE file at http://angular.io/license */ diff --git a/project/plugins.sbt b/project/plugins.sbt index 10ff0786895..0e91da0ef84 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -17,6 +17,9 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0") +// License reporting for dependency compliance auditing +// See: https://github.com/sbt/sbt-license-report +addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.7.0") libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.1" addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1") diff --git a/pyright-language-service/src/language-server-runner.ts b/pyright-language-service/src/language-server-runner.ts index 9773c7cc8d2..7a36e8dea95 100644 --- a/pyright-language-service/src/language-server-runner.ts +++ b/pyright-language-service/src/language-server-runner.ts @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/language-server-runner.ts import {WebSocketServer} from "ws"; import {Server} from 'node:http'; diff --git a/pyright-language-service/src/main.ts b/pyright-language-service/src/main.ts index 8cd21134d80..284fdadb7d7 100644 --- a/pyright-language-service/src/main.ts +++ b/pyright-language-service/src/main.ts @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/server/main.ts import {dirname, resolve} from "node:path"; import {runLanguageServer} from "./language-server-runner.ts"; diff --git a/pyright-language-service/src/server-commons.ts b/pyright-language-service/src/server-commons.ts index 5ef2e6f0edf..1a942d00c0d 100644 --- a/pyright-language-service/src/server-commons.ts +++ b/pyright-language-service/src/server-commons.ts @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/server-commons.ts import {ServerOptions, WebSocketServer} from "ws"; import {IncomingMessage, Server} from "node:http"; From 821a4127cf6c35122410d579e911aab4815d2f60 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 17 Dec 2025 12:54:30 +0000 Subject: [PATCH 02/10] fix: remove pyright changes (handled by PR #4132) Remove pyright-language-service license header changes as they are already addressed in PR #4132. This commit now focuses only on: - mbknor-jackson-jsonschema (MIT license attribution) - Angular array.type.ts (MIT license attribution) - sbt-license-report plugin for dependency tracking --- .licenserc.yaml | 3 -- LICENSE | 33 ------------------- .../src/language-server-runner.ts | 23 ++++++++++--- pyright-language-service/src/main.ts | 23 ++++++++++--- .../src/server-commons.ts | 23 ++++++++++--- 5 files changed, 54 insertions(+), 51 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 57e9da64bdc..7285e6e130b 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -27,8 +27,5 @@ header: - 'frontend/.yarn/**' - 'amber/src/main/python/proto/**' # Third-party code with MIT license - see LICENSE file for attribution - - 'pyright-language-service/src/main.ts' - - 'pyright-language-service/src/language-server-runner.ts' - - 'pyright-language-service/src/server-commons.ts' - 'common/workflow-operator/src/main/scala/com/kjetland/**' - 'frontend/src/app/common/formly/array.type.ts' diff --git a/LICENSE b/LICENSE index 62711d245a1..9c0cabf7e10 100644 --- a/LICENSE +++ b/LICENSE @@ -207,39 +207,6 @@ THIRD-PARTY DEPENDENCIES This product bundles source code from third-party projects. The following sections list these bundled dependencies and their licenses. -================================================================================ -monaco-languageclient (MIT License) -================================================================================ - -The following files are derived from monaco-languageclient by TypeFox: - - pyright-language-service/src/language-server-runner.ts - - pyright-language-service/src/server-commons.ts - - pyright-language-service/src/main.ts - -Source: https://github.com/TypeFox/monaco-languageclient - -Copyright (c) 2024 TypeFox and others. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ================================================================================ mbknor-jackson-jsonschema (MIT License) ================================================================================ diff --git a/pyright-language-service/src/language-server-runner.ts b/pyright-language-service/src/language-server-runner.ts index 7a36e8dea95..9773c7cc8d2 100644 --- a/pyright-language-service/src/language-server-runner.ts +++ b/pyright-language-service/src/language-server-runner.ts @@ -1,8 +1,21 @@ -/* -------------------------------------------------------------------------------------------- - * Copyright (c) 2024 TypeFox and others. - * Licensed under the MIT License. See LICENSE in the package root for license information. - * ------------------------------------------------------------------------------------------ */ -// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/language-server-runner.ts +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import {WebSocketServer} from "ws"; import {Server} from 'node:http'; diff --git a/pyright-language-service/src/main.ts b/pyright-language-service/src/main.ts index 284fdadb7d7..8cd21134d80 100644 --- a/pyright-language-service/src/main.ts +++ b/pyright-language-service/src/main.ts @@ -1,8 +1,21 @@ -/* -------------------------------------------------------------------------------------------- - * Copyright (c) 2024 TypeFox and others. - * Licensed under the MIT License. See LICENSE in the package root for license information. - * ------------------------------------------------------------------------------------------ */ -// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/server/main.ts +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import {dirname, resolve} from "node:path"; import {runLanguageServer} from "./language-server-runner.ts"; diff --git a/pyright-language-service/src/server-commons.ts b/pyright-language-service/src/server-commons.ts index 1a942d00c0d..5ef2e6f0edf 100644 --- a/pyright-language-service/src/server-commons.ts +++ b/pyright-language-service/src/server-commons.ts @@ -1,8 +1,21 @@ -/* -------------------------------------------------------------------------------------------- - * Copyright (c) 2024 TypeFox and others. - * Licensed under the MIT License. See LICENSE in the package root for license information. - * ------------------------------------------------------------------------------------------ */ -// This file is derived from: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/server-commons.ts +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import {ServerOptions, WebSocketServer} from "ws"; import {IncomingMessage, Server} from "node:http"; From 2d5fa02441b3fdaa8d7d4522a0bbef89f3909468 Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Sun, 28 Dec 2025 14:45:51 -0800 Subject: [PATCH 03/10] add attribution for other files under formly --- .../src/app/common/formly/multischema.type.ts | 20 +++++-------------- frontend/src/app/common/formly/null.type.ts | 20 +++++-------------- frontend/src/app/common/formly/object.type.ts | 20 +++++-------------- 3 files changed, 15 insertions(+), 45 deletions(-) diff --git a/frontend/src/app/common/formly/multischema.type.ts b/frontend/src/app/common/formly/multischema.type.ts index 331a9c14b62..eb4b323b2b6 100644 --- a/frontend/src/app/common/formly/multischema.type.ts +++ b/frontend/src/app/common/formly/multischema.type.ts @@ -1,20 +1,10 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright 2018 Google Inc. All Rights Reserved. + * Use of this source code is governed by an MIT-style license that + * can be found in the LICENSE file at http://angular.io/license * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from Angular examples. + * Source: https://angular.io */ import { Component } from "@angular/core"; diff --git a/frontend/src/app/common/formly/null.type.ts b/frontend/src/app/common/formly/null.type.ts index 4847a4357b7..ad32291e631 100644 --- a/frontend/src/app/common/formly/null.type.ts +++ b/frontend/src/app/common/formly/null.type.ts @@ -1,20 +1,10 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright 2018 Google Inc. All Rights Reserved. + * Use of this source code is governed by an MIT-style license that + * can be found in the LICENSE file at http://angular.io/license * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from Angular examples. + * Source: https://angular.io */ import { Component } from "@angular/core"; diff --git a/frontend/src/app/common/formly/object.type.ts b/frontend/src/app/common/formly/object.type.ts index 55cc37eaff9..7bac5439ecb 100644 --- a/frontend/src/app/common/formly/object.type.ts +++ b/frontend/src/app/common/formly/object.type.ts @@ -1,20 +1,10 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Copyright 2018 Google Inc. All Rights Reserved. + * Use of this source code is governed by an MIT-style license that + * can be found in the LICENSE file at http://angular.io/license * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. + * This file is derived from Angular examples. + * Source: https://angular.io */ import { Component } from "@angular/core"; From f204141f36024f8934791d4f4a911424d694b74a Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Fri, 2 Jan 2026 17:45:12 -0800 Subject: [PATCH 04/10] move license text to a separate folder --- LICENSE | 76 ++++++++-------------------------------- licenses/LICENSE-MIT.txt | 19 ++++++++++ 2 files changed, 33 insertions(+), 62 deletions(-) create mode 100644 licenses/LICENSE-MIT.txt diff --git a/LICENSE b/LICENSE index 9c0cabf7e10..929b1de5935 100644 --- a/LICENSE +++ b/LICENSE @@ -204,69 +204,21 @@ THIRD-PARTY DEPENDENCIES -------------------------------------------------------------------------------- -This product bundles source code from third-party projects. The following -sections list these bundled dependencies and their licenses. - -================================================================================ -mbknor-jackson-jsonschema (MIT License) -================================================================================ - -The following files are derived from mbknor-jackson-jsonschema: - - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaGenerator.scala - - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/JsonSchemaDraft.java - - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/annotations/*.java - -Source: https://github.com/mbknor/mbknor-jackson-jsonschema - -Copyright (c) 2016 Kjell Tore Eliassen (mbknor) +This product bundles source code from third-party projects. See licenses/ for +the full text of these licenses. MIT License +----------- -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -================================================================================ -Angular (MIT License) -================================================================================ - -The following file contains code derived from Angular examples: - - frontend/src/app/common/formly/array.type.ts - -Source: https://angular.io - -Copyright (c) 2018 Google Inc. All Rights Reserved. +This product bundles code derived from mbknor-jackson-jsonschema: + - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/ + Copyright (c) 2016 Kjell Tore Eliassen (mbknor) + Source: https://github.com/mbknor/mbknor-jackson-jsonschema -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +This product bundles code derived from Angular examples: + - frontend/src/app/common/formly/array.type.ts + - frontend/src/app/common/formly/object.type.ts + - frontend/src/app/common/formly/multischema.type.ts + - frontend/src/app/common/formly/null.type.ts + Copyright (c) 2018 Google Inc. All Rights Reserved. + Source: https://angular.io diff --git a/licenses/LICENSE-MIT.txt b/licenses/LICENSE-MIT.txt new file mode 100644 index 00000000000..9cf106272ac --- /dev/null +++ b/licenses/LICENSE-MIT.txt @@ -0,0 +1,19 @@ +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From a3a974c4c2e1e3edfd93a8d16e717ab74bc92748 Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Sat, 3 Jan 2026 13:34:44 -0800 Subject: [PATCH 05/10] fix license text --- .licenserc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.licenserc.yaml b/.licenserc.yaml index 7285e6e130b..f6d10c3a5ef 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -29,3 +29,6 @@ header: # Third-party code with MIT license - see LICENSE file for attribution - 'common/workflow-operator/src/main/scala/com/kjetland/**' - 'frontend/src/app/common/formly/array.type.ts' + - 'frontend/src/app/common/formly/object.type.ts' + - 'frontend/src/app/common/formly/multischema.type.ts' + - 'frontend/src/app/common/formly/null.type.ts' From c165e6211d34a960c99d47eb35e2b91ef09dd309 Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Wed, 7 Jan 2026 22:17:38 -0800 Subject: [PATCH 06/10] merge PR 4132's changes --- .licenserc.yaml | 1 + .../src/language-server-runner.ts | 23 ++++-------------- pyright-language-service/src/main.ts | 19 +-------------- .../src/server-commons.ts | 24 ++++--------------- .../src/types/hocon-parser.d.ts | 19 --------------- 5 files changed, 12 insertions(+), 74 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index f6d10c3a5ef..e0951f97f78 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -26,6 +26,7 @@ header: - '.licenserc.yaml' - 'frontend/.yarn/**' - 'amber/src/main/python/proto/**' + - 'pyright-language-service/**' # Third-party code with MIT license - see LICENSE file for attribution - 'common/workflow-operator/src/main/scala/com/kjetland/**' - 'frontend/src/app/common/formly/array.type.ts' diff --git a/pyright-language-service/src/language-server-runner.ts b/pyright-language-service/src/language-server-runner.ts index 9773c7cc8d2..43d2086248c 100644 --- a/pyright-language-service/src/language-server-runner.ts +++ b/pyright-language-service/src/language-server-runner.ts @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/language-server-runner.ts import {WebSocketServer} from "ws"; import {Server} from 'node:http'; diff --git a/pyright-language-service/src/main.ts b/pyright-language-service/src/main.ts index 8cd21134d80..a8f7d760def 100644 --- a/pyright-language-service/src/main.ts +++ b/pyright-language-service/src/main.ts @@ -1,21 +1,4 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +//The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/server/main.ts import {dirname, resolve} from "node:path"; import {runLanguageServer} from "./language-server-runner.ts"; diff --git a/pyright-language-service/src/server-commons.ts b/pyright-language-service/src/server-commons.ts index 5ef2e6f0edf..27a9e68d890 100644 --- a/pyright-language-service/src/server-commons.ts +++ b/pyright-language-service/src/server-commons.ts @@ -1,22 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +//The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/common/node/server-commons.ts import {ServerOptions, WebSocketServer} from "ws"; import {IncomingMessage, Server} from "node:http"; import {fileURLToPath, URL} from "node:url"; diff --git a/pyright-language-service/src/types/hocon-parser.d.ts b/pyright-language-service/src/types/hocon-parser.d.ts index 47008074dcb..746700409c9 100644 --- a/pyright-language-service/src/types/hocon-parser.d.ts +++ b/pyright-language-service/src/types/hocon-parser.d.ts @@ -1,22 +1,3 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - declare module 'hocon-parser' { /** * The module itself is callable, accepting a string (HOCON config) and returning a parsed object. From 37a4b20c66b35820d7abbea540dfeadafceb942a Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Sun, 11 Jan 2026 22:18:21 -0800 Subject: [PATCH 07/10] add licenses for SVG partially --- .licenserc.yaml | 5 ++++ LICENSE | 22 ++++++++++++++- .../svg/operator-reuse-cache-invalid.svg | 20 +------------ .../assets/svg/operator-reuse-cache-valid.svg | 20 +------------ .../src/assets/svg/operator-view-result.svg | 20 +------------ licenses/LICENSE-CC-BY-3.0.txt | 28 +++++++++++++++++++ 6 files changed, 57 insertions(+), 58 deletions(-) create mode 100644 licenses/LICENSE-CC-BY-3.0.txt diff --git a/.licenserc.yaml b/.licenserc.yaml index e0951f97f78..5d423e0e92d 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -33,3 +33,8 @@ header: - 'frontend/src/app/common/formly/object.type.ts' - 'frontend/src/app/common/formly/multischema.type.ts' - 'frontend/src/app/common/formly/null.type.ts' + # Third-party SVG assets - see LICENSE file for attribution + - 'frontend/src/assets/svg/operator-view-result.svg' + - 'frontend/src/assets/svg/operator-reuse-cache-invalid.svg' + - 'frontend/src/assets/svg/operator-reuse-cache-valid.svg' + - 'frontend/src/assets/svg/hub_icon.svg' diff --git a/LICENSE b/LICENSE index 929b1de5935..5c3bb1c303e 100644 --- a/LICENSE +++ b/LICENSE @@ -205,7 +205,9 @@ THIRD-PARTY DEPENDENCIES -------------------------------------------------------------------------------- This product bundles source code from third-party projects. See licenses/ for -the full text of these licenses. +the full text of these licenses: + - licenses/LICENSE-MIT.txt + - licenses/LICENSE-CC-BY-3.0.txt MIT License ----------- @@ -222,3 +224,21 @@ This product bundles code derived from Angular examples: - frontend/src/app/common/formly/null.type.ts Copyright (c) 2018 Google Inc. All Rights Reserved. Source: https://angular.io + +SVG Icons +--------- + +This product includes SVG icons from third-party sources: + + - frontend/src/assets/svg/operator-view-result.svg + Source: SVGRepo (https://www.svgrepo.com) + License: MIT License + + - frontend/src/assets/svg/operator-reuse-cache-invalid.svg + - frontend/src/assets/svg/operator-reuse-cache-valid.svg + Source: The Noun Project (https://thenounproject.com) + License: CC BY 3.0 + + - frontend/src/assets/svg/hub_icon.svg + Source: Third-party stock illustration + License: To be verified diff --git a/frontend/src/assets/svg/operator-reuse-cache-invalid.svg b/frontend/src/assets/svg/operator-reuse-cache-invalid.svg index 3a39cd6ec35..1db0b568aa3 100644 --- a/frontend/src/assets/svg/operator-reuse-cache-invalid.svg +++ b/frontend/src/assets/svg/operator-reuse-cache-invalid.svg @@ -1,22 +1,4 @@ - - +

Texera Hub

provided by Texera and our community.

- - hub icon
diff --git a/frontend/src/assets/svg/hub_icon.svg b/frontend/src/assets/svg/hub_icon.svg deleted file mode 100644 index 0c9a299c5d3..00000000000 --- a/frontend/src/assets/svg/hub_icon.svg +++ /dev/null @@ -1,576 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 2eb037f8d17213c57ee00c86f98da92bdf8f27ca Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Mon, 12 Jan 2026 14:42:48 -0800 Subject: [PATCH 09/10] resolve comments --- .licenserc.yaml | 5 ++- LICENSE | 32 ++++++++++++------- pyright-language-service/src/main.ts | 6 +++- .../src/types/hocon-parser.d.ts | 19 +++++++++++ 4 files changed, 49 insertions(+), 13 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 71f963b9c43..65e6c762904 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -26,9 +26,12 @@ header: - '.licenserc.yaml' - 'frontend/.yarn/**' - 'amber/src/main/python/proto/**' - - 'pyright-language-service/**' # Third-party code with MIT license - see LICENSE file for attribution - 'common/workflow-operator/src/main/scala/com/kjetland/**' + # TypeFox monaco-languageclient derived files (MIT License) + - 'pyright-language-service/src/main.ts' + - 'pyright-language-service/src/language-server-runner.ts' + - 'pyright-language-service/src/server-commons.ts' - 'frontend/src/app/common/formly/array.type.ts' - 'frontend/src/app/common/formly/object.type.ts' - 'frontend/src/app/common/formly/multischema.type.ts' diff --git a/LICENSE b/LICENSE index e8011bf509a..a3078aa4d69 100644 --- a/LICENSE +++ b/LICENSE @@ -204,20 +204,20 @@ THIRD-PARTY DEPENDENCIES -------------------------------------------------------------------------------- -This product bundles source code from third-party projects. See licenses/ for -the full text of these licenses: +This product bundles source code and assets from third-party projects. +See licenses/ for the full text of these licenses: - licenses/LICENSE-MIT.txt - licenses/LICENSE-CC-BY-3.0.txt -MIT License ------------ +MIT License (licenses/LICENSE-MIT.txt) +-------------------------------------- This product bundles code derived from mbknor-jackson-jsonschema: - common/workflow-operator/src/main/scala/com/kjetland/jackson/jsonSchema/ Copyright (c) 2016 Kjell Tore Eliassen (mbknor) Source: https://github.com/mbknor/mbknor-jackson-jsonschema -This product bundles code derived from Angular examples: +This product bundles code derived from Google Angular formly examples: - frontend/src/app/common/formly/array.type.ts - frontend/src/app/common/formly/object.type.ts - frontend/src/app/common/formly/multischema.type.ts @@ -225,14 +225,24 @@ This product bundles code derived from Angular examples: Copyright (c) 2018 Google Inc. All Rights Reserved. Source: https://angular.io -SVG Icons ---------- - -This product includes SVG icons from third-party sources: +This product bundles code derived from TypeFox monaco-languageclient: + - pyright-language-service/src/main.ts + - pyright-language-service/src/language-server-runner.ts + - pyright-language-service/src/server-commons.ts + Copyright (c) 2024 TypeFox and others. + Source: https://github.com/TypeFox/monaco-languageclient +This product includes an SVG icon from SVGRepo: - frontend/src/assets/svg/operator-view-result.svg - Source: SVGRepo (https://www.svgrepo.com) - License: MIT License + Source: https://www.svgrepo.com + License: MIT License + +CC BY 3.0 License (licenses/LICENSE-CC-BY-3.0.txt) +-------------------------------------------------- + +NOTE: The following files use CC BY 3.0 license which requires attribution. +Per ASF policy, these should be replaced with Apache-compatible licensed +alternatives before official release. - frontend/src/assets/svg/operator-reuse-cache-invalid.svg - frontend/src/assets/svg/operator-reuse-cache-valid.svg diff --git a/pyright-language-service/src/main.ts b/pyright-language-service/src/main.ts index a8f7d760def..43cbf93ac49 100644 --- a/pyright-language-service/src/main.ts +++ b/pyright-language-service/src/main.ts @@ -1,4 +1,8 @@ -//The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/server/main.ts +/* -------------------------------------------------------------------------------------------- + * Copyright (c) 2024 TypeFox and others. + * Licensed under the MIT License. See LICENSE in the package root for license information. + * ------------------------------------------------------------------------------------------ */ +// The source file can be referred to: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/server/main.ts import {dirname, resolve} from "node:path"; import {runLanguageServer} from "./language-server-runner.ts"; diff --git a/pyright-language-service/src/types/hocon-parser.d.ts b/pyright-language-service/src/types/hocon-parser.d.ts index 746700409c9..3b669f03800 100644 --- a/pyright-language-service/src/types/hocon-parser.d.ts +++ b/pyright-language-service/src/types/hocon-parser.d.ts @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + declare module 'hocon-parser' { /** * The module itself is callable, accepting a string (HOCON config) and returning a parsed object. From e5ceba782d99815ad42ced522122c1d6eb8ca4b9 Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Mon, 12 Jan 2026 15:56:41 -0800 Subject: [PATCH 10/10] replace with mit licenses --- LICENSE | 17 ++--------- .../svg/operator-reuse-cache-invalid.svg | 8 ++---- .../assets/svg/operator-reuse-cache-valid.svg | 10 +++---- licenses/LICENSE-CC-BY-3.0.txt | 28 ------------------- 4 files changed, 11 insertions(+), 52 deletions(-) delete mode 100644 licenses/LICENSE-CC-BY-3.0.txt diff --git a/LICENSE b/LICENSE index a3078aa4d69..6734840ae8d 100644 --- a/LICENSE +++ b/LICENSE @@ -207,7 +207,6 @@ THIRD-PARTY DEPENDENCIES This product bundles source code and assets from third-party projects. See licenses/ for the full text of these licenses: - licenses/LICENSE-MIT.txt - - licenses/LICENSE-CC-BY-3.0.txt MIT License (licenses/LICENSE-MIT.txt) -------------------------------------- @@ -232,19 +231,9 @@ This product bundles code derived from TypeFox monaco-languageclient: Copyright (c) 2024 TypeFox and others. Source: https://github.com/TypeFox/monaco-languageclient -This product includes an SVG icon from SVGRepo: +This product includes SVG icons from SVGRepo: - frontend/src/assets/svg/operator-view-result.svg + - frontend/src/assets/svg/operator-reuse-cache-valid.svg + - frontend/src/assets/svg/operator-reuse-cache-invalid.svg Source: https://www.svgrepo.com License: MIT License - -CC BY 3.0 License (licenses/LICENSE-CC-BY-3.0.txt) --------------------------------------------------- - -NOTE: The following files use CC BY 3.0 license which requires attribution. -Per ASF policy, these should be replaced with Apache-compatible licensed -alternatives before official release. - - - frontend/src/assets/svg/operator-reuse-cache-invalid.svg - - frontend/src/assets/svg/operator-reuse-cache-valid.svg - Source: The Noun Project (https://thenounproject.com) - License: CC BY 3.0 diff --git a/frontend/src/assets/svg/operator-reuse-cache-invalid.svg b/frontend/src/assets/svg/operator-reuse-cache-invalid.svg index 1db0b568aa3..b302f29192f 100644 --- a/frontend/src/assets/svg/operator-reuse-cache-invalid.svg +++ b/frontend/src/assets/svg/operator-reuse-cache-invalid.svg @@ -1,5 +1,3 @@ - - + + + \ No newline at end of file diff --git a/frontend/src/assets/svg/operator-reuse-cache-valid.svg b/frontend/src/assets/svg/operator-reuse-cache-valid.svg index f4a9ea2b87e..b0ece0d4e0a 100644 --- a/frontend/src/assets/svg/operator-reuse-cache-valid.svg +++ b/frontend/src/assets/svg/operator-reuse-cache-valid.svg @@ -1,5 +1,5 @@ - - + + + + + \ No newline at end of file diff --git a/licenses/LICENSE-CC-BY-3.0.txt b/licenses/LICENSE-CC-BY-3.0.txt deleted file mode 100644 index ba932ea6e5c..00000000000 --- a/licenses/LICENSE-CC-BY-3.0.txt +++ /dev/null @@ -1,28 +0,0 @@ -Creative Commons Attribution 3.0 Unported (CC BY 3.0) - -This is a human-readable summary of (and not a substitute for) the license. -Full license text: https://creativecommons.org/licenses/by/3.0/legalcode - -You are free to: - Share - copy and redistribute the material in any medium or format - Adapt - remix, transform, and build upon the material for any purpose, - even commercially. - -Under the following terms: - Attribution - You must give appropriate credit, provide a link to the - license, and indicate if changes were made. You may do so - in any reasonable manner, but not in any way that suggests - the licensor endorses you or your use. - - No additional restrictions - You may not apply legal terms or technological - measures that legally restrict others from doing - anything the license permits. - -Notices: - You do not have to comply with the license for elements of the material in - the public domain or where your use is permitted by an applicable exception - or limitation. - - No warranties are given. The license may not give you all of the permissions - necessary for your intended use. For example, other rights such as publicity, - privacy, or moral rights may limit how you use the material.