1008 Commits

Author SHA1 Message Date
F-Droid Translatebot
5dd1cd6ee6 Pull translation updates from Weblate
Translators:

Francesco Giordano    Italian
Jaroslav Lichtblau    Czech
Mutante Citta         Italian
2016-06-16 20:59:55 +01:00
Peter Serwylo
aae87eb92e Extracted new API styles dependent on API 16 and 17 into values-17.
This involved the typical Android design pattern of a "Base" style in
`values/styles.xml`, then the an empty normal style which uses that Base style
as a `parent` also in `values/styles.xml`, and finally any API specific
styles in another version of the normal style in a `values/styles-v17` folder.

Same was done for android:actionBarStyle moving it into into values-v11.
This time, didn't worry about the base style, because there was not much to be
gained. by doing so.
2016-06-16 15:37:19 +10:00
Daniel Martí
4685d82ee6 Remove a couple of unused strings
Updates #684.
2016-06-14 11:45:07 +01:00
F-Droid Translatebot
679fdb3fb1 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz    Catalan
Daniel Martí             Catalan
Enol Puente              Asturian
ezjerry liao             Traditional Chinese
Jonatan                  Swedish
Miss Min                 Persian
Nutchanon Wetchasit      Thai
Sergio Oller             Catalan
2016-06-14 11:35:45 +01:00
Dominik Schürmann
c88afd0995 Reuse AppSecurityPermissions in AppDetails 2016-06-09 23:42:14 +02:00
Daniel Martí
1f61259ae3 Add Thai to the languages list 2016-06-09 14:14:13 +01:00
Daniel Martí
471447fc10 Run tools/remove-unused-trans.py
After a few strings were removed in !330.
2016-06-09 14:05:17 +01:00
F-Droid Translatebot
66d309b848 Pull translation updates from Weblate
Translators:

Mohamad Hasan Al Banna    Indonesian
Nutchanon Wetchasit       Thai
Prasanna Venkadesh        Tamil
2016-06-09 14:04:51 +01:00
Dominik Schürmann
f6cc716fac Remove first-time dialogs for extension installer
The root mechanism will not be useful in 5.1 and later and has been shown
to be error prone.

Fixes #636
2016-06-09 11:12:09 +02:00
Daniel Martí
4c7217d796 Add Tamil (ta) to the languages list 2016-06-08 23:32:44 +01:00
Daniel Martí
a987dc0ce5 Run tools/remove-unused-trans.py
Fixes the many lint errors accumulated over the past few weeks.
2016-06-08 23:28:20 +01:00
F-Droid Translatebot
297208b255 Pull translation updates from Weblate
Translators:

Ab                         Arabic
Adrià García-Alzórriz      Catalan
Adrià García-Alzórriz      Spanish
ageru                      French
Ajeje Brazorf              Sardinian
ezjerry liao               Traditional Chinese
Francesco Giordano         Italian
Frank Ludviksson           Spanish
Helder Santana             Portuguese (Brazil)
Kristoffer Grundström      Swedish
Licaon Kter                Romanian
Marian Hanzel              Slovak
Massimiliano Caniparoli    Italian
Mladen Pejaković           Serbian
Mutante Citta              Italian
naofum                     Japanese
Olexandr Nesterenko        Ukrainian
Prasanna Venkadesh         Tamil
Sérgio Marques             Portuguese (Portugal)
Tobias Bannert             German
Verdulo                    Esperanto
Verdulo                    Polish
2016-06-08 23:27:40 +01:00
Dominik Schürmann
2776b86050 Redesign PrivilegedInstaller
* use new local broadcasts
* show permission screen before download
* display permission screen as dialog
2016-05-31 17:15:07 +02:00
Dominik Schürmann
4e8e148029 Display install errors as notify/dialog 2016-05-31 17:14:31 +02:00
Dominik Schürmann
6d2f2d20a8 InstallerService 2016-05-31 17:13:26 +02:00
Hans-Christoph Steiner
68375163f5 only use swap header image on large screens
The previous logic was putting the header on some 4" screens while not
putting it on a 7" tablet.  Tested with:

* Samsung Galaxy Tab 3 7"
* Azpen A727 7"
* Xiaomi 4.5"
* Lenovo 4"
* emulators...
2016-05-27 16:15:15 +02:00
Hans-Christoph Steiner
1591851273 remove "Try to install" from swap UI
This should no longer be necessary since the local swap repo metadata now
includes the nativecode tag.

#30 https://gitlab.com/fdroid/fdroidclient/issues/30
2016-05-27 16:15:15 +02:00
F-Droid Translatebot
f631d16828 Pull translation updates from Weblate
Translators:

Ajeje Brazorf         Sardinian
Allan Nordhøy         Norwegian Bokmål
Enol P                Asturian
ezjerry liao          Traditional Chinese
Olexandr Nesterenko   Ukrainian
Tijmen Ennik          Dutch
2016-05-23 15:35:27 +01:00
Nico Alt
e91ba13601 Set default subject in e-mails
Fixes #600.
2016-05-19 15:26:12 +02:00
Peter Serwylo
8d742b7e30 Correctly expand list of nearby people to the entire height of the screen.
If the device is small, then the "Conenct and trade apps with people near you"
header takes up too much space and we end up not being able to see any nearby
people at all, even if they are in the list. As such, this also removes that
header for "small" and "ldpi" devices. During testing I found that "small" was
not enough, because a 240x400 screen is considered "medium" and there is not
enough space. ldpi seems to be a reasonable metric for "that header is going to
be taking valuable space and should not be shown then".

All larger devices retain the header and seem to look nice.

This also pushes the "Can't find what you're looking for?" message and associated
buttons right to the bottom of the screen. This is more in line with the original
design.

Fixes #604.
2016-05-17 13:27:49 +02:00
F-Droid Translatebot
c7f92d2ee6 Pull translation updates from Weblate
Translators:

Boris Timofeev           Russian
ezjerry liao             Traditional Chinese
Kristoffer Grundström    Swedish
Licaon Kter              Romanian
2016-05-12 23:06:13 +01:00
F-Droid Translatebot
aaf5bfe1db Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz  Catalan
Oliver Zehm            German
Tobias Bannert         German
2016-05-09 11:14:58 +01:00
Daniel Martí
0baf443b63 Remove now unused cache_downloaded_on string
We now use a list of time durations to keep the files for.
2016-05-07 23:14:20 +01:00
Daniel Martí
6311ad5c6b Run remove-unused-trans.py after !277
Automated change. No issues with lint or any of the other tests.
2016-05-06 10:27:35 +01:00
Hans-Christoph Steiner
7e53baf4c1 Merge branch 'installer-ui-updates' into 'master'
Installer UI updates and lint fixes

This updates UI classes of the installer to reflect the changes of AOSP's installer and fixes some lint errors.
* No more differentiation between personal and device permissions (didn't even notice that there was a differentiation here...)
* Icon for "other" permission group

I carefully merged only the changes from AOSP that are related to us and decided against maintaining different versions of the AppSecurityPermissions.

There will be more changes and discussions to the installer UI coming in the next days.

See merge request !277
2016-05-06 07:55:56 +00:00
F-Droid Translatebot
60bafa168c Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz     Spanish
Alberto Moshpirit         Spanish
Danial Behzadi            Persian
Enol P                    Asturian
Kristjan Räts             Estonian
Marcelo Santana           Portuguese (Brazil)
Mohamad Hasan Al Banna    Indonesian
Verdulo                   Esperanto
Verdulo                   Polish
2016-05-06 00:44:01 +01:00
Dominik Schürmann
2da380a04d Update InstallConfirmActivity and permissions_list from AOSP 2016-05-05 21:17:37 +03:00
Dominik Schürmann
06a8ff5787 AppSecurityPermissions: changes from Android 6 2016-05-05 21:16:53 +03:00
F-Droid Translatebot
b0131a7490 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz    Catalan
Adrià García-Alzórriz    Spanish
Marcelo Santana          Portuguese (Brazil)
Mladen Pejaković         Serbian
naofum                   Japanese
Tobias Bannert           German
Verdulo                  Esperanto
Verdulo                  Polish
YFdyh000                 Simplified Chinese
2016-05-03 11:17:39 +01:00
Hans-Christoph Steiner
cbf1bda433 add preference to set the time to keep cached APKs
This schedules CleanCacheService to run regularly, and delete files older
than the value set in the new "Keep cached apps" preference. It auto-
migrates the old "Cache packages" pref to the new one.  The default cache
time for people who did not have "Cache packages" enabled is one day.
2016-05-02 20:38:31 +02:00
F-Droid Translatebot
32fc118b3d Pull translation updates from Weblate
Translators:

Ajeje Brazorf     Sardinian
Allan Nordhøy     Norwegian Bokmål
Paresh Chouhan    Hindi
Sérgio Marques    Portuguese (Portugal)
tacsipacsi        Hungarian
2016-05-01 23:23:25 +01:00
Daniel Martí
90aa73dc40 Merge branch 'restrict-priv-ext' into 'master'
Fixes for priv extension install

For now, disable install of privileged extension on Android >=5.1 until we found better methods.
Also, fix crash of dialogs on Android 6 using a workaround for transparent activities and some code simplifications.

See merge request !259
2016-05-01 22:19:41 +00:00
Dominik Schürmann
cf694b6d83 Disable install of privileged ext on Android 5.1 2016-05-01 23:15:41 +02:00
Dominik Schürmann
17f712870b Fix crash of transparent dialogs on Android 6 2016-05-01 23:10:41 +02:00
Daniel Martí
fdd441c382 Add Estonian (et, Eesti) to the langs list
Its first translations were added in the previous commit, pulled from
Weblate.
2016-04-27 15:27:38 +01:00
F-Droid Translatebot
9faa84fa90 Pull translation updates from Weblate
Translators:

Danial Behzadi            Persian
fastest noob              Turkish
Fert Bálint               Hungarian
Green Lunar               Hebrew
Jean-Baptiste             French
Karola Marky              Japanese
Kristjan Räts             Estonian
Licaon Kter               Romanian
Marian Hanzel             Slovak
Mohamad Hasan Al Banna    Indonesian
naofum                    Japanese
Tobias Bannert            German
YFdyh000                  Simplified Chinese
2016-04-27 15:09:16 +01:00
Paresh Chouhan
d0ca382d80 Added cancel action to notifications. 2016-04-27 02:45:07 +05:30
F-Droid Translatebot
b1aac69989 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz      Catalan
Adrià García-Alzórriz      Spanish
mahmut özcan               Turkish
Marcelo Santana            Portuguese (Brazil)
Massimiliano Caniparoli    Italian
Mladen Pejaković           Serbian
Verdulo                    Esperanto
Verdulo                    Polish
2016-04-23 01:59:30 +01:00
Daniel Martí
c240283ad4 Merge branch 'download-service-pending-intent' into 'master'
Misc fixes/improvements to apk downloading

This started as a fix to #625, but quickly turned into a mini rampage to fix and/or improve a few different things in the `DownloaderService`. Hopefully the commits are self explanatory as to what they fix, but of course feel free to ask questions if you have any.

See merge request !265
2016-04-22 16:58:57 +00:00
Peter Serwylo
7f1155816e Show name of app being downloaded in notification.
If a non-apk download is taking place, revert to the current generic
"Downloading..." message.
2016-04-23 00:02:15 +10:00
Peter Serwylo
18f3d86b68 Show indeterminite progess for apks queued to download.
Previously, navigating back to an app which is in the queue
qould indeed grey out the "Install" button and show the text
"Downloading..." in that disabled button. However, it woulnd't show
any sort of progress. This change shows an indeterminite progress
bar with the text "Waiting to start download..." underneath.
Happy to receive input on the best terminology if that is not
desirable.

In order to do this, I had to be more specific about when
the header fragment is updated. Previously, `headerFragment.updateViews()`
would get called by the `onResumeFragments()` activity method.
This was redundant because the `onResume()` method of the fragment
also invokes `updateViews()`. Thus, that call was removed (though
we still need to obtain a reference to the fragment in
`onResumeFragments()`.
2016-04-23 00:02:15 +10:00
Daniel Martí
a826d1101d Remove unused app_list_item_click
As per #fdroid-dev:

    +mvdan | paresh: look at what lint says
    +mvdan | src/main/res/transition-v21/app_list_item_click.xml:2: The resource R.transition.app_list_item_click appears to be unused
    +mvdan | are you aware of this?
    paresh | mvdan, oh yes
    paresh | it is useless
    paresh | I think I planned on adding some transition
    paresh | you can remove it safely
2016-04-21 11:05:36 +01:00
Daniel Martí
ebbb5f3863 Run tools/remove-unused-trans.py 2016-04-21 10:40:58 +01:00
F-Droid Translatebot
560a620a6c Pull translation updates from Weblate
Translators:

Danial Behzadi            Persian
ezjerry liao              Traditional Chinese
Mohamad Hasan Al Banna    Indonesian
Olexandr Nesterenko       Ukrainian
Osoitz                    Basque
Paresh Chouhan            Hindi
Verdulo                   Esperanto
2016-04-21 10:40:25 +01:00
Paresh Chouhan
45313c6234 Removed duplicate string resource for string ("Swap apps") 2016-04-21 00:55:23 +05:30
F-Droid Translatebot
ca3e13ebf6 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz    Catalan
ageru                    French
Alberto Moshpirit        Spanish
Allan Nordhøy            Norwegian Bokmål
Enol P                   Asturian
ezjerry liao             Traditional Chinese
Green Lunar              Hebrew
Kristoffer Grundström    Swedish
Ldm Public               French
Marcelo Santana          Portuguese (Brazil)
Mladen Pejaković         Serbian
naofum                   Japanese
Pander                   Dutch
Sérgio Marques           Portuguese (Portugal)
Tobias Bannert           German
Verdulo                  Esperanto
Verdulo                  Polish
Yaron Shahrabani         Hebrew
YFdyh000                 Simplified Chinese
2016-04-17 11:00:38 +01:00
Hans-Christoph Steiner
74d1c9521d put up a notification for each completed download
This makes background installs and updates a lot easier
2016-04-13 11:08:54 -04:00
Hans-Christoph Steiner
d114f428e7 add "Auto Download" pref to enable auto-downloading of updates
Now that we have a nice background service, let's put it to work!  This
makes update APKs be automatically downloaded after the index is updated.
Then when the user goes to install the updates, they will not have to wait
for the download part.

#601 https://gitlab.com/fdroid/fdroidclient/issues/601
2016-04-13 11:07:17 -04:00
F-Droid Translatebot
f8ef7cda39 Pull translation updates from Weblate
Translators:

ezjerry liao    Traditional Chinese
Lev Lamberov    Russian
2016-04-13 09:54:01 +01:00
Hans-Christoph Steiner
907507d27d Merge branch 'transition-v21' into 'master'
Shared element transition for app list item v21 and above

Shared element transitions for API level v21 and above  
![JJhZVJh](/uploads/05ff326b69176e2e793cd17dca63637f/JJhZVJh.gif)

See merge request !251
2016-04-06 09:00:54 +00:00