Skip to content

Commit 5a31f24

Browse files
Merge pull request #1267 from nextcloud/license
change my own license to match library's MIT license
2 parents 2b1da4c + 012fcde commit 5a31f24

35 files changed

+708
-525
lines changed

library/src/androidTest/java/com/nextcloud/android/lib/resources/dashboard/DashboardGetWidgetItemsRemoteOperationIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
/*
1+
/* Nextcloud Android Library is available under MIT license
22
*
3-
* Nextcloud Android client application
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2022 Tobias Kaminsky
5+
* Copyright (C) 2022 Nextcloud GmbH
46
*
5-
* @author Tobias Kaminsky
6-
* Copyright (C) 2022 Tobias Kaminsky
7-
* Copyright (C) 2022 Nextcloud GmbH
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
813
*
9-
* This program is free software: you can redistribute it and/or modify
10-
* it under the terms of the GNU Affero General Public License as published by
11-
* the Free Software Foundation, either version 3 of the License, or
12-
* (at your option) any later version.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1316
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU Affero General Public License for more details.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
1825
*
19-
* You should have received a copy of the GNU Affero General Public License
20-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2126
*/
2227

2328
package com.nextcloud.android.lib.resources.dashboard

library/src/androidTest/java/com/nextcloud/android/lib/resources/dashboard/DashboardListWidgetsRemoteOperationIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
/*
1+
/* Nextcloud Android Library is available under MIT license
22
*
3-
* Nextcloud Android client application
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2022 Tobias Kaminsky
5+
* Copyright (C) 2022 Nextcloud GmbH
46
*
5-
* @author Tobias Kaminsky
6-
* Copyright (C) 2022 Tobias Kaminsky
7-
* Copyright (C) 2022 Nextcloud GmbH
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
813
*
9-
* This program is free software: you can redistribute it and/or modify
10-
* it under the terms of the GNU Affero General Public License as published by
11-
* the Free Software Foundation, either version 3 of the License, or
12-
* (at your option) any later version.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1316
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU Affero General Public License for more details.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
1825
*
19-
* You should have received a copy of the GNU Affero General Public License
20-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2126
*/
2227

2328
package com.nextcloud.android.lib.resources.dashboard

library/src/androidTest/java/com/nextcloud/android/lib/resources/search/SearchProvidersRemoteOperationIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2020 Tobias Kaminsky
6-
* Copyright (C) 2020 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2022 Tobias Kaminsky
5+
* Copyright (C) 2022 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

library/src/androidTest/java/com/nextcloud/android/lib/resources/search/UnifiedSearchRemoteOperationIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2020 Tobias Kaminsky
6-
* Copyright (C) 2020 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2020 Tobias Kaminsky
5+
* Copyright (C) 2020 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

library/src/androidTest/java/com/nextcloud/android/lib/richWorkspace/RichWorkspaceDirectEditingRemoteOperationIT.java

+21-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2019 Tobias Kaminsky
6-
* Copyright (C) 2019 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2019 Tobias Kaminsky
5+
* Copyright (C) 2019 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
1725
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2026
*/
2127

2228
package com.nextcloud.android.lib.richWorkspace;

library/src/androidTest/java/com/nextcloud/lib/resources/users/GetActivitiesRemoteOperationIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2019 Tobias Kaminsky
6-
* Copyright (C) 2019 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2019 Tobias Kaminsky
5+
* Copyright (C) 2019 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

library/src/androidTest/java/com/owncloud/android/PlainClientIT.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2020 Tobias Kaminsky
6-
* Copyright (C) 2020 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2020 Tobias Kaminsky
5+
* Copyright (C) 2020 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

library/src/androidTest/java/com/owncloud/android/RetryTestRule.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2020 Tobias Kaminsky
6-
* Copyright (C) 2020 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2020 Tobias Kaminsky
5+
* Copyright (C) 2020 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

library/src/androidTest/java/com/owncloud/android/lib/common/SearchResultEntryTest.kt

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
/*
2-
* Nextcloud Android client application
1+
/* Nextcloud Android Library is available under MIT license
32
*
4-
* @author Tobias Kaminsky
5-
* Copyright (C) 2020 Tobias Kaminsky
6-
* Copyright (C) 2020 Nextcloud GmbH
3+
* @author Tobias Kaminsky
4+
* Copyright (C) 2020 Tobias Kaminsky
5+
* Copyright (C) 2020 Nextcloud GmbH
76
*
8-
* This program is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU Affero General Public License as published by
10-
* the Free Software Foundation, either version 3 of the License, or
11-
* (at your option) any later version.
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
1213
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Affero General Public License for more details.
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
1716
*
18-
* You should have received a copy of the GNU Affero General Public License
19-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
21+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
22+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
2025
*
2126
*/
2227

0 commit comments

Comments
 (0)