5844 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
42f73fb54b remove app:textAllCaps that was missed in 3adfb65c690c37855f1f120006606478575a564b
fdroid/fdroidclient!797
2019-03-21 13:28:25 +01:00
Hans-Christoph Steiner
49c32a4392 remove unused resource since 3adfb65c690c37855f1f120006606478575a564b
fdroid/fdroidclient!797
2019-03-21 13:28:24 +01:00
Hans-Christoph Steiner
07131e981b gitlab-ci: purge only: merge_requests, it doesn't work for this
The merge_requests feature is really confusing, and doesn't seem to do
anything useful for what we need it to.  Like it doesn't let new
contributors' merge requests run on the fdroid runners.
2019-03-21 13:28:24 +01:00
Hans-Christoph Steiner
5e1d95c361 add comments to translators in source strings 2019-03-21 11:56:21 +01:00
mueller-ma
05bbe94b47 Improve nearby swap splash layout
* Rename ids to something meaningful
* Remove inner layouts from constraint layout
* Use same text and button styles
* Make sure the background image doesn't overlap with the text
2019-03-17 00:04:40 +01:00
Hans-Christoph Steiner
dc59d48be3 Merge branch 'fix_button_background' into 'master'
Improve Buttons

See merge request fdroid/fdroidclient!797
2019-02-26 16:02:30 +00:00
Conny Duck
3adfb65c69 Improve Buttons 2019-02-26 16:02:30 +00:00
Sveinn í Felli
eacce08a13 Translated using Weblate: Icelandic (is) by Sveinn í Felli <sv1@fellsnet.is>
Currently translated at 78.9% (15 of 19 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/is/

[skip ci]
2019-02-21 00:32:10 +01:00
Sveinn í Felli
7ed7cf3bcb Translated using Weblate: Icelandic (is) by Sveinn í Felli <sv1@fellsnet.is>
Currently translated at 100.0% (19 of 19 strings)

Translation: F-Droid/F-Droid metadata
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/is/

[skip ci]
2019-02-21 00:30:27 +01:00
Hans-Christoph Steiner
886cd0b1bf version code 1006001 1.6-alpha1 2019-02-21 00:21:55 +01:00
Hans-Christoph Steiner
3a992c10d2 update CHANGELOG 2019-02-21 00:21:55 +01:00
Hans-Christoph Steiner
72d33ffe3d remove empty changelog translations 2019-02-21 00:21:55 +01:00
Hosted Weblate
bd93c5743f clean up whitespace and formatting in strings.xml 2019-02-21 00:21:55 +01:00
Hans-Christoph Steiner
8da7fc5103 set comments to point out button labels to translators
closes #1678
2019-02-21 00:21:55 +01:00
Hans-Christoph Steiner
7ce7b46ed2 metadata: script to delete 0 size files and standardize whitespace 2019-02-21 00:21:55 +01:00
Hans-Christoph Steiner
9897c97ef8 Merge branch 'switches-to-disable-mirrors' into 'master'
add switches to disable mirrors

Closes #1696

See merge request fdroid/fdroidclient!795
2019-02-20 23:21:27 +00:00
Hans-Christoph Steiner
6a18ba1b85 RepoDetails: hide mirror lists if they are not useful
e.g., empty lists or the official mirror list just repeating the canonical
URL.
2019-02-21 00:18:25 +01:00
Hans-Christoph Steiner
b1569795a2 IndexV1Updater: use LinkedHashSet to preserve mirror ordering 2019-02-21 00:18:25 +01:00
Hans-Christoph Steiner
c3ec29df93 RepoDetails: add switches to disable any or all mirrors
This also needs to handle mirror lists with 1 element, since mirrors can
now be disabled. If the user disables all mirrors, then there will be only one URL in the
list of mirrors.  Asking for a random mirror in that case should not return
null, but the one enabled mirror.


closes #1696
db-version/80
2019-02-20 21:10:34 +01:00
Hans-Christoph Steiner
a81a61be61 RepoDetails: convert mirror lists to have on/off switches 2019-02-20 15:59:29 +01:00
Hans-Christoph Steiner
2b1f851617
standardize whitespace formating for fastlane files
```python
import glob
for f in glob.glob('metadata/*/*.txt'):
    with open(f) as fp:
        data = fp.read()
    with open(f, 'w') as fp:
        fp.write(data.rstrip())
        fp.write('\n')
```

for f in metadata/*/short_description.txt; do data=`cat $f`; echo $data > $f; done
2019-02-20 15:26:50 +01:00
Hans-Christoph Steiner
0f08a66696 Merge branch 'randomize-package-downloads' into 'master'
Randomize package downloads

Closes #1708

See merge request fdroid/fdroidclient!794
2019-02-20 13:46:04 +00:00
Hans-Christoph Steiner
14b4a7e00a cache all downloads based on canonical URL, not download URL
This makes the download cache be shared across all mirrors used to download
rather than having a cache per-mirror.
2019-02-20 13:39:26 +01:00
Hans-Christoph Steiner
dd14b9e315 choose random mirror for each package/APK download
This spreads downloads across all available mirrors randomly.  This could
definitely be improved, like choosing the fastest or nearest mirror, or
only .onion addresses on Tor.  This will improve the current situation and
should reduce the load on f-droid.org a lot.

fdroidclient#1696
2019-02-20 13:39:26 +01:00
Hans-Christoph Steiner
89422e9c8f clarify get mirrors method: Repo.getRandomMirror() 2019-02-20 13:39:26 +01:00
Hans-Christoph Steiner
cf9a6b851d RepoAdapter: code cleanup
Remove unused code and simplify to only present args that are used. This is
remnants from:

fdroidclient#490
fdroidclient#606
fdroidclient!295
fdroidclient!242
2019-02-20 13:39:26 +01:00
Hans-Christoph Steiner
afe6de94a0 handle Apache and Nginx ETags when checking if index is current
fdroid/fdroidclient#1708
2019-02-20 13:39:22 +01:00
Hans-Christoph Steiner
9323ccdfd1 add HTTP Last-Modified header to nearby/swap webserver
This should support the new cache check scheme when using swap repos.
2019-02-19 11:17:09 +01:00
Hans-Christoph Steiner
9522012fe1 use built-in constants for HTTP status codes 2019-02-19 11:17:09 +01:00
Hans-Christoph Steiner
07971080c4 Merge branch 'random-fixes' into 'master'
Random fixes

Closes #1715

See merge request fdroid/fdroidclient!793
2019-02-18 23:40:21 +00:00
Hans-Christoph Steiner
b632066ca7 gitlab-ci: only run the reliable emulators on merge requests 2019-02-18 23:58:10 +01:00
Hans-Christoph Steiner
683a990da8 include test string comment to see if Weblate supports them 2019-02-18 23:52:41 +01:00
Hans-Christoph Steiner
b5de4898b1 improve "try it" permissions prompt on Nearby screen
This should make all the translations fit on the screen properly.

closes #1715
2019-02-18 23:52:41 +01:00
Hans-Christoph Steiner
8e8d4a4af6 espresso tests: print RAM info to logcat 2019-02-18 23:52:40 +01:00
Hans-Christoph Steiner
181f2ec292 version code 1006000 1.6-alpha0 2019-02-15 16:00:12 +01:00
Hans-Christoph Steiner
6847dc656a update changelog 2019-02-15 16:00:12 +01:00
Hans-Christoph Steiner
a8fbb64f5a gitlab-ci: remove flaky emulator test 21/22 and make 23 optional 2019-02-15 16:00:12 +01:00
Hans-Christoph Steiner
e30e5004f1 Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidclient!792
2019-02-15 14:58:59 +00:00
Hans-Christoph Steiner
bb597537f2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (428 of 428 strings)
2019-02-15 14:58:59 +00:00
Hans-Christoph Steiner
1ed99835a0 remove-unused-and-blank-translations.py: force Android/Weblate XML format
https://github.com/WeblateOrg/weblate/issues/1886
https://github.com/WeblateOrg/weblate/issues/2333
2019-02-15 14:46:34 +01:00
Hans-Christoph Steiner
1587505389 Merge branch 'mirror-tweaks' into 'master'
mirror tweaks

Closes #1702

See merge request fdroid/fdroidclient!789
2019-02-15 13:24:09 +00:00
Hans-Christoph Steiner
251391f051 Merge branch 'fix-back-animation' into 'master'
fix activity transitions by limiting view rebinding

Closes #1636

See merge request fdroid/fdroidclient!781
2019-02-15 07:28:57 +00:00
Conny Duck
074f72f58a fix activity transitions by limiting view rebinding 2019-02-15 07:28:57 +00:00
Hans-Christoph Steiner
c0123eb01b
metadata: rename description.txt to Fastlane's full_description.txt
This is required to make Weblate find these files.
2019-02-14 20:48:24 +01:00
Hans-Christoph Steiner
e33da7200b
metadata: rename summary.txt to Fastlane's short_description.txt 2019-02-14 20:47:39 +01:00
Hans-Christoph Steiner
ac406c5323 metadata: remove redundant pt locale 2019-02-14 20:33:17 +01:00
Hans-Christoph Steiner
c64fb61855 metadata: add title so it can be localized 2019-02-14 20:28:53 +01:00
Hans-Christoph Steiner
8276ab004e
move summary/description source/translations from fdroiddata
Weblate can now handle these directly:
https://hosted.weblate.org/projects/f-droid/f-droid-metadata/
2019-02-14 20:21:20 +01:00
Hans-Christoph Steiner
57b587dfe3 Some users never use WiFi, check for that state on first run
Lots of people complain that the graphics aren't being downloaded.  That's
because they never use F-Droid while on WiFi and the default prefs do not
allow downloading graphics while on Data.  This sets the preference to
allow downloading graphics while on Data if only Data is enabled, and not
WiFi, when the user first starts F-Droid.

closes #1592
2019-02-14 15:33:57 +01:00
Hans-Christoph Steiner
aebf7efc10 add canonical URL as first item in ordered mirror list
This makes it display nicely in RepoDetails, and is natural, since it is
the canonical URL.  This also maintains the order as received from the
mirror entries in the index file.
2019-02-14 15:33:57 +01:00