diff --git a/.idea/copyright/Quasseldroid.xml b/.idea/copyright/Quasseldroid.xml index a2c0b251aa5ac79480b24c9f493ccdbc31bb9cfe..9b44d9579ec024673b7ee68c368b40aefcf8c3ee 100644 --- a/.idea/copyright/Quasseldroid.xml +++ b/.idea/copyright/Quasseldroid.xml @@ -1,7 +1,7 @@ <component name="CopyrightManager"> <copyright> <option name="allowReplaceRegexp" value="Quasseldroid" /> + <option name="notice" value="Quasseldroid - Quassel client for Android Copyright (c) &#36;today.year Janne Koschinski Copyright (c) &#36;today.year The Quassel Project This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>." /> <option name="myName" value="Quasseldroid" /> - <option name="notice" value="Quasseldroid - Quassel client for Android Copyright (c) &#36;today.year Janne Koschinski Copyright (c) &#36;today.year Ken Børge Viktil Copyright (c) &#36;today.year Magnus Fjell Copyright (c) &#36;today.year Martin Sandsmark Copyright (c) &#36;today.year The Quassel Project This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>." /> </copyright> </component> \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml index f46dd7bcaab8ad7967deb6515763c5d115af6ea4..ce157256070707215e0c99cf4488da5139f26e15 100644 --- a/.idea/copyright/profiles_settings.xml +++ b/.idea/copyright/profiles_settings.xml @@ -1,5 +1,8 @@ <component name="CopyrightManager"> <settings> + <module2copyright> + <element module="Project Source Files" copyright="Quasseldroid" /> + </module2copyright> <LanguageOptions name="HTML"> <option name="fileTypeOverride" value="3" /> <option name="prefixLines" value="false" /> diff --git a/app/src/main/java/de/kuschku/quasseldroid/ui/chat/add/create/NetworkItem.kt b/app/src/main/java/de/kuschku/quasseldroid/ui/chat/add/create/NetworkItem.kt index 12581d987dcddf4ee08819acfbceffdcdfd9fa02..7a2341bddac2f8788abc5b14e0acf7cc8a87b837 100644 --- a/app/src/main/java/de/kuschku/quasseldroid/ui/chat/add/create/NetworkItem.kt +++ b/app/src/main/java/de/kuschku/quasseldroid/ui/chat/add/create/NetworkItem.kt @@ -1,3 +1,22 @@ +/* + * Quasseldroid - Quassel client for Android + * + * Copyright (c) 2019 Janne Koschinski + * Copyright (c) 2019 The Quassel Project + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3 as published + * by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + package de.kuschku.quasseldroid.ui.chat.add.create import de.kuschku.libquassel.protocol.NetworkId diff --git a/app/src/main/res/drawable/bg_banner.xml b/app/src/main/res/drawable/bg_banner.xml index c4ef68b1e7a317c36a54401002a0cfc813fdd91c..209b7f44ff61590357083a7bbb00fb54438050d3 100644 --- a/app/src/main/res/drawable/bg_banner.xml +++ b/app/src/main/res/drawable/bg_banner.xml @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Quasseldroid - Quassel client for Android + + Copyright (c) 2019 Janne Koschinski + Copyright (c) 2019 The Quassel Project + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as published + by the Free Software Foundation. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="?colorBackgroundSnackbar" /> <item android:drawable="?selectableItemBackground" /> diff --git a/app/src/main/res/layout/add_create.xml b/app/src/main/res/layout/add_create.xml index 0d5cb2083f4996294296542cd8bf4b79587ce717..49c6f508ee502fad993bf54748509f5e50cb137f 100644 --- a/app/src/main/res/layout/add_create.xml +++ b/app/src/main/res/layout/add_create.xml @@ -1,5 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Quasseldroid - Quassel client for Android + + Copyright (c) 2019 Janne Koschinski + Copyright (c) 2019 The Quassel Project + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as published + by the Free Software Foundation. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/add_join.xml b/app/src/main/res/layout/add_join.xml index 4aa14e1161d23f8d2230e358303118c0b33ec9c2..c409cbfc59be09cabdba386495e483cd4e7232c9 100644 --- a/app/src/main/res/layout/add_join.xml +++ b/app/src/main/res/layout/add_join.xml @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Quasseldroid - Quassel client for Android + + Copyright (c) 2019 Janne Koschinski + Copyright (c) 2019 The Quassel Project + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as published + by the Free Software Foundation. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/add_query.xml b/app/src/main/res/layout/add_query.xml index 4aa14e1161d23f8d2230e358303118c0b33ec9c2..c409cbfc59be09cabdba386495e483cd4e7232c9 100644 --- a/app/src/main/res/layout/add_query.xml +++ b/app/src/main/res/layout/add_query.xml @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Quasseldroid - Quassel client for Android + + Copyright (c) 2019 Janne Koschinski + Copyright (c) 2019 The Quassel Project + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as published + by the Free Software Foundation. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/values/strings_addchat.xml b/app/src/main/res/values/strings_addchat.xml index 74cdbb64ddc7f9a1f6a345f622760e702f477f49..eefecb8de86f225135cc774276910babe37387cc 100644 --- a/app/src/main/res/values/strings_addchat.xml +++ b/app/src/main/res/values/strings_addchat.xml @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Quasseldroid - Quassel client for Android + + Copyright (c) 2019 Janne Koschinski + Copyright (c) 2019 The Quassel Project + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as published + by the Free Software Foundation. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + <resources> <string name="addchat_channel_hidden">Hidden</string> diff --git a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/ChatViewModelHelper.kt b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/ChatViewModelHelper.kt index c17c10dc13307f6046da7cf9648fdc1743b3570b..de1ce86a4575f906a7609fe552c784de946a3dc5 100644 --- a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/ChatViewModelHelper.kt +++ b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/ChatViewModelHelper.kt @@ -1,3 +1,22 @@ +/* + * Quasseldroid - Quassel client for Android + * + * Copyright (c) 2019 Janne Koschinski + * Copyright (c) 2019 The Quassel Project + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3 as published + * by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + package de.kuschku.quasseldroid.viewmodel.helper import de.kuschku.libquassel.protocol.BufferId diff --git a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/EditorViewModelHelper.kt b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/EditorViewModelHelper.kt index a70a4eba4db9af069272b92cfc2e3ae5ff4fa624..ebe446511ca95b8f6dcd74834d5b7db5b28ba819 100644 --- a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/EditorViewModelHelper.kt +++ b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/EditorViewModelHelper.kt @@ -1,3 +1,22 @@ +/* + * Quasseldroid - Quassel client for Android + * + * Copyright (c) 2019 Janne Koschinski + * Copyright (c) 2019 The Quassel Project + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3 as published + * by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + package de.kuschku.quasseldroid.viewmodel.helper import de.kuschku.libquassel.protocol.BufferId diff --git a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/QuasselViewModelHelper.kt b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/QuasselViewModelHelper.kt index 7c839ebf0398b2fe351d971fab26641212c2d075..4159c5a67b79248a7b550f10a48b3ee1a926cb37 100644 --- a/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/QuasselViewModelHelper.kt +++ b/viewmodel/src/main/java/de/kuschku/quasseldroid/viewmodel/helper/QuasselViewModelHelper.kt @@ -1,3 +1,22 @@ +/* + * Quasseldroid - Quassel client for Android + * + * Copyright (c) 2019 Janne Koschinski + * Copyright (c) 2019 The Quassel Project + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3 as published + * by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + package de.kuschku.quasseldroid.viewmodel.helper import de.kuschku.libquassel.connection.ConnectionState