From c6e09726d778814b33d9e8a55dc1cd60e417803e Mon Sep 17 00:00:00 2001 From: Adam Rauch Date: Tue, 26 May 2026 09:15:27 -0700 Subject: [PATCH 1/2] Update copyrights and licenses --- .claude/hooks/check-dangerous-commands.py | 15 +++++++++++++++ .claude/hooks/check-secrets-file.py | 15 +++++++++++++++ .claude/hooks/secrets_patterns.py | 15 +++++++++++++++ .claude/hooks/test-hooks.py | 15 +++++++++++++++ .claude/review-pr-eval/eval.py | 15 +++++++++++++++ .claude/scripts/tc_branch_builds.py | 15 +++++++++++++++ .idea/fileTemplates/WebDriverTestClass.java | 15 +++++++++++++++ .idea/fileTemplates/WebDriverTestComponent.java | 15 +++++++++++++++ .idea/fileTemplates/WebDriverTestPage.java | 15 +++++++++++++++ .../src/org/apache/tools/ant/AntClassLoader.java | 4 +--- .../src/org/apache/tools/ant/BuildException.java | 4 +--- .../src/org/apache/tools/ant/Project.java | 4 +--- .../bootstrap/src/org/apache/tools/ant/Task.java | 4 +--- .../src/org/labkey/bootstrap/ArgumentParser.java | 6 +----- .../src/org/labkey/bootstrap/BaseComparator.java | 7 +------ .../org/labkey/bootstrap/ClusterBootstrap.java | 6 +----- .../src/org/labkey/bootstrap/ConfigException.java | 2 +- .../src/org/labkey/bootstrap/ExplodedModule.java | 8 +------- .../labkey/bootstrap/ExplodedModuleService.java | 15 +++++++++++++++ .../src/org/labkey/bootstrap/FileComparator.java | 8 +------- .../org/labkey/bootstrap/JarEntryComparator.java | 7 +------ .../bootstrap/LabKeyBootstrapClassLoader.java | 6 +----- .../src/org/labkey/bootstrap/Log4JLogger.java | 15 +++++++++++++++ .../src/org/labkey/bootstrap/ModuleArchive.java | 8 +------- .../org/labkey/bootstrap/ModuleDirectories.java | 8 +------- .../src/org/labkey/bootstrap/ModuleExtractor.java | 2 +- .../labkey/bootstrap/PipelineBootstrapConfig.java | 6 +----- .../labkey/bootstrap/RemoteServerBootstrap.java | 8 ++------ .../src/org/labkey/bootstrap/SimpleLogger.java | 4 +--- .../src/org/labkey/bootstrap/StdOutLogger.java | 6 +----- .../org/labkey/embedded/EmbeddedExtractor.java | 15 +++++++++++++++ .../labkey/embedded/LabKeyErrorReportValve.java | 15 +++++++++++++++ .../src/org/labkey/embedded/LabKeyServer.java | 15 +++++++++++++++ .../embedded/LabKeySpringBootClassLoader.java | 15 +++++++++++++++ .../LabKeyTomcatServletWebServerFactory.java | 15 +++++++++++++++ .../src/org/labkey/embedded/ResourceType.java | 15 +++++++++++++++ .../src/org/labkey/embedded/SessionAppender.java | 2 +- server/minification/postcss.config.js | 5 +++++ 38 files changed, 281 insertions(+), 89 deletions(-) diff --git a/.claude/hooks/check-dangerous-commands.py b/.claude/hooks/check-dangerous-commands.py index 2370d8fae4..c3509aa880 100644 --- a/.claude/hooks/check-dangerous-commands.py +++ b/.claude/hooks/check-dangerous-commands.py @@ -1,4 +1,19 @@ #!/usr/bin/env python3 +# +# Copyright (c) 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. +# """ Claude Code PreToolUse hook - cross-platform dangerous command checker Works on macOS, Linux, and Windows (native or WSL) diff --git a/.claude/hooks/check-secrets-file.py b/.claude/hooks/check-secrets-file.py index f1a8087ac3..092fc7bdfe 100644 --- a/.claude/hooks/check-secrets-file.py +++ b/.claude/hooks/check-secrets-file.py @@ -1,4 +1,19 @@ #!/usr/bin/env python3 +# +# Copyright (c) 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. +# """ Claude Code PreToolUse hook - blocks Read/Edit/Grep access to secrets files. Closes the bypass where tools other than Bash can access sensitive files. diff --git a/.claude/hooks/secrets_patterns.py b/.claude/hooks/secrets_patterns.py index e85bc43885..36b349a67c 100644 --- a/.claude/hooks/secrets_patterns.py +++ b/.claude/hooks/secrets_patterns.py @@ -1,3 +1,18 @@ +# +# Copyright (c) 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. +# """ Shared secrets file patterns used by both check-dangerous-commands.py and check-secrets-file.py. Edit this single file to update secrets detection across all hooks. diff --git a/.claude/hooks/test-hooks.py b/.claude/hooks/test-hooks.py index 4fa7fb58c0..6ef5a67c0c 100644 --- a/.claude/hooks/test-hooks.py +++ b/.claude/hooks/test-hooks.py @@ -1,4 +1,19 @@ #!/usr/bin/env python3 +# +# Copyright (c) 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. +# """ Test harness for Claude Code PreToolUse hooks. Tests both check-dangerous-commands.py (Bash) and check-secrets-file.py (Read/Edit/Grep). diff --git a/.claude/review-pr-eval/eval.py b/.claude/review-pr-eval/eval.py index 1ca8ab93be..5f996b2c8a 100755 --- a/.claude/review-pr-eval/eval.py +++ b/.claude/review-pr-eval/eval.py @@ -1,4 +1,19 @@ #!/usr/bin/env python3 +# +# Copyright (c) 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. +# """ Evaluate review-pr prompt variants against a training set of PRs with known critical bugs. diff --git a/.claude/scripts/tc_branch_builds.py b/.claude/scripts/tc_branch_builds.py index 1f5d0a40ee..76e4cc7d84 100755 --- a/.claude/scripts/tc_branch_builds.py +++ b/.claude/scripts/tc_branch_builds.py @@ -1,4 +1,19 @@ #!/usr/bin/env python3 +# +# Copyright (c) 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. +# """List queued and running TeamCity builds for a given branch.""" import argparse diff --git a/.idea/fileTemplates/WebDriverTestClass.java b/.idea/fileTemplates/WebDriverTestClass.java index c90a146243..a117ecb0df 100644 --- a/.idea/fileTemplates/WebDriverTestClass.java +++ b/.idea/fileTemplates/WebDriverTestClass.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2018-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. + */ #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end import org.junit.BeforeClass; diff --git a/.idea/fileTemplates/WebDriverTestComponent.java b/.idea/fileTemplates/WebDriverTestComponent.java index 29ed04c84b..0a33a905d5 100644 --- a/.idea/fileTemplates/WebDriverTestComponent.java +++ b/.idea/fileTemplates/WebDriverTestComponent.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2018-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. + */ #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end import org.labkey.test.Locator; diff --git a/.idea/fileTemplates/WebDriverTestPage.java b/.idea/fileTemplates/WebDriverTestPage.java index 95434af013..78439341a8 100644 --- a/.idea/fileTemplates/WebDriverTestPage.java +++ b/.idea/fileTemplates/WebDriverTestPage.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2018-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. + */ #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end import org.labkey.test.Locator; diff --git a/server/bootstrap/src/org/apache/tools/ant/AntClassLoader.java b/server/bootstrap/src/org/apache/tools/ant/AntClassLoader.java index b0420e736b..d9be964a2c 100644 --- a/server/bootstrap/src/org/apache/tools/ant/AntClassLoader.java +++ b/server/bootstrap/src/org/apache/tools/ant/AntClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 LabKey Corporation + * Copyright (c) 2017-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. @@ -18,8 +18,6 @@ /** * LabKey's stub version of AntClassLoader. Tomcat's JspC requires this class; providing it and a few others in our * bootstrap jar eliminates the need to distribute and deploy ant.jar into the /tomcat/lib directory. - * - * Created by adam on 5/27/2017. */ @SuppressWarnings("unused") public class AntClassLoader extends ClassLoader diff --git a/server/bootstrap/src/org/apache/tools/ant/BuildException.java b/server/bootstrap/src/org/apache/tools/ant/BuildException.java index 25961a941c..ec02903091 100644 --- a/server/bootstrap/src/org/apache/tools/ant/BuildException.java +++ b/server/bootstrap/src/org/apache/tools/ant/BuildException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 LabKey Corporation + * Copyright (c) 2017-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. @@ -18,8 +18,6 @@ /** * LabKey's stub version of ant's BuildException. Tomcat's JspC requires this class; providing it and a few others in our * bootstrap jar eliminates the need to distribute and deploy ant.jar into the /tomcat/lib directory. - * - * Created by adam on 5/27/2017. */ @SuppressWarnings("unused") public class BuildException extends RuntimeException diff --git a/server/bootstrap/src/org/apache/tools/ant/Project.java b/server/bootstrap/src/org/apache/tools/ant/Project.java index b957a4f0ad..ec75a221e3 100644 --- a/server/bootstrap/src/org/apache/tools/ant/Project.java +++ b/server/bootstrap/src/org/apache/tools/ant/Project.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 LabKey Corporation + * Copyright (c) 2017-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. @@ -18,8 +18,6 @@ /** * LabKey's stub version of ant's Project. Tomcat's JspC requires this class; providing it and a few others in our * bootstrap jar eliminates the need to distribute and deploy ant.jar into the /tomcat/lib directory. - * - * Created by adam on 5/27/2017. */ public class Project { diff --git a/server/bootstrap/src/org/apache/tools/ant/Task.java b/server/bootstrap/src/org/apache/tools/ant/Task.java index 46abb0e1ad..75dfe245f8 100644 --- a/server/bootstrap/src/org/apache/tools/ant/Task.java +++ b/server/bootstrap/src/org/apache/tools/ant/Task.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 LabKey Corporation + * Copyright (c) 2017-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. @@ -18,8 +18,6 @@ /** * LabKey's stub version of ant's Task. Tomcat's JspC requires this class; providing it and a few others in our * bootstrap jar eliminates the need to distribute and deploy ant.jar into the /tomcat/lib directory. - * - * Created by adam on 5/27/2017. */ @SuppressWarnings("unused") public class Task diff --git a/server/bootstrap/src/org/labkey/bootstrap/ArgumentParser.java b/server/bootstrap/src/org/labkey/bootstrap/ArgumentParser.java index bd6438d71f..8d84ec4b3a 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ArgumentParser.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ArgumentParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 LabKey Corporation + * Copyright (c) 2008-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. @@ -18,10 +18,6 @@ import java.util.*; -/** - * User: jeckels - * Date: Apr 16, 2008 - */ public class ArgumentParser { private final List _params = new ArrayList<>(); diff --git a/server/bootstrap/src/org/labkey/bootstrap/BaseComparator.java b/server/bootstrap/src/org/labkey/bootstrap/BaseComparator.java index be9749dbf1..1bf66c7464 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/BaseComparator.java +++ b/server/bootstrap/src/org/labkey/bootstrap/BaseComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2018 LabKey Corporation + * Copyright (c) 2008-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. @@ -15,11 +15,6 @@ */ package org.labkey.bootstrap; -/* -* User: Dave -* Date: Dec 9, 2008 -* Time: 10:56:03 AM -*/ public class BaseComparator { public static final int FILE_TIMESTAMP_ERROR = 2000; diff --git a/server/bootstrap/src/org/labkey/bootstrap/ClusterBootstrap.java b/server/bootstrap/src/org/labkey/bootstrap/ClusterBootstrap.java index aff8549f9f..354dcc200a 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ClusterBootstrap.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ClusterBootstrap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2014 LabKey Corporation + * Copyright (c) 2008-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. @@ -21,10 +21,6 @@ import java.lang.reflect.Method; import java.util.List; -/** - * User: jeckels - * Date: Apr 10, 2008 - */ @SuppressWarnings("ALL") public class ClusterBootstrap { diff --git a/server/bootstrap/src/org/labkey/bootstrap/ConfigException.java b/server/bootstrap/src/org/labkey/bootstrap/ConfigException.java index e19d657927..1dc9272309 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ConfigException.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ConfigException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 LabKey Corporation + * Copyright (c) 2008-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/server/bootstrap/src/org/labkey/bootstrap/ExplodedModule.java b/server/bootstrap/src/org/labkey/bootstrap/ExplodedModule.java index c4582e35c4..7d8b46c02d 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ExplodedModule.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ExplodedModule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2018 LabKey Corporation + * Copyright (c) 2008-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. @@ -34,12 +34,6 @@ import java.util.Map; import java.util.Set; -/* -* User: Dave -* Date: Dec 8, 2008 -* Time: 3:08:00 PM -*/ - /** * Represents an exploded module directory. * This class makes assumptions about the layout of the module directories, diff --git a/server/bootstrap/src/org/labkey/bootstrap/ExplodedModuleService.java b/server/bootstrap/src/org/labkey/bootstrap/ExplodedModuleService.java index 65423b3852..5c2f262b73 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ExplodedModuleService.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ExplodedModuleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2020-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. + */ package org.labkey.bootstrap; import java.io.File; diff --git a/server/bootstrap/src/org/labkey/bootstrap/FileComparator.java b/server/bootstrap/src/org/labkey/bootstrap/FileComparator.java index 6d8b8f235b..8b11e754ad 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/FileComparator.java +++ b/server/bootstrap/src/org/labkey/bootstrap/FileComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 LabKey Corporation + * Copyright (c) 2008-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. @@ -18,12 +18,6 @@ import java.io.File; import java.util.Comparator; -/* -* User: Dave -* Date: Dec 9, 2008 -* Time: 10:54:30 AM -*/ - /** * Compares two files (or directories) */ diff --git a/server/bootstrap/src/org/labkey/bootstrap/JarEntryComparator.java b/server/bootstrap/src/org/labkey/bootstrap/JarEntryComparator.java index d7b3d5fdcd..a6342000fe 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/JarEntryComparator.java +++ b/server/bootstrap/src/org/labkey/bootstrap/JarEntryComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 LabKey Corporation + * Copyright (c) 2008-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. @@ -19,11 +19,6 @@ import java.util.Comparator; import java.io.File; -/* -* User: Dave -* Date: Dec 9, 2008 -* Time: 10:58:14 AM -*/ public class JarEntryComparator extends BaseComparator implements Comparator { @Override diff --git a/server/bootstrap/src/org/labkey/bootstrap/LabKeyBootstrapClassLoader.java b/server/bootstrap/src/org/labkey/bootstrap/LabKeyBootstrapClassLoader.java index dba63cc5a4..360b394f7f 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/LabKeyBootstrapClassLoader.java +++ b/server/bootstrap/src/org/labkey/bootstrap/LabKeyBootstrapClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 LabKey Corporation + * Copyright (c) 2017-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. @@ -37,10 +37,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantLock; -/** - * User: jeckels - * Date: Jun 8, 2006 - */ public class LabKeyBootstrapClassLoader extends WebappClassLoader implements ExplodedModuleService { private final static Logger _log = LogManager.getLogger(LabKeyBootstrapClassLoader.class); diff --git a/server/bootstrap/src/org/labkey/bootstrap/Log4JLogger.java b/server/bootstrap/src/org/labkey/bootstrap/Log4JLogger.java index 98941b4fbe..e99d396c2e 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/Log4JLogger.java +++ b/server/bootstrap/src/org/labkey/bootstrap/Log4JLogger.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2025-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. + */ package org.labkey.bootstrap; import org.apache.logging.log4j.Logger; diff --git a/server/bootstrap/src/org/labkey/bootstrap/ModuleArchive.java b/server/bootstrap/src/org/labkey/bootstrap/ModuleArchive.java index 171f45e075..1a70dd3932 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ModuleArchive.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ModuleArchive.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2019 LabKey Corporation + * Copyright (c) 2008-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. @@ -36,12 +36,6 @@ import java.util.jar.JarEntry; import java.util.jar.JarFile; -/* -* User: Dave -* Date: Dec 8, 2008 -* Time: 11:41:00 AM -*/ - /** * Represents a compressed module archive file. Use this to explode the module * archive into a directory. diff --git a/server/bootstrap/src/org/labkey/bootstrap/ModuleDirectories.java b/server/bootstrap/src/org/labkey/bootstrap/ModuleDirectories.java index 2f79ee5377..50c34a0c46 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ModuleDirectories.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ModuleDirectories.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2019 LabKey Corporation + * Copyright (c) 2008-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. @@ -18,12 +18,6 @@ import java.io.File; import java.util.stream.Stream; -/* -* User: Dave -* Date: Dec 8, 2008 -* Time: 2:57:49 PM -*/ - /** * Represents the module directories in our web application */ diff --git a/server/bootstrap/src/org/labkey/bootstrap/ModuleExtractor.java b/server/bootstrap/src/org/labkey/bootstrap/ModuleExtractor.java index 224f6ed5ec..f1bbfdf0c5 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/ModuleExtractor.java +++ b/server/bootstrap/src/org/labkey/bootstrap/ModuleExtractor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2019 LabKey Corporation + * Copyright (c) 2008-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/server/bootstrap/src/org/labkey/bootstrap/PipelineBootstrapConfig.java b/server/bootstrap/src/org/labkey/bootstrap/PipelineBootstrapConfig.java index a1b198dc8c..3bb3dcb3ce 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/PipelineBootstrapConfig.java +++ b/server/bootstrap/src/org/labkey/bootstrap/PipelineBootstrapConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2018 LabKey Corporation + * Copyright (c) 2008-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. @@ -25,10 +25,6 @@ import java.util.List; import java.util.StringTokenizer; -/* -* User: jeckels -* Date: Jun 26, 2008 -*/ public class PipelineBootstrapConfig { public static final String CONFIG_DIR = "configdir"; diff --git a/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java b/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java index bd34e69c0b..40ba3ee2bc 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java +++ b/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2014 LabKey Corporation + * Copyright (c) 2008-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. @@ -19,13 +19,9 @@ import java.lang.reflect.Method; import java.util.List; -/* -* User: jeckels -* Date: Jun 26, 2008 -*/ public class RemoteServerBootstrap { - public static void main(String... rawArgs) + static void main(String... rawArgs) { try { diff --git a/server/bootstrap/src/org/labkey/bootstrap/SimpleLogger.java b/server/bootstrap/src/org/labkey/bootstrap/SimpleLogger.java index 5fd8731f45..6f620e037f 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/SimpleLogger.java +++ b/server/bootstrap/src/org/labkey/bootstrap/SimpleLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2018 LabKey Corporation + * Copyright (c) 2009-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. @@ -17,8 +17,6 @@ /** * Simple interface to abstract logger implementations and break dependencies on other JARs when they're not needed. - * User: jeckels - * Date: Mar 11, 2009 */ public interface SimpleLogger { diff --git a/server/bootstrap/src/org/labkey/bootstrap/StdOutLogger.java b/server/bootstrap/src/org/labkey/bootstrap/StdOutLogger.java index f19442233f..6b7719b900 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/StdOutLogger.java +++ b/server/bootstrap/src/org/labkey/bootstrap/StdOutLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 LabKey Corporation + * Copyright (c) 2009-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. @@ -15,10 +15,6 @@ */ package org.labkey.bootstrap; -/** - * User: jeckels - * Date: Mar 11, 2009 - */ public class StdOutLogger implements SimpleLogger { @Override diff --git a/server/embedded/src/org/labkey/embedded/EmbeddedExtractor.java b/server/embedded/src/org/labkey/embedded/EmbeddedExtractor.java index 131b96baa0..12d3fed8c9 100644 --- a/server/embedded/src/org/labkey/embedded/EmbeddedExtractor.java +++ b/server/embedded/src/org/labkey/embedded/EmbeddedExtractor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024-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. + */ package org.labkey.embedded; import org.apache.commons.io.FileUtils; diff --git a/server/embedded/src/org/labkey/embedded/LabKeyErrorReportValve.java b/server/embedded/src/org/labkey/embedded/LabKeyErrorReportValve.java index f54f501629..e725b66f04 100644 --- a/server/embedded/src/org/labkey/embedded/LabKeyErrorReportValve.java +++ b/server/embedded/src/org/labkey/embedded/LabKeyErrorReportValve.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2025-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. + */ package org.labkey.embedded; import org.apache.catalina.valves.ErrorReportValve; diff --git a/server/embedded/src/org/labkey/embedded/LabKeyServer.java b/server/embedded/src/org/labkey/embedded/LabKeyServer.java index 4a9732534f..825869df93 100644 --- a/server/embedded/src/org/labkey/embedded/LabKeyServer.java +++ b/server/embedded/src/org/labkey/embedded/LabKeyServer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2021-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. + */ package org.labkey.embedded; import org.apache.catalina.connector.Connector; diff --git a/server/embedded/src/org/labkey/embedded/LabKeySpringBootClassLoader.java b/server/embedded/src/org/labkey/embedded/LabKeySpringBootClassLoader.java index 3562d65ce1..7e3a4d3f77 100644 --- a/server/embedded/src/org/labkey/embedded/LabKeySpringBootClassLoader.java +++ b/server/embedded/src/org/labkey/embedded/LabKeySpringBootClassLoader.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2021-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. + */ package org.labkey.embedded; import org.apache.logging.log4j.LogManager; diff --git a/server/embedded/src/org/labkey/embedded/LabKeyTomcatServletWebServerFactory.java b/server/embedded/src/org/labkey/embedded/LabKeyTomcatServletWebServerFactory.java index 4fdb3c53b6..e5ca6b17ed 100644 --- a/server/embedded/src/org/labkey/embedded/LabKeyTomcatServletWebServerFactory.java +++ b/server/embedded/src/org/labkey/embedded/LabKeyTomcatServletWebServerFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024-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. + */ package org.labkey.embedded; import org.apache.catalina.Container; diff --git a/server/embedded/src/org/labkey/embedded/ResourceType.java b/server/embedded/src/org/labkey/embedded/ResourceType.java index 0331e4008c..59b581435e 100644 --- a/server/embedded/src/org/labkey/embedded/ResourceType.java +++ b/server/embedded/src/org/labkey/embedded/ResourceType.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024-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. + */ package org.labkey.embedded; import org.apache.catalina.core.StandardContext; diff --git a/server/embedded/src/org/labkey/embedded/SessionAppender.java b/server/embedded/src/org/labkey/embedded/SessionAppender.java index 70d1b7720c..1c6bfe0cdb 100644 --- a/server/embedded/src/org/labkey/embedded/SessionAppender.java +++ b/server/embedded/src/org/labkey/embedded/SessionAppender.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2013 LabKey Corporation + * Copyright (c) 2024-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/server/minification/postcss.config.js b/server/minification/postcss.config.js index ffb2269ac8..507ccd388a 100644 --- a/server/minification/postcss.config.js +++ b/server/minification/postcss.config.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 + */ module.exports = { plugins: [ require('cssnano')({ From c1a35d06edb8c821ef9465cc198f390caa957215 Mon Sep 17 00:00:00 2001 From: Adam Rauch Date: Fri, 29 May 2026 15:11:56 -0700 Subject: [PATCH 2/2] Restore public --- .../src/org/labkey/bootstrap/RemoteServerBootstrap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java b/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java index 40ba3ee2bc..f90b30cd9e 100644 --- a/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java +++ b/server/bootstrap/src/org/labkey/bootstrap/RemoteServerBootstrap.java @@ -21,7 +21,7 @@ public class RemoteServerBootstrap { - static void main(String... rawArgs) + public static void main(String... rawArgs) { try {