diff --git a/.codecov.yml b/.codecov.yml index 12a1858aaa..3e511a18db 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later codecov: branch: master ci: diff --git a/.devcontainer/Dockerfile.license b/.devcontainer/Dockerfile.license new file mode 100644 index 0000000000..2c6c5dfc23 --- /dev/null +++ b/.devcontainer/Dockerfile.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.devcontainer/README.md b/.devcontainer/README.md index 51ce9c2bb6..baec407427 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -1,3 +1,7 @@ + # Instructions 1. Start a DevContainer either on GitHub Codespaces or locally in VSCode. diff --git a/.devcontainer/devcontainer.env.license b/.devcontainer/devcontainer.env.license new file mode 100644 index 0000000000..2c6c5dfc23 --- /dev/null +++ b/.devcontainer/devcontainer.env.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 28e1953d67..a13d6f9ee4 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,4 +1,4 @@ { "name": "NextcloudAndroid", - "dockerFile": "Dockerfile" + "dockerFile": "Dockerfile", } diff --git a/.devcontainer/devcontainer.json.license b/.devcontainer/devcontainer.json.license new file mode 100644 index 0000000000..2c6c5dfc23 --- /dev/null +++ b/.devcontainer/devcontainer.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.drone.yml b/.drone.yml index f9a21aa3db..c41cd26124 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,10 @@ kind: pipeline type: docker name: tests-stable +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + + steps: - name: gplay image: ghcr.io/nextcloud/continuous-integration-android8:3 @@ -179,6 +183,6 @@ name: GIT_TOKEN data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0= --- kind: signature -hmac: cf7f9b6403072500d986d4979375676729a9104f98b0c53fba5198c478cccab4 +hmac: 7aee61db1485b2cf319adbfba8c612c782134dc49d870035ae02ab73162e971d ... diff --git a/.editorconfig b/.editorconfig index a4e53e0e46..7948891d5d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,6 +2,9 @@ # see http://EditorConfig.org +# SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + # This is the file in the root of the project. # For sub folders you can have other files that override only some settings. # For these, this settings should be false. diff --git a/.github/.config.yml.license b/.github/.config.yml.license new file mode 100644 index 0000000000..0712f8e722 --- /dev/null +++ b/.github/.config.yml.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 56dbc10e56..48a882c425 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,4 @@ +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later # You can add one username per supported platform and one custom link custom: https://nextcloud.com/include/ diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml.license b/.github/ISSUE_TEMPLATE/bug_report.yml.license new file mode 100644 index 0000000000..8ea86c8627 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.github/ISSUE_TEMPLATE/config.yml.license b/.github/ISSUE_TEMPLATE/config.yml.license new file mode 100644 index 0000000000..8ea86c8627 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.github/ISSUE_TEMPLATE/feature_request.md.license b/.github/ISSUE_TEMPLATE/feature_request.md.license new file mode 100644 index 0000000000..8ea86c8627 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.github/pull_request_template.md.license b/.github/pull_request_template.md.license new file mode 100644 index 0000000000..c751e8fb0b --- /dev/null +++ b/.github/pull_request_template.md.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-FileCopyrightText: 2023 Marcel Hibbe +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.github/workflows/assembleFlavors.yml b/.github/workflows/assembleFlavors.yml index b6bf810f20..835d74e415 100644 --- a/.github/workflows/assembleFlavors.yml +++ b/.github/workflows/assembleFlavors.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + name: "Assemble" on: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0903d377e1..be4e360d83 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + name: Check on: diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml index 44313dd84a..42bff0c45a 100644 --- a/.github/workflows/command-rebase.yml +++ b/.github/workflows/command-rebase.yml @@ -3,6 +3,9 @@ # https://github.com/nextcloud/.github # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + name: Rebase command on: diff --git a/.github/workflows/detectWrongSettings.yml b/.github/workflows/detectWrongSettings.yml index d7ab72a57d..3806018ea3 100644 --- a/.github/workflows/detectWrongSettings.yml +++ b/.github/workflows/detectWrongSettings.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2023 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + name: "Detect wrong settings" on: diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index a0cdfb75e0..c4564f6947 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2020 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + name: "QA" on: diff --git a/.github/workflows/screenShotTest.yml b/.github/workflows/screenShotTest.yml index 65e30f57bf..104d160924 100644 --- a/.github/workflows/screenShotTest.yml +++ b/.github/workflows/screenShotTest.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + name: "Screenshot Test" on: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 67cc868fcb..36e9fe15f2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later + name: Unit tests on: diff --git a/.gitignore b/.gitignore index 98421ea7f6..d13a113452 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later # built application files *.apk *.ap_ diff --git a/.pullapprove.yml b/.pullapprove.yml index cf0eceb6f4..1ab8526caa 100644 --- a/.pullapprove.yml +++ b/.pullapprove.yml @@ -1,5 +1,6 @@ version: 2 - +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later # General settings to apply always_pending: title_regex: '(WIP|wip)' diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000000..c6847eafda --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,16 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Nextcloud Android +Upstream-Contact: Nextcloud Android team +Source: https://github.com/nextcloud/android + +Files: gradle/wrapper/gradle-wrapper.jar +Copyright: 2015-2021 the original authors +License: Apache-2.0 + +Files: gradle/verification-keyring.keys gradle/verification-metadata.xml +Copyright: none +License: MIT + +Files: .idea/* app/schemas/com.nextcloud.client.database.NextcloudDatabase/*.json app/screenshots/gplay/debug/*.png app/src/main/res/values-*/strings.xml src/*/fastlane/metadata/android/*/*.txt src/versionDev/fastlane/metadata/android/*/changelogs/*.txt +Copyright: 2016-2024 Nextcloud GmbH and Nextcloud contributors +License: GPL-3.0-or-later diff --git a/.tx/config.license b/.tx/config.license new file mode 100644 index 0000000000..4b149e7c47 --- /dev/null +++ b/.tx/config.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-FileCopyrightText: 2012 Bartosz Przybylski +SPDX-License-Identifier: GPL-3.0-or-later \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e7c64a2f9e..961c372f53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ + ## 3.28.0 (February 13th, 2024) - E2E sharing diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index e6138bc339..808ec1cb0d 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,7 @@ + In the Nextcloud community, participants from all over the world come together to create Free Software for a free internet. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use Nextcloud software. Our code of conduct offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f3473d3cc..5bffca0bb8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,7 @@ + # [Nextcloud](https://nextcloud.com) Android app # Index diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000000..0e259d42c9 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +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. diff --git a/README.md b/README.md index 4ba1a6d834..c70276253f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + # [Nextcloud](https://nextcloud.com) Android app :iphone: [![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com\&utm_medium=referral\&utm_content=nextcloud/android\&utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest) diff --git a/SECURITY.md b/SECURITY.md index 276e201397..0c5d4838eb 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,3 +1,7 @@ + # Security Policy ## Supported Versions diff --git a/SETUP.md b/SETUP.md index 81e4873ade..83d8e9d267 100644 --- a/SETUP.md +++ b/SETUP.md @@ -1,3 +1,7 @@ + These instructions will help you to set up your development environment, get the source code of the Nextcloud for Android app and build it by yourself. If you want to help developing the app take a look to the [contribution guidelines][0]. Sections 1) and 2) are common for any environment. The rest of the sections describe how to set up a project in different tool environments. Nowadays we recommend to use Android Studio (section 2), but you can also build the app from the command line (section 3). diff --git a/app/.gitignore b/app/.gitignore index 42afabfd2a..a59d3add7f 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,3 @@ +# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later /build \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index c520b9d4c9..58c042fd10 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,13 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2024 Tobias Kaminsky + * SPDX-FileCopyrightText: 2024 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas + * SPDX-License-Identifier: GPL-3.0-or-later + */ import com.github.spotbugs.snom.Confidence import com.github.spotbugs.snom.Effort import com.github.spotbugs.snom.SpotBugsTask diff --git a/app/detekt.yml b/app/detekt.yml index 91280a3a92..b05a8db2a9 100644 --- a/app/detekt.yml +++ b/app/detekt.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later build: maxIssues: 2 weights: diff --git a/app/lint.xml b/app/lint.xml index 5434bd4ace..814af8f560 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -1,4 +1,13 @@ + diff --git a/appscan/.gitignore b/appscan/.gitignore index 42afabfd2a..ec178e8091 100644 --- a/appscan/.gitignore +++ b/appscan/.gitignore @@ -1 +1,3 @@ +# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later /build \ No newline at end of file diff --git a/appscan/build.gradle b/appscan/build.gradle index 8343eadac3..00d6f69a83 100644 --- a/appscan/build.gradle +++ b/appscan/build.gradle @@ -1,3 +1,12 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2023 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later + */ buildscript { dependencies { classpath "com.android.tools.build:gradle:$androidPluginVersion" diff --git a/build.gradle b/build.gradle index c09f8d442f..e91ccf7c0c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,13 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2016 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later + */ buildscript { ext { androidLibraryVersion ="0c886d61f6" diff --git a/gradle/verification-keyring.keys.license b/gradle/verification-keyring.keys.license new file mode 100644 index 0000000000..67f06b09cc --- /dev/null +++ b/gradle/verification-keyring.keys.license @@ -0,0 +1,2 @@ +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later diff --git a/gradle/verification-metadata.xml.license b/gradle/verification-metadata.xml.license new file mode 100644 index 0000000000..67f06b09cc --- /dev/null +++ b/gradle/verification-metadata.xml.license @@ -0,0 +1,2 @@ +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later diff --git a/gradlew.bat.license b/gradlew.bat.license new file mode 100644 index 0000000000..d4790f0ff5 --- /dev/null +++ b/gradlew.bat.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2015 the original author or authors. +SPDX-License-Identifier: Apache-2.0 diff --git a/gradlew.license b/gradlew.license new file mode 100644 index 0000000000..4523ac19e1 --- /dev/null +++ b/gradlew.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2015-2021 the original author or authors. +SPDX-License-Identifier: Apache-2.0 diff --git a/renovate.json5.license b/renovate.json5.license new file mode 100644 index 0000000000..67f06b09cc --- /dev/null +++ b/renovate.json5.license @@ -0,0 +1,2 @@ +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-3.0-or-later diff --git a/ruleset.xml b/ruleset.xml index d7c95896e5..1d38cef158 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -1,4 +1,10 @@ + +# SPDX-License-Identifier: GPL-3.0-or-later + BRANCH=$1 LOG_USERNAME=$2 LOG_PASSWORD=$3 diff --git a/scripts/analysis/detectWrongSettings.sh b/scripts/analysis/detectWrongSettings.sh index 00b2e843d9..ff0ea68ce9 100755 --- a/scripts/analysis/detectWrongSettings.sh +++ b/scripts/analysis/detectWrongSettings.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2016 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + snapshotCount=$(./gradlew dependencies | grep SNAPSHOT | grep -v "com.github.nextcloud:android-library" -c) betaCount=$(grep "true" app/src/main/res/values/setup.xml -c) diff --git a/scripts/analysis/getBranchBase.sh b/scripts/analysis/getBranchBase.sh index 42acd1f10f..1c225d8757 100755 --- a/scripts/analysis/getBranchBase.sh +++ b/scripts/analysis/getBranchBase.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2016 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + PR_NUMBER=$1 source scripts/lib.sh diff --git a/scripts/analysis/getBranchName.sh b/scripts/analysis/getBranchName.sh index b9f14834be..8b14564847 100755 --- a/scripts/analysis/getBranchName.sh +++ b/scripts/analysis/getBranchName.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2016 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + # $1: username, $2: password/token, $3: pull request number if [ -z $3 ] ; then diff --git a/scripts/analysis/lint-results.txt.license b/scripts/analysis/lint-results.txt.license new file mode 100644 index 0000000000..093bc73922 --- /dev/null +++ b/scripts/analysis/lint-results.txt.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/scripts/analysis/lint-up.rb b/scripts/analysis/lint-up.rb index c9d4864133..c52b60f137 100644 --- a/scripts/analysis/lint-up.rb +++ b/scripts/analysis/lint-up.rb @@ -3,6 +3,11 @@ # TODO cleanup this script, it has a lot of unused stuff +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017 Jason Atwood +# SPDX-FileCopyrightText: 2017 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 diff --git a/scripts/analysis/spotbugs-filter.xml b/scripts/analysis/spotbugs-filter.xml index b64cdc6591..ffb994aa8e 100644 --- a/scripts/analysis/spotbugs-filter.xml +++ b/scripts/analysis/spotbugs-filter.xml @@ -1,4 +1,11 @@ + diff --git a/scripts/analysis/spotbugs-up.rb b/scripts/analysis/spotbugs-up.rb index abb053f9c9..d7582d2b06 100644 --- a/scripts/analysis/spotbugs-up.rb +++ b/scripts/analysis/spotbugs-up.rb @@ -1,6 +1,11 @@ ## Script originally from https://github.com/tir38/android-lint-entropy-reducer at 07.05.2017 # heavily modified since then +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017 Jason Atwood +# SPDX-FileCopyrightText: 2017 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 diff --git a/scripts/analysis/spotbugsComparison.py b/scripts/analysis/spotbugsComparison.py index cc85d868cd..4e32f1f6a6 100755 --- a/scripts/analysis/spotbugsComparison.py +++ b/scripts/analysis/spotbugsComparison.py @@ -1,6 +1,10 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later import argparse import defusedxml.ElementTree as ET + import spotbugsSummary diff --git a/scripts/analysis/spotbugsSummary.py b/scripts/analysis/spotbugsSummary.py index 4fc886fa78..3ee9b99d07 100755 --- a/scripts/analysis/spotbugsSummary.py +++ b/scripts/analysis/spotbugsSummary.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later import argparse import defusedxml.ElementTree as ET diff --git a/scripts/androidScreenshotTest b/scripts/androidScreenshotTest index c9ddbc903f..b18109f7d8 100755 --- a/scripts/androidScreenshotTest +++ b/scripts/androidScreenshotTest @@ -1,4 +1,9 @@ #!/bin/bash +# +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2020-2024 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later +# set -e if [ $# -lt 2 ]; then diff --git a/scripts/buildDev b/scripts/buildDev index b8eb162498..c2d06a3cf9 100755 --- a/scripts/buildDev +++ b/scripts/buildDev @@ -1,4 +1,9 @@ #!/bin/bash +# +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later +# date=$(date +%Y%m%d) oldLibraryCommit=$(grep "androidLibraryVersion\ =" build.gradle) libraryCommit=$(curl https://api.github.com/repos/nextcloud/android-library/commits/master | jq .sha | sed s'/\"//g') diff --git a/scripts/checkGplayLimitation.sh b/scripts/checkGplayLimitation.sh index de4ed0bb35..e0b1f4fdc9 100755 --- a/scripts/checkGplayLimitation.sh +++ b/scripts/checkGplayLimitation.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash +# +# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2019 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later +# result="" diff --git a/scripts/checkIfRunDrone.sh b/scripts/checkIfRunDrone.sh index 909cc53ce1..a3aca62d22 100755 --- a/scripts/checkIfRunDrone.sh +++ b/scripts/checkIfRunDrone.sh @@ -1,5 +1,9 @@ #!/bin/sh -e +# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2019-2022 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + PR_NUMBER=$1 if [ -z "$PR_NUMBER" ] ; then diff --git a/scripts/deleteOldComments.sh b/scripts/deleteOldComments.sh index 179bfec287..a21f87b5fb 100755 --- a/scripts/deleteOldComments.sh +++ b/scripts/deleteOldComments.sh @@ -3,6 +3,10 @@ #2: TYPE #3: PR +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2016 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + BRANCH=$1 TYPE=$2 PR=$3 diff --git a/scripts/generateScreenshotOverview.sh b/scripts/generateScreenshotOverview.sh index 02d9ebb9bf..590ea70032 100755 --- a/scripts/generateScreenshotOverview.sh +++ b/scripts/generateScreenshotOverview.sh @@ -1,24 +1,8 @@ #!/bin/bash # -# Nextcloud Android client application -# -# @author Tobias Kaminsky -# Copyright (C) 2021 Tobias Kaminsky -# Copyright (C) 2021 Nextcloud GmbH -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later error=0 total=0 diff --git a/scripts/hooks/pre-commit b/scripts/hooks/pre-commit index 9b4c24d1e7..6b7531f08a 100755 --- a/scripts/hooks/pre-commit +++ b/scripts/hooks/pre-commit @@ -1,5 +1,10 @@ #!/bin/bash # Pre-commit hook: don't allow commits if detekt or ktlint fail. Skip with "git commit --no-verify". + +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021 lvaro Brey Vilas +# SPDX-License-Identifier: GPL-3.0-or-later + echo "Running pre-commit checks..." if ! ./gradlew --daemon spotlessKotlinCheck &>/dev/null; then diff --git a/scripts/hooks/pre-push b/scripts/hooks/pre-push index 628975cb21..3a1c054772 100755 --- a/scripts/hooks/pre-push +++ b/scripts/hooks/pre-push @@ -1,5 +1,10 @@ #!/bin/bash # Pre-push: Don't allow commits without Signed-off-by. Skip with "git push --no-verify". + +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021 lvaro Brey Vilas +# SPDX-License-Identifier: GPL-3.0-or-later + set -euo pipefail z40=0000000000000000000000000000000000000000 # magic deleted ref diff --git a/scripts/lib.sh b/scripts/lib.sh index e995473997..abab9f2ae7 100644 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -1,29 +1,8 @@ #!/usr/bin/env bash # -# Nextcloud Android Library is available under MIT license -# -# @author Álvaro Brey Vilas -# Copyright (C) 2022 Álvaro Brey Vilas -# Copyright (C) 2022 Nextcloud GmbH -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. +# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2022 Álvaro Brey +# SPDX-License-Identifier: GPL-3.0-or-later # ## This file is intended to be sourced by other scripts diff --git a/scripts/metadata/generate_metadata.py b/scripts/metadata/generate_metadata.py index 59983e47ea..5c269dac08 100644 --- a/scripts/metadata/generate_metadata.py +++ b/scripts/metadata/generate_metadata.py @@ -5,6 +5,10 @@ # copied on 2017/11/06 from https://github.com/grote/Transportr/blob/master/fastlane/generate_metadata.py # adapted by Tobias Kaminsky +# SPDX-FileCopyrightText: 2017 Torsten Grote +# SPDX-FileCopyrightText: 2017-2018 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + import codecs import os import shutil diff --git a/scripts/runAllScreenshotCombinations b/scripts/runAllScreenshotCombinations index a2f26a32cc..57dd88e58c 100755 --- a/scripts/runAllScreenshotCombinations +++ b/scripts/runAllScreenshotCombinations @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2020 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + ## $1 noCI/stable/master: wether to run deleteOldComments.sh or uploadReport.sh ## $2 true/false: record or verify screenshots ## $3 classMethod: piped from androidScreenshotTest diff --git a/scripts/runCombinedTest.sh b/scripts/runCombinedTest.sh index d989ba5e6b..2e101f674b 100755 --- a/scripts/runCombinedTest.sh +++ b/scripts/runCombinedTest.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021-2023 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + DRONE_PULL_REQUEST=$1 LOG_USERNAME=$2 LOG_PASSWORD=$3 diff --git a/scripts/screenshotCombinations.license b/scripts/screenshotCombinations.license new file mode 100644 index 0000000000..2fed3b65a7 --- /dev/null +++ b/scripts/screenshotCombinations.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/scripts/screenshotSummary.sh b/scripts/screenshotSummary.sh index 4626c5685a..b9c8ef8076 100755 --- a/scripts/screenshotSummary.sh +++ b/scripts/screenshotSummary.sh @@ -1,24 +1,8 @@ #!/bin/bash # -# Nextcloud Android client application -# -# @author Tobias Kaminsky -# Copyright (C) 2021 Tobias Kaminsky -# Copyright (C) 2021 Nextcloud GmbH -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later mkdir -p app/build/screenshotSummary/images diff --git a/scripts/screenshots/addMockDevice.sh b/scripts/screenshots/addMockDevice.sh index bd5c25a41a..bb59b5d14e 100755 --- a/scripts/screenshots/addMockDevice.sh +++ b/scripts/screenshots/addMockDevice.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2017-2018-2024 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + cd scripts/screenshots/ for i in $(find ../../fastlane | grep png | grep Screenshots) ; do device=$(echo $i | cut -d"/" -f8 | sed s'#Screenshots##') diff --git a/scripts/screenshots/generateScreenshotHtml.sh b/scripts/screenshots/generateScreenshotHtml.sh index 3300db781d..d723dc8268 100755 --- a/scripts/screenshots/generateScreenshotHtml.sh +++ b/scripts/screenshots/generateScreenshotHtml.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2020-2018-2024 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + file=/tmp/screenshotOverview-$(date +%F-%H-%M-%S) echo "" >> $file diff --git a/scripts/screenshots/phone.svg.license b/scripts/screenshots/phone.svg.license new file mode 100644 index 0000000000..d4b15b94f1 --- /dev/null +++ b/scripts/screenshots/phone.svg.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-FileCopyrightText: 2019 Jan Borchardt +SPDX-FileCopyrightText: 2017-2018 Tobias Kaminsky +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/scripts/screenshots/sevenInch.svg.license b/scripts/screenshots/sevenInch.svg.license new file mode 100644 index 0000000000..d4b15b94f1 --- /dev/null +++ b/scripts/screenshots/sevenInch.svg.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-FileCopyrightText: 2019 Jan Borchardt +SPDX-FileCopyrightText: 2017-2018 Tobias Kaminsky +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/scripts/updateLibraryHash.sh b/scripts/updateLibraryHash.sh index 070d54f90c..827cbfe9da 100755 --- a/scripts/updateLibraryHash.sh +++ b/scripts/updateLibraryHash.sh @@ -1,24 +1,8 @@ #!/bin/bash # -# Nextcloud Android client application -# -# @author Tobias Kaminsky -# Copyright (C) 2024 Tobias Kaminsky -# Copyright (C) 2024 Nextcloud GmbH -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2024 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later latestCommit=$(curl -s https://api.github.com/repos/nextcloud/android-library/commits/master | jq .sha | sed s'/\"//g') currentCommit=$(grep "androidLibraryVersion" build.gradle | cut -f2 -d'"') diff --git a/scripts/updateScreenshots.sh b/scripts/updateScreenshots.sh index 11a1bf1b20..284ac89598 100755 --- a/scripts/updateScreenshots.sh +++ b/scripts/updateScreenshots.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2019-2020 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + if [[ $(grep NC_TEST_SERVER_BASEURL ~/.gradle/gradle.properties | grep -v "#" -c) -gt 0 ]]; then echo "This will not use server in docker. Please comment in .gradle/gradle.properties. Aborting!" exit 1 diff --git a/scripts/uploadArtifact.sh b/scripts/uploadArtifact.sh index f862f84646..ac73b14cb4 100755 --- a/scripts/uploadArtifact.sh +++ b/scripts/uploadArtifact.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash +# +# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2019-2022 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later +# + #1: LOG_USERNAME #2: LOG_PASSWORD #3: DRONE_BUILD_NUMBER diff --git a/scripts/uploadReport.sh b/scripts/uploadReport.sh index 3d3fe93caf..91ae02c211 100755 --- a/scripts/uploadReport.sh +++ b/scripts/uploadReport.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2018-2022 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + upload() { scripts/deleteOldComments.sh "$BRANCH" "$TYPE" "$PR" diff --git a/scripts/uploadScreenshotSummary.sh b/scripts/uploadScreenshotSummary.sh index d76936eb71..f236d9c9ff 100755 --- a/scripts/uploadScreenshotSummary.sh +++ b/scripts/uploadScreenshotSummary.sh @@ -1,5 +1,9 @@ #!/bin/bash -x +# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2021 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + #1: LOG_USERNAME #2: LOG_PASSWORD diff --git a/scripts/wait_for_emulator.sh b/scripts/wait_for_emulator.sh index 75280272ea..3428059427 100755 --- a/scripts/wait_for_emulator.sh +++ b/scripts/wait_for_emulator.sh @@ -1,5 +1,10 @@ #!/bin/bash +# +# SPDX-FileCopyrightText: 2021 Ralf Kistner +# SPDX-License-Identifier: CC0-1.0 +# + # Originally written by Ralf Kistner , but placed in the public domain bootanim="" diff --git a/scripts/wait_for_server.sh b/scripts/wait_for_server.sh index 5821c71d6e..1253a92804 100755 --- a/scripts/wait_for_server.sh +++ b/scripts/wait_for_server.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2019-2020 Tobias Kaminsky +# SPDX-License-Identifier: GPL-3.0-or-later + counter=0 status="" diff --git a/settings.gradle b/settings.gradle index 5c2438e2ad..4a358378f4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2014-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ rootProject.name = 'Nextcloud' include ':app' diff --git a/suppressions.xml b/suppressions.xml index a1dfee9e11..f2fe930df1 100644 --- a/suppressions.xml +++ b/suppressions.xml @@ -1,4 +1,10 @@ + \ No newline at end of file