5782 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
38e0b8d29d update language to reflect "nearby" usage
closes #887
2018-12-21 17:07:40 +01:00
Hans-Christoph Steiner
e0f346d4b4 fix repo tests after change in mirror list logic
Why didn't these tests fail earlier?

this should have been included in ac1a5e0ad8bed1c658885c8f6142367a3812815d
fdroid/fdroidclient!769
2018-12-21 15:26:02 +01:00
Hans-Christoph Steiner
ae0c712a3e remove animation from BottomBar to make more text fit into labels
For many languages, there are unavoidable long words needed for the labels
on the button bar, for example, the standard word for Settings can be up to
15 characters long:
https://gitlab.com/fdroid/fdroidclient/issues/1569#note_126469088

The BottomBar was scaling the active one up, and sizing all the fields based
on that size.  This removes that animation, and sets all tabs to always have
the same text size.  That makes it possible to make the spacing tighter.
This also sets the text truncating mode to "middle" which sticks an elipsis
in the middle of the truncated word and shows the start and end.

closes #1569
closes !756
2018-12-21 14:27:57 +01:00
Hans-Christoph Steiner
59befbd355 use Android constants for common URI schemes
This makes the code easier to trace.
2018-12-21 14:27:57 +01:00
Hans-Christoph Steiner
d8e8cc82f1
version code 1005002 1.5-alpha2 2018-12-21 00:25:56 +01:00
Hans-Christoph Steiner
8c5263c5c5 Merge branch 'use-repos-from-usb-and-sdcard' into 'master'
use repos from USB-OTG Drives and SDCards

Closes #1377 and #656

See merge request fdroid/fdroidclient!769
2018-12-20 23:25:01 +00:00
Hans-Christoph Steiner
f95af36140 allow repos on removable storage to work without any internet 2018-12-21 00:06:15 +01:00
Hans-Christoph Steiner
69e2ca4283 keep F-Droid visible after adding removeable storage mirror 2018-12-21 00:06:15 +01:00
Hans-Christoph Steiner
0e5dd45859 fix a couple missed renames for IndexUpdater
* 0e6b4acabf72050e47dc80a273f5a5d1ec4ce222
* fdroid/fdroidclient!767
2018-12-21 00:06:15 +01:00
Hans-Christoph Steiner
90c3baf5af scanning WiFi/Bluetooth in android-23 requires location permission
This requires that admin#65 is fixed, otherwise every F-Droid update will
require Unknown Sources with Privileged Extension.

https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id
https://stackoverflow.com/a/44200390

closes #656
2018-12-21 00:06:13 +01:00
Hans-Christoph Steiner
1d1f489d85 handle repo Intents for mirrors that are already enabled
This adds a new IntentService to pre-process Intents that request a
new repo is added.  Right now, this only handles Intents that come
from the new storage scanners.

This also adds a new case to the AddRepo UI logic to cover when an
incoming Intent is for a mirror that is already included in an enabled
repo.  In that case, the user is show the Repo Details screen for the
repo that includes that mirror.  This is done is a hacky way right now
since the only path through is to click the button.  So this clicks
the button in code.
2018-12-21 00:04:34 +01:00
Hans-Christoph Steiner
c4b0955c96 add preference to disable removable storage scanning 2018-12-21 00:04:34 +01:00
Hans-Christoph Steiner
f9bc219073 SDCardScannerService for using repos from SD Cards
Creates an IntentService subclass for scanning removable "external
storage" for F-Droid package repos, e.g. SD Cards. This is intented to
support sharable package repos, so it ignores non-removable storage,
like the fake emulated sdcard from devices with only built-in storage.
This method will only ever allow for reading repos, never writing.  It
also will not work for removeable storage devices plugged in via USB,
since do not show up as "External Storage"

* https://stackoverflow.com/a/40201333
* https://commonsware.com/blog/2017/11/14/storage-situation-external-storage.html

closes #1377
2018-12-21 00:04:34 +01:00
Hans-Christoph Steiner
1571e28f68 support swapping with removable storage on android-21+
This uses the new Storage Access Framework, which was required for
accessing files on the SD Card starting in android-19.  But the API
was really limited until android-21, and not really complete until
android-23 or even android-26.  So the levels of usability will vary a
lot based on how new the version of Android is.
2018-12-21 00:03:39 +01:00
Hans-Christoph Steiner
ac1a5e0ad8 ensure the canonical repo URL is always included in mirrors list
The mirror logic assumes that it has a mirrors list with at least once
valid entry in it.  In the index format as defined by `fdroid update`,
there is always at least one valid URL: the canonical URL.  That also
means if there is only one item in the mirrors list, there are no
other URLs to try.

The initial state of the repos in the database also include the canonical
URL in the mirrors list so the mirror logic works on the first index
update.  That makes it possible to do the first index update via SD Card
or USB OTG drive.
2018-12-20 22:58:13 +01:00
ButterflyOfFire
9380a6fd0f Translated using Weblate (Kabyle)
Currently translated at 50.4% (211 of 419 strings)
2018-12-20 22:56:53 +01:00
C. Rüdinger
89ce8cb5a9 Translated using Weblate (German)
Currently translated at 99.8% (418 of 419 strings)
2018-12-20 22:56:53 +01:00
Ldm Public
d6eb7ece89 Translated using Weblate (French)
Currently translated at 100.0% (419 of 419 strings)
2018-12-20 22:52:45 +01:00
Verdulo
09ffe21969 Translated using Weblate (Esperanto)
Currently translated at 100.0% (419 of 419 strings)
2018-12-20 22:51:06 +01:00
Hans-Christoph Steiner
6a12fd011a Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidclient!771
2018-12-20 21:48:37 +00:00
Hans-Christoph Steiner
2d2a36bab7 Weblate 2018-12-20 21:48:37 +00:00
Hans-Christoph Steiner
a24a98aaf2 script to run the steps for pulling translations from Weblate
Hopefully the need for this will go away soon, once we work with Weblate to
smooth out the workflow.

[skip ci]
2018-12-20 22:44:22 +01:00
Hans-Christoph Steiner
a2addd22a6 Merge branch 'fix-1326' into 'master'
display versionCode in expanded Versions list entries

Closes #1326

See merge request fdroid/fdroidclient!770
2018-12-20 21:41:16 +00:00
Hans-Christoph Steiner
f7049a3295 display versionCode in expanded Versions list entries
closes #1326
2018-12-20 13:14:18 +01:00
Hans-Christoph Steiner
fc27122dae Merge branch 'master' into 'master'
fix #1642

Closes #1642

See merge request fdroid/fdroidclient!768
2018-12-18 08:55:32 +00:00
dkanada
28863cf88f fix #1642 2018-12-18 08:55:32 +00:00
Hans-Christoph Steiner
083e3ead75 Merge branch 'class-renames' into 'master'
Class renames

See merge request fdroid/fdroidclient!767
2018-12-17 16:58:10 +00:00
Hans-Christoph Steiner
0e6b4acabf
rename RepoUpdater to IndexUpdater 2018-12-17 17:17:28 +01:00
Hans-Christoph Steiner
148d1cdc8a rename AppDetails2 to AppDetailsActivity
This also moves it into org.fdroid.fdroid.views
2018-12-17 17:16:51 +01:00
Hans-Christoph Steiner
9cddc0c990 Merge branch 'html' into 'master'
remove html method from changelog section

See merge request fdroid/fdroidclient!766
2018-12-13 18:17:46 +00:00
dkanada
2b512d96c5 remove html method from changelog section 2018-12-14 02:48:22 +09:00
Hans-Christoph Steiner
b0ee5b120c version code 1005001 1.5-alpha1 2018-12-12 23:56:04 +01:00
Hans-Christoph Steiner
a589f53e30 update CHANGELOG 2018-12-12 23:56:04 +01:00
Hans-Christoph Steiner
f1a27c72ef Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidclient!765
2018-12-12 22:55:02 +00:00
Hans-Christoph Steiner
b8dc569809 Weblate 2018-12-12 22:55:02 +00:00
Hans-Christoph Steiner
551b577bca Merge branch 'badge' into 'master'
use new design for other badge instances

See merge request fdroid/fdroidclient!754
2018-12-12 20:17:47 +00:00
Hans-Christoph Steiner
ea9697b48e Merge branch 'pr-1144' into 'master'
Improve error messages, prevent duplicate information display.

Closes #1144

See merge request fdroid/fdroidclient!764
2018-12-12 19:45:15 +00:00
darken
1ea4d0a330 Improve error messages, prevent duplicate information display.
Fixes #1144
2018-12-12 14:08:11 +01:00
dkanada
568ef56247 fix merge issues and tweak the header layouts a bit more 2018-12-09 16:37:18 +09:00
dkanada
85ed0d46ab string changes 2018-12-09 16:29:07 +09:00
dkanada
24a4da9d89 some layout modifications to Updates and AppDetails headers 2018-12-09 16:28:45 +09:00
Hans-Christoph Steiner
eb651c9996 Merge branch 'wording-fixes' into 'master'
Wording fixes

See merge request fdroid/fdroidclient!759
2018-12-06 18:33:48 +00:00
Jan-Christoph Borchardt
9dd64b8cbc Avoid addressing person with 'me' (when 'you' is used elsewhere)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-12-06 18:01:08 +00:00
Jan-Christoph Borchardt
09a7ec3fd3 Change inconsistent 'Upgrade' to 'Update'
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-12-06 18:01:08 +00:00
Jan-Christoph Borchardt
5f660501e3 Change technical 'Run' to more understandable 'Open'
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-12-06 18:01:08 +00:00
Hans-Christoph Steiner
42934a6ec9 Merge branch 'index-v1.json-integer-sdk-version' into 'master'
switch all SDK version values to integers, as per definition

See merge request fdroid/fdroidclient!763
2018-12-06 16:35:43 +00:00
Hans-Christoph Steiner
c1db27715c switch all SDK version values to integers, as per definition
```
sed -E -i 's,("[a-z]+SdkVersion": )"([0-9]+)",\1 \2,' app/src/test/resources/*.json
```

* fdroid/fdroidserver!596
* fdroid/fdroidserver#593
* fdroid/fdroidserver#596
2018-12-06 16:07:56 +00:00
Hans-Christoph Steiner
589a29386c Merge branch 'fix_apk_address' into 'master'
fix apk address

See merge request fdroid/fdroidclient!762
2018-11-20 09:24:30 +00:00
Danial Behzadi
a912c3ea3e fix apk address 2018-11-19 11:35:04 +03:30
dkanada
3f00b2a4fb standardize version properties 2018-10-27 05:27:01 +09:00