4853 Commits

Author SHA1 Message Date
Gaman Gabriel
679e933bfd Translated using Weblate (Romanian)
Currently translated at 96.5% (359 of 372 strings)
2017-09-04 22:53:16 +02:00
Peter Serwylo
eb8af46a94 Merge branch 'fixes-for-1.0-alpha2' into 'master'
Fixes for 1.0 alpha2

Closes #1149

See merge request !573
2017-09-04 20:53:08 +00:00
Peter Serwylo
aa2d791531 Merge branch 'etag-fix' into 'master'
switch etag cache check to purely client-side

Closes #562

See merge request !574
2017-09-04 20:22:02 +00:00
Hans-Christoph Steiner
709919ada6 Merge branch 'weblate' into 'master'
Weblate

See merge request !575
2017-09-04 20:21:16 +00:00
Hans-Christoph Steiner
2bfa642046 Weblate 2017-09-04 20:21:15 +00:00
Hans-Christoph Steiner
a27d2804f3 manually use aapt singleCrunch for reproducible builds
PNG crunching is not a deterministic process, especially the way aapt does
it.  This makes the F-Droid builds not reproducible.  The easy solution to
this is to pre-crunch the PNGs and commit them to git.  It also makes the
final APK a tiny amount smaller, for whatever reason.

https://medium.com/@duhroach/smaller-pngs-and-android-s-aapt-tool-4ce38a24019d
2017-09-04 22:20:55 +02:00
Hans-Christoph Steiner
75d13d60ae move swap webpage's F-Droid.apk link so it doesn't get cleaned up
This is because of the previous commit.
2017-09-04 22:20:55 +02:00
Hans-Christoph Steiner
6651117f90 fix cleaning of temp install APKs
When the filenaming was changed in 91eb408 !514 this was not updated. So
now it is keeping these files forever, which gets large fast.

closes #1149
2017-09-04 22:20:55 +02:00
Hans-Christoph Steiner
0730d3c676 set App.preferredSigner when using index v0 #1086
This was an oversight when we added this functionality, though there was
a related TODO.

41f85f3c9df934daba0ee0d60c4c01bb071fa6e7
2017-09-04 22:20:55 +02:00
Hans-Christoph Steiner
312bc9f503 Merge branch 'swap-crash-serving-fdroid' into 'master'
Fix crash when trying to swap.

See merge request !563
2017-09-04 20:08:53 +00:00
Hans-Christoph Steiner
2550329ab5 switch etag cache check to purely client-side
Instead of including the etag in the HTTP GET request and letting the
server set the Response Code depending on whether the etag machines, this
makes the client first issue a HEAD request, which is uses to get the etag
and the file size.  We need to do the HEAD beforehand anyway to get the
file size for resumable downloads, and this approach prevents the server
from using the etag as a form of tracking cookie:
http://lucb1e.com/rp/cookielesscookies/

closes #562
2017-09-04 20:56:12 +02:00
Hans-Christoph Steiner
4dd27ef727 all <plurals> translations must have at least the "other" string
closes #1129
2017-09-04 20:44:53 +02:00
Hans-Christoph Steiner
2dbeb60666 Merge branch 'issue-995--installing-after-disabling-repo' into 'master'
Ensure apps are not kept in "Updates" when their repo is disabled.

Closes #995

See merge request !568
2017-09-01 14:00:00 +00:00
Hans-Christoph Steiner
fdd2a18199 Merge branch 'about-dialog' into 'master'
Apply selected theme to about dialog and dismiss it on touch outside

See merge request !572
2017-09-01 09:59:22 +00:00
Christine Emrich
0d874a7ee8 Dismiss about dialog on touch outside #1082 2017-08-30 22:24:04 +02:00
Christine Emrich
f8c81a47d9 Apply selected theme to about dialog in settings #1083 2017-08-30 22:21:09 +02:00
ByteHamster
8bfecc89fb Animation fixes
- Icon transition is no longer jumping in first frame (caused by different padding)
- Icon is no longer cropped at start of transition (caused by missing changeImageTransform)
- Toolbar icons are no longer animated. Introduced in !561 by changing the icons programmatically
2017-08-29 16:07:13 +02:00
Hans-Christoph Steiner
a48a92385e Merge branch 'issue-1117--empty-state-search' into 'master'
Empty search results now shows message (as in 0.102.3)

Closes #1117

See merge request !567
2017-08-29 14:00:39 +00:00
Peter Serwylo
d65d64f6f8 Merge branch 'screenshots-layout' into 'master'
Improve screenshots layout

See merge request !569
2017-08-28 23:05:09 +00:00
Chirayu Desai
7d95f80608 Merge branch 'antiFeatureWarningDark' into 'master'
Fix anti feature warning drawable in dark mode

Closes #1148

See merge request !570
2017-08-28 05:47:23 +00:00
Chirayu Desai
6b1bb92282 Fix anti feature warning drawable in dark mode 2017-08-28 10:40:26 +05:30
Christine Emrich
3250603000 Make screenshots bigger 2017-08-27 17:40:48 +02:00
Christine Emrich
e77281b99b Give screenshots some margin
This way the card views elevation can be displayed
properly and multiple screenshots don't merge together.
2017-08-27 17:35:39 +02:00
Christine Emrich
e9cdc5e952 Remove highlight from snapped screenshot #1068 2017-08-27 17:24:53 +02:00
Christine Emrich
9be13fd2ab Center screenshots when they don't fill screen width 2017-08-27 17:15:34 +02:00
Peter Serwylo
f3c48f8d6b Ensure apps are not kept in "Updates" when their repo is disabled.
This caused problems when users then tried to action the pending
install, where it would no longer have enough information to install the
app. Although it may be technically possible to keep enough information
around in memory to make the app installable, but it is not worth the
effort. If a user intentionally disables a repo, we should no longer be
responsible for keeping information about its apps around.

Fixes #995.
2017-08-08 21:12:59 +10:00
Peter Serwylo
393db2ba86 Reinstated old translation for 'no apps found' 2017-08-08 13:35:09 +10:00
Peter Serwylo
0f8bec59e1 Show message when no search results are found.
Fixes #1117.
2017-08-08 11:35:23 +10:00
Peter Serwylo
a3a0c0a15d More verbose logging
There are some ACRA reports with this IllegalStateException getting hit.
It used to be that it was only ever because we forgot to request the
correct fields from the database. However now I'm not sure that this is
the only source. Perhaps it is also possible in response to parcelling
apk instances, or maybe something else? Either way, this should provide
further info about whether the apk doesn't belong to a repo for some
reason.
2017-08-01 13:04:08 +10:00
Peter Serwylo
3b41287cf7 Remove unused methods.
There are two methods which allow callers to choose which fields to
return. These were originally added for performance, so you only ask for
what you need. However empirically the performance gain doesn't mean
anything, because it is dwarfed by the query that was just executed.
However, it does open the code up to bugs because we forget to ask for
the right fields. So now it just returns all fields when querying for
apks.
2017-08-01 13:02:36 +10:00
Peter Serwylo
618f83bb23 Formatting 2017-08-01 11:59:44 +10:00
Peter Serwylo
2d377453d9 Ensure swapping doesn't get confused by apks in different repos.
While investigating #1086 which was about swap being busted, I
discovered that we recently introduced a worse bug when working with
multi sig stuff. The swap process, when installing an app (or even when
listening for if a user started installing - before they even did
anything), would ask for an apk from any repo. This is wrong, because we
should only ask for the apks from the swap repo when presented with a
swap dialog.

By fixing this so that it asks for a specific apk, this may also
fix the issue in #1086, because that was about us not asking for enough
info from the database for each Apk which was returned. Now we just
return all columns, because the performance overhead should be minimal,
but it prevents this class of bugs, where we didn't fully populate
our value object. However, I'm not confident that it is fixed, because I
was unable to reproduce it due to the other crash fixed in this change.

Relevant crash:

```
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.fdroid.fdroid.data.Apk.getUrl()' on a null object reference
  at org.fdroid.fdroid.views.swap.SwapAppsView$AppListAdapter$ViewHolder.setApp(SwapAppsView.java:311)
  at org.fdroid.fdroid.views.swap.SwapAppsView$AppListAdapter.bindView(SwapAppsView.java:422)
  at org.fdroid.fdroid.views.swap.SwapAppsView$AppListAdapter.newView(SwapAppsView.java:414)
  at android.support.v4.widget.CursorAdapter.getView(CursorAdapter.java:269)
  at android.widget.AbsListView.obtainView(AbsListView.java:2349)
  at android.widget.ListView.makeAndAddView(ListView.java:1864)
  at android.widget.ListView.fillDown(ListView.java:698)
...
```
2017-08-01 11:59:41 +10:00
Hans-Christoph Steiner
a71eb243fa remove unused imports 1.0-alpha1 2017-07-18 10:09:34 +02:00
Hans-Christoph Steiner
c93cd5a3e6 Build to 1000001 2017-07-18 10:01:41 +02:00
Hans-Christoph Steiner
2d89f8665a update CHANGELOG 2017-07-18 10:01:27 +02:00
Hans-Christoph Steiner
f30b73ed17 remove unused imports 2017-07-18 09:40:40 +02:00
Hans-Christoph Steiner
c6a1e15bc7 Merge branch 'merge-weblate' into 'master'
Merge weblate

See merge request !565
2017-07-18 07:39:19 +00:00
Hans-Christoph Steiner
6dc49eef0f fix blank plurals items in he 2017-07-18 08:14:59 +02:00
Hans-Christoph Steiner
419c48a234 remove bad translation with missing format 2017-07-18 00:48:45 +02:00
Hans-Christoph Steiner
166171eb32 fix format strings 2017-07-18 00:39:20 +02:00
Lobsang
e331913f6d Translated using Weblate (Tibetan)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Allan Nordhøy
5f94beb25d Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.1% (339 of 372 strings)
2017-07-17 23:24:38 +02:00
Yaron Shahrabani
c69df9fb8c Translated using Weblate (Hebrew)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Green Lunar
11152925c5 Translated using Weblate (Hebrew)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Luiz Carlos de Oliveira
c5f837f8ab Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Claus Rüdinger
31a52c3d48 Translated using Weblate (German)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Licaon Kter
a07e2b2db3 Translated using Weblate (Romanian)
Currently translated at 93.5% (348 of 372 strings)
2017-07-17 23:24:38 +02:00
Luca D'Amico
45d130f072 Translated using Weblate (Italian)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Yaron Shahrabani
5091366b2d Translated using Weblate (Hebrew)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:38 +02:00
Nathan Follens
dcfeb47bc6 Translated using Weblate (Dutch)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00