Commit Graph

169 Commits

Author SHA1 Message Date
Torsten Grote
9994dab577 Remove legacy code and move over some tests 2026-06-11 13:17:19 -03:00
Torsten Grote
0904a6bdbd Update localized screenshots and move them into submodule 2026-06-11 13:17:17 -03:00
Torsten Grote
eebb8a58b0 Handle apps not found in app details 2026-06-04 09:39:00 -03:00
Torsten Grote
f9bc9aca89 Re-enable DnsCacheTest as it miraculously works again 2026-04-28 09:11:16 -03:00
Torsten Grote
9acddc871d Bring back category groups to discover screen 2026-04-28 09:11:15 -03:00
Torsten Grote
5359d49648 Refactor global search to take fewer parameters 2026-04-28 09:11:14 -03:00
Torsten Grote
ce6f2380cc Redesign discover screen
removes category groups and uses featured categories instead
2026-04-28 09:11:13 -03:00
Torsten Grote
28668ea80c Add an onboarding card for updates 2026-04-28 08:58:41 -03:00
Torsten Grote
8672b510b8 Disable DnsCacheTest for now as it is failing
on at leastAndroid 15+
2026-04-09 11:28:54 -03:00
Torsten Grote
69a8dda75a Add scripts for taking localized screenshots 2026-04-09 11:28:53 -03:00
Torsten Grote
a89b587820 Add localized screenshot for search
and fix localization issue
2026-04-09 11:28:51 -03:00
Torsten Grote
19e334e66b Use locales from locale_config.xml for localized screenshots 2026-04-09 11:28:50 -03:00
Torsten Grote
98b9366757 Remove compact nav bar setting 2026-04-09 11:28:43 -03:00
Torsten Grote
98c7d3cb71 Move search into bottom nav bar 2026-04-09 11:28:39 -03:00
Torsten Grote
8f009b60bf Add option for compact bottom bar 2026-04-03 13:21:14 -03:00
Matthew Bogner
1c9570575f Support for dnsA/dnsAAAA data added to v2 index 2026-04-02 13:11:58 +00:00
Torsten Grote
6e7d63064d Add tests for RepoUpdateWorker 2026-03-26 14:38:51 -03:00
Torsten Grote
ae653123db Add tests for AppUpdateWorker 2026-03-26 14:38:51 -03:00
Torsten Grote
7af2e648cf Add localized screenshot creation
This adds an instrumentation test that produces localized screenshots of so far the three main screens of the app. The screenshots get saved on the test device and still need to be downloaded manually for now.

Data for the screenshots can be updated with a Python script that was also added. It fetches the current index and gets data from the top apps.
2026-03-07 11:14:53 -03:00
Torsten Grote
2d7e94c7a5 Migrate to AGP9
fixes multi-platform JVM builds
2026-03-06 17:39:31 -03:00
Torsten Grote
cdf58c6ffb Auto-format all files with ktfmt 2026-02-26 17:12:13 -03:00
Matthew Bogner
206ffbb26f DNS cache feature 2.0 refactor + fix 2026-02-21 21:30:09 +00:00
Torsten Grote
d3164687cd Clean up app gradle modules 2026-01-05 17:24:14 -03:00
proletarius101
f992d2c265 feat: add PMD linting integration to GitLab CI 2025-10-21 12:11:53 +00:00
Torsten Grote
31588a02c0 Retry when updating apps failed 2025-07-24 12:36:43 +00:00
Torsten Grote
567a272eb4 Use cloudflare mirror for HttpDownloaderTest
in the hope that its certificate validates on old Androids
2025-07-22 17:23:58 -03:00
Torsten Grote
78e8d09219 Run flaky network-based tests in a different job
that is allowed to fail. These tests are hitting real servers that often have issues and thus make our tests fail.
2025-07-14 23:26:40 +00:00
Torsten Grote
e25c678a8e Fix AppUpdateWorkerTest 2025-05-30 16:48:42 -03:00
Torsten Grote
be42dc7559 MockKAgentException: Mocking static is supported starting from Android P 2025-05-22 13:41:52 -03:00
Torsten Grote
8ec1d39f1f Add AppUpdateWorkerTest 2025-05-22 13:41:52 -03:00
Torsten Grote
bc81c7971e Add test that identifies issue with missing primaryConstructor 2025-03-24 14:05:56 -03:00
Torsten Grote
536168ec3d Move full-only instrumentation tests to proper folder
so basic tests can run as well
2025-03-19 09:08:34 -03:00
Matthew Bogner
b22200fde2 deleting a repo now removes corresponding items from the dns cache 2025-02-11 18:05:59 +00:00
Torsten Grote
64f50d5d1a [app] use different mirror for HttpDownloaderTest because it fails on CI 2025-01-23 20:49:50 +01:00
Matthew Bogner
a8e620a996 MirrorChooser orders mirrors using location and error counts 2024-12-06 13:42:30 +00:00
Torsten Grote
195911c765 Fixing Kotlin style issues ahead of ktlint upgrade 2024-10-17 17:41:12 +00:00
Torsten Grote
b1d7f2553e [app] show toast when APK has more permissions than expected 2024-10-17 16:31:45 +00:00
mnbogner
a16691da93 fixed dns cache test with url that will correctly trigger an exception 2024-09-27 10:07:15 -07:00
Thore Goebel
a26d5fe727 Remove unused Repository.canAdd and Repository.isMirror functions 2024-05-27 15:24:45 +02:00
Torsten Grote
fe86bf302f [app] wikipedia uses letsencrypt, so that needs SDK >= 26 2024-03-12 17:35:11 -03:00
Hans-Christoph Steiner
5d8e5e5849 switch downloadThenCancel test to host w/o Let's Encrypt cert
refs #2102
2024-03-12 19:40:45 +01:00
Hans-Christoph Steiner
2836bd4d90 remove obsolete SDK 22 code block 2024-03-12 19:40:45 +01:00
Torsten Grote
befa014b5e [app] R classes are now package specific 2024-03-05 14:43:28 +00:00
Matthew Bogner
cf595783b0 Added a dns class that caches dns lookups 2024-02-01 11:57:31 +00:00
Torsten Grote
7d64492d92 [db] support adding repos protected with basic auth 2023-10-18 11:39:38 +00:00
Torsten Grote
f068d920bd Add RepoManagerAddAllIntegrationTest which adds all known (stable) repos
See: https://forum.f-droid.org/t/known-repositories/721
2023-10-18 11:39:38 +00:00
Hans-Christoph Steiner
48a10cac17 whitespace fixes from spotless applying AOSP code format 2023-07-05 21:40:12 +02:00
Hans-Christoph Steiner
703a1c10a7 use READ_EXTERNAL_STORAGE perm since only reading is needed
READ_EXTERNAL_STORAGE was added in SDK 16, this code predates that, so it
still used WRITE_EXTERNAL_STORAGE.  The minSdkVersion is 23 now, so the
correct permission is preferred.  This code does not do any writing, only
reading.

#1440
2023-06-14 18:31:27 +00:00
Torsten Grote
2048d6f478 Add code style to repo and fix it 2023-06-09 17:24:58 +00:00
Torsten Grote
b755a295e5 [app] Run HttpDownloaderTest with higher timeouts 2023-06-06 11:47:33 -03:00