From 27119970bbcd8cc0687cf4df8c64a4035d188c5b Mon Sep 17 00:00:00 2001 From: "Michael J. Giarlo" Date: Tue, 28 May 2019 15:29:37 -0700 Subject: [PATCH] Use Apache 2.0 license instead of CC0 --- Apache2.txt | 52 ------ LICENSE | 168 ++++++------------ __mocks__/fileMock.js | 2 +- __mocks__/mockAWSData.js | 2 +- __mocks__/react-router-dom.js | 2 +- __mocks__/styleMock.js | 2 +- __tests__/CognitoUtils.test.js | 2 +- __tests__/Config.test.js | 2 +- __tests__/Utilities.test.js | 2 +- __tests__/actions/index.test.js | 2 +- __tests__/components/App.test.js | 2 +- __tests__/components/CanvasMenu.test.js | 2 +- __tests__/components/DescPanel.test.js | 2 +- __tests__/components/Footer.test.js | 2 +- __tests__/components/Header.test.js | 2 +- __tests__/components/HomePage.test.js | 2 +- __tests__/components/LoginPanel.test.js | 2 +- __tests__/components/NewsItem.test.js | 2 +- __tests__/components/NewsPanel.test.js | 2 +- __tests__/components/RootComponent.test.js | 2 +- __tests__/components/editor/Browse.test.js | 2 +- __tests__/components/editor/Editor.test.js | 2 +- __tests__/components/editor/Header.test.js | 2 +- .../components/editor/ImportFileZone.test.js | 2 +- .../editor/ImportResourceTemplate.test.js | 2 +- __tests__/components/editor/InputLang.test.js | 2 +- .../components/editor/InputListLOC.test.js | 2 +- .../components/editor/InputLiteral.test.js | 2 +- .../components/editor/InputLookupQA.test.js | 2 +- .../components/editor/OutlineHeader.test.js | 2 +- .../editor/PropertyActionButtons.test.js | 2 +- .../editor/PropertyComponent.test.js | 2 +- .../components/editor/PropertyPanel.test.js | 2 +- .../components/editor/PropertyRemark.test.js | 2 +- .../editor/PropertyResourceTemplate.test.js | 2 +- .../editor/PropertyTemplateOutline.test.js | 2 +- .../components/editor/PropertyTypeRow.test.js | 2 +- __tests__/components/editor/RDFModal.test.js | 2 +- .../editor/RequiredSuperscript.test.js | 2 +- .../editor/ResourceProperty.test.js | 2 +- .../editor/ResourceTemplate.test.js | 2 +- .../editor/ResourceTemplateForm.test.js | 2 +- .../editor/SinopiaResourceTemplates.test.js | 2 +- .../editor/UpdateResourceModal.test.js | 2 +- __tests__/integration/landingPage.test.js | 2 +- __tests__/integration/nestedResources.test.js | 2 +- .../integration/schemaValidation.test.js | 2 +- __tests__/reducers/authenticate.test.js | 2 +- __tests__/reducers/index.test.js | 2 +- __tests__/reducers/inputs.test.js | 2 +- __tests__/reducers/lang.test.js | 2 +- __tests__/reducers/lookups.test.js | 2 +- __tests__/sinopiaServer.test.js | 2 +- __tests__/sinopiaServerSpoof.test.js | 2 +- __tests__/versoSpoof.test.js | 2 +- jest-puppeteer.config.js | 2 +- server.js | 2 +- setupEnzyme.js | 2 +- src/CognitoUtils.js | 2 +- src/Config.js | 2 +- src/Utilities.js | 2 +- src/actions/index.js | 2 +- src/components/App.jsx | 2 +- src/components/CanvasMenu.jsx | 2 +- src/components/DescPanel.jsx | 2 +- src/components/Footer.jsx | 2 +- src/components/Header.jsx | 2 +- src/components/HomePage.jsx | 2 +- src/components/LoginPanel.jsx | 2 +- src/components/NewsItem.jsx | 2 +- src/components/NewsPanel.jsx | 2 +- src/components/RootContainer.jsx | 2 +- src/components/editor/Browse.jsx | 2 +- src/components/editor/Editor.jsx | 2 +- src/components/editor/Header.jsx | 2 +- src/components/editor/ImportFileZone.jsx | 2 +- .../editor/ImportResourceTemplate.jsx | 2 +- src/components/editor/InputLang.jsx | 2 +- src/components/editor/InputListLOC.jsx | 2 +- src/components/editor/InputLiteral.jsx | 2 +- src/components/editor/InputLookupQA.jsx | 2 +- src/components/editor/OutlineHeader.jsx | 2 +- .../editor/PropertyActionButtons.jsx | 2 +- src/components/editor/PropertyComponent.jsx | 2 +- src/components/editor/PropertyPanel.jsx | 2 +- src/components/editor/PropertyRemark.jsx | 2 +- .../editor/PropertyResourceTemplate.jsx | 2 +- .../editor/PropertyTemplateOutline.jsx | 2 +- src/components/editor/PropertyTypeRow.jsx | 2 +- src/components/editor/RDFModal.jsx | 2 +- src/components/editor/RequiredSuperscript.jsx | 2 +- src/components/editor/ResourceProperty.jsx | 2 +- src/components/editor/ResourceTemplate.jsx | 2 +- .../editor/ResourceTemplateForm.jsx | 2 +- .../editor/SinopiaResourceTemplates.jsx | 2 +- src/components/editor/UpdateResourceModal.jsx | 2 +- src/index.js | 2 +- src/reducers/authenticate.js | 2 +- src/reducers/index.js | 2 +- src/reducers/inputs.js | 2 +- src/reducers/lang.js | 2 +- src/reducers/lookups.js | 2 +- src/sinopiaServer.js | 2 +- src/sinopiaServerSpoof.js | 2 +- src/store.js | 2 +- src/styles/main.css | 2 +- src/versoSpoof.js | 2 +- webpack.config.js | 2 +- 108 files changed, 158 insertions(+), 274 deletions(-) delete mode 100644 Apache2.txt diff --git a/Apache2.txt b/Apache2.txt deleted file mode 100644 index 133cf6d27..000000000 --- a/Apache2.txt +++ /dev/null @@ -1,52 +0,0 @@ -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - - You must give any other recipients of the Work or Derivative Works a copy of this License; and - You must cause any modified files to carry prominent notices stating that You changed the files; and - You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. - - You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. diff --git a/LICENSE b/LICENSE index 670154e35..133cf6d27 100644 --- a/LICENSE +++ b/LICENSE @@ -1,116 +1,52 @@ -CC0 1.0 Universal - -Statement of Purpose - -The laws of most jurisdictions throughout the world automatically confer -exclusive Copyright and Related Rights (defined below) upon the creator and -subsequent owner(s) (each and all, an "owner") of an original work of -authorship and/or a database (each, a "Work"). - -Certain owners wish to permanently relinquish those rights to a Work for the -purpose of contributing to a commons of creative, cultural and scientific -works ("Commons") that the public can reliably and without fear of later -claims of infringement build upon, modify, incorporate in other works, reuse -and redistribute as freely as possible in any form whatsoever and for any -purposes, including without limitation commercial purposes. These owners may -contribute to the Commons to promote the ideal of a free culture and the -further production of creative, cultural and scientific works, or to gain -reputation or greater distribution for their Work in part through the use and -efforts of others. - -For these and/or other purposes and motivations, and without any expectation -of additional consideration or compensation, the person associating CC0 with a -Work (the "Affirmer"), to the extent that he or she is an owner of Copyright -and Related Rights in the Work, voluntarily elects to apply CC0 to the Work -and publicly distribute the Work under its terms, with knowledge of his or her -Copyright and Related Rights in the Work and the meaning and intended legal -effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be -protected by copyright and related or neighboring rights ("Copyright and -Related Rights"). Copyright and Related Rights include, but are not limited -to, the following: - - i. the right to reproduce, adapt, distribute, perform, display, communicate, - and translate a Work; - - ii. moral rights retained by the original author(s) and/or performer(s); - - iii. publicity and privacy rights pertaining to a person's image or likeness - depicted in a Work; - - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - - v. rights protecting the extraction, dissemination, use and reuse of data in - a Work; - - vi. database rights (such as those arising under Directive 96/9/EC of the - European Parliament and of the Council of 11 March 1996 on the legal - protection of databases, and under any national implementation thereof, - including any amended or successor version of such directive); and - - vii. other similar, equivalent or corresponding rights throughout the world - based on applicable law or treaty, and any national implementations thereof. - -2. Waiver. To the greatest extent permitted by, but not in contravention of, -applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and -unconditionally waives, abandons, and surrenders all of Affirmer's Copyright -and Related Rights and associated claims and causes of action, whether now -known or unknown (including existing as well as future claims and causes of -action), in the Work (i) in all territories worldwide, (ii) for the maximum -duration provided by applicable law or treaty (including future time -extensions), (iii) in any current or future medium and for any number of -copies, and (iv) for any purpose whatsoever, including without limitation -commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes -the Waiver for the benefit of each member of the public at large and to the -detriment of Affirmer's heirs and successors, fully intending that such Waiver -shall not be subject to revocation, rescission, cancellation, termination, or -any other legal or equitable action to disrupt the quiet enjoyment of the Work -by the public as contemplated by Affirmer's express Statement of Purpose. - -3. Public License Fallback. Should any part of the Waiver for any reason be -judged legally invalid or ineffective under applicable law, then the Waiver -shall be preserved to the maximum extent permitted taking into account -Affirmer's express Statement of Purpose. In addition, to the extent the Waiver -is so judged Affirmer hereby grants to each affected person a royalty-free, -non transferable, non sublicensable, non exclusive, irrevocable and -unconditional license to exercise Affirmer's Copyright and Related Rights in -the Work (i) in all territories worldwide, (ii) for the maximum duration -provided by applicable law or treaty (including future time extensions), (iii) -in any current or future medium and for any number of copies, and (iv) for any -purpose whatsoever, including without limitation commercial, advertising or -promotional purposes (the "License"). The License shall be deemed effective as -of the date CC0 was applied by Affirmer to the Work. Should any part of the -License for any reason be judged legally invalid or ineffective under -applicable law, such partial invalidity or ineffectiveness shall not -invalidate the remainder of the License, and in such case Affirmer hereby -affirms that he or she will not (i) exercise any of his or her remaining -Copyright and Related Rights in the Work or (ii) assert any associated claims -and causes of action with respect to the Work, in either case contrary to -Affirmer's express Statement of Purpose. - -4. Limitations and Disclaimers. - - a. No trademark or patent rights held by Affirmer are waived, abandoned, - surrendered, licensed or otherwise affected by this document. - - b. Affirmer offers the Work as-is and makes no representations or warranties - of any kind concerning the Work, express, implied, statutory or otherwise, - including without limitation warranties of title, merchantability, fitness - for a particular purpose, non infringement, or the absence of latent or - other defects, accuracy, or the present or absence of errors, whether or not - discoverable, all to the greatest extent permissible under applicable law. - - c. Affirmer disclaims responsibility for clearing rights of other persons - that may apply to the Work or any use thereof, including without limitation - any person's Copyright and Related Rights in the Work. Further, Affirmer - disclaims responsibility for obtaining any necessary consents, permissions - or other rights required for any use of the Work. - - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to this - CC0 or use of the Work. - -For more information, please see - +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + You must give any other recipients of the Work or Derivative Works a copy of this License; and + You must cause any modified files to carry prominent notices stating that You changed the files; and + You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. diff --git a/__mocks__/fileMock.js b/__mocks__/fileMock.js index 6c66a20af..3f717a368 100644 --- a/__mocks__/fileMock.js +++ b/__mocks__/fileMock.js @@ -1,2 +1,2 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license module.exports = 'test-file-stub'; diff --git a/__mocks__/mockAWSData.js b/__mocks__/mockAWSData.js index b2baa1745..8e991a313 100644 --- a/__mocks__/mockAWSData.js +++ b/__mocks__/mockAWSData.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const mockAWSHeader = { "kid":"x24+y25+z26", diff --git a/__mocks__/react-router-dom.js b/__mocks__/react-router-dom.js index 9ca9ee04f..ddfb40b92 100644 --- a/__mocks__/react-router-dom.js +++ b/__mocks__/react-router-dom.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react'; diff --git a/__mocks__/styleMock.js b/__mocks__/styleMock.js index 9546e8587..f733f5957 100644 --- a/__mocks__/styleMock.js +++ b/__mocks__/styleMock.js @@ -1,2 +1,2 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license module.exports = {}; diff --git a/__tests__/CognitoUtils.test.js b/__tests__/CognitoUtils.test.js index 5a5b7fea9..e615ee89d 100644 --- a/__tests__/CognitoUtils.test.js +++ b/__tests__/CognitoUtils.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import { AuthenticationDetails, CognitoUser, CognitoUserPool } from 'amazon-cognito-identity-js' import CognitoUtils from '../src/CognitoUtils' diff --git a/__tests__/Config.test.js b/__tests__/Config.test.js index 682a52a2f..139aadca7 100644 --- a/__tests__/Config.test.js +++ b/__tests__/Config.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Config from '../src/Config' diff --git a/__tests__/Utilities.test.js b/__tests__/Utilities.test.js index 96e7824f4..25e60415a 100644 --- a/__tests__/Utilities.test.js +++ b/__tests__/Utilities.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import {isResourceWithValueTemplateRef, resourceToName } from '../src/Utilities' diff --git a/__tests__/actions/index.test.js b/__tests__/actions/index.test.js index 3112ab99b..de564a6aa 100644 --- a/__tests__/actions/index.test.js +++ b/__tests__/actions/index.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import * as actions from '../../src/actions/index' diff --git a/__tests__/components/App.test.js b/__tests__/components/App.test.js index fa0d4cd81..0a91dfa16 100644 --- a/__tests__/components/App.test.js +++ b/__tests__/components/App.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' diff --git a/__tests__/components/CanvasMenu.test.js b/__tests__/components/CanvasMenu.test.js index 575422dd2..5d788fc41 100644 --- a/__tests__/components/CanvasMenu.test.js +++ b/__tests__/components/CanvasMenu.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' import CanvasMenu from '../../src/components/CanvasMenu' diff --git a/__tests__/components/DescPanel.test.js b/__tests__/components/DescPanel.test.js index ffde13ef0..95a44bfa7 100644 --- a/__tests__/components/DescPanel.test.js +++ b/__tests__/components/DescPanel.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/Footer.test.js b/__tests__/components/Footer.test.js index 60a83d4af..c8dec0ad5 100644 --- a/__tests__/components/Footer.test.js +++ b/__tests__/components/Footer.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/Header.test.js b/__tests__/components/Header.test.js index c966ed99c..445868c8f 100644 --- a/__tests__/components/Header.test.js +++ b/__tests__/components/Header.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/HomePage.test.js b/__tests__/components/HomePage.test.js index 4e040463d..ea243d85f 100644 --- a/__tests__/components/HomePage.test.js +++ b/__tests__/components/HomePage.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/LoginPanel.test.js b/__tests__/components/LoginPanel.test.js index 14a6d6b78..4f6f9fc65 100644 --- a/__tests__/components/LoginPanel.test.js +++ b/__tests__/components/LoginPanel.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/NewsItem.test.js b/__tests__/components/NewsItem.test.js index ff34b245e..35a9e0d70 100644 --- a/__tests__/components/NewsItem.test.js +++ b/__tests__/components/NewsItem.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/NewsPanel.test.js b/__tests__/components/NewsPanel.test.js index 434a2ccf4..ec52a6427 100644 --- a/__tests__/components/NewsPanel.test.js +++ b/__tests__/components/NewsPanel.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/RootComponent.test.js b/__tests__/components/RootComponent.test.js index 6d644d1b1..118c00998 100644 --- a/__tests__/components/RootComponent.test.js +++ b/__tests__/components/RootComponent.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' diff --git a/__tests__/components/editor/Browse.test.js b/__tests__/components/editor/Browse.test.js index 78ec46212..4315f4a50 100644 --- a/__tests__/components/editor/Browse.test.js +++ b/__tests__/components/editor/Browse.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/Editor.test.js b/__tests__/components/editor/Editor.test.js index 84a3ef700..5abd51117 100644 --- a/__tests__/components/editor/Editor.test.js +++ b/__tests__/components/editor/Editor.test.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/Header.test.js b/__tests__/components/editor/Header.test.js index aa8850880..f4eaa1dfd 100644 --- a/__tests__/components/editor/Header.test.js +++ b/__tests__/components/editor/Header.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/ImportFileZone.test.js b/__tests__/components/editor/ImportFileZone.test.js index dd5023cef..8f1503782 100644 --- a/__tests__/components/editor/ImportFileZone.test.js +++ b/__tests__/components/editor/ImportFileZone.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' diff --git a/__tests__/components/editor/ImportResourceTemplate.test.js b/__tests__/components/editor/ImportResourceTemplate.test.js index 74513d9a4..1503c6b23 100644 --- a/__tests__/components/editor/ImportResourceTemplate.test.js +++ b/__tests__/components/editor/ImportResourceTemplate.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import 'isomorphic-fetch' import 'jsdom-global/register' diff --git a/__tests__/components/editor/InputLang.test.js b/__tests__/components/editor/InputLang.test.js index 3a40a5f0f..cefe158b3 100644 --- a/__tests__/components/editor/InputLang.test.js +++ b/__tests__/components/editor/InputLang.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' import InputLang from '../../../src/components/editor/InputLang' diff --git a/__tests__/components/editor/InputListLOC.test.js b/__tests__/components/editor/InputListLOC.test.js index 57699ea58..7341b0b26 100644 --- a/__tests__/components/editor/InputListLOC.test.js +++ b/__tests__/components/editor/InputListLOC.test.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/InputLiteral.test.js b/__tests__/components/editor/InputLiteral.test.js index fa4436087..5a3511036 100644 --- a/__tests__/components/editor/InputLiteral.test.js +++ b/__tests__/components/editor/InputLiteral.test.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/InputLookupQA.test.js b/__tests__/components/editor/InputLookupQA.test.js index dae2d3dec..e2981df7b 100644 --- a/__tests__/components/editor/InputLookupQA.test.js +++ b/__tests__/components/editor/InputLookupQA.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/OutlineHeader.test.js b/__tests__/components/editor/OutlineHeader.test.js index c85fe0c64..9272ef473 100644 --- a/__tests__/components/editor/OutlineHeader.test.js +++ b/__tests__/components/editor/OutlineHeader.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/PropertyActionButtons.test.js b/__tests__/components/editor/PropertyActionButtons.test.js index 45f443358..27944205d 100644 --- a/__tests__/components/editor/PropertyActionButtons.test.js +++ b/__tests__/components/editor/PropertyActionButtons.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/PropertyComponent.test.js b/__tests__/components/editor/PropertyComponent.test.js index 3b99a8f02..4c806505c 100644 --- a/__tests__/components/editor/PropertyComponent.test.js +++ b/__tests__/components/editor/PropertyComponent.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/PropertyPanel.test.js b/__tests__/components/editor/PropertyPanel.test.js index 43f752abb..6fb873bbd 100644 --- a/__tests__/components/editor/PropertyPanel.test.js +++ b/__tests__/components/editor/PropertyPanel.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/PropertyRemark.test.js b/__tests__/components/editor/PropertyRemark.test.js index 9460159ff..9ad19d55f 100644 --- a/__tests__/components/editor/PropertyRemark.test.js +++ b/__tests__/components/editor/PropertyRemark.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' import PropertyRemark from '../../../src/components/editor/PropertyRemark' diff --git a/__tests__/components/editor/PropertyResourceTemplate.test.js b/__tests__/components/editor/PropertyResourceTemplate.test.js index ed05f1496..8c5df1d36 100644 --- a/__tests__/components/editor/PropertyResourceTemplate.test.js +++ b/__tests__/components/editor/PropertyResourceTemplate.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import 'jsdom-global/register' diff --git a/__tests__/components/editor/PropertyTemplateOutline.test.js b/__tests__/components/editor/PropertyTemplateOutline.test.js index 9dfdb8420..cbdf9498f 100644 --- a/__tests__/components/editor/PropertyTemplateOutline.test.js +++ b/__tests__/components/editor/PropertyTemplateOutline.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import 'jsdom-global/register' diff --git a/__tests__/components/editor/PropertyTypeRow.test.js b/__tests__/components/editor/PropertyTypeRow.test.js index b43067995..cfec3ff6c 100644 --- a/__tests__/components/editor/PropertyTypeRow.test.js +++ b/__tests__/components/editor/PropertyTypeRow.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/RDFModal.test.js b/__tests__/components/editor/RDFModal.test.js index a2ad46a67..e49889ed8 100644 --- a/__tests__/components/editor/RDFModal.test.js +++ b/__tests__/components/editor/RDFModal.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import Modal from 'react-bootstrap/lib/Modal' diff --git a/__tests__/components/editor/RequiredSuperscript.test.js b/__tests__/components/editor/RequiredSuperscript.test.js index b8cd1f59f..57632d1a1 100644 --- a/__tests__/components/editor/RequiredSuperscript.test.js +++ b/__tests__/components/editor/RequiredSuperscript.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/ResourceProperty.test.js b/__tests__/components/editor/ResourceProperty.test.js index e8e3866cf..74217fec5 100644 --- a/__tests__/components/editor/ResourceProperty.test.js +++ b/__tests__/components/editor/ResourceProperty.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/ResourceTemplate.test.js b/__tests__/components/editor/ResourceTemplate.test.js index 0bd7c9378..84422ae80 100644 --- a/__tests__/components/editor/ResourceTemplate.test.js +++ b/__tests__/components/editor/ResourceTemplate.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' import { shallow } from 'enzyme' diff --git a/__tests__/components/editor/ResourceTemplateForm.test.js b/__tests__/components/editor/ResourceTemplateForm.test.js index ca3bb60b9..3b4911153 100644 --- a/__tests__/components/editor/ResourceTemplateForm.test.js +++ b/__tests__/components/editor/ResourceTemplateForm.test.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import React from 'react' import 'jsdom-global/register' diff --git a/__tests__/components/editor/SinopiaResourceTemplates.test.js b/__tests__/components/editor/SinopiaResourceTemplates.test.js index 4d5ce672f..3753cef26 100644 --- a/__tests__/components/editor/SinopiaResourceTemplates.test.js +++ b/__tests__/components/editor/SinopiaResourceTemplates.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' diff --git a/__tests__/components/editor/UpdateResourceModal.test.js b/__tests__/components/editor/UpdateResourceModal.test.js index 1b794673c..b474c7ca8 100644 --- a/__tests__/components/editor/UpdateResourceModal.test.js +++ b/__tests__/components/editor/UpdateResourceModal.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import 'jsdom-global/register' import React from 'react' diff --git a/__tests__/integration/landingPage.test.js b/__tests__/integration/landingPage.test.js index 26e437e89..79839028d 100644 --- a/__tests__/integration/landingPage.test.js +++ b/__tests__/integration/landingPage.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import expect from 'expect-puppeteer' import 'isomorphic-fetch' diff --git a/__tests__/integration/nestedResources.test.js b/__tests__/integration/nestedResources.test.js index d203cbe58..5b61646ea 100644 --- a/__tests__/integration/nestedResources.test.js +++ b/__tests__/integration/nestedResources.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import Config from '../../src/Config' import pupExpect from 'expect-puppeteer' diff --git a/__tests__/integration/schemaValidation.test.js b/__tests__/integration/schemaValidation.test.js index 47beb1f1d..5c070f63c 100644 --- a/__tests__/integration/schemaValidation.test.js +++ b/__tests__/integration/schemaValidation.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import pupExpect from 'expect-puppeteer' import Config from '../../src/Config' diff --git a/__tests__/reducers/authenticate.test.js b/__tests__/reducers/authenticate.test.js index a6a9a8633..77385f35b 100644 --- a/__tests__/reducers/authenticate.test.js +++ b/__tests__/reducers/authenticate.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import authenticate from '../../src/reducers/authenticate' diff --git a/__tests__/reducers/index.test.js b/__tests__/reducers/index.test.js index 102e5b839..3883d3e9f 100644 --- a/__tests__/reducers/index.test.js +++ b/__tests__/reducers/index.test.js @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import shortid from 'shortid' import selectorReducer, { refreshResourceTemplate, populatePropertyDefaults } from '../../src/reducers/index' diff --git a/__tests__/reducers/inputs.test.js b/__tests__/reducers/inputs.test.js index 2f48ac9df..5ecdd4a7c 100644 --- a/__tests__/reducers/inputs.test.js +++ b/__tests__/reducers/inputs.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import { removeAllContent, removeMyItem, setMyItems, setMySelections } from '../../src/reducers/inputs' diff --git a/__tests__/reducers/lang.test.js b/__tests__/reducers/lang.test.js index 5d37b4f8f..30dd559cd 100644 --- a/__tests__/reducers/lang.test.js +++ b/__tests__/reducers/lang.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import lang from '../../src/reducers/lang' diff --git a/__tests__/reducers/lookups.test.js b/__tests__/reducers/lookups.test.js index 07868749d..029d2d3ab 100644 --- a/__tests__/reducers/lookups.test.js +++ b/__tests__/reducers/lookups.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import lookups from '../../src/reducers/lookups' diff --git a/__tests__/sinopiaServer.test.js b/__tests__/sinopiaServer.test.js index 96ef47a85..7466c4264 100644 --- a/__tests__/sinopiaServer.test.js +++ b/__tests__/sinopiaServer.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Config from '../src/Config' import { getResourceTemplate } from '../src/sinopiaServer' diff --git a/__tests__/sinopiaServerSpoof.test.js b/__tests__/sinopiaServerSpoof.test.js index 0fc852295..2707bcd70 100644 --- a/__tests__/sinopiaServerSpoof.test.js +++ b/__tests__/sinopiaServerSpoof.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Config from '../src/Config' import { diff --git a/__tests__/versoSpoof.test.js b/__tests__/versoSpoof.test.js index d484e8d76..5c3abd2a7 100644 --- a/__tests__/versoSpoof.test.js +++ b/__tests__/versoSpoof.test.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license describe('spoofed verso', () => { let versoSpoof = require('../src/versoSpoof.js') diff --git a/jest-puppeteer.config.js b/jest-puppeteer.config.js index d2acc8691..24d652f54 100644 --- a/jest-puppeteer.config.js +++ b/jest-puppeteer.config.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license module.exports = { launch: { diff --git a/server.js b/server.js index 33db2d227..b408c7a37 100755 --- a/server.js +++ b/server.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license // Minimal BIBFRAME Editor Node.js server. To run from the command-line: // npm start or node server.js diff --git a/setupEnzyme.js b/setupEnzyme.js index e61478723..eadf9a75b 100644 --- a/setupEnzyme.js +++ b/setupEnzyme.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; diff --git a/src/CognitoUtils.js b/src/CognitoUtils.js index 88c7f329e..5914cc550 100644 --- a/src/CognitoUtils.js +++ b/src/CognitoUtils.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Config from './Config' import { AuthenticationDetails, CognitoUser, CognitoUserPool } from 'amazon-cognito-identity-js' diff --git a/src/Config.js b/src/Config.js index c20421c11..dbe562174 100644 --- a/src/Config.js +++ b/src/Config.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license class Config { static get defaultSinopiaGroupId() { diff --git a/src/Utilities.js b/src/Utilities.js index 72e49ab40..2c12485be 100644 --- a/src/Utilities.js +++ b/src/Utilities.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license export const isResourceWithValueTemplateRef = ( property ) => { return Boolean( diff --git a/src/actions/index.js b/src/actions/index.js index 456054de5..9f04cc53e 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license export const setItems = item => ({ type: 'SET_ITEMS', diff --git a/src/components/App.jsx b/src/components/App.jsx index 006034590..05d46c8d3 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import 'react-bootstrap-typeahead/css/Typeahead.css' diff --git a/src/components/CanvasMenu.jsx b/src/components/CanvasMenu.jsx index c93d9588d..5c9390e08 100644 --- a/src/components/CanvasMenu.jsx +++ b/src/components/CanvasMenu.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' diff --git a/src/components/DescPanel.jsx b/src/components/DescPanel.jsx index 4434ae7e7..4dd34e57b 100644 --- a/src/components/DescPanel.jsx +++ b/src/components/DescPanel.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 65082e555..a256d094c 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 3f833c2d9..8100ad7a6 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Leland Stanford Junior University see Apache2.txt for license +// Copyright 2018 Leland Stanford Junior University see LICENSE for license import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/src/components/HomePage.jsx b/src/components/HomePage.jsx index 88514f8f4..e539294ea 100644 --- a/src/components/HomePage.jsx +++ b/src/components/HomePage.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/src/components/LoginPanel.jsx b/src/components/LoginPanel.jsx index 3d225e3c7..550279bf8 100644 --- a/src/components/LoginPanel.jsx +++ b/src/components/LoginPanel.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/NewsItem.jsx b/src/components/NewsItem.jsx index e1395bdb2..d7c1cb9bd 100644 --- a/src/components/NewsItem.jsx +++ b/src/components/NewsItem.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react' diff --git a/src/components/NewsPanel.jsx b/src/components/NewsPanel.jsx index 994151a84..2e171139d 100644 --- a/src/components/NewsPanel.jsx +++ b/src/components/NewsPanel.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford Junior University see Apache2.txt for license +// Copyright 2018 Stanford Junior University see LICENSE for license import React, {Component} from 'react' import NewsItem from './NewsItem' diff --git a/src/components/RootContainer.jsx b/src/components/RootContainer.jsx index 9ae9c21e4..e1ca7d97c 100644 --- a/src/components/RootContainer.jsx +++ b/src/components/RootContainer.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import { hot } from 'react-hot-loader' diff --git a/src/components/editor/Browse.jsx b/src/components/editor/Browse.jsx index 1f15215cf..30a81f109 100644 --- a/src/components/editor/Browse.jsx +++ b/src/components/editor/Browse.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/Editor.jsx b/src/components/editor/Editor.jsx index 78be8a1cb..b6b6dd161 100644 --- a/src/components/editor/Editor.jsx +++ b/src/components/editor/Editor.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, {Component} from 'react' import { connect } from 'react-redux' diff --git a/src/components/editor/Header.jsx b/src/components/editor/Header.jsx index 389e8a17f..f333630e6 100644 --- a/src/components/editor/Header.jsx +++ b/src/components/editor/Header.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/ImportFileZone.jsx b/src/components/editor/ImportFileZone.jsx index 5eb11a550..24b247e04 100644 --- a/src/components/editor/ImportFileZone.jsx +++ b/src/components/editor/ImportFileZone.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import Config from '../../Config' import React, { Component } from 'react' diff --git a/src/components/editor/ImportResourceTemplate.jsx b/src/components/editor/ImportResourceTemplate.jsx index 63881ddb2..66f0609b0 100644 --- a/src/components/editor/ImportResourceTemplate.jsx +++ b/src/components/editor/ImportResourceTemplate.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/InputLang.jsx b/src/components/editor/InputLang.jsx index 9a7eb9536..bb7d71fe8 100644 --- a/src/components/editor/InputLang.jsx +++ b/src/components/editor/InputLang.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react'; import { Typeahead } from 'react-bootstrap-typeahead' diff --git a/src/components/editor/InputListLOC.jsx b/src/components/editor/InputListLOC.jsx index e6fc4bcb6..40b0cb248 100644 --- a/src/components/editor/InputListLOC.jsx +++ b/src/components/editor/InputListLOC.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react'; import { Typeahead } from 'react-bootstrap-typeahead' diff --git a/src/components/editor/InputLiteral.jsx b/src/components/editor/InputLiteral.jsx index 172b185fb..1461c8fc0 100644 --- a/src/components/editor/InputLiteral.jsx +++ b/src/components/editor/InputLiteral.jsx @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/InputLookupQA.jsx b/src/components/editor/InputLookupQA.jsx index aacc99035..9f5617301 100644 --- a/src/components/editor/InputLookupQA.jsx +++ b/src/components/editor/InputLookupQA.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import { asyncContainer, Typeahead, Menu, MenuItem } from 'react-bootstrap-typeahead' import PropTypes from 'prop-types' diff --git a/src/components/editor/OutlineHeader.jsx b/src/components/editor/OutlineHeader.jsx index a9920350a..6657ed27d 100644 --- a/src/components/editor/OutlineHeader.jsx +++ b/src/components/editor/OutlineHeader.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/PropertyActionButtons.jsx b/src/components/editor/PropertyActionButtons.jsx index df4f17e1f..38d6108f8 100644 --- a/src/components/editor/PropertyActionButtons.jsx +++ b/src/components/editor/PropertyActionButtons.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/PropertyComponent.jsx b/src/components/editor/PropertyComponent.jsx index 357015aa3..9a319463f 100644 --- a/src/components/editor/PropertyComponent.jsx +++ b/src/components/editor/PropertyComponent.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, { Component } from 'react' import InputLiteral from './InputLiteral' diff --git a/src/components/editor/PropertyPanel.jsx b/src/components/editor/PropertyPanel.jsx index 18e9dc8dd..10e72b697 100644 --- a/src/components/editor/PropertyPanel.jsx +++ b/src/components/editor/PropertyPanel.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/PropertyRemark.jsx b/src/components/editor/PropertyRemark.jsx index fd436f031..b89655d64 100644 --- a/src/components/editor/PropertyRemark.jsx +++ b/src/components/editor/PropertyRemark.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/PropertyResourceTemplate.jsx b/src/components/editor/PropertyResourceTemplate.jsx index 8d1433c23..953cfcbc2 100644 --- a/src/components/editor/PropertyResourceTemplate.jsx +++ b/src/components/editor/PropertyResourceTemplate.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, { Component } from 'react' import PropertyActionButtons from './PropertyActionButtons' diff --git a/src/components/editor/PropertyTemplateOutline.jsx b/src/components/editor/PropertyTemplateOutline.jsx index 95d4c7cb2..9695e9f3d 100644 --- a/src/components/editor/PropertyTemplateOutline.jsx +++ b/src/components/editor/PropertyTemplateOutline.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import OutlineHeader from './OutlineHeader' diff --git a/src/components/editor/PropertyTypeRow.jsx b/src/components/editor/PropertyTypeRow.jsx index 186e58483..7664a13ec 100644 --- a/src/components/editor/PropertyTypeRow.jsx +++ b/src/components/editor/PropertyTypeRow.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/RDFModal.jsx b/src/components/editor/RDFModal.jsx index 052c04b74..b4b24be6d 100644 --- a/src/components/editor/RDFModal.jsx +++ b/src/components/editor/RDFModal.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, {Component} from 'react' import Button from 'react-bootstrap/lib/Button' diff --git a/src/components/editor/RequiredSuperscript.jsx b/src/components/editor/RequiredSuperscript.jsx index 9db5d1ea6..3c9041e9d 100644 --- a/src/components/editor/RequiredSuperscript.jsx +++ b/src/components/editor/RequiredSuperscript.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, {Component} from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' diff --git a/src/components/editor/ResourceProperty.jsx b/src/components/editor/ResourceProperty.jsx index e91c21e82..f97e90eaf 100644 --- a/src/components/editor/ResourceProperty.jsx +++ b/src/components/editor/ResourceProperty.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/src/components/editor/ResourceTemplate.jsx b/src/components/editor/ResourceTemplate.jsx index 05cdece8e..88d424b60 100644 --- a/src/components/editor/ResourceTemplate.jsx +++ b/src/components/editor/ResourceTemplate.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/src/components/editor/ResourceTemplateForm.jsx b/src/components/editor/ResourceTemplateForm.jsx index 06ac54b92..5e75b18d6 100644 --- a/src/components/editor/ResourceTemplateForm.jsx +++ b/src/components/editor/ResourceTemplateForm.jsx @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/src/components/editor/SinopiaResourceTemplates.jsx b/src/components/editor/SinopiaResourceTemplates.jsx index d1a68b638..9af91a3e3 100644 --- a/src/components/editor/SinopiaResourceTemplates.jsx +++ b/src/components/editor/SinopiaResourceTemplates.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/components/editor/UpdateResourceModal.jsx b/src/components/editor/UpdateResourceModal.jsx index 1e68fe71b..61bab1e06 100644 --- a/src/components/editor/UpdateResourceModal.jsx +++ b/src/components/editor/UpdateResourceModal.jsx @@ -1,4 +1,4 @@ -// Copyright 2019 Stanford University see Apache2.txt for license +// Copyright 2019 Stanford University see LICENSE for license import React, {Component} from 'react' import PropTypes from 'prop-types' diff --git a/src/index.js b/src/index.js index e708ab03d..274681bdb 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/reducers/authenticate.js b/src/reducers/authenticate.js index 15ba4600e..a99aee3d6 100644 --- a/src/reducers/authenticate.js +++ b/src/reducers/authenticate.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const DEFAULT_STATE = { authenticationState: { diff --git a/src/reducers/index.js b/src/reducers/index.js index 7a978abee..7391c6b6d 100644 --- a/src/reducers/index.js +++ b/src/reducers/index.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license import { combineReducers } from 'redux' import lang from './lang' import authenticate from './authenticate' diff --git a/src/reducers/inputs.js b/src/reducers/inputs.js index a86780cc2..4a549b7ef 100644 --- a/src/reducers/inputs.js +++ b/src/reducers/inputs.js @@ -1,4 +1,4 @@ -// Copyright 2018, 2019 Stanford University see Apache2.txt for license +// Copyright 2018, 2019 Stanford University see LICENSE for license export const removeAllContent = (state, action) => { let newState = Object.assign({}, state) diff --git a/src/reducers/lang.js b/src/reducers/lang.js index 489d15f4c..6e0b13639 100644 --- a/src/reducers/lang.js +++ b/src/reducers/lang.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const DEFAULT_STATE = { formData: [] diff --git a/src/reducers/lookups.js b/src/reducers/lookups.js index e14d69f91..fd52e8439 100644 --- a/src/reducers/lookups.js +++ b/src/reducers/lookups.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const DEFAULT_STATE = { formData: [] diff --git a/src/sinopiaServer.js b/src/sinopiaServer.js index 49cc303d3..b176cefe8 100644 --- a/src/sinopiaServer.js +++ b/src/sinopiaServer.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import SinopiaServer from 'sinopia_server' import CognitoUtils from './CognitoUtils' diff --git a/src/sinopiaServerSpoof.js b/src/sinopiaServerSpoof.js index 1c68e13b1..8a519cbb9 100644 --- a/src/sinopiaServerSpoof.js +++ b/src/sinopiaServerSpoof.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const barcodeRt = require('../static/spoofedFilesFromServer/fromSinopiaServer/resourceTemplates/Barcode.json') const monographInstanceRt = require('../static/spoofedFilesFromServer/fromSinopiaServer/resourceTemplates/MonographInstance.json') diff --git a/src/store.js b/src/store.js index 64adb4977..e887993c8 100644 --- a/src/store.js +++ b/src/store.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license import { createStore } from 'redux' import reducer from './reducers/index' diff --git a/src/styles/main.css b/src/styles/main.css index 3dd92f98d..f18014c8a 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -1,4 +1,4 @@ - /* Copyright 2018 Stanford University see Apache2.txt for license */ + /* Copyright 2018 Stanford University see LICENSE for license */ body { font-family: 'Source Sans Pro', sans-serif; diff --git a/src/versoSpoof.js b/src/versoSpoof.js index af4392234..d792f06ee 100644 --- a/src/versoSpoof.js +++ b/src/versoSpoof.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license // spoof verso calls to get profiles and ontologies const path = require('path') diff --git a/webpack.config.js b/webpack.config.js index d97b59e5d..c3435de0d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,4 @@ -// Copyright 2018 Stanford University see Apache2.txt for license +// Copyright 2018 Stanford University see LICENSE for license const path = require('path') const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin')