Skip to content

Commit 97f3be3

Browse files
committed
Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed: - "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial" - "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
1 parent 7a67073 commit 97f3be3

File tree

3,279 files changed

+6560
-6560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,279 files changed

+6560
-6560
lines changed

.github/workflows/scripts/recordScreenshots.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Copyright 2023-2024 New Vector Ltd.
44
#
5-
# SPDX-License-Identifier: AGPL-3.0-only
6-
# Please see LICENSE in the repository root for full details.
5+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
# Please see LICENSE files in the repository root for full details.
77

88
set -e
99

anvilannotations/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77
plugins {
88
alias(libs.plugins.kotlin.jvm)

anvilannotations/src/main/kotlin/io/element/android/anvilannotations/ContributesNode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.anvilannotations

anvilcodegen/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
plugins {

anvilcodegen/src/main/kotlin/io/element/android/anvilcodegen/ContributesNodeProcessor.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.anvilcodegen

anvilcodegen/src/main/kotlin/io/element/android/anvilcodegen/ContributesNodeProcessorProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.anvilcodegen

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
@file:Suppress("UnstableApiUsage")

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2022 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
88
xmlns:tools="http://schemas.android.com/tools">

app/src/main/kotlin/io/element/android/x/ElementXApplication.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x

app/src/main/kotlin/io/element/android/x/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x

app/src/main/kotlin/io/element/android/x/MainNode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x

app/src/main/kotlin/io/element/android/x/di/AppBindings.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/AppComponent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/AppModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/DefaultRoomComponentFactory.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/DefaultSessionComponentFactory.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/RoomComponent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/di/SessionComponent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.di

app/src/main/kotlin/io/element/android/x/info/Logs.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.info

app/src/main/kotlin/io/element/android/x/initializer/CrashInitializer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.initializer

app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.initializer

app/src/main/kotlin/io/element/android/x/intent/DefaultIntentProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.intent

app/src/main/kotlin/io/element/android/x/intent/SafeUriHandler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.intent

app/src/main/res/drawable/transparent.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2023 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<shape xmlns:android="http://schemas.android.com/apk/res/android">
88

app/src/main/res/resources.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright 2024 New Vector Ltd.
22
#
3-
# SPDX-License-Identifier: AGPL-3.0-only
4-
# Please see LICENSE in the repository root for full details.
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
55

66
unqualifiedResLocale=en

app/src/main/res/values-night/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2023 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<resources>
88

app/src/main/res/values/colors.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2022 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<resources>
88
<!-- Must be equal to DarkDesignTokens.colorThemeBg -->

app/src/main/res/values/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2022 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<resources>
88
<style name="Theme.ElementX.Splash" parent="Theme.SplashScreen">

app/src/main/res/xml/backup_rules.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2022 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<!--
88
All backup is disabled since it would clash with encryption.

app/src/main/res/xml/data_extraction_rules.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2023 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<!--
88
All backup is disabled since it would clash with encryption.

app/src/main/res/xml/file_providers.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?><!--
22
~ Copyright 2023 New Vector Ltd.
33
~
4-
~ SPDX-License-Identifier: AGPL-3.0-only
5-
~ Please see LICENSE in the repository root for full details.
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
66
-->
77
<paths>
88
<cache-path name="cache" path="." />

app/src/test/kotlin/io/element/android/x/intent/DefaultIntentProviderTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.x.intent

appconfig/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2022-2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77
plugins {
88
id("io.element.android-library")

appconfig/src/main/kotlin/io/element/android/appconfig/AnalyticsConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.appconfig

appconfig/src/main/kotlin/io/element/android/appconfig/ApplicationConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.appconfig

appconfig/src/main/kotlin/io/element/android/appconfig/AuthenticationConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2023, 2024 New Vector Ltd.
33
*
4-
* SPDX-License-Identifier: AGPL-3.0-only
5-
* Please see LICENSE in the repository root for full details.
4+
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
* Please see LICENSE files in the repository root for full details.
66
*/
77

88
package io.element.android.appconfig

0 commit comments

Comments
 (0)