2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

3973 Commits

Author SHA1 Message Date
TPJ Schikhof
592b8a74a7 Unit testing for the SslHelper methods
(excluding methods involving RsaHelper)
2024-10-02 04:47:48 +00:00
Luca Carlon
38e713f489 Fix access to the Downloads directory on Android 10
On Android 10 the share files feature fails when the default
directory is selected. When selecting a custom directory, the
permission is explicitly asked to the user, which makes the
feature work. When the location is switched back to the default
location, the feature is again broken.

The requestLegacyExternalStorage flag brings back the old
behavior and allows to write in the directory. It should be however
ignored for Android >= 11 according to the docs:

https://developer.android.com/training/data-storage/use-cases#opt-out-in-production-app

From Android 11, the Downlods directory should not need specific permissions.
2024-10-02 04:41:39 +00:00
TPJ Schikhof
bb8649d869 Refactor storage helper and added unit tests 2024-10-02 04:26:23 +00:00
Philip Cohn-Cort
2e82673bbf Regenerate Gradle wrapper files 2024-10-02 03:52:19 +00:00
TPJ Schikhof
7ee33de646 Migrate BackgroundService to Kotlin 2024-10-02 03:51:59 +00:00
Albert Vaca Cintora
65a71696d5
Release 1.32.4 for Play Store without EXTERNAL STORAGE permission 2024-09-28 18:30:40 +02:00
Albert Vaca Cintora
e2aa79a252
Release 1.32.3 v1.32.3 2024-09-28 18:26:16 +02:00
Albert Vaca Cintora
1ffcaf076e
Bump deps 2024-09-28 18:21:06 +02:00
TPJ Schikhof
854b2a1c9f Migrate PluginFactory to Kotlin 2024-09-28 04:59:56 +00:00
l10n daemon script
8fb545d620 GIT_SILENT made messages (after extraction) 2024-09-27 01:53:54 +00:00
Marko Zajc
db615b82df Fix trusted networks
## Summary
1) Fix the code responsible for loading the trusted network list.
2) The old `#_#` delimiter has been replaced with a less likely NUL character. This requires re-adding trusted networks, so I can revert it if necessary.
3) Ignore incoming identity packets on untrusted devices if they come from an untrusted device.

BUG: 492302

## Test Plan

### Before:
1) Trusted networks were completely broken, an would show variations of `#` and `_` on the list due to a bug in the splitting code.
2) Any network with `#_#` in the SSID - although unlikely - would not be possible to use as a trusted network.
3) The device was still discoverable on an untrusted network by manually refreshing the devices list.

### After:
1) Trusted networks now load the SSID list correctly.
2) Networks with `#_#` in the SSID can be added as trusted networks.
3) The device is no longer discoverable on an untrusted network.
2024-09-21 22:24:46 +00:00
TPJ Schikhof
ee7d4a1f05 Migrate FindRemoteDevicePlugin to Kotlin 2024-09-16 10:24:04 +00:00
TPJ Schikhof
409ef6b579 Migrate PingPlugin to Kotlin 2024-09-16 10:20:43 +00:00
TPJ Schikhof
2c0a9d262e Migrate MockSharedPreference to Kotlin 2024-09-16 10:18:16 +00:00
TPJ Schikhof
2f10f1d0f2 Migrate NsdResolveQueue to Kotlin 2024-09-15 08:07:31 +00:00
l10n daemon script
9f788da478 GIT_SILENT made messages (after extraction) 2024-09-12 01:45:57 +00:00
TPJ Schikhof
ec952b49d9 Migrate LoopbackBackend to Kotlin 2024-09-10 21:22:59 +00:00
TPJ Schikhof
45da75f331 Migrate BackgroundJob(Handler) to Kotlin 2024-09-10 08:35:09 +00:00
Albert Vaca Cintora
283956c107
Bump targetSdk from 33 to 35 2024-09-08 14:35:36 +02:00
l10n daemon script
d605977b91 GIT_SILENT Sync po/docbooks with svn 2024-09-06 02:42:47 +00:00
Albert Vaca Cintora
80cf238354
Add changelog v1.32.2 2024-09-03 12:10:28 +02:00
Albert Vaca Cintora
8ee135b018
Release 1.32.2 2024-09-03 12:05:55 +02:00
Albert Vaca Cintora
2343dbf144
Release 1.32.2 for Play Store without EXTERNAL STORAGE permission 2024-09-03 12:04:38 +02:00
Albert Vaca Cintora
3f53180b1d
Unify the check for NativeFileSystem support 2024-09-03 12:03:03 +02:00
Albert Vaca Cintora
0f7af315f5
Bump deps 2024-09-03 12:03:03 +02:00
TPJ Schikhof
7ebac70d47 Migrate DeviceTest to Kotlin 2024-09-02 10:29:16 +00:00
TPJ Schikhof
9037647281 Migrate SafeTextCheckerTest to Kotlin 2024-09-02 10:27:24 +00:00
l10n daemon script
9373587268 GIT_SILENT made messages (after extraction) 2024-09-02 01:46:49 +00:00
TPJ Schikhof
0771415d8f Migrate RsaHelper to Kotlin 2024-08-31 17:38:59 +00:00
TPJ Schikhof
fb0e2cc01d Migrate files helper to Kotlin + add unit tests 2024-08-30 18:02:12 +00:00
TPJ Schikhof
584fb78bb7 Relieve getStorageList() out of it's misery since it's not being used anymore
I was about to migrate this to Kotlin but reasoned it would save some work to remove this first since it's not being used anyway.
2024-08-30 14:29:17 +00:00
l10n daemon script
ae12e3e6fc GIT_SILENT Sync po/docbooks with svn 2024-08-29 02:19:17 +00:00
l10n daemon script
8be80cae3e GIT_SILENT made messages (after extraction) 2024-08-29 01:47:24 +00:00
l10n daemon script
d41ed4d911 GIT_SILENT made messages (after extraction) 2024-08-28 01:57:12 +00:00
l10n daemon script
6f783b54a5 GIT_SILENT made messages (after extraction) 2024-08-27 01:50:35 +00:00
l10n daemon script
1f6d1ea544 GIT_SILENT Sync po/docbooks with svn 2024-08-26 02:33:49 +00:00
l10n daemon script
27737c46f2 GIT_SILENT made messages (after extraction) 2024-08-26 02:00:08 +00:00
l10n daemon script
6b99fe7e7c GIT_SILENT made messages (after extraction) 2024-08-25 01:47:57 +00:00
Adam Liscak
6e59a6241a Certificate Expiry Hadling After 10 Years
Auto reconfiguration of own certificate:

currently:
if kdeconncect loads its certificate and its expired or not effective yet
it generates a new certificate and deletes all remembered devices
(since these will stay unreachable anyways)

previously:
if kdeconncect loads its certificate and its expired or not effective yet
it continues having the same certificate
This brings forth an issue: Other devices would refuse to connect to a device with
an expired or non-effective certificate.

Auto-delete of orphan certificates:

currently:
Devices in kdeconnect's devicelist that have illegal ssl certificates
(expired, not effective yet, empty) get automatically deleted from the
devicelist
previously:
they would just exist forever until the user deletes them
2024-08-24 10:24:34 +00:00
l10n daemon script
7506d32cef GIT_SILENT made messages (after extraction) 2024-08-24 01:47:48 +00:00
l10n daemon script
c35dc4928c GIT_SILENT made messages (after extraction) 2024-08-23 01:47:03 +00:00
l10n daemon script
6070276489 GIT_SILENT Sync po/docbooks with svn 2024-08-22 02:30:41 +00:00
l10n daemon script
9685f7e69a GIT_SILENT made messages (after extraction) 2024-08-22 01:55:16 +00:00
TPJ Schikhof
69495136da Migrate RandomHelper to Kotlin 2024-08-21 18:55:00 +00:00
Mhammad Alloush
5f18cb571d Update MousePadActivity to support doubletap drag
This MR is a continuation of !439 , which changes the default 
behavior of the remote mouse plugin's drag and drop trigger
to be a double-tap to drag, and adds a new SwitchPreference
that toggles between the old (hold to drag) and new behavior.
2024-08-21 18:52:24 +00:00
TPJ Schikhof
ab1b1f7ecc Migrate MediaStoreHelper to Kotlin 2024-08-21 15:06:55 +00:00
l10n daemon script
3f8170eae8 GIT_SILENT made messages (after extraction) 2024-08-20 02:02:39 +00:00
Albert Vaca Cintora
eb6784b626
Release 1.32.1 v1.32.1 2024-08-19 01:08:16 +02:00
Albert Vaca Cintora
1beb8d4581
Bump deps 2024-08-18 23:59:04 +02:00
Albert Vaca Cintora
16067d7523
Fix crash 2024-08-18 23:59:04 +02:00