diff --git a/reactExamples/src/client/FileAttachmentPage/CreateDirectoryModal.tsx b/reactExamples/src/client/FileAttachmentPage/CreateDirectoryModal.tsx index 715f0bd..918af11 100644 --- a/reactExamples/src/client/FileAttachmentPage/CreateDirectoryModal.tsx +++ b/reactExamples/src/client/FileAttachmentPage/CreateDirectoryModal.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { ChangeEvent, FC, memo, useCallback, useState } from 'react'; import { Modal } from '@labkey/components'; diff --git a/reactExamples/src/client/FileAttachmentPage/FileAttachmentForm.tsx b/reactExamples/src/client/FileAttachmentPage/FileAttachmentForm.tsx index 52bae5f..9fd2838 100644 --- a/reactExamples/src/client/FileAttachmentPage/FileAttachmentForm.tsx +++ b/reactExamples/src/client/FileAttachmentPage/FileAttachmentForm.tsx @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 LabKey Corporation + * Copyright (c) 2023-2026 LabKey Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/reactExamples/src/client/FileAttachmentPage/FileAttachmentPanel.tsx b/reactExamples/src/client/FileAttachmentPage/FileAttachmentPanel.tsx index fc5d560..7e58d1a 100644 --- a/reactExamples/src/client/FileAttachmentPage/FileAttachmentPanel.tsx +++ b/reactExamples/src/client/FileAttachmentPage/FileAttachmentPanel.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, memo, useCallback } from 'react'; import { FileAttachmentForm } from '@labkey/components'; import { Map } from 'immutable'; diff --git a/reactExamples/src/client/FileAttachmentPage/FileDisplayPanel.tsx b/reactExamples/src/client/FileAttachmentPage/FileDisplayPanel.tsx index fe1570e..ae0d109 100644 --- a/reactExamples/src/client/FileAttachmentPage/FileDisplayPanel.tsx +++ b/reactExamples/src/client/FileAttachmentPage/FileDisplayPanel.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, memo, useCallback, useEffect, useState } from 'react'; import { Draft, produce } from "immer"; import { ActionURL } from '@labkey/api'; diff --git a/reactExamples/src/client/FileAttachmentPage/actions.ts b/reactExamples/src/client/FileAttachmentPage/actions.ts index 1e54a85..7b519a6 100644 --- a/reactExamples/src/client/FileAttachmentPage/actions.ts +++ b/reactExamples/src/client/FileAttachmentPage/actions.ts @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import { ActionURL } from "@labkey/api"; import { getWebDavFiles, uploadWebDavFile, WebDavFile } from "@labkey/components"; diff --git a/reactExamples/src/client/FileAttachmentPage/app.tsx b/reactExamples/src/client/FileAttachmentPage/app.tsx index cca86d1..97c9d63 100644 --- a/reactExamples/src/client/FileAttachmentPage/app.tsx +++ b/reactExamples/src/client/FileAttachmentPage/app.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/FileAttachmentPage/constants.ts b/reactExamples/src/client/FileAttachmentPage/constants.ts index 7d42372..43fd6ea 100644 --- a/reactExamples/src/client/FileAttachmentPage/constants.ts +++ b/reactExamples/src/client/FileAttachmentPage/constants.ts @@ -1 +1,6 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ export const MY_ATTACHMENTS_DIR = 'MyAttachments'; \ No newline at end of file diff --git a/reactExamples/src/client/FileAttachmentPage/dev.tsx b/reactExamples/src/client/FileAttachmentPage/dev.tsx index 9b0651e..02bd96f 100644 --- a/reactExamples/src/client/FileAttachmentPage/dev.tsx +++ b/reactExamples/src/client/FileAttachmentPage/dev.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/FileAttachmentPage/models.ts b/reactExamples/src/client/FileAttachmentPage/models.ts index 5980405..4a42881 100644 --- a/reactExamples/src/client/FileAttachmentPage/models.ts +++ b/reactExamples/src/client/FileAttachmentPage/models.ts @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import { immerable } from "immer"; import { Map } from "immutable"; diff --git a/reactExamples/src/client/HelloWorldPage/HelloWorld.test.tsx b/reactExamples/src/client/HelloWorldPage/HelloWorld.test.tsx index ae9399d..259d6a9 100644 --- a/reactExamples/src/client/HelloWorldPage/HelloWorld.test.tsx +++ b/reactExamples/src/client/HelloWorldPage/HelloWorld.test.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { render } from '@testing-library/react'; import { App } from './HelloWorld'; diff --git a/reactExamples/src/client/HelloWorldPage/HelloWorld.tsx b/reactExamples/src/client/HelloWorldPage/HelloWorld.tsx index 1852e57..94d11df 100644 --- a/reactExamples/src/client/HelloWorldPage/HelloWorld.tsx +++ b/reactExamples/src/client/HelloWorldPage/HelloWorld.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { PureComponent } from 'react'; export class App extends PureComponent { diff --git a/reactExamples/src/client/HelloWorldPage/app.tsx b/reactExamples/src/client/HelloWorldPage/app.tsx index 41dcda7..b71f789 100644 --- a/reactExamples/src/client/HelloWorldPage/app.tsx +++ b/reactExamples/src/client/HelloWorldPage/app.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/HelloWorldPage/dev.tsx b/reactExamples/src/client/HelloWorldPage/dev.tsx index dc4a97c..ea1623c 100644 --- a/reactExamples/src/client/HelloWorldPage/dev.tsx +++ b/reactExamples/src/client/HelloWorldPage/dev.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/QueryModelPage/ExampleDetailPanel.tsx b/reactExamples/src/client/QueryModelPage/ExampleDetailPanel.tsx index 5b98634..3cd07b8 100644 --- a/reactExamples/src/client/QueryModelPage/ExampleDetailPanel.tsx +++ b/reactExamples/src/client/QueryModelPage/ExampleDetailPanel.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { PureComponent } from 'react'; import { DetailPanelWithModel, QueryConfig, SchemaQuery } from '@labkey/components'; import { getServerContext } from '@labkey/api'; diff --git a/reactExamples/src/client/QueryModelPage/ExampleGridPanel.tsx b/reactExamples/src/client/QueryModelPage/ExampleGridPanel.tsx index 173f821..75e0bc9 100644 --- a/reactExamples/src/client/QueryModelPage/ExampleGridPanel.tsx +++ b/reactExamples/src/client/QueryModelPage/ExampleGridPanel.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { PureComponent } from 'react'; import { GridPanel, InjectedQueryModels, withQueryModels } from '@labkey/components'; diff --git a/reactExamples/src/client/QueryModelPage/QueryModelExample.tsx b/reactExamples/src/client/QueryModelPage/QueryModelExample.tsx index 61c7510..0c3f18d 100644 --- a/reactExamples/src/client/QueryModelPage/QueryModelExample.tsx +++ b/reactExamples/src/client/QueryModelPage/QueryModelExample.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, PureComponent } from 'react'; import { Query, getServerContext } from '@labkey/api'; import { SchemaQuery, ServerContextProvider, withAppUser, AppContextProvider } from '@labkey/components'; diff --git a/reactExamples/src/client/QueryModelPage/app.tsx b/reactExamples/src/client/QueryModelPage/app.tsx index e8acdd8..a8b49dd 100644 --- a/reactExamples/src/client/QueryModelPage/app.tsx +++ b/reactExamples/src/client/QueryModelPage/app.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/QueryModelPage/dev.tsx b/reactExamples/src/client/QueryModelPage/dev.tsx index 904e644..8d4d626 100644 --- a/reactExamples/src/client/QueryModelPage/dev.tsx +++ b/reactExamples/src/client/QueryModelPage/dev.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/ToDoListPage/ToDoForm.tsx b/reactExamples/src/client/ToDoListPage/ToDoForm.tsx index e3308ab..a715ab6 100644 --- a/reactExamples/src/client/ToDoListPage/ToDoForm.tsx +++ b/reactExamples/src/client/ToDoListPage/ToDoForm.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, memo, useCallback, ChangeEvent } from 'react'; interface Props { diff --git a/reactExamples/src/client/ToDoListPage/ToDoList.tsx b/reactExamples/src/client/ToDoListPage/ToDoList.tsx index 4e769b4..f2b02d6 100644 --- a/reactExamples/src/client/ToDoListPage/ToDoList.tsx +++ b/reactExamples/src/client/ToDoListPage/ToDoList.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, memo, useCallback } from 'react'; import { getServerContext } from '@labkey/api'; diff --git a/reactExamples/src/client/ToDoListPage/ToDoListPage.tsx b/reactExamples/src/client/ToDoListPage/ToDoListPage.tsx index 2608f85..f78b515 100644 --- a/reactExamples/src/client/ToDoListPage/ToDoListPage.tsx +++ b/reactExamples/src/client/ToDoListPage/ToDoListPage.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React, { FC, memo, useCallback, useState } from 'react'; import './todolist.scss'; import { ToDoForm } from './ToDoForm'; diff --git a/reactExamples/src/client/ToDoListPage/app.tsx b/reactExamples/src/client/ToDoListPage/app.tsx index 23f7c1c..0c39108 100644 --- a/reactExamples/src/client/ToDoListPage/app.tsx +++ b/reactExamples/src/client/ToDoListPage/app.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/ToDoListPage/dev.tsx b/reactExamples/src/client/ToDoListPage/dev.tsx index fbd1dcd..237a1ef 100644 --- a/reactExamples/src/client/ToDoListPage/dev.tsx +++ b/reactExamples/src/client/ToDoListPage/dev.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/reactExamples/src/client/ToDoListPage/models.ts b/reactExamples/src/client/ToDoListPage/models.ts index 1efc493..4761ed2 100644 --- a/reactExamples/src/client/ToDoListPage/models.ts +++ b/reactExamples/src/client/ToDoListPage/models.ts @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ export interface Item { id: number; isComplete: boolean; diff --git a/reactExamples/src/client/ToDoListPage/webpart/app.tsx b/reactExamples/src/client/ToDoListPage/webpart/app.tsx index 8f18b7f..03f3f5b 100644 --- a/reactExamples/src/client/ToDoListPage/webpart/app.tsx +++ b/reactExamples/src/client/ToDoListPage/webpart/app.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; import { App } from '@labkey/api'; diff --git a/reactExamples/src/client/ToDoListPage/webpart/dev.tsx b/reactExamples/src/client/ToDoListPage/webpart/dev.tsx index 9edab39..4e86303 100644 --- a/reactExamples/src/client/ToDoListPage/webpart/dev.tsx +++ b/reactExamples/src/client/ToDoListPage/webpart/dev.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import React from 'react'; import { createRoot } from 'react-dom/client'; import { App } from '@labkey/api'; diff --git a/reactExamples/src/client/entryPoints.js b/reactExamples/src/client/entryPoints.js index 7e9253f..205ceff 100644 --- a/reactExamples/src/client/entryPoints.js +++ b/reactExamples/src/client/entryPoints.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 LabKey Corporation + * Copyright (c) 2023-2026 LabKey Corporation * * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 */ diff --git a/reactExamples/test/jest.setup.ts b/reactExamples/test/jest.setup.ts index 20cd3c9..d4a46b2 100644 --- a/reactExamples/test/jest.setup.ts +++ b/reactExamples/test/jest.setup.ts @@ -1 +1,6 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ import '@testing-library/jest-dom'; // add custom jest matchers from jest-dom \ No newline at end of file diff --git a/reactExamples/test/styleMock.ts b/reactExamples/test/styleMock.ts index 010ec5e..5c130a3 100644 --- a/reactExamples/test/styleMock.ts +++ b/reactExamples/test/styleMock.ts @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ export {}; \ No newline at end of file diff --git a/sourdough/resources/queries/lists/RisesQuery.sql b/sourdough/resources/queries/lists/RisesQuery.sql index c0efb69..d6fb940 100644 --- a/sourdough/resources/queries/lists/RisesQuery.sql +++ b/sourdough/resources/queries/lists/RisesQuery.sql @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ SELECT Rises.X, Rises.starter1, Rises.starter2, diff --git a/sourdough/resources/reports/schemas/lists/Rises/risesgraph.r b/sourdough/resources/reports/schemas/lists/Rises/risesgraph.r index a299d21..8b1aef4 100644 --- a/sourdough/resources/reports/schemas/lists/Rises/risesgraph.r +++ b/sourdough/resources/reports/schemas/lists/Rises/risesgraph.r @@ -1,3 +1,18 @@ +## +# Copyright (c) 2023-2026 LabKey Corporation +# +# Licensed 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. +## png(filename="${imgout:a}", width=900); plot(labkey.data$x, labkey.data$starter1, type = "b", frame = FALSE, col = "red", xlab = "time elapsed (hrs)", ylab = "volume increase (%)"); lines(labkey.data$x, labkey.data$starter2, col = "blue", type = "b"); diff --git a/sourdough/resources/web/dailylog/script.js b/sourdough/resources/web/dailylog/script.js index d0ef37c..d1c0d7c 100644 --- a/sourdough/resources/web/dailylog/script.js +++ b/sourdough/resources/web/dailylog/script.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ const init = () => { // Renders QueryWebPart const qwp = new LABKEY.QueryWebPart({ diff --git a/sourdough/resources/web/dashboard/script.js b/sourdough/resources/web/dashboard/script.js index bb2a988..5184bf1 100644 --- a/sourdough/resources/web/dashboard/script.js +++ b/sourdough/resources/web/dashboard/script.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ const init = () => { LABKEY.Report.execute({ reportName: 'risesgraph', diff --git a/sourdough/resources/web/overview/script.js b/sourdough/resources/web/overview/script.js index 81e2c22..57adc36 100644 --- a/sourdough/resources/web/overview/script.js +++ b/sourdough/resources/web/overview/script.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ const uploadDailyLogData = async () => { const urlToFile = async imageName => { const response = await fetch(LABKEY.ActionURL.getContextPath() + '/images/' + imageName); diff --git a/sourdough/resources/web/styling/script.js b/sourdough/resources/web/styling/script.js index 61a4e78..f08fa9f 100644 --- a/sourdough/resources/web/styling/script.js +++ b/sourdough/resources/web/styling/script.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2023-2026 LabKey Corporation + * + * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 + */ // The following calls are for illustrative demoing purposes. Note that calling the below endpoints directly is not // usual practice.