1576 Commits

Author SHA1 Message Date
Muḥend Belqasem
5056f612ad Translated using Weblate (Kabyle)
Currently translated at 39.7% (153 of 385 strings)
2017-12-01 12:17:25 +01:00
Hans-Christoph Steiner
92f94ef195 Merge branch 'trim-names-and-summaries' into 'master'
Trim names and summaries

See merge request fdroid/fdroidclient!613
2017-12-01 11:17:12 +00:00
Peter Serwylo
50b4aac263 Correctly re-initialize loaders in updates screen.
There used to be a single loader which would get all apps which have
updates available. This was restarted when we were notified about new
apps requiring updates.

Then, in 7424220 I introduced a second loader responsible for getting
apps with known vulnerabilities. This change caused the bug in #1203,
because it changed the loaders from a single loader with ID = 0, to two
different loaders with arbitrary IDs. However, there was still a line of
code responding to when repo updates completed and we learn about new
updateable apps, and this was asking for a loader with an ID of 0 like
before. This crashed when the loader was completed and we tried to pase
the results.

This is fixed ensuring that both loaders are restarted upon learning of
new updateable apps. To prevent this disconnect in the future, they are
also extracted into the same method.
2017-11-30 08:12:51 +11:00
Torsten Grote
cdc0b8b1ea
Add a setting to prevent screenshots from being taken (off by default) 2017-11-28 16:13:43 -02:00
Hans-Christoph Steiner
d4d9707631 on debug builds, set versionCode using DB_VERSION + commit count
This provides an automatic way to generate updates from each new debug
build, it is build from the developer's machine or via the nightly repo.
2017-11-23 10:55:13 +01:00
Hans-Christoph Steiner
427d0d0aa0 add 'debug' to applicationId and versionName for debug builds 2017-11-23 10:55:13 +01:00
Torsten Grote
4149cf7e8c
Remove dependence on "org.fdroid.fdroid" to make whitelabel clients easier 2017-11-22 13:21:06 -02:00
Jonas Kalderstam
44d984786f Trim names and summaries on database insert
When metadata is read from localized files such as
Fastlane/Triple-Play the names/summaries get stored on the server with
a trailing newline. This is not a problem when displaying as HTML as
in a browser but causes unwanted whitespace in the app.

See also https://gitlab.com/fdroid/fdroidserver/merge_requests/375,
and https://gitlab.com/fdroid/fdroidclient/issues/1114
2017-11-20 00:36:12 +01:00
Peter Serwylo
ac7169262e Merge branch 'animate-search-view' into 'master'
Animate search view

See merge request fdroid/fdroidclient!610
2017-11-19 20:36:18 +00:00
Peter Serwylo
4c6dd8d5ac Merge branch 'uninstall-button' into 'master'
uninstall-button (wrap)

See merge request fdroid/fdroidclient!600
2017-11-19 20:33:19 +00:00
Christine Emrich
cd5ba9d8f2 Give search item stable ids to animate rows during search 2017-11-13 20:37:40 +01:00
Christine Emrich
6970f4a94a Change color of permission group icons in alert dialog according to theme 2017-11-11 11:11:37 +01:00
Hans-Christoph Steiner
bcc29ef6c9 versionCode 1001000 2017-11-09 23:59:25 +01:00
Hans-Christoph Steiner
c8aac78321 Weblate 2017-11-09 22:43:11 +00:00
Hans-Christoph Steiner
75d3e47572 Merge branch '#936-view-screenshots-in-full-screen' into 'master'
See merge request fdroid/fdroidclient!606
2017-11-09 23:19:16 +01:00
Hans-Christoph Steiner
89a933cd84 convert to standard Build.VERSION.SDK_INT test style 2017-11-09 23:18:18 +01:00
Hans-Christoph Steiner
6be865f910 Merge branch 'cleanup-predex-disable' into 'master'
auto-disable preDexLibraries on CI systems

See merge request fdroid/fdroidclient!605
2017-11-09 19:57:58 +00:00
Christine Emrich
257c3da9b4 Match color of permission icons with other icon colors 2017-11-09 19:32:26 +01:00
Christine Emrich
dd87ba9efc Fix checkstyle errors 2017-11-08 13:58:25 +01:00
Christine Emrich
61fb63d0f9 Apply current theme to ScreenShotsActivity 2017-11-08 13:58:24 +01:00
Christine Emrich
1d51385fc6 Add simple animation while swiping through screenshots 2017-11-08 13:58:24 +01:00
Christine Emrich
e38d02a59c Add full screen detail view to swipe through screenshots 2017-11-08 13:58:24 +01:00
Peter Serwylo
f3a58980f4 Merge branch 'card-covered' into 'master'
Fix: card-covered

See merge request fdroid/fdroidclient!595
2017-10-29 21:44:29 +00:00
Hans-Christoph Steiner
5f26a78527 auto-disable preDexLibraries on CI systems
preDexing helps repeat builds run faster, but slows down builds that do
not have any caching.  CI builds start from scratch each time.  Turns
out that GitLab CI, Travis CI, Circle CI, and probably many others all
define the "CI" environment variable, so its easy to detect when running
in a CI environment.  This makes things a lot cleaner.

* https://docs.gitlab.com/ce/ci/variables/README.html
* https://docs.travis-ci.com/user/environment-variables/
* https://circleci.com/docs/2.0/env-vars/
* https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI
* https://stackoverflow.com/questions/23137764/building-a-debug-apk
2017-10-27 10:54:20 +02:00
Hans-Christoph Steiner
c3f46bb5fb versionCode 1000011 2017-10-24 14:09:08 +02:00
Marcus
7e767d0f44 Merge branch 'fix-1014' into 'master'
force all Android 5.0 devices to use the old index v0 XML format

Closes #1014, #1202, and #1208

See merge request fdroid/fdroidclient!602
2017-10-23 20:49:17 +00:00
Pavel Borecki
7eb304cfec Translated using Weblate (Czech)
Currently translated at 100.0% (385 of 385 strings)
2017-10-23 22:43:39 +02:00
Suvi-Tuuli Allan
6d8f29f8da Translated using Weblate (Finnish)
Currently translated at 86.2% (332 of 385 strings)
2017-10-23 22:41:00 +02:00
Hans-Christoph Steiner
41ae4867d9 Merge branch 'patch-1' into 'master'
For Tor connections, Orbot is required

See merge request fdroid/fdroidclient!601
2017-10-23 20:39:52 +00:00
Hans-Christoph Steiner
da9f8724cd Weblate 2017-10-23 20:33:09 +00:00
Hans-Christoph Steiner
4b0eb32d30 force all Android 5.0 devices to use the old index v0 XML format
The workaround is fugly, so we really don't want to include it in the
modern code.  Luckily, we have old index support there :-D

closes #1014
closes #1202
closes #1208
#111
2017-10-23 21:59:23 +02:00
Licaon_Kter
d2e96f8b55 For Tor connections, Orbot is required 2017-10-23 15:50:16 +00:00
hotlittlewhitedog
f579eecfb3 uninstall-button 2017-10-20 19:44:14 +02:00
hotlittlewhitedog
f17eace301 Fix: card-covered 2017-10-14 20:22:28 +02:00
Hans-Christoph Steiner
5e91bb7892 Merge branch 'mirrors' into 'master'
Mirror support for the index and apps

Closes #35

See merge request fdroid/fdroidclient!578
2017-10-10 15:01:49 +00:00
Hans-Christoph Steiner
245b918d6e versionCode 1000010 2017-10-10 14:46:16 +02:00
Chirayu Desai
a160476a14 Mirror support for the index and app downloads
* App and index downloads fall back to a list of mirrors defined
  by the repository.
* The changes have been made trying to keep the original download
  code untouched, and only using the mirror logic when the download
  fails due to a connection error / timeout.
* The mirrors are tried in a randomized manner, and with proper
  timeouts. The download is aborted after the tries exceed the
  number of mirrors, times 3 for a total of 3 different timeout
  values (10s, 30s, and 1m)
* The mirror code isn't used for any images yet, most of which is
  handled by an external library.

Closes: #35
2017-10-09 21:52:15 +05:30
Allan Nordhøy
2a577af5a2 Translated using Weblate (Swedish)
Currently translated at 100.0% (385 of 385 strings)
2017-10-09 15:57:05 +02:00
Hadrián Candela
b3c3527b04 Translated using Weblate (Galician)
Currently translated at 100.0% (385 of 385 strings)
2017-10-09 15:57:05 +02:00
Hans-Christoph Steiner
dfcb4a15f4 Weblate 2017-10-09 12:33:45 +00:00
Peter Serwylo
de75c1fef5 Bump db version to force early adopters to upgrade db again.
Also does this with the additional field for ignoring vuln apps.
This should be safe, because there is a check for if (columnExists())
which will only pass if people don't already have this column.

Fixes #1181.
2017-10-05 17:06:11 +11:00
Hans-Christoph Steiner
fe626e3fd8 versionCode 1000005 2017-10-04 23:33:21 +02:00
Hans-Christoph Steiner
24512f6465 fix lint "DefaultLocale: Implied default locale in case conversion" 2017-10-04 23:29:36 +02:00
Hans-Christoph Steiner
58a10a9ab6 fix db upgrade from 1.0-alpha3 --> 1.0-alpha4
This should have been set to 75 in the original commit that added this:
caa1ead689eedd2023fa5b6b29bde40517d84668

#1181
2017-10-04 23:29:36 +02:00
Hans-Christoph Steiner
461fe4292b LocaleList is not properly sorted, so do our own best approx.
It seems that LocaleList does not necessarily return the "Language
Priority List" in the order that the user has prioritized things. So
we have to kind of fake it by first adding the default locale, then
adding the locales from LocaleList based on longest order first (e.g.
de-AT then de).

#987
2017-10-04 23:29:36 +02:00
Hans-Christoph Steiner
b4938879d0 Weblate 2017-10-04 21:30:32 +00:00
hotlittlewhitedog
a86b0657ff science and education category bgcolor 2017-10-03 19:39:11 +02:00
Peter Serwylo
ecd70c94b8 Be more defensive when checking cached downloads.
Attempt to fix #1172, but couldn't reproduce it. So instead made sure to
document in detail why such a defensive check was put in place.
2017-09-28 12:34:58 +10:00
Hans-Christoph Steiner
fa859466da versionCode 1000004 2017-09-27 23:03:11 +02:00
Hans-Christoph Steiner
695394fe71 Merge branch 'issue-1131--swipe-to-dismiss-updates' into 'master'
Swipe to dismiss updates

Closes #1131

See merge request fdroid/fdroidclient!584
2017-09-27 20:59:09 +00:00