Dominik Schürmann
f089b9df08
Use correct uses-library tag in androidTest
2020-07-14 14:10:22 +02:00
Dominik Schürmann
14996c1eca
Fix errors reported by lint
2020-07-14 14:10:22 +02:00
Dominik Schürmann
0034e1faff
Replace old InstrumentationRegistry.getTargetContext()
...
with ApplicationProvider.getApplicationContext()
2020-07-14 14:10:22 +02:00
Dominik Schürmann
0ed4fb8e60
Update bouncycastle to 1.65
2020-07-14 14:10:22 +02:00
Dominik Schürmann
06b839d14f
Fix test and androidTest dependencies
2020-07-14 14:10:21 +02:00
Dominik Schürmann
1fde5bd355
Remove androidx.legacy dependency
2020-07-14 14:10:21 +02:00
Dominik Schürmann
930f7e2c13
Remove obsolete useProguard flag
2020-07-14 14:10:21 +02:00
Dominik Schürmann
78e81fb781
Use androidx.preference artifact
...
- use PreferenceFragmentCompat
- this requires androidx Fragments
- explicit declaration of androidx widgets in preferences.xml
no longer required
2020-07-14 14:10:21 +02:00
Dominik Schürmann
8f81bf0cb9
Use androidx.test artifacts for tests not just androidTests
...
- this allows replacing deprecated RuntimeEnvironment.application
2020-07-14 14:10:21 +02:00
Dominik Schürmann
360e61118d
Fix AppDetailsAdapterTest
...
by creating a context where styles are available
2020-07-14 14:10:21 +02:00
Dominik Schürmann
d67db78997
Fix AndroidManifest for androidTest
2020-07-14 14:10:21 +02:00
Dominik Schürmann
cefd706aeb
Use robolectric:4.3
...
- remove constants annotation
- Most @Implementation methods in shadow classes are now protected instead of public.
Tests should always prefer to call SDK methods directly on Android classes rather
than on their shadows
2020-07-14 14:10:21 +02:00
Dominik Schürmann
c784274b98
Automated Robolectric migration as in http://robolectric.org/automated-migration/
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
f9663a5ac6
add gradle.properties file to git
...
This tells gradle that we are an androidX project now.
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
352b6fc7c1
add NonNull annotations to override method
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
59ad42a73b
add magic prefrence xml to cancel preferences page offset
...
Taken from here:
https://stackoverflow.com/a/53969021
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
38374e1d32
update androidX libraries to latest versions
...
This needs another AGP and gradle update as
com.google.android.material:material:1.1.0 created compile errors
otherwise.
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
18592150c1
perform androidX migration through android studio
...
Project compiles and works fine after this.
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
e2a75f69ee
androidX migrations preparations
...
We need compileSdk 28 and the required AGP and gradle versions, as well
as updating to compatible support library revisions.
minSdk and targetSdk needs to move to build.gradle from manifest.
buildToolsVersion isn't used anymore.
2020-07-14 14:10:21 +02:00
Marcus
d0604cb886
Merge branch 'changelog_1.9' into 'master'
...
even more 1.9 changelog [ci skip]
See merge request fdroid/fdroidclient!905
2020-07-09 11:44:26 +00:00
Marcus Hoffmann
600842c5ff
even more 1.9 changelog [ci skip]
2020-07-09 13:43:51 +02:00
Marcus
986c9d0689
Merge branch 'changelog_1.9' into 'master'
...
add more tings to 1.9 changelog [ci skip]
See merge request fdroid/fdroidclient!904
2020-07-09 11:36:39 +00:00
Marcus Hoffmann
eddc99879b
add more tings to 1.9 changelog [ci skip]
2020-07-09 13:35:40 +02:00
Hans-Christoph Steiner
c226523ecc
Merge branch 'acra-email' into 'master'
...
Make acra report email configurable via gradle
See merge request fdroid/fdroidclient!900
2020-07-02 09:29:38 +00:00
Dominik Schürmann
78a69e7703
Make acra report email configurable via gradle
2020-07-02 09:47:58 +02:00
Hans-Christoph Steiner
0a9e58cb2a
version code to 1010000
...
[skip ci]
2020-06-25 22:49:00 +02:00
Hans-Christoph Steiner
69ced9d114
Merge branch 'antifeature-icons' into 'master'
...
Anti-Feature icons
Closes #2014
See merge request fdroid/fdroidclient!834
2020-06-25 20:39:00 +00:00
Michael Pöhn
a4c3df6c24
Anti-Feature icons
2020-06-25 20:39:00 +00:00
Hans-Christoph Steiner
2f6dfa02d0
include FUNDING.yml directly, fdroid update
reads it
...
Also, it is the number two hit when searching for "FUNDING.yml":
https://duckduckgo.com/html/?q=funding.yml
This was copied from https://github.com/f-droid/.github.git
2020-06-25 22:21:01 +02:00
Hosted Weblate
e66fdeb8ef
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
2020-06-25 17:15:25 +02:00
Hosted Weblate
d62eba1a00
Translated using Weblate: Italian (it) by random r <epsilin@yopmail.com>
...
Currently translated at 100.0% (30 of 30 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/it/
Translated using Weblate: Italian (it) by random r <epsilin@yopmail.com>
Currently translated at 100.0% (449 of 449 strings)
Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/it/
2020-06-25 17:15:25 +02:00
Hans-Christoph Steiner
73f1725da9
Merge branch 'autoVerify-false' into 'master'
...
set App Link Auto Verify to false
See merge request fdroid/fdroidclient!896
2020-06-25 15:15:16 +00:00
Hans-Christoph Steiner
aea5452904
Merge branch 'weblate' into 'master'
...
Weblate
See merge request fdroid/fdroidclient!895
2020-06-25 12:43:38 +00:00
Hans-Christoph Steiner
864453bb5d
autoVerify="false" on all IntentFilters for HTTP/HTTPS #2004
...
The autoVerify function seems to require that the app only declare domain
names in the IntentFilters that are set up with the "site association"
files. For F-Droid to support the verified app link, it would have to stop
matching play.google.com, amazon.com, etc. This autoVerify function also
triggers DNS lookups at the system level, which might not be forwarded over
Tor, in certain scenarios. So this just disables the whole feature.
https://developer.android.com/training/app-links/verify-site-associations
2020-06-25 13:31:22 +02:00
Hans-Christoph Steiner
757476dc9b
use canonical download URL: https://f-droid.org/F-Droid.apk
...
fdroid-website@6be403585352126b04e5c72623ef5852cceb2502
fdroid-website!536
2020-06-25 13:31:20 +02:00
Hans-Christoph Steiner
dfca502ac4
use https://f-droid.org/packages/ instead of https://f-droid.org/app
...
This avoids a redirect. Both are supported in the IntentFilters.
2020-06-25 13:31:17 +02:00
Hans-Christoph Steiner
adf62a5b1f
fix format strings
2020-06-25 13:11:37 +02:00
Hans-Christoph Steiner
993611e90f
remove Android string quoting
2020-06-25 13:05:32 +02:00
Hans-Christoph Steiner
3b14604589
Merge remote-tracking branch 'weblate/master' into weblate
...
* weblate/master:
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
Update translation files
Update translation files
Update translation files
Update translation files
Update translation files
Update translation files
Update translation files
Translated using Weblate: Portuguese (Portugal) (pt-PT) by Manuela Silva <mmsrs@sky.com>
Translated using Weblate: Ukrainian (uk) by ihor_ck <igor_ck@outlook.com>
Update translation files
Update translation files
Translated using Weblate: Marathi (mr) by Prachi Joshi <josprachi@yahoo.com>
Translated using Weblate: Romanian (ro) by Licaon Kter <licaon.kter@protonmail.com>
Translated using Weblate: Serbian (sr) by Саша Петровић <salepetronije@gmail.com>
Update translation files
Update translation files
Update translation files
Update translation files
Conflicts:
app/src/main/res/values-fa/strings.xml
app/src/main/res/values-hr/strings.xml
app/src/main/res/values-ta/strings.xml
app/src/main/res/values-uk/strings.xml
2020-06-25 13:03:53 +02:00
Yaron Shahrabani
73ffd6453b
Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
...
Currently translated at 100.0% (30 of 30 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/he/
2020-06-25 12:19:12 +02:00
Hans-Christoph Steiner
a6d1e18ee9
Merge branch 'free-donation-options' into 'master'
...
Free donation options
See merge request fdroid/fdroidclient!891
2020-06-25 10:19:08 +00:00
Hans-Christoph Steiner
5c0ffea1ef
fix checkstyle from !817 !818
2020-06-25 10:31:46 +02:00
Hans-Christoph Steiner
770d80340b
run Ctrl-Alt-L code formatter on DBHelper
2020-06-25 10:31:46 +02:00
Hans-Christoph Steiner
c9178d1a08
switch donate layout grid from 3 to 2 columns to handle longer URLs
2020-06-25 10:31:46 +02:00
Hans-Christoph Steiner
23bd3b81dd
support new Liberapay: field, with migration support for LiberapayID:
...
Liberapay was originally included using a numeric ID, since they had not yet
finalized the public URLs. Now it is a username. So this logic prefers
the username in Liberapay: field, and uses the old LiberapayID: as a
fallback. LiberapayID: will not override Liberapay: if it is already set.
This reuses the old database key since it is stored and processed as a
String anyway.
2020-06-25 10:31:46 +02:00
Hans-Christoph Steiner
1061929fb4
support OpenCollective as a donation option
2020-06-25 10:31:46 +02:00
Hans-Christoph Steiner
35d2047536
only show donate icons for free software, otherwise show plain URLs
...
fdroidserver!754
fdroid-website !557
2020-06-25 10:31:44 +02:00
Hosted Weblate
82e07f59d9
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
2020-06-25 08:54:04 +02:00
Hosted Weblate
fbf964f1a3
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Translated using Weblate: German (de) by C. Rüdinger <Mail-an-CR@web.de>
Currently translated at 100.0% (449 of 449 strings)
Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/de/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Translated using Weblate: German (de) by C. Rüdinger <Mail-an-CR@web.de>
Currently translated at 100.0% (29 of 29 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
2020-06-25 08:54:04 +02:00
Hosted Weblate
a28c62e77e
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Translated using Weblate: Hungarian (hu) by Balázs Meskó <meskobalazs@mailbox.org>
Currently translated at 100.0% (29 of 29 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/hu/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
Translated using Weblate: Hungarian (hu) by Balázs Meskó <meskobalazs@mailbox.org>
Currently translated at 55.1% (16 of 29 strings)
Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/hu/
Translated using Weblate: Hungarian (hu) by Balázs Meskó <meskobalazs@mailbox.org>
Currently translated at 100.0% (449 of 449 strings)
Translation: F-Droid/F-Droid
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/hu/
2020-06-25 08:54:03 +02:00