6754 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
57cee93647 trim leading/trailing whitespace from name/summary/video
This should make for predictable layouts, since fastlane entries are likely
to have a tailing newline, but entries in the metadata YAML will not.
2021-02-08 09:51:04 +01:00
Hans-Christoph Steiner
19215db243 convert Latest Tab's selection into a sort
This removes the convoluted logic of both a selection and a sort, and just
does all the ordering in the sort.

closes #939
closes #2024
2021-02-08 09:50:07 +01:00
Hans-Christoph Steiner
3d9a68c1e3 rename AppProvider "Recently Updated" to "Latest Tab"
This is only used for the Latest Tab, so it should be named accordingly.
2021-02-08 09:36:46 +01:00
Hans-Christoph Steiner
e35335d59c totally overhaul choosing locales from app metadata based on LocaleList
This makes the selection logic heed the list of preferred locales from the
user Settings.

closes #987
closes #1186
refs #1440 #1882 #1730
!886
2021-02-08 09:36:46 +01:00
proletarius101
fbbf78dcf8
fix: crashing in the search activity 2021-02-07 20:01:18 +01:00
Hans-Christoph Steiner
e757c14148 Merge branch 'auto-color-vector-assets' into 'master'
fix icon and text tinting and replace some pixel maps with vector graphs

See merge request fdroid/fdroidclient!968
2021-02-04 21:44:00 +00:00
proletarius101
4737b32a60 fix icon and text tinting and replace some pixel maps with vector graphs
added vector graphs are the rounded variant
2021-02-04 21:43:59 +00:00
Hans-Christoph Steiner
2086f50d05 Merge branch 'AppCompatActivity' into 'master'
Change Activity to AppCompatActivity

See merge request fdroid/fdroidclient!969
2021-01-28 16:52:58 +00:00
proletarius101
e2979f632d Change Activity to AppCompatActivity 2021-01-28 16:52:58 +00:00
Hans-Christoph Steiner
34b24a5b60 Merge branch 'feature/always_include_repo_name' into 'master'
Always include repo name in exception toasts

See merge request fdroid/fdroidclient!966
2021-01-27 15:55:40 +00:00
Sylvia van Os
e95e99018a Always include repo name in exception toasts 2021-01-27 15:32:14 +00:00
Hans-Christoph Steiner
e6819e7f12 Merge 'Use_WorkManager' into 'master'
* origin/master:
  gitlab-ci: fix excluding @LargeTest from emulator jobs
  use TAG to identify CleanCacheWorker to WorkManager
  add WorkManagerTestRule to CleanCacheWorkerTest
  move static helper method into its class: CleanCacheWorker
  fdroidclient does not use variables for gradle dependencies
  Add WorkManagerTestRule.
  Use WorkManager to clean the cache.
  Add AndroidX WorkManager.

fdroid/fdroidclient!959
2021-01-27 16:27:40 +01:00
Hans-Christoph Steiner
8f64b45e79 gitlab-ci: fix excluding @LargeTest from emulator jobs
fixup for !899
2021-01-27 15:38:43 +01:00
Hans-Christoph Steiner
9eba243092 use TAG to identify CleanCacheWorker to WorkManager
TAG is already there, and it is meant to identify this class, and be
unique.
2021-01-27 15:38:43 +01:00
Hans-Christoph Steiner
06dbd048af add WorkManagerTestRule to CleanCacheWorkerTest 2021-01-27 15:38:42 +01:00
Hans-Christoph Steiner
2e10c7ba03 move static helper method into its class: CleanCacheWorker 2021-01-25 15:29:09 +01:00
Hans-Christoph Steiner
fa7e7fccdc fdroidclient does not use variables for gradle dependencies
Using variables makes the lint stuff not work so well.
2021-01-25 15:25:59 +01:00
Isira Seneviratne
ab8e7935b0 Add WorkManagerTestRule. 2021-01-21 06:18:23 +05:30
Isira Seneviratne
7c81b1ad15 Use WorkManager to clean the cache. 2021-01-21 06:17:28 +05:30
Isira Seneviratne
df66d127c2 Add AndroidX WorkManager. 2021-01-21 06:17:28 +05:30
Hans-Christoph Steiner
c72a315872 Merge branch 'gitlab-ci-stability' into 'master'
Gitlab ci stability

See merge request fdroid/fdroidclient!964
2021-01-19 09:09:17 +00:00
Hans-Christoph Steiner
83b7d7ff67 bump all test dependencies
Hopefully this will give some stability in the Robolectric tests.
2021-01-19 09:06:05 +01:00
Hans-Christoph Steiner
c5056a8167 gitlab-ci: run errorprone with Java11 2021-01-18 19:26:14 +01:00
Hans-Christoph Steiner
c697501f8f gitlab-ci: run all test_lint_pmd_checkstyle parts, even after failures 2021-01-18 19:26:13 +01:00
Hans-Christoph Steiner
06b6f8794f gitlab-ci: retry flaky testFullDebugUnitTest 2021-01-18 19:23:47 +01:00
Hans-Christoph Steiner
474bbdfdbd
LocalHTTPDManagerTest: extend timeout to 60 seconds
If the job is successful, it should finish without coming closes to
the timeout.  Extending the timeout will make it take longer to fail,
but since the job is flaky, and the related code is rarely touched, it
seems worth it.
2021-01-18 11:07:31 +01:00
Hans-Christoph Steiner
69b845c34f
gitlab-ci: disable ignored emulator runs that always fail 2021-01-12 20:05:54 +01:00
Hans-Christoph Steiner
99a5262730 make robolectric fetch dependencies via HTTPS
https://robolectric.org/configuring/#system-properties

https://gitlab.com/fdroid/fdroidclient/-/merge_requests/963#note_483716081
2021-01-12 18:02:03 +01:00
Hans-Christoph Steiner
97aaf5a067
gitlab-ci: include Java crash dump logs in artifacts
https://gitlab.com/fdroid/ci-images-client/-/jobs/957371759

```
A fatal error has been detected by the Java Runtime Environment:

 SIGSEGV (0xb) at pc=0x00007f6775b513c0, pid=1923, tid=0x00007f675eef6700

JRE version: OpenJDK Runtime Environment (8.0_275-b01) (build 1.8.0_275-8u275-b01-1~deb9u1-b01)
Java VM: OpenJDK 64-Bit Server VM (25.275-b01 mixed mode linux-amd64 compressed oops)
Problematic frame:
V  [libjvm.so+0x92d3c0]

Core dump written. Default location: /builds/test/fdroidclient/app/core or core.1923

An error report file with more information is saved as:
/builds/test/fdroidclient/app/hs_err_pid1923.log

Compiler replay data is saved as:
/builds/test/fdroidclient/app/replay_pid1923.log

If you would like to submit a bug report, please visit:
  http://bugreport.java.com/bugreport/crash.jsp
```
2021-01-12 11:50:53 +01:00
Hans-Christoph Steiner
94dbaab83d
version code 1011050 2021-01-04 20:33:34 +01:00
Hans-Christoph Steiner
ec9ce60813 Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidclient!961
2021-01-04 19:31:02 +00:00
Hans-Christoph Steiner
95a2803185 remove unneeded Android strings.xml quoting 2021-01-04 18:26:47 +01:00
Hans-Christoph Steiner
42cdeddd01 ./tools/remove-unused-and-blank-translations.py 2021-01-04 18:26:23 +01:00
Hans-Christoph Steiner
dc8e662b7b Translated using Weblate: Afrikaans (af) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 100.0% (455 of 455 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/af/
2021-01-04 18:25:26 +01:00
Hans-Christoph Steiner
4ed6afb532 Translated using Weblate: Kannada (kn) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 100.0% (455 of 455 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/kn/
2021-01-04 18:23:45 +01:00
Besnik Bleta
e24fd389c2 Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 99.1% (451 of 455 strings)

Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>

Currently translated at 99.7% (454 of 455 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sq/
Translation: F-Droid/F-Droid
2021-01-04 18:23:45 +01:00
Eduardo Rodrigues
f188e0df71 Translated using Weblate: Bengali (bn) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Currently translated at 0.2% (1 of 455 strings)

Translated using Weblate: English (United States) (en_US@rude) (b+en+US@rude) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 67.6% (308 of 455 strings)

Translated using Weblate: English (United Kingdom) (en-rGB) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Spanish (Mexico) (es-rMX) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 43.9% (200 of 455 strings)

Translated using Weblate: Mongolian (mn) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Welsh (cy) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Kannada (kn) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Afrikaans (af) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Hindi (hi) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Slovenian (sl) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Portuguese (Brazil) (pt-rBR) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Korean (ko) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Galician (gl) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Bulgarian (bg) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Albanian (sq) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>

Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/af/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bg/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bn/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/cy/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_GB/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_US@rude/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/es_MX/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/gl/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/hi/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/kn/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ko/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/mn/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sl/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sq/
Translation: F-Droid/F-Droid
2021-01-04 18:23:45 +01:00
Oymate
d4f9e91938 Added translation using Weblate: Bengali (bn) by Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
2021-01-04 18:23:45 +01:00
Jennifer Kitts
95e1cd4a89 Translated using Weblate: English (United States) (b+en+US@rude) by Jennifer Kitts <kittsjennifer44@gmail.com>
Currently translated at 0.0% (0 of 455 strings)

Co-authored-by: Jennifer Kitts <kittsjennifer44@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/en_US@rude/
Translation: F-Droid/F-Droid
2021-01-04 18:23:45 +01:00
Hans-Christoph Steiner
e6529d9ff1 Deleted translation using Weblate: English (United States) (en-rUS)
Co-authored-by: Hans-Christoph Steiner <hans@guardianproject.info>
2021-01-04 18:23:45 +01:00
Chris Jr Williams
58379f68cf Added translation using Weblate: English (United States) (en-rUS) by Chris Jr Williams <chrisjr4eva1987@gmail.com>
Added translation using Weblate: English (United Kingdom) (en-rGB) by Chris Jr Williams <chrisjr4eva1987@gmail.com>

Co-authored-by: Chris Jr Williams <chrisjr4eva1987@gmail.com>
2021-01-04 18:16:47 +01:00
JoC
658ce1cfdd Translated using Weblate: Spanish (Argentina) (es-rAR) by JoC <jo_91_lp@hotmail.com>
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: JoC <jo_91_lp@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/es_AR/
Translation: F-Droid/F-Droid
2021-01-04 18:12:48 +01:00
Yogesh
9f443e8562 Translated using Weblate: Kannada (kn) by Yogesh <yogesh@karnatakaeducation.org.in>
Currently translated at 68.1% (310 of 455 strings)

Co-authored-by: Yogesh <yogesh@karnatakaeducation.org.in>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/kn/
Translation: F-Droid/F-Droid
2021-01-04 18:12:42 +01:00
Besnik Bleta
0cc38b3d0a Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 99.1% (451 of 455 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sq/
Translation: F-Droid/F-Droid
2021-01-04 18:11:18 +01:00
Eduardo Rodrigues
29c8ed09a0 Translated using Weblate: Albanian (sq) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/sq/
Translation: F-Droid/F-Droid
2021-01-04 18:11:16 +01:00
Hans-Christoph Steiner
ef22161f91 Translated using Weblate: Marathi (mr) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 73.1% (333 of 455 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/mr/
2021-01-04 18:10:30 +01:00
Mahem Jadhav
164adf3cf3 Translated using Weblate: Marathi (mr) by Mahem Jadhav <mahem4ever@gmail.com>
Currently translated at 72.7% (331 of 455 strings)

Translated using Weblate: Marathi (mr) by Mahem Jadhav <mahem4ever@gmail.com>

Currently translated at 54.5% (248 of 455 strings)

Translated using Weblate: Marathi (mr) by Mahem Jadhav <mahem4ever@gmail.com>

Currently translated at 37.1% (169 of 455 strings)

Translated using Weblate: Marathi (mr) by Mahem Jadhav <mahem4ever@gmail.com>

Currently translated at 37.8% (172 of 455 strings)

Added translation using Weblate: Marathi (mr) by Mahem Jadhav <mahem4ever@gmail.com>

Co-authored-by: Mahem Jadhav <mahem4ever@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/mr/
Translation: F-Droid/F-Droid
2021-01-04 18:10:26 +01:00
Bruno Rocha
25a61583ac Translated using Weblate: Portuguese (Portugal) (pt-rPT) by Bruno Rocha <brunorocha@outlook.com>
Currently translated at 100.0% (455 of 455 strings)

Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt_PT/
2021-01-04 18:09:54 +01:00
Miguel
4fc0a3d313 Translated using Weblate: Portuguese (Portugal) (pt-rPT) by Miguel <miguelcristovao99@gmail.com>
Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: Miguel <miguelcristovao99@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pt_PT/
Translation: F-Droid/F-Droid
2021-01-04 18:09:52 +01:00
mrkazoodle
626d924e03 Translated using Weblate: Dutch (Belgium) (nl-rBE) by mrkazoodle <philip_hoflack@hotmail.com>
Currently translated at 100.0% (455 of 455 strings)

Translated using Weblate: Dutch (nl) by mrkazoodle <philip_hoflack@hotmail.com>

Currently translated at 100.0% (455 of 455 strings)

Co-authored-by: mrkazoodle <philip_hoflack@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/nl/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/nl_BE/
Translation: F-Droid/F-Droid
2021-01-04 18:09:40 +01:00