2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00
Commit Graph

2977 Commits

Author SHA1 Message Date
Albert Vaca Cintora
0933f6bb5f Bump Apache CommonsIO version
And the desugaring library as well. ThreadLocal.withInitial can now be
desugared, so we can use newer versions of CommonsIO.
2023-03-20 00:04:56 +01:00
Albert Vaca Cintora
33e8e0407b Upgrade from SpongyCastle 1.58 to BouncyCastle 1.70
SpongyCastle was a fork of BouncyCastle needed before Android 3.0 because
of a conflict with Android's own version of BC. It's no longer needed and
rarely receives updates anymore [1]. Furthermore the version we were using
was from 2015 and had security issues (although I'm not sure we were
affected by them since we only use it to generate certificates).

With this change we now also use Java's standard library to read the certs
from a byte[] since the standard CertificateFactory can already do that.


[1] https://github.com/rtyley/spongycastle/issues/34
2023-03-19 23:00:25 +00:00
Albert Vaca Cintora
51dfa2dd8c Delay initialization of sftp server 2023-03-19 20:26:09 +00:00
Albert Vaca Cintora
1ba9e59872 SftpPlugin: use MANAGE_EXTERNAL_STORAGE instead of SAF in Android 11+
https://developer.android.com/training/data-storage/manage-all-files

BUG: 447636
BUG: 464431
2023-03-19 20:26:09 +00:00
Albert Vaca Cintora
76c3cc4c57 Prevent spam of "Invalid packet" when using remote mouse 2023-03-19 11:57:35 +01:00
l10n daemon script
79275c51cf GIT_SILENT made messages (after extraction) 2023-03-19 00:47:28 +00:00
Albert Vaca Cintora
83b0c04d51 Release 1.23.2 v1.23.2 2023-03-18 21:54:30 +01:00
Albert Vaca Cintora
3aba448bea Rollback android-device-names to 1.x
Was bumped in f2f1930cec but it was crashing
with "database disk image is malformed" and not returning a human name
2023-03-18 20:40:51 +01:00
l10n daemon script
5633183d57 GIT_SILENT made messages (after extraction) 2023-03-18 00:58:31 +00:00
Albert Vaca Cintora
a9e6fcff6a Release 1.23.1 v1.23.1 2023-03-17 20:03:19 +01:00
Albert Vaca Cintora
772eae7a4c Revert "Make linter happy: use try-with-resources"
Those require higher API levels. Added comment.

This reverts commit 84e78e4bda.
2023-03-17 19:31:26 +01:00
Albert Vaca Cintora
ff3239f876 Open the notification plugin settings even without permissions 2023-03-17 19:16:04 +01:00
Albert Vaca Cintora
2de744aad8 Allow configuring plugins without permissions
This fixes the bug introduced in f97216 which prevented configuring storage
locations because the plugin wasn't returned by `getPlugin` when there are
no storage locations present.
2023-03-17 19:03:20 +01:00
Albert Vaca Cintora
01f44f524a package -> packet typo fixes 2023-03-17 18:57:02 +01:00
Albert Vaca Cintora
d9e641ae28 Update comments 2023-03-17 18:35:27 +01:00
Albert Vaca Cintora
f2f1930cec Bump versions of deps 2023-03-17 18:35:27 +01:00
l10n daemon script
bf13753022 GIT_SILENT made messages (after extraction) 2023-03-17 00:57:06 +00:00
Albert Vaca Cintora
afa0f89644 Bump target SDK to 32
https://developer.android.com/about/versions/12/behavior-changes-12
2023-03-16 12:00:32 +00:00
Albert Vaca Cintora
764a8f8525 Release 1.23.0 v1.23.0 2023-03-16 12:51:42 +01:00
Albert Vaca Cintora
605c06b1e6 Fixes as per code review 2023-03-16 11:42:26 +00:00
Albert Vaca Cintora
26c1c2ac67 Remove commented if 2023-03-16 11:42:26 +00:00
Albert Vaca Cintora
e103d8cd47 Change version int to constant 2023-03-16 11:42:26 +00:00
Albert Vaca Cintora
9f037f841e Merge resources specific to API 21+ into the main resources 2023-03-16 11:42:26 +00:00
Albert Vaca Cintora
1002275ebe Remove even more checks for deprecated Android versions 2023-03-16 11:42:26 +00:00
Albert Vaca Cintora
3bfae23d1b Share Plugin: improvements for Android 11
* Do not ask for WRITE_EXTERNAL_STORAGE in Android 11+ (writing to "Downloads" is [allowed by default since 11](https://stackoverflow.com/questions/70248631/starting-from-android11-do-i-need-to-comply-to-androids-saf-just-to-even-creat)).
* Do not check for permissions before receiving a file. Try and let it error out, instead of silently doing nothing.
* Fix not offering to open content:// urls (we checked the URLs to be file:// urls to then convert them to content://).
* Better permission explanation text.
2023-03-15 22:01:39 +00:00
Albert Vaca Cintora
d2edd7a325 Sort plugins by name in preferences 2023-03-13 17:27:27 +00:00
l10n daemon script
a638d66dd3 GIT_SILENT Sync po/docbooks with svn 2023-03-13 02:06:46 +00:00
l10n daemon script
830a20fb87 GIT_SILENT made messages (after extraction) 2023-03-13 00:48:34 +00:00
l10n daemon script
148dd30d1b GIT_SILENT Sync po/docbooks with svn 2023-03-12 03:12:47 +00:00
l10n daemon script
74d3cea4f2 GIT_SILENT made messages (after extraction) 2023-03-12 00:46:05 +00:00
l10n daemon script
fd188b3e87 GIT_SILENT made messages (after extraction) 2023-03-11 00:48:46 +00:00
l10n daemon script
635452bcf6 GIT_SILENT made messages (after extraction) 2023-03-10 00:46:48 +00:00
l10n daemon script
03c0b06e39 GIT_SILENT made messages (after extraction) 2023-03-09 00:45:44 +00:00
l10n daemon script
0c24a78516 GIT_SILENT made messages (after extraction) 2023-03-08 00:46:51 +00:00
Albert Vaca Cintora
54952f11a5 Fix NPE 2023-03-07 15:41:58 +01:00
Albert Vaca Cintora
aae3518bb9 Remove specific list of ciphers
We can let the system use the full list when negotiating since we no longer
support Android < 5.0
2023-03-07 13:04:30 +00:00
l10n daemon script
4b3ddf9cc4 GIT_SILENT made messages (after extraction) 2023-03-07 00:46:47 +00:00
Albert Vaca Cintora
038f6e8598 Make linter happy: misc fixes 2023-03-06 00:02:45 +01:00
Albert Vaca Cintora
3212252e37 Make linter happy: use lambdas 2023-03-06 00:02:45 +01:00
Albert Vaca Cintora
84e78e4bda Make linter happy: use try-with-resources 2023-03-06 00:01:47 +01:00
Albert Vaca Cintora
cef68db2a6 Make linter happy: keep nullable/nonnull annotations 2023-03-06 00:01:47 +01:00
Albert Vaca Cintora
00f3fc43d0 Make linter happy: add final 2023-03-05 23:47:42 +01:00
Albert Vaca Cintora
20cc67e63a Extract strings 2023-03-05 22:26:19 +01:00
Albert Vaca Cintora
298b00a82e Reuse a single TrustManager 2023-03-05 22:11:58 +01:00
Albert Vaca Cintora
f97216c797 Sftp permissions aren't optional 2023-03-05 22:11:58 +01:00
Albert Vaca Cintora
0f4643e502 Project-wide optimize imports 2023-03-05 22:11:58 +01:00
Albert Vaca Cintora
42a7d5df41 Apply linter suggestions about left/right -> begin/end 2023-03-05 22:11:58 +01:00
Albert Vaca Cintora
6734efd227 Fix obviously broken out-of-bounds in loop 2023-03-05 21:42:17 +01:00
Albert Vaca Cintora
9cbfed84de Remove pre-kitkat code paths in SFTP plugin
We no longer support KitKat. This simplifies the SFTP plugin quite a bit since it contained a diferent code path for pre-kitkat devices
2023-03-05 16:15:03 +00:00
Albert Vaca Cintora
5b73c2bac2 Remove checks for SDK versions older than our target SDK
Removes conditional code for older Android versions (IceCreamSandwitch, JellyBean, KitKat, Lollipop) since we no longer support Android older than Lollipop (5.0).

This doesn't remove KitKat support in the SFTP plugin since it's a bit more convoluted. It will be done in a separate MR.
2023-03-05 16:14:01 +00:00