Skip to content

Commit ac0cdc7

Browse files
committed
Change license to MPL-2.0
1 parent 5c2ace0 commit ac0cdc7

Some content is hidden

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

60 files changed

+555
-978
lines changed

LICENSE

+373-674
Large diffs are not rendered by default.

README.md

+7-16
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,24 @@
55
# dav4android
66

77
dav4android is an Android WebDAV/CalDAV/CardDAV library which has
8-
primarily been developed for [DAVdroid](https://www.davdroid.com).
8+
initially been developed for [DAVdroid](https://www.davdroid.com).
99

10-
It's not intended as a general WebDAV framework for all kinds of
11-
applications, but you may find it useful to fork and adapt it
12-
to your needs.
10+
Original repository: https://gitlab.com/bitfireAT/dav4android/
1311

1412
Generated KDoc: https://bitfireAT.gitlab.io/dav4android/dokka/dav4android/
1513

1614

17-
## Contact
15+
## Contact / License
1816

19-
```
20-
bitfire web engineering – Stockmann, Hirner GesnbR
21-
Florastraße 27
22-
2540 Bad Vöslau, AUSTRIA
23-
```
24-
25-
Email: [play@bitfire.at](mailto:play@bitfire.at) (do not use this)
17+
dav4android is licensed under [Mozilla Public License, v. 2.0](LICENSE).
2618

2719
For questions, suggestions etc. please use the DAVdroid forum:
2820
https://www.davdroid.com/forums/
2921

22+
Email: [play@bitfire.at](mailto:play@bitfire.at)
3023

31-
## License
3224

33-
Copyright (C) bitfire web engineering (Ricki Hirner, Bernhard Stockmann).
25+
## Contributors
3426

35-
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome
36-
to redistribute it under the conditions of the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.html).
27+
* Ricki Hirner (initial contributor)
3728

src/androidTest/java/at/bitfire/dav4android/DavCollectionTest.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/androidTest/java/at/bitfire/dav4android/DavResourceTest.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/androidTest/java/at/bitfire/dav4android/XmlUtilsTest.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/AndroidManifest.xml

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
<!--
2-
~ Copyright © Ricki Hirner (bitfire web engineering).
3-
~ All rights reserved. This program and the accompanying materials
4-
~ are made available under the terms of the GNU Public License v3.0
5-
~ which accompanies this distribution, and is available at
6-
~ http://www.gnu.org/licenses/gpl.html
2+
~ This Source Code Form is subject to the terms of the Mozilla Public
3+
~ License, v. 2.0. If a copy of the MPL was not distributed with this
4+
~ file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
-->
86

97
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
108
package="at.bitfire.dav4android">
119

1210
<uses-permission android:name="android.permission.INTERNET"/>
1311

14-
<application android:label="@string/app_name"/>
15-
1612
</manifest>

src/main/java/at/bitfire/dav4android/BasicDigestAuthHandler.kt

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android
@@ -25,7 +23,7 @@ import java.util.concurrent.atomic.AtomicInteger
2523
* Authentication methods/credentials found to be working will be cached for further requests
2624
* (this is why the interceptor is needed).
2725
*
28-
* Usage: Set as authenticator <b>and</b> as network interceptor.
26+
* Usage: Set as authenticator **and** as network interceptor.
2927
*/
3028
class BasicDigestAuthHandler(
3129
/** Authenticate only against hosts ending with this domain (may be null, which means no restriction) */

src/main/java/at/bitfire/dav4android/Constants.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/DavAddressBook.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/DavCalendar.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/DavCollection.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/DavResource.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/DavResponse.kt

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5+
*/
6+
17
package at.bitfire.dav4android
28

39
import at.bitfire.dav4android.property.SyncToken

src/main/java/at/bitfire/dav4android/HttpUtils.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/Property.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/PropertyFactory.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/PropertyRegistry.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/QuotedStringUtils.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/UrlUtils.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/XmlUtils.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android

src/main/java/at/bitfire/dav4android/exception/ConflictException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/DavException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/HttpException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/NotFoundException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/PreconditionFailedException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/ServiceUnavailableException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/exception/UnauthorizedException.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.exception

src/main/java/at/bitfire/dav4android/property/AddressData.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* Copyright © Ricki Hirner (bitfire web engineering).
3-
* All rights reserved. This program and the accompanying materials
4-
* are made available under the terms of the GNU Public License v3.0
5-
* which accompanies this distribution, and is available at
6-
* http://www.gnu.org/licenses/gpl.html
2+
* This Source Code Form is subject to the terms of the Mozilla Public
3+
* License, v. 2.0. If a copy of the MPL was not distributed with this
4+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
75
*/
86

97
package at.bitfire.dav4android.property

0 commit comments

Comments
 (0)