2363 Commits

Author SHA1 Message Date
Daniel Martí
7ae6c38e9a Merge branch 'ci-emulator-tests' into 'master'
CI: run Android tests in an emulator

See #400. Using a WIP merge request to be able to test things on the CI.

See merge request !129
2015-09-02 23:28:32 +00:00
Daniel Martí
c43505befb Fix tests by making a method explicitly protected
This was making proguard complain and refuse to continue. This fix should not
alter how F-Droid works, it's just to make the tests function with proguard
enabled.
2015-09-02 16:10:06 -07:00
Daniel Martí
582eebd436 Run connectedAndroidTest against an emulator
Using 2.3.7 (10) armeabi for now. We can look into using more images in the
future.
2015-09-02 12:59:59 -07:00
Peter Serwylo
f635df8502 Merge branch 'master' into new-swap 2015-09-02 17:01:58 +10:00
Daniel Martí
ab1ec07686 Add platform-tools and build-tools to PATH 2015-09-01 21:43:26 -07:00
Daniel Martí
1fcc1dae1c CI: split up package installing 2015-09-01 15:45:13 -07:00
Daniel Martí
b2e736bb55 Mention irc channels and meetings in CONTRIBUTING 2015-09-01 14:48:57 -07:00
Daniel Martí
f9181b85f9 Install all android sdk packages at once
Spotted by Hans at fdroidserver. The 'update sdk' tool will download the
package index at each run, so installing one package at a time will be rather
inefficient.
2015-09-01 11:31:21 -07:00
Daniel Martí
b14faf5352 Remove jenkins-build script
We now use GitLab CI
2015-09-01 10:29:26 -07:00
Daniel Martí
d079d7770e Bump to 0.96-alpha6 v0.96-alpha6 2015-08-29 21:44:03 -07:00
Daniel Martí
47352eddd0 Use a more generic comment on -keep proguard rules 2015-08-29 21:42:50 -07:00
Hans-Christoph Steiner
dc46bc2e84 update proguard config to not strip needed classes
This stops the stripping of classes required for the swap stuff.  proguard
strips all sorts of stuff that is needed because of things like dynamic
loading, reflection, etc.

fixes #391 https://gitlab.com/fdroid/fdroidclient/issues/391
2015-08-28 09:55:42 +02:00
Daniel Martí
42e9f7b2dd Gitlab CI: Make apt-get quiet 2015-08-27 15:46:37 -07:00
Daniel Martí
85c83045f3 Fix esperanto string formatting
Also fixed in translatewiki
2015-08-27 09:44:20 -07:00
Daniel Martí
cbaa8676fc Merge branch '0.96-swap-fixes' into 'master'
0.96 swap fixes

This fixes the swap issues that I could find, except for #391. @mvdan feel free to beat @pserwylo to this, I just assigned it to him because its swap.

See merge request !127
2015-08-27 16:35:13 +00:00
Daniel Martí
22ad6260c7 Add new languages to languageValues
As reported by list-missing-langs-setting
2015-08-27 09:31:52 -07:00
F-Droid Translatebot
2740743320 Translation updates 2015-08-27 10:07:20 +00:00
Hans-Christoph Steiner
303de3d972 temporarily disable broken HTTPS support in swap
Right now, turning on HTTPS really just prevents things from working.  It
is not fully required, since swapping is only local connections, so not
easily susceptible to mass eavesdropping, though it would be nice.  I'm
leaving the rest of the plumbing for this here intact for when we come back
to getting swap always using HTTPS.

closes #378 https://gitlab.com/fdroid/fdroidclient/issues/378
2015-08-27 11:05:36 +02:00
Hans-Christoph Steiner
04e318c9ca force swap X.509 cert generation to use English/Gregorian times
When using locales that use different calendars, like Farsi, Arabic,
Hebrew, etc. there was a crash in spongycastle's X.509 generation because
it was trying to parse a Farsi date string as English.

fixes #334 https://gitlab.com/fdroid/fdroidclient/issues/334

Here's the original stacktrace:
    java.lang.IllegalArgumentException: invalid date string: Unparseable date: "ñõðøòñðóñõõóGMT+00:00" (at offset 0)
            at org.spongycastle.asn1.ASN1UTCTime.<init>(ASN1UTCTime.java:115)
            at org.spongycastle.asn1.DERUTCTime.<init>(DERUTCTime.java:23)
            at org.spongycastle.asn1.x509.Time.<init>(Time.java:67)
            at org.spongycastle.cert.X509v3CertificateBuilder.<init>(X509v3CertificateBuilder.java:40)
            at org.fdroid.fdroid.localrepo.LocalRepoKeyStore.generateSelfSignedCertChain(LocalRepoKeyStore.java:301)
            at org.fdroid.fdroid.localrepo.LocalRepoKeyStore.generateSelfSignedCertChain(LocalRepoKeyStore.java:281)
            at org.fdroid.fdroid.localrepo.LocalRepoKeyStore.<init>(LocalRepoKeyStore.java:136)
            at org.fdroid.fdroid.localrepo.LocalRepoKeyStore.get(LocalRepoKeyStore.java:73)
            at org.fdroid.fdroid.net.WifiStateChangeService$WaitForWifiAsyncTask.doInBackground(WifiStateChangeService.java:124)
            at org.fdroid.fdroid.net.WifiStateChangeService$WaitForWifiAsyncTask.doInBackground(WifiStateChangeService.java:62)
2015-08-27 11:05:35 +02:00
Hans-Christoph Steiner
9e939131b7 Utils.calcFingerprint() should always return null if given null
#334 https://gitlab.com/fdroid/fdroidclient/issues/334
2015-08-27 11:05:35 +02:00
Ciaran Gultnieks
ba3b90bdf6 Use a more compatible (?) path for env 2015-08-27 10:04:46 +01:00
Daniel Martí
ee85533aa4 Add build status badge 2015-08-26 21:56:36 -07:00
Daniel Martí
9d59b094e6 Gitlab CI: Install OpenJDK 2015-08-26 21:46:58 -07:00
Daniel Martí
092bdc0578 First try at a gitlab CI script 2015-08-26 20:30:59 -07:00
Daniel Martí
c125243915 Link to CONTRIBUTING from README 2015-08-26 20:07:03 -07:00
Daniel Martí
142db699a4 Add reporting issues to CONTRIBUTING 2015-08-26 20:05:52 -07:00
Daniel Martí
e7c727f446 Don't minify zipsigner, fixes #391 2015-08-26 13:38:35 -07:00
Daniel Martí
67ceaec460 Follow-up to e8ebb0: forgot one string with markup 2015-08-26 13:30:43 -07:00
Daniel Martí
a2b924837a Bump to 0.96-alpha5 v0.96-alpha5 2015-08-25 21:38:20 -07:00
Daniel Martí
bfcd88ebb2 Use activity context in AppDetails, fixes #388 2015-08-25 21:21:35 -07:00
Daniel Martí
752c7c7022 Bump to 0.96-alpha4 v0.96-alpha4 2015-08-24 11:43:33 -07:00
Daniel Martí
9860008549 Fix format issue in pt-rBR
Also fixed it in translatewiki
2015-08-24 11:43:33 -07:00
Daniel Martí
f07497a39c Revert appcompat-v7 to 22.1.1. Closes #356.
22.2.* have an issue where all the text in the app becomes gray, both in the
light and dark themes. We'll see if appcompat 23.* fixes this issue.
2015-08-24 11:37:11 -07:00
Daniel Martí
64c1d7fa04 Run fix-ellipsis 2015-08-24 11:29:25 -07:00
Daniel Martí
a92288b342 Make fix-ellipsis also replace &#8230; 2015-08-24 11:29:16 -07:00
Daniel Martí
138859ccd6 Fix duplicate %s in bg string
Also fixed it in translatewiki.
2015-08-24 11:22:02 -07:00
Daniel Martí
e8ebb0069b Don't use html/markup in strings. Closes #290.
Also fixes the build.

There hasn't been a reply to the issue in months, and there's only one string
using them.
2015-08-24 11:09:26 -07:00
Daniel Martí
74e34ee695 Run remove-unused-trans 2015-08-24 11:04:56 -07:00
Daniel Martí
d250f4cafb Run remove-empty-trans 2015-08-24 11:04:47 -07:00
Daniel Martí
8c45250f78 Update the changelog 2015-08-24 11:03:57 -07:00
Daniel Martí
ef56f8db88 Revert "Add timeout for Http request" merge
See !117 and #387

This reverts commit e895d1f0d3d6b333eeaa3e82e58392b58d647c33, reversing
changes made to 8d5c7abe89f98d4c8248e0b50eb8857f2a31f049.
2015-08-24 11:02:54 -07:00
Daniel Martí
0515948055 Rename COPYING to LICENSE. Fixes #384 2015-08-24 10:35:55 -07:00
Daniel Martí
888760e6ee Update HACKING, rename it to CONTRIBUTING
See #384
2015-08-24 10:34:38 -07:00
Daniel Martí
5c00c4463c README: mention building from source 2015-08-24 10:34:06 -07:00
F-Droid Translatebot
63761ead27 Translation updates 2015-08-24 10:16:20 +00:00
Nico Alt
625c306b2f Merge branch 'revertBetaUpdates' into 'master'
Revert "Prompt for beta updates"

This reverts commit 92f8678b3d2da18ad93bac6af0ae83984cf74714.

I read the logs on IRC and agree that we should revert this for stable.

CC @pserwylo

See merge request !122
2015-08-22 19:52:13 +00:00
Nico Alt
4331fa4047 Revert "Prompt for beta updates"
This reverts commit 92f8678b3d2da18ad93bac6af0ae83984cf74714.
2015-08-22 10:04:42 +02:00
Daniel Martí
478ff88a82 Don't crash if we couldn't generate a certificate
Another crash workaround for #334. Even though this null check should be left
there, since getCertificate() may return null for whatever reason.
2015-08-20 21:14:38 -07:00
Daniel Martí
d8b4fc403d Bump to 0.96-alpha3 v0.96-alpha3 2015-08-20 19:32:41 -07:00
Daniel Martí
1f41bbdc0d Replace printStackTrace with proper Log.e calls 2015-08-20 19:28:30 -07:00