973 Commits

Author SHA1 Message Date
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
ezjerry liao
fbd7a7cfb0 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Nine Lima
d4b04c187d Translated using Weblate (Afrikaans)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
José Rodrigo Baires Quezada
8497b76a21 Translated using Weblate (Spanish)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Osoitz
2bc8c3ee36 Translated using Weblate (Basque)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Ajeje Brazorf
9049418e8d Translated using Weblate (Sardinian)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
tonghuix
e6d77460b7 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Viktar Vauchkevich
5a4ffa7cac Translated using Weblate (Belarusian)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
tenzin tselek
8e830ed102 Translated using Weblate (Tibetan)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
José Rodrigo Baires Quezada
745bd5bc38 Translated using Weblate (Spanish)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
zmni
972869f27d Translated using Weblate (Indonesian)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
naofum
9392878b02 Translated using Weblate (Japanese)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Verdulo
555352e947 Translated using Weblate (Polish)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Verdulo
f41104a306 Translated using Weblate (Esperanto)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
eghbalmohsen
bad714d60e Translated using Weblate (Persian)
Currently translated at 100.0% (372 of 372 strings)
2017-07-17 23:24:37 +02:00
Peter Serwylo
2523134485 Add drop shadow to toolbar items in AppDetails.
This is so that feature images with white backgrounds to not completely
obscure the icons.

Fixes #1097.
2017-07-10 12:59:52 +10:00
Hans-Christoph Steiner
490b757113 Merge weblate 2017-07-07 21:44:09 +00:00
Hans-Christoph Steiner
0180e754fe remove needlessly scary sentence from otherwise friendly Updates screen
This is not really a useful way to tell the user that the index might be
out of date.  It just adds confusion and makes people think that F-Droid
isn't quite smart enough to know what's going on.
2017-07-07 18:05:53 +02:00
Chirayu Desai
0d8b0c7fd4 Introduce FileInstaller, a way to handle media files from F-Droid
* This installer is invoked when for non-apk/media files, and
  copies them to an appropriate folder on the sdcard.
* We also introduce a FileInstallerActivity to ask for storage
  permissions at runtime, as needed by Android 6.0 and above,
  and handle the install/uninstall process.
* A toast is shown with the install path after installation.

TODO:
* Manage Installed Apps screen doesn't show media files.
2017-07-07 12:10:48 +05:30
Hans-Christoph Steiner
8f680bc1aa Merge branch 'improve-updates-tab-stability' into 'master'
Refactor `AppListItemController` to improve updates tab stability

See merge request !549
2017-07-06 22:15:41 +00:00
Hans-Christoph Steiner
8ba7882a98 Merge branch 'issue-1054--index-v1-progress-via-broadcasts' into 'master'
Add progress reporting for index-v1 (using `LocalBroadcastManager`)

Closes #1054

See merge request !550
2017-07-05 15:41:33 +00:00
Hans-Christoph Steiner
b9334e4507 Merge weblate 2017-07-03 19:02:04 +00:00
Peter Serwylo
df20d2df8d Add progress reporting for index-v1.
Reuses the "commiting" message to indicate how many apps have been
processed so far.

Refactors existing progress handling between `RepoUpdater` and
`UpdateService` to use `LocalBroadcastManager` in preference to
`ProgressListener`. Still needs to use `ProgressListener` to talk
between `RepoUpdater` and the `Downloader` +
`ProgressBufferedInputStream`.

The only change that is related to something more important than
notifications is the fact that now `IndexV1Updater` makes use of the
`indexUrl`. To do so, because it is final, the base class constructor
delegates to `getIndexUrl()` which is overriden by the v1 updater.
This is required because we want to differentiate between broadcasts
coming from different repo update processes.

Fixes #1054.
2017-07-03 09:31:48 +10:00
Hans-Christoph Steiner
66d3a50564 Merge weblate 2017-07-02 22:20:23 +00:00
Peter Serwylo
427d7bcbfa Further refactor the AppListItemController for readability and predictability.
This breaks out subclasses for each specific type of app list item,
allowing for code reuse, but also letting the specific business logic
belonging to each different app list item to be separate.

This is particularly helpful in the following situation:

 * In the search results, it is great to be able to render "App
   downloaded, ready to install" in the same manner as the update tab.

 * In the installed app list, this is not desired. Indeed, the status
   text which should be shown should reference the currently installed
   version and whether the user has ignored any updates.

By separating the AppListItemController into subclasses, it reduced the
need to handle several different types of text view (e.g.
"installedStatus", "status", "ignoredStatus", "downloadReady"), and
replace them all with a "status" and "secondaryStatus" TextView. What is
displayed in status and secondaryStatus is up to the individual
subclasses of AppListItemController.
2017-06-29 11:14:57 +10:00
Peter Serwylo
ef230f749c Added "Successfully Installed" status text to updates tab.
Also:
 * Extracted common styles into `@Style/AppListItemStatusText`.
 * Fixed left margin on older devices (where `layout_marginStart` doesn't
   exist).
2017-06-28 17:29:54 +10:00
Felix Ableitner
02fad57f0b Remove update time 2017-06-22 05:54:11 +00:00
Peter Serwylo
444ba43ac0 Adjust category colours to match repomaker designs
Fixes #1058.
2017-06-16 10:47:36 +10:00
Hans-Christoph Steiner
53a17e6146 add failsafe pref to disable using new index
If the client fails due to some bug in handling index-v1.jar, then it will
be totally stuck, even if index.jar would have worked.  This creates a new,
temporary "expert" preference to force the client only use the old XML
index file.  Worst comes to worst, we can tell people to enable this to
upgrade.

Once everything proves stable, we can remove this.
2017-06-16 00:20:36 +02:00
Hans-Christoph Steiner
ee1871f07e clean up English source strings
This started with the work of @kingu, it cleans up some of the language,
including:

* upgrade --> update
* application --> app
* internet --> Internet

closes !508
2017-06-16 00:20:36 +02:00
monolifed
f5810073ea Translated using Weblate (Turkish)
Currently translated at 100.0% (375 of 375 strings)
2017-06-16 00:20:36 +02:00
Hans-Christoph Steiner
ab66bfa78b Merge weblate 2017-06-15 22:02:25 +00:00
Hans-Christoph Steiner
318bbfc140 Merge branch 'category-tweaks' into 'master'
Add final artwork and correctly read colours.

Closes #1039

See merge request !535
2017-06-08 10:18:56 +00:00
Peter Serwylo
5b6e515a06 Add final artwork and correctly read colours.
Carrie specified colours earlier, and they were added to the code.
However they were not being read correctly. This changes that so that
lowercase resource names (e.g. "category_games") are used instead.

It also adds the final category artwork, for "Games" which was
missed prior.

The rest still generate colours and patterns if they don't have a colour
or an image specified.
2017-06-08 17:24:12 +10:00
Peter Serwylo
5b182ef38d Merge branch 'master' into 'master'
Made app_details2_header text selectable. This addresses #1032.

See merge request !533
2017-06-08 03:28:16 +00:00
Steffan Byrne
63cad0d754 Made app_details2_header text selectable. This addresses #1032. 2017-06-05 22:07:40 -04:00
ByteHamster
f66781eac6 Improved font color in dark theme 2017-06-03 09:58:53 +02:00
Hans-Christoph Steiner
feeb8c17ad remove unused string: installDowngrade
If this is needed in the future, this commit can be reverted in git.
2017-05-31 12:31:11 +02:00
Hans-Christoph Steiner
76fca35c2e remove unused string: menu_send_apk_bt
If this is needed in the future, this commit can be reverted in git.
2017-05-31 12:31:10 +02:00
Hans-Christoph Steiner
f6c669783d remove unused string: empty_search_available_app_list
If this is needed in the future, this commit can be reverted in git.
2017-05-31 12:31:10 +02:00
Hans-Christoph Steiner
793b62878b Weblate 2017-05-31 09:50:25 +00:00
Hans-Christoph Steiner
087e86b312 Merge branch 'fix-notifications' into 'master'
Fix notification problems

Closes #1013

See merge request !523
2017-05-31 09:09:08 +00:00
Felix Ableitner
07cd5e82fc Remove unused resources 2017-05-31 12:22:47 +09:00
Peter Serwylo
ee7055e118 Listen to AppUpdateStatusManager events instead of DownloadManager events.
Also, make sure to correctly update the app details view when te user
leaves then returns to the view. Prior to this, the user would need to
wait for a download event to be received. However even that was broken,
because the download listener was not being added correctly once the
user returned to the app details screen.
2017-05-31 11:47:10 +10:00
Hans-Christoph Steiner
702cf2dec8 Weblate 2017-05-30 16:02:59 +00:00
Hans-Christoph Steiner
c5f5eb6a05 Merge branch 'transitions' into 'master'
Fixed shared element transitions

See merge request !524
2017-05-29 18:55:48 +00:00
ByteHamster
ecf0b88c65 Fixed shared element transitions 2017-05-29 18:02:31 +02:00
Peter Serwylo
e46fccce95 Merge branch 'text-all-caps' into 'master'
Use proper way to set text all caps on old api

See merge request !521
2017-05-26 02:57:05 +00:00