Commit Graph

8321 Commits

Author SHA1 Message Date
Torsten Grote
ed90ed8b67 [app] check for updates after uninstalling an app
it may happen that the uninstalled app had an update that we should remove from the UI and notifications
2023-05-26 15:57:13 -03:00
Torsten Grote
d539c9d09c Merge branch '2595-text-color' into 'master'
Slightly darker app names in cards to improve readability

Closes #2595

See merge request fdroid/fdroidclient!1215
2023-05-26 14:34:27 +00:00
Torsten Grote
6598a440f0 [app] slightly darker app names to improve readability
also unify app card text sizes while at it
2023-05-26 13:52:52 +00:00
Torsten Grote
0a69983b0f Merge branch 'cleanup_theme_handling' into 'master'
cleanup theme handling

See merge request fdroid/fdroidclient!1219
2023-05-26 13:46:33 +00:00
Conny Duck
bf867e5b71 cleanup theme handling 2023-05-26 13:46:32 +00:00
Torsten Grote
4bfe05a370 Merge branch 'zip-signing-overhaul' into 'master'
overhaul use of bouncycastle

See merge request fdroid/fdroidclient!1209
2023-05-25 13:26:50 +00:00
Hans-Christoph Steiner
04be5ed630 only run Robolectric test of verifying index-v1.jar sig in CI
The CI has a hack to support SHA1 still, see
d7dc001b9b in !1192
2023-05-25 11:58:01 +00:00
Hans-Christoph Steiner
5063a9770b SignatureBlockGenerator: explicitly use BouncyCastleProvider
"BC" can come from Android, and that built-in version was always incomplete,
and on some versions of Android, it is now partially or completely removed.
2023-05-25 11:58:01 +00:00
Hans-Christoph Steiner
12a677a225 purge unused ZipSigner code
This includes some references to the "BC" provider that now do not need to
be ported:
https://android-developers.googleblog.com/2018/03/cryptography-changes-in-android-p.html
2023-05-25 11:58:01 +00:00
Hans-Christoph Steiner
2c9737f126 add simpified test of ZipSigner.signApk() 2023-05-25 11:58:01 +00:00
Hans-Christoph Steiner
49ff4b4ba3 ZipSigner: support tiny files
If the buffer is larger than the file size, use a smaller buffer. Otherwise:

    java.lang.IllegalStateException: End of central directory not found in /tmp/kellinwood.security.zipsigner.ZipSignerTest16439972358588480823unsigned.jar
        at kellinwood.zipio.ZipInput.scanForEOCDR(ZipInput.java:124)
        at kellinwood.zipio.ZipInput.doRead(ZipInput.java:148)
        at kellinwood.zipio.ZipInput.read(ZipInput.java:72)
        at kellinwood.security.zipsigner.ZipSigner.signZip(ZipSigner.java:660)
        at kellinwood.security.zipsigner.ZipSignerTest.testSignApk(ZipSignerTest.java:117)
2023-05-25 11:58:01 +00:00
Torsten Grote
b91260da16 Merge branch 'cleanup_resources' into 'master'
cleanup no longer needed resource variants

See merge request fdroid/fdroidclient!1201
2023-05-24 20:42:23 +00:00
Conny Duck
845cfaab24 cleanup no longer needed resource variants 2023-05-24 19:16:27 +00:00
Torsten Grote
e5c94a9a8b Merge branch 'master' into 'master'
fixed some typos and spelling errors

See merge request fdroid/fdroidclient!1218
2023-05-24 19:14:17 +00:00
Elias Howell
37323e1dbb fix typos and spelling errors 2023-05-10 16:56:47 -04:00
Hans-Christoph Steiner
680a1154cf Merge branch '2598-npe-signer' into 'master'
Don't crash when app has no signer at all

Closes #2598

See merge request fdroid/fdroidclient!1217
2023-05-02 12:40:00 +00:00
Torsten Grote
ca7a203531 [app] don't crash when app has no signer at all
Happens with TT-RSS repo where app has only old MD5 sig which we don't support anymore.
2023-05-01 12:49:43 -03:00
Hans-Christoph Steiner
a4bbef5c70 Merge branch 'fix-reset-transient' into 'master'
Fix critical bug that prevents repo updates after Android updates

See merge request fdroid/fdroidclient!1210
2023-04-06 18:24:31 +00:00
Torsten Grote
d7b52abf43 [db] Clarify method documentation for clearing/resetting 2023-04-06 08:34:02 -03:00
Torsten Grote
8f02240419 [app] Switch to new method for clearing all app data
to avoid stuck repo updates when doing major Android upgrades
2023-04-05 17:35:38 -03:00
Torsten Grote
7489f8466b [db] Rework AppDao#clearAll() method to fix critical bug
This is a breaking change.

The new method is in FDroidDatabase and called clearAllAppData(). It now also resets repository timestamps, so we will not try to apply a diff when we should use a full index.
2023-04-05 17:34:36 -03:00
Hans-Christoph Steiner
f66a4def4d Merge branch 'Locale.getDefault' into 'master'
use Locale DISPLAY category on Android >= 24

See merge request fdroid/fdroidclient!1208
2023-03-16 15:24:13 +00:00
Hans-Christoph Steiner
034de8e7f9 UpdateServiceTest needs app-full-debug.apk to work
see 3fa5e98fc4 in !1135
2023-03-16 14:30:40 +01:00
Hans-Christoph Steiner
29e69fcf1d use Locale DISPLAY category on Android >= 24
https://gitlab.com/fdroid/fdroidclient/-/issues/1440#note_1315001793
2023-03-15 16:35:56 +01:00
Hans-Christoph Steiner
1f7ed43c12 Merge branch 'Remove_Base64' into 'master'
Replace custom Base64 class with the Android platform class.

See merge request fdroid/fdroidclient!1151
2023-03-14 16:37:20 +00:00
Isira Seneviratne
e3e2db13d8 Replace custom Base64 class with the Android platform class. 2023-03-14 16:36:30 +00:00
Hans-Christoph Steiner
37286ac7d4 Merge branch 'download-request-constructor' into 'master'
Remove usages of deprecated DownloadRequest constructor

See merge request fdroid/fdroidclient!1197
2023-03-14 16:33:36 +00:00
Torsten Grote
30dd9bc217 Remove usages of deprecated DownloadRequest constructor 2023-03-14 16:33:17 +00:00
Hans-Christoph Steiner
a5c547e104 Merge branch 'fix_description_more_jump' into 'master'
fix expanding description causing jump to top

Closes #2524

See merge request fdroid/fdroidclient!1205
2023-03-14 16:32:14 +00:00
Conny Duck
51e5027aa4 fix expanding description causing jump to top 2023-03-14 16:32:14 +00:00
Hans-Christoph Steiner
92e13aab20 Merge branch 'dontstart' into 'master'
Hide Run button for yourself

See merge request fdroid/fdroidclient!1206
2023-03-14 16:31:31 +00:00
Licaon_Kter
a9cad7839d Hide Run button for yourself 2023-03-14 16:31:18 +00:00
Hans-Christoph Steiner
b34ebfe9f5 Merge branch 'acra-crashes' into 'master'
Fix some more ACRA crashes

Closes acra-crash-reports#218, acra-crash-reports#217, acra-crash-reports#197, and acra-crash-reports#185

See merge request fdroid/fdroidclient!1203
2023-03-14 13:29:30 +00:00
Torsten Grote
21f40158a2 [db] escape search query
to prevent sqlite FTS search features from messing up query

Fixes acra-crash-reports#217
2023-03-14 13:28:48 +00:00
Torsten Grote
8d61de333b [app] don't crash on invalid repo URLs
Fixes acra-crash-reports#218
2023-03-14 13:28:48 +00:00
Torsten Grote
00b68f0442 [app] don't show app details menu before the app and its preferences haven't been loaded
Fixes acra-crash-reports#185, acra-crash-reports#197
2023-03-14 13:28:48 +00:00
Hans-Christoph Steiner
cbf422a03c Merge branch 'fix_secure_mode' into 'master'
apply secure window to all activities

Closes #2248

See merge request fdroid/fdroidclient!1204
2023-03-03 09:00:13 +00:00
Conny Duck
50ce4088b4 apply secure window to all activities 2023-02-28 20:46:52 +01:00
Torsten Grote
94705db997 Merge branch 'build-fixes' into 'master'
three build fixes

Closes #2493

See merge request fdroid/fdroidclient!1200
2023-02-28 14:15:50 +00:00
Hans-Christoph Steiner
ab2e855f26 add job to check whether database schema needs updating, closes #2493 2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
0788688e75 remove -XX:MaxPermSize=2g from gradle.properties
This is not supported in Java17 and it just some detailed optimization
that is better left to the local configuration.

Unrecognized VM option 'MaxPermSize=2g'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
51513c5508 include verification metadata for buildEnvironment task
./gradlew --write-verification-metadata pgp,sha256 --export-keys  buildEnvironment --scan

Hopefully this helps with #2475.  My hunch is that Android Studio is
running some tasks that gradle from the command line never does.  This
confirms that idea to some degree, since running the buildEnvironment
task found new dependencies.
2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
a1d3388190 update CHANGELOG 2023-02-27 21:44:55 +01:00
Hans-Christoph Steiner
f995270177 version code 1016051 2023-02-27 21:44:50 +01:00
Hans-Christoph Steiner
276126cf08 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidclient!1202
2023-02-27 17:36:41 +00:00
Hans-Christoph Steiner
b0db0e01cc move translatable="false" strings to donottranslate.xml
https://gitlab.com/fdroid/fdroidclient/-/merge_requests/1053#note_722279637
#2307
2023-02-27 18:06:54 +01:00
Hans-Christoph Steiner
65ae73b353 fix broken format 2023-02-27 18:06:29 +01:00
Hans-Christoph Steiner
5e55347a85 run tools/remove-unused-and-blank-translations.py 2023-02-27 16:45:46 +01:00
Hans-Christoph Steiner
ecaff34c56 add missing "many" string for Spanish (Argentina) (es-rAR) 2023-02-27 16:38:39 +01:00
Licaon Kter
ddb418433f Translated using Weblate: Romanian (ro) by Licaon Kter <licaon.kter@protonmail.com>
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Licaon Kter <licaon.kter@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ro/
Translation: F-Droid/F-Droid
2023-02-27 16:36:35 +01:00