From: Soren Stoutner Date: Mon, 30 Oct 2023 19:10:55 +0000 (-0700) Subject: Release 1.10. X-Git-Tag: v1.10 X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyCell.git;a=commitdiff_plain;h=HEAD;hp=b11b84b24c660fac3a69f2dbe4bd615d73811219 Release 1.10. --- diff --git a/COPYING b/COPYING index aa4972b..1f57575 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Privacy Cell copyright © 2021-2022 Soren Stoutner . +Privacy Cell copyright © 2021-2023 Soren Stoutner . This file is part of Privacy Cell . diff --git a/app/build.gradle b/app/build.gradle index 6474dbf..766effb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright © 2021-2022 Soren Stoutner . + * Copyright 2021-2023 Soren Stoutner . * * This file is part of Privacy Cell . * @@ -23,14 +23,26 @@ plugins { } android { - compileSdk 31 + compileSdk 34 defaultConfig { applicationId "com.stoutner.privacycell" minSdk 30 - targetSdk 31 - versionCode 8 - versionName "1.7" + targetSdk 34 + versionCode 12 + versionName "1.10" + resourceConfigurations += ['en', 'de', 'es', 'fr', 'it', 'ru'] + } + + // Specify the compile Java version. This must match the Kotlin JVM target. For some reason the system was not setting this correctly. These can probably be removed in the future. + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + + // Specify the Kotlin JVM target. This must match the compile Java version. For some reason the system was not setting this correctly. These can probably be removed in the future. + kotlinOptions { + jvmTarget = 17 } buildTypes { @@ -45,20 +57,23 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + + namespace 'com.stoutner.privacycell' } dependencies { // Include the following AndroidX libraries. - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.preference:preference-ktx:1.2.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'androidx.core:core-ktx:1.12.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2' + implementation 'androidx.preference:preference-ktx:1.2.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'androidx.webkit:webkit:1.4.0' - implementation 'androidx.work:work-runtime-ktx:2.7.1' + implementation 'androidx.webkit:webkit:1.8.0' + implementation 'androidx.work:work-runtime-ktx:2.8.1' // Include the Kotlin standard library. This should be the same version number listed in the project build.gradle. - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22' // Include the Google material library. - implementation 'com.google.android.material:material:1.5.0' -} \ No newline at end of file + implementation 'com.google.android.material:material:1.10.0' +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4deb14c..7a0c5ca 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + - - + + + + + + @@ -41,16 +44,14 @@ - + + android:localeConfig="@xml/locales_config" + tools:ignore="UnusedAttribute" > + android:parentActivityName=".activities.PrivacyCellActivity" + android:screenOrientation="fullUser" /> - + + + + - \ No newline at end of file + diff --git a/app/src/main/assets/css/theme.css b/app/src/main/assets/css/theme.css index 4ba9d88..a78eb75 100644 --- a/app/src/main/assets/css/theme.css +++ b/app/src/main/assets/css/theme.css @@ -34,7 +34,7 @@ a { @media (prefers-color-scheme: dark) { a { - color: #8AB4F8; /* Violet 500 */ + color: #5785C5; /* Violet 700 */ } } diff --git a/app/src/main/assets/de/changelog.html b/app/src/main/assets/de/changelog.html index 842e2ef..0689f8d 100644 --- a/app/src/main/assets/de/changelog.html +++ b/app/src/main/assets/de/changelog.html @@ -1,7 +1,7 @@ - - - - - diff --git a/app/src/main/assets/images/list_alt_rounded_24.svg b/app/src/main/assets/images/list_alt_rounded_24.svg new file mode 100644 index 0000000..c888193 --- /dev/null +++ b/app/src/main/assets/images/list_alt_rounded_24.svg @@ -0,0 +1,30 @@ + + + + + + + + diff --git a/app/src/main/assets/images/notification_important_rounded_filled.svg b/app/src/main/assets/images/notification_important_rounded_filled.svg new file mode 100644 index 0000000..202926a --- /dev/null +++ b/app/src/main/assets/images/notification_important_rounded_filled.svg @@ -0,0 +1,30 @@ + + + + + + + + diff --git a/app/src/main/assets/images/payments_rounded.svg b/app/src/main/assets/images/payments_rounded.svg index 8a9b2b6..7d707ee 100644 --- a/app/src/main/assets/images/payments_rounded.svg +++ b/app/src/main/assets/images/payments_rounded.svg @@ -3,7 +3,7 @@ + - \ No newline at end of file + android:fillColor="@color/blue_icon" + android:pathData="M5,21q-0.825,0 -1.413,-0.587Q3,19.825 3,19L3,5q0,-0.825 0.587,-1.413Q4.175,3 5,3h14q0.825,0 1.413,0.587Q21,4.175 21,5v14q0,0.825 -0.587,1.413Q19.825,21 19,21ZM5,19h14L19,5L5,5v14ZM8,17q0.425,0 0.713,-0.288Q9,16.425 9,16t-0.287,-0.713Q8.425,15 8,15t-0.713,0.287Q7,15.575 7,16t0.287,0.712Q7.575,17 8,17ZM8,13q0.425,0 0.713,-0.288Q9,12.425 9,12t-0.287,-0.713Q8.425,11 8,11t-0.713,0.287Q7,11.575 7,12t0.287,0.712Q7.575,13 8,13ZM8,9q0.425,0 0.713,-0.288Q9,8.425 9,8t-0.287,-0.713Q8.425,7 8,7t-0.713,0.287Q7,7.575 7,8t0.287,0.712Q7.575,9 8,9ZM12,17h4q0.425,0 0.712,-0.288Q17,16.425 17,16t-0.288,-0.713Q16.425,15 16,15h-4q-0.425,0 -0.712,0.287Q11,15.575 11,16t0.288,0.712Q11.575,17 12,17ZM12,13h4q0.425,0 0.712,-0.288Q17,12.425 17,12t-0.288,-0.713Q16.425,11 16,11h-4q-0.425,0 -0.712,0.287Q11,11.575 11,12t0.288,0.712Q11.575,13 12,13ZM12,9h4q0.425,0 0.712,-0.288Q17,8.425 17,8t-0.288,-0.713Q16.425,7 16,7h-4q-0.425,0 -0.712,0.287Q11,7.575 11,8t0.288,0.712Q11.575,9 12,9ZM5,19L5,5v14Z" + tools:ignore="VectorPath" /> + diff --git a/app/src/main/res/drawable/news.xml b/app/src/main/res/drawable/news.xml index cefd2fd..5d70ee1 100644 --- a/app/src/main/res/drawable/news.xml +++ b/app/src/main/res/drawable/news.xml @@ -9,6 +9,6 @@ android:autoMirrored="true" > - \ No newline at end of file + diff --git a/app/src/main/res/drawable/notification_permission.xml b/app/src/main/res/drawable/notification_permission.xml new file mode 100644 index 0000000..24cb942 --- /dev/null +++ b/app/src/main/res/drawable/notification_permission.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/app/src/main/res/drawable/permissions.xml b/app/src/main/res/drawable/permissions.xml index 3578a4d..bae4fa9 100644 --- a/app/src/main/res/drawable/permissions.xml +++ b/app/src/main/res/drawable/permissions.xml @@ -8,22 +8,22 @@ android:viewportWidth="24" > diff --git a/app/src/main/res/drawable/phone_permission.xml b/app/src/main/res/drawable/phone_permission.xml index 4a43a30..12f65df 100644 --- a/app/src/main/res/drawable/phone_permission.xml +++ b/app/src/main/res/drawable/phone_permission.xml @@ -7,6 +7,6 @@ android:viewportWidth="24"> diff --git a/app/src/main/res/drawable/privacy_cell_monochrome.xml b/app/src/main/res/drawable/privacy_cell_monochrome.xml new file mode 100644 index 0000000..2760c7c --- /dev/null +++ b/app/src/main/res/drawable/privacy_cell_monochrome.xml @@ -0,0 +1,40 @@ + + + + + + + + + diff --git a/app/src/main/res/drawable/privacy_policy.xml b/app/src/main/res/drawable/privacy_policy.xml index 1e0b7ad..b2ea3b5 100644 --- a/app/src/main/res/drawable/privacy_policy.xml +++ b/app/src/main/res/drawable/privacy_policy.xml @@ -8,10 +8,10 @@ android:viewportWidth="24" > \ No newline at end of file diff --git a/app/src/main/res/drawable/protocols.xml b/app/src/main/res/drawable/protocols.xml index ea5cd78..6b4efb4 100644 --- a/app/src/main/res/drawable/protocols.xml +++ b/app/src/main/res/drawable/protocols.xml @@ -8,6 +8,6 @@ android:viewportWidth="24" > \ No newline at end of file diff --git a/app/src/main/res/drawable/roadmap.xml b/app/src/main/res/drawable/roadmap.xml index e0075d5..bebdbcb 100644 --- a/app/src/main/res/drawable/roadmap.xml +++ b/app/src/main/res/drawable/roadmap.xml @@ -8,6 +8,6 @@ android:viewportWidth="24" > \ No newline at end of file diff --git a/app/src/main/res/drawable/save.xml b/app/src/main/res/drawable/save.xml index 1705dc1..3d1e203 100644 --- a/app/src/main/res/drawable/save.xml +++ b/app/src/main/res/drawable/save.xml @@ -8,6 +8,6 @@ android:viewportWidth="24" > \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_notification_disabled.xml b/app/src/main/res/drawable/secure_notification_disabled.xml index fe45484..c28c7f2 100644 --- a/app/src/main/res/drawable/secure_notification_disabled.xml +++ b/app/src/main/res/drawable/secure_notification_disabled.xml @@ -1,5 +1,5 @@ + @@ -121,7 +120,6 @@ android:layout_width="wrap_content" android:layout_gravity="center_horizontal" android:textAlignment="center" - android:textColor="@color/blue_text" android:textSize="18sp" android:textStyle="bold" /> @@ -148,7 +146,6 @@ android:layout_width="wrap_content" android:layout_gravity="center_horizontal" android:textAlignment="center" - android:textColor="@color/blue_text" android:textSize="18sp" android:textStyle="bold" /> @@ -184,5 +181,5 @@ android:layout_width="wrap_content" android:layout_gravity="start" app:menu="@menu/navigation_menu_bottom_appbar" - app:itemIconTint="@color/icon_enabled" /> + app:itemIconTint="@color/blue_icon" /> \ No newline at end of file diff --git a/app/src/main/res/layout/privacy_cell_top_appbar.xml b/app/src/main/res/layout/privacy_cell_top_appbar.xml index 356f084..0fab973 100644 --- a/app/src/main/res/layout/privacy_cell_top_appbar.xml +++ b/app/src/main/res/layout/privacy_cell_top_appbar.xml @@ -1,7 +1,7 @@ + @@ -133,7 +132,6 @@ android:layout_width="wrap_content" android:layout_gravity="center_horizontal" android:textAlignment="center" - android:textColor="@color/blue_text" android:textSize="18sp" android:textStyle="bold" /> @@ -160,7 +158,6 @@ android:layout_width="wrap_content" android:layout_gravity="center_horizontal" android:textAlignment="center" - android:textColor="@color/blue_text" android:textSize="18sp" android:textStyle="bold" /> @@ -183,5 +180,5 @@ android:layout_width="wrap_content" android:layout_gravity="start" app:menu="@menu/navigation_menu_top_appbar" - app:itemIconTint="@color/icon_enabled" /> + app:itemIconTint="@color/blue_icon" /> \ No newline at end of file diff --git a/app/src/main/res/layout/settings_bottom_appbar.xml b/app/src/main/res/layout/settings_bottom_appbar.xml index 8b872ff..0135d29 100644 --- a/app/src/main/res/layout/settings_bottom_appbar.xml +++ b/app/src/main/res/layout/settings_bottom_appbar.xml @@ -1,7 +1,7 @@ - \ No newline at end of file + diff --git a/app/src/main/res/layout/settings_top_appbar.xml b/app/src/main/res/layout/settings_top_appbar.xml index 1ed0797..380c124 100644 --- a/app/src/main/res/layout/settings_top_appbar.xml +++ b/app/src/main/res/layout/settings_top_appbar.xml @@ -1,7 +1,7 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap/privacy_cell.xml b/app/src/main/res/mipmap/privacy_cell.xml new file mode 100644 index 0000000..20a0f54 --- /dev/null +++ b/app/src/main/res/mipmap/privacy_cell.xml @@ -0,0 +1,27 @@ + + + + + + + + + diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index e0b8ce1..9fb8c9a 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,7 +1,7 @@ + Ihr Gerät ist mit einem Netzwerk verbunden, das sichere Protokolle verwendet.\n\nEs ist vor Stingray-IMSI-Man-in-the-middle-Angriffen geschützt. + Ihr Gerät ist mit einem Netzwerk verbunden, das unsichere Protokolle verwendet.\n\nEs ist nicht vor Stingray-IMSI-Man-in-the-middle-Angriffen geschützt. + Ihr Gerät ist mit einem Netzwerk verbunden, das veraltete Protokolle verwendet.\n\nEs ist dadurch für etliche Sicherheits-Schwachstellen anfällig. Sprach-Netzwerk: \u0020 %1$s Daten-Netzwerk: \u0020 %1$s Zusätzliche Netzwerk-Information: \u0020 %1$s @@ -113,21 +116,29 @@ NR Advanced – 5G New Radio Advanced - + Telefon-Berechtigung Privacy Cell benötigt lesenden Zugriff auf den Status Ihres Telefons, um das Sicherheits-Niveau Ihrer Mobilfunk-Verbindung zu ermitteln. + Benachrichtigungs-Berechtigung + Privacy Cell benötigt die Benachrichtigungs-Berechtigung, um Benachrichtigungen des Echtzeit-Monitorings anzeigen zu können. OK Stingrays + Veraltetes Netzwerk Schließen Überwachung Echtzeit-Überwachung Plaziert ein Icon in der Statusleiste, das die Überwachung der Mobilfunk-Verbindung anzeigt. + Die Benachrichtigungs-Berechtigung für Privacy Cell wurde abgelehnt. Daher werden derzeit keine Benachrichtigungen angezeigt. Benachrichtigung über sicheres Netzwerk Benachrichtigung über unsicheres Netzwerk + Benachrichtigung über veraltetes Netzwerk + 3G als veraltet ansehen + 3G-Protokolle als veraltet ansehen. Zu einem späteren Zeitpunkt wird dies zur Standard-Einstellung werden. + Das Ändern dieser Einstellung startet Privacy Cell neu. Anschluss Anwendungs-Leiste unten Zeigt die Anwendungs-Leiste am unteren Bildschirmrand an. Nach Ändern dieser Einstellung wird Privacy Cell neu gestartet. @@ -145,9 +156,13 @@ Sicher Unsicher + Veraltet Sie sind mit einem sicheren Netzwerk verbunden. + Sie sind mit einem unsicheren Netzwerk verbunden. + Sie sind mit einem veralteten Netzwerk verbunden. Der Sicherheits-Status des Netzwerks ist unbekannt. Sicheres Netzwerk Unsicheres Netzwerk + Veraltetes Netzwerk Unbekanntes Netzwerk - \ No newline at end of file + diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 6b9f847..a839c1c 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,7 +1,7 @@ + Permiso telefónico Privacy Cell necesita el permiso del teléfono "Leer estado del teléfono" para determinar el nivel de seguridad de su conexión celular. + Permiso de notificación + Privacy Cell necesita el permiso Post Notification para mostrar las notificaciones de monitoreo en tiempo real. OK @@ -130,6 +132,7 @@ Monitorización Monitorización en tiempo real Coloca un icono en la barra de estado que monitoriza la red celular. + El permiso de publicación de notificaciones está actualmente denegado, por lo que no se mostrarán las notificaciones. Notificación de red segura Notificación de red insegura Notificación de red obsoleta @@ -162,4 +165,4 @@ Red insegura Red anticuada Red desconocida - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 2e24f1a..1773a36 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,7 +1,7 @@ + Autorisations Privacy Cell a besoin de l\'autorisation READ PHONE STATE pour déterminer le niveau de sécurité de votre connexion cellulaire. + Autorisation de notification + Privacy Cell a besoin de l\'autorisation Post Notification pour afficher les notifications de surveillance en temps réel. OK @@ -131,6 +133,7 @@ Supervision Supervision en temps-réel Placez une icône dans la barre d\'état qui surveille le réseau cellulaire. + L\'autorisation d\'afficher les notifications est actuellement refusée, les notifications ne seront donc pas affichées. Notification de réseau sécurisé Notification de réseau non sécurisé Notification de réseau obsolète @@ -162,4 +165,4 @@ Réseau non-sécurisé Réseau obsolète Réseau inconnu - \ No newline at end of file + diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 54689e8..dc1dc29 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -1,7 +1,7 @@ + Autorizzazioni sul dispositivo Privacy Cell ha bisogno dell\'autorizzazione di lettura dello stato del telefono per poter determinare il livello si sicurezza della connessione. + Autorizzazione per le notifiche + Privacy Cell ha bisogno dell\'autorizzazione "Post Notification" per mostrare le notifiche del monitoraggio in tempo reale. OK @@ -130,6 +132,7 @@ Monitoraggio Monitoraggio in tempo reale Aggiunge un\'icona nella barra di stato che monitora la rete cellulare. + L\'autorizzazione "Post Notification" non è stata al momento concessa per cui le notifiche non saranno visualizzate. Notifica di rete sicura Notifica di rete insicura Notifiche di Rete Antiquata @@ -162,4 +165,4 @@ Rete insicura Rete Antiquata Rete sconosciuta - \ No newline at end of file + diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index fe387b1..ea6c39b 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -23,12 +23,12 @@ @color/gray_825 @color/violet_500 @color/violet_500 - @color/gray_500 - @color/violet_500 - @color/gray_700 - @color/white + @color/gray_500 + @color/gray_700 + @color/white @color/salmon @color/red_900 @color/salmon @color/yellow_700 + @color/yellow_900 \ No newline at end of file diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 2b2ec2b..fab1a37 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -1,7 +1,7 @@ + Разрешение телефона Privacy Cell необходимо разрешение на чтение состояния телефона для определения степени безопасности вашего мобильного подключения. + Разрешение на уведомления + Privacy Cell требуется разрешение на отправку уведомлений для отображения уведомлений мониторинга в реальном времени. OK @@ -128,6 +130,7 @@ Мониторинг Мониторинг в реальном времени Поместить в строку состояния значок для отслеживания сотовой сети. + Разрешение на отправку уведомлений в настоящее время запрещено, поэтому уведомления отображаться не будут. Уведомление о безопасной сети Уведомление о небезопасной сети Оповещение об устаревшей сети @@ -159,4 +162,4 @@ Небезопасная сеть Устаревшая сеть Неизвестная сеть - \ No newline at end of file + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a26fc5c..a45a3d7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -23,14 +23,14 @@ @color/gray_200 @color/blue_700 @color/blue_700 - @color/gray_600 - @color/blue_700 - @color/gray_425 - @color/gray_925 + @color/gray_600 + @color/gray_425 + @color/gray_925 @color/red_700 @color/red_700 @color/red_700 @color/yellow_700 + @color/yellow_900 #FFFFD54F diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 648a078..609cde0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,7 +1,7 @@ + Phone Permission Privacy Cell needs the Read Phone State permission to determine the safety level of your cell connection. + Notification Permission + Privacy Cell needs the Post Notification permission to display realtime monitoring notifications. OK @@ -132,6 +134,7 @@ Monitoring Realtime monitoring Place an icon in the status bar that monitors the cell network. + The Post Notification permission is currently denied, so notifications will not be displayed. Secure network notification Insecure network notification Antiquated network notification @@ -176,4 +179,4 @@ consider_3g_antiquated interface bottom_app_bar - \ No newline at end of file + diff --git a/app/src/main/res/xml/locales_config.xml b/app/src/main/res/xml/locales_config.xml new file mode 100644 index 0000000..8635f4b --- /dev/null +++ b/app/src/main/res/xml/locales_config.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 20dc853..d49d9b6 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,7 +1,7 @@