2574 Commits

Author SHA1 Message Date
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
Daniel Martí
b54ae7ba25 CI: Remove 4.4 emulator, still too flaky 2015-09-17 22:26:40 -07:00
Daniel Martí
9483f2ce8e Remove empty Gujarati (gu) translation 2015-09-17 21:27:05 -07:00
Daniel Martí
e0897cce2e Remove empty versions of array.xml
Translations are in strings.xml, so these files are useless. They won't be
updated by weblate either.
2015-09-17 21:26:18 -07:00
Daniel Martí
6853f9a306 pull-trans: use team@ instead of admin@, typo fix 2015-09-17 19:37:42 -07:00
F-Droid Translatebot
c9448b1781 Pull translation updates from weblate
Translators:

Green Lunar           Hebrew
Kiril LastName        Bulgarian
Laura Arjona Reina    Spanish
Lu Ca                 Sardinian
Marc Ringel           German
Mladen Pejaković      Serbian
Pablo                 Spanish
relan                 Russian
riotism               Chinese (Hong Kong)
2015-09-17 19:30:32 -07:00
Daniel Martí
7440cf1b74 Add script to pull+squash from weblate. Fixes #140 2015-09-17 19:28:42 -07:00
Hans-Christoph Steiner
4fb173e364 Merge branch 'small-swap-fixes' into 'master'
Small swap fixes

These are a few fixes I found while debugging the new swap stuff.  The `repo.fingerprint` commit is quite important since that is the code that provides the core of FDroid's security model.

See merge request !142
2015-09-16 17:53:42 +00:00
relan
8cf3dd39f9 Translated using Weblate (Russian)
Currently translated at 66.4% (200 of 301 strings)
2015-09-16 17:29:02 +02:00
Kiril LastName
1114af11ea Translated using Weblate (Bulgarian)
Currently translated at 83.0% (250 of 301 strings)
2015-09-16 17:29:01 +02:00
Enol Puente
4cebbbd8a7 Translated using Weblate (Asturian)
Currently translated at 97.3% (293 of 301 strings)
2015-09-16 17:29:01 +02:00
Hans-Christoph Steiner
c8b64281c2 sync up logcat tags with the class names 2015-09-16 13:00:32 +02:00
Hans-Christoph Steiner
d37b473e10 temporary workaround to NPE crash on first install
The solution is really to get rid of the Fragment and do everything in the
Activity, especially since this nullguard will probably leave things in a
not good state.  But that's better than a crash, I think.

W  java.lang.NullPointerException
W      at org.fdroid.fdroid.views.fragments.AvailableAppsFragment$CategoryObserver.onChange(AvailableAppsFragment.java:88)
W      at org.fdroid.fdroid.views.fragments.AvailableAppsFragment$CategoryObserver.onChange(AvailableAppsFragment.java:103)
W      at android.database.ContentObserver.dispatchChange(ContentObserver.java:163)
W      at android.database.ContentObserver$Transport.onChange(ContentObserver.java:195)
W      at android.database.IContentObserver$Stub.onTransact(IContentObserver.java:60)
W      at android.os.Binder.execTransact(Binder.java:404)
W      at dalvik.system.NativeStart.run(Native Method)
2015-09-16 13:00:32 +02:00
Hans-Christoph Steiner
69b210a4b8 fix swap to follow repo.fingerprint logic: null means unset
The repo.fingerprint logic is based on null meaning that the fingerprint
has not been set.  This ensures that a "" does not sneak in somehow as a
valid fingerprint.
2015-09-16 13:00:32 +02:00
Hans-Christoph Steiner
03d074a0e8 always use Locale.ENGLISH for formatting Strings for the machine
For Strings that are meant to be displayed to humans, using the default
Locale makes sense.  But this String is meant to be parsed by code, so it
should force the Locale to make sure the digits are always rendered in the
same format.
2015-09-16 12:48:33 +02:00
Hans-Christoph Steiner
003f5331fa revert to previous, proven index.xml writing
It was added in c831cf77ccf9ecfa792d0ffdc84f272053fa945a and changed in
42d31eb0e6e5d5c9e7fe9c35435a56258ad90578
2015-09-16 12:48:33 +02:00
Pablo
ce2fa5cf80 Translated using Weblate (Spanish)
Currently translated at 99.0% (298 of 301 strings)
2015-09-16 00:19:11 +02:00
relan
fe50205eca Translated using Weblate (Russian)
Currently translated at 65.7% (198 of 301 strings)
2015-09-16 00:19:11 +02:00
Thomas Lü
b625fa4fca Translated using Weblate (German)
Currently translated at 71.0% (214 of 301 strings)
2015-09-16 00:19:11 +02:00