2592 Commits

Author SHA1 Message Date
F-Droid Translatebot
03e98dbb10 Pull translation updates from Weblate
Translators:

agilob          Polish
Daniel Martí    Catalan
2015-09-30 13:21:18 -07:00
Daniel Martí
e856a9be3b Don't end setting summaries with periods 2015-09-30 13:20:35 -07:00
Daniel Martí
c57c73ec92 Update changelog 2015-09-30 11:50:33 -07:00
Daniel Martí
8f6af2be55 Merge branch 'improve-privileged' of https://gitlab.com/dschuermann/fdroidclient 2015-09-30 11:40:58 -07:00
Daniel Martí
d77fce9d80 Don't use DownloadManager on Android 2.3
Fixes apk downloads crashing on 2.3 devices as spotted in the comments at
issue #421.
2015-09-30 11:29:04 -07:00
Dominik Schürmann
6de7d9f3f0 proper const naming 2015-09-30 07:41:32 +02:00
Dominik Schürmann
3c9df2fc74 Improve constants 2015-09-30 07:41:32 +02:00
Dominik Schürmann
f27823adc8 sleep before folder removal 2015-09-30 07:41:32 +02:00
Dominik Schürmann
178eabfd01 Fix nullpointer 2015-09-30 07:41:32 +02:00
Dominik Schürmann
8f5a1850e9 Fix permissions check 2015-09-30 07:41:32 +02:00
Dominik Schürmann
2b0f2cfc67 Better error handling 2015-09-30 07:41:32 +02:00
Dominik Schürmann
50215356ae Privileged Install: improve strings, fix uninstall 2015-09-30 07:41:27 +02:00
Daniel Martí
9b3ede7a81 Get rid of all newly added Log.d calls
Some were wrapped in BuildConfig.DEBUG, some weren't. Move all of them to
debugLog.

The ones that require building complex strings are left with an explicit
BuildConfig.DEBUG if so that the strings aren't constructed.
2015-09-29 22:28:38 -07:00
Daniel Martí
12f98a64e4 Update changelog 2015-09-29 22:12:44 -07:00
Daniel Martí
80e9ff9994 Get rid of some elses after return/continue 2015-09-29 22:07:31 -07:00
Daniel Martí
12386570ff Remove unnecessary extra getter calls
These are especially to be avoided since they require casting, which means
really long lines everywhere.
2015-09-29 22:06:45 -07:00
Daniel Martí
07f528352a Simplify some more boolean inversions 2015-09-29 22:03:26 -07:00
Daniel Martí
d1d81d85fa RepoXMLHandler: tag handling simplification
* Don't have both curel and localName
* Check for empty content only once
* Don't convert curchars (StringBuilder) to String and trim unless necessary
2015-09-29 21:56:14 -07:00
Daniel Martí
c06c115f4d Pull translation updates from Weblate
Translators:

agilob               Polish
AtomiKe              French
Enol Puente          Asturian
Green Lunar          Hebrew
Lu Ca                Sardinian
Marcelo Santana      Portuguese (Brazil)
naofum               Japanese
Phạm Nguyễn Hoàng    Esperanto
Phạm Nguyễn Hoàng    Vietnamese
raspbiak             Slovak
2015-09-29 21:30:30 -07:00
relan
d535d9c6ae Use affirmative action in the "Delete repository?" dialog
"Delete" instead of "OK" more clearly indicates the outcome.
See http://www.google.com/design/spec/components/dialogs.html
2015-09-27 11:41:59 +03:00
relan
5046213f3c Make repositories list look more Material
See http://www.google.com/design/spec/components/lists.html
2015-09-27 11:41:59 +03:00
relan
3434d71569 Split "unsigned" and "unverified"
Since now we don't have problems with list item height, we can use two
different text labels for unsigned and unverified repositories
indication. Code now only switches visibility for them.
2015-09-27 11:41:59 +03:00
relan
38a19c305d Remove unused strings 2015-09-27 11:41:59 +03:00
relan
5f06910cf9 Remove last update header
This is technical detail that should not be exposed to users, at least
not before repositories list which are the main data in the activity.
Last update label didn't work properly anyway: it was not updated on
repositories refresh, just on activity creation.
2015-09-27 11:41:41 +03:00
relan
8b15fb4cb1 Define repo_item layout in XML instead of run time 2015-09-27 09:56:13 +03:00
relan
d3f7e9555e Fix repo_item layout parameters resolution
See http://www.doubleencore.com/2013/05/layout-inflation-as-intended
2015-09-27 09:56:13 +03:00
relan
c18900c242 Remove unused ImageView from repo_item 2015-09-27 09:56:13 +03:00
Daniel Martí
2d75c57a20 Update changelog 2015-09-25 22:09:53 -07:00
Daniel Martí
6d579368af Start using gradle-witness
Fixes #429.
2015-09-25 22:00:24 -07:00
Daniel Martí
c0fc70c7c0 Make all donation methods strings translatable
F-Droid itself (the app name) can be translated, so these fall under the same
category.
2015-09-25 10:12:17 -07:00
F-Droid Translatebot
24ffbb2d6d Pull translation updates from Weblate
Translators:

AtomiKe             French
Enol Puente         Asturian
Lu Ca               Sardinian
Mladen Pejaković    Serbian
naofum              Japanese
raspbiak            Slovak
2015-09-25 10:06:18 -07:00
Daniel Martí
3b3fb93990 Forgot to remove dogecoin layout/string
Follow-up to 735ac0eb3da.

Fixes #433.
2015-09-24 22:20:07 -07:00
Daniel Martí
960f3ca2c2 Update changelog with 0.96.1 release 2015-09-24 16:53:18 -07:00
Daniel Martí
f41015b793 Fix typo introduced in a82032d5d0d5a1 2015-09-24 16:30:10 -07:00
Daniel Martí
c0f69e2daa Optimize imports 2015-09-24 16:17:41 -07:00
Daniel Martí
f2ac130517 Install privileged: don't do sound/vibration
Only enable the light if it's a default. The vibration was causing issues
since we don't have the vibrate permission, and the sound is unnecessary.

Fixes #346.
2015-09-24 15:17:26 -07:00
Daniel Martí
7e02518394 pull-trans: fix adding new files
Using find means that we limit ourselves to existing files.
2015-09-23 22:53:31 -07:00
Daniel Martí
88d1645c4a Bump to 0.97-alpha3 v0.97-alpha3 2015-09-23 22:42:44 -07:00
F-Droid Translatebot
63c4ce5915 Pull translation updates from Weblate
Translators:

Enol Puente       Asturian
Kiril LastName    Bulgarian
Łukasz Cieśluk    Polish
Osoitz            Basque
2015-09-23 22:42:44 -07:00
Daniel Martí
5dd9842bdc UpdateService: contentIntent not necessary in 4.0
The workardound is necessary in <4.0, not <4.1. The "contentintent == null"
check is gone in the 4.0.1 source tree.
2015-09-23 22:35:21 -07:00
Toby Kurien
2642c14cb7 Better handle download errors from DownloadManager
Rebased and squashed from !141.
2015-09-23 22:26:49 -07:00
Daniel Martí
6eddfb8b97 Avoid NPE in normalizeUrl
Found it when trying to add a repo manually:

E/AndroidRuntime(30549): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference
E/AndroidRuntime(30549):        at org.fdroid.fdroid.views.ManageReposActivity$AddRepo.normalizeUrl(ManageReposActivity.java:547)
E/AndroidRuntime(30549):        at org.fdroid.fdroid.views.ManageReposActivity$AddRepo.validateRepoDetails(ManageReposActivity.java:358)
E/AndroidRuntime(30549):        at org.fdroid.fdroid.views.ManageReposActivity$AddRepo.access$700(ManageReposActivity.java:218)
E/AndroidRuntime(30549):        at org.fdroid.fdroid.views.ManageReposActivity$AddRepo$4.afterTextChanged(ManageReposActivity.java:342)
E/AndroidRuntime(30549):        at android.widget.TextView.sendAfterTextChanged(TextView.java:7698)
2015-09-23 22:17:23 -07:00
Daniel Martí
55f467e8ba Update build status badge to new CI url 2015-09-22 21:46:43 -07:00
Daniel Martí
d90edde68a langs-list-check: ignore symlinks, update list 2015-09-19 16:28:19 -07:00
Daniel Martí
dd96b8b9f9 Use a symlink to support old language codes
Fixes #139. For now only Hebrew is present.
2015-09-19 16:25:11 -07:00
F-Droid Translatebot
03e731a836 Pull translation updates from Weblate
Translators:

Enol Puente         Asturian
Green Lunar         Hebrew
Mladen Pejaković    Serbian
naofum              Japanese
riotism             Chinese (Hong Kong)
2015-09-19 16:21:08 -07:00
Daniel Martí
735ac0eb3d Remove Dogecoin donation support
Analogous to the server commit that removes it on its side. If an index
includes it, we will fail silently since unrecognised tags are ignored.

SQLite doesn't allow deleting columns, so don't do a DB version bump to try to
remove it. It will be gone on new installs, and it doesn't keep current
installs from working. Tested both cases.
2015-09-18 19:14:09 -07:00
Daniel Martí
f65dcdd66f AppDetails: Simplify link list logic 2015-09-18 18:50:57 -07:00
Daniel Martí
4eea995c89 Trim newlines from the description in a safer way
This avoids problems in a few corner cases:

* The description is empty (it would probably throw an exception)
* The description doens't end in newlines (as seen in #422)

For the general case that was already working, the result is the same.
2015-09-18 18:36:39 -07:00
Daniel Martí
a1fb4636d2 Simplify view_all_description logic
* Use a positive if condition
* Invert bool in one place
2015-09-18 18:35:27 -07:00