2345 Commits

Author SHA1 Message Date
Toby Kurien
efd4ebeadf cleaned up code, prevented multiple app details screens popping up, fixed "no such app" toast after install 2015-09-10 06:21:11 +10:00
Toby Kurien
e827be1b5b when user clicks on notification, the app details screen now comes up. If there are multiple downloads, the first one is shown. 2015-09-10 06:21:11 +10:00
Toby Kurien
8a7feba9cc drastically speed up debug build by not minifying and compressing resources. Release builds unaffected. 2015-09-10 06:21:11 +10:00
Toby Kurien
11caf22dc6 wip: app details now reloads details of running downloads 2015-09-10 06:21:11 +10:00
Toby Kurien
f9fee5beb0 wip: when a download is completed, app is woken up and app details screen displayed 2015-09-10 06:21:11 +10:00
Toby Kurien
5f989739bb wip: running download manager outside fdroid 2015-09-10 06:21:10 +10:00
Toby Kurien
dbd4c467f8 added asyndownloader to use DownloadManager when possible 2015-09-10 06:21:10 +10:00
Hans-Christoph Steiner
13c90e6c4a add HTTPS pins for good, free CAs: cert.startcom.org & letsencrypt.org
These are two good options for easy, free HTTPS certificates.  This should
help, but not fix, #238 https://gitlab.com/fdroid/fdroidclient/issues/238
2015-09-08 19:21:24 +02:00
Hans-Christoph Steiner
2c88703588 use NetCipher to get improved TLS and cipher support on HTTPS connections
The NetCipher library creates instances of HttpURLConnection that are
configured to have solid TLS protocol and cipher settings, especially on
older versions of Android.

fixes #370 https://gitlab.com/fdroid/fdroidclient/issues/370
2015-09-08 19:19:30 +02:00
Hans-Christoph Steiner
853e281710 code formatting fixes for build.gradle from Android Studio 2015-09-08 19:19:29 +02:00
Hans-Christoph Steiner
1f607d3e6d improve net check for index updates; update index on app start
This remove the magic number "1" from the network state check, and makes
explicit that it is checking the active network connection.

This is then used to check whether it is appropriate to update the index
when FDroid first starts.
2015-09-08 19:19:29 +02:00
Daniel Martí
cba103af77 Start changelog for 0.97 2015-09-08 10:18:27 -07:00
Daniel Martí
50cd629d7d Bump to 0.97-alpha1 v0.97-alpha1 2015-09-06 00:34:23 -04:00
Daniel Martí
9e85911b5d StrictMode fix: close cached keystore file 2015-09-05 23:45:45 -04:00
Daniel Martí
cb9290fb89 Detect all VM policy penalties 2015-09-05 23:35:39 -04:00
Daniel Martí
8b7eba6698 StrictMode fix: close streams in local repo assets 2015-09-05 23:31:19 -04:00
Daniel Martí
bd1db5412b Add StrictMode to the entire app, fixes #399
Only enabled on debug builds. With only logs for now, we can move on to more
annoying penalties like dialogs or crashes once we have solved all of them.
2015-09-05 23:30:59 -04:00
Daniel Martí
232ed2229b Bump build-tools 2015-09-05 23:00:47 -04:00
Daniel Martí
6214b7f659 Merge branch 'issue-395' 2015-09-05 22:16:15 -04:00
Daniel Martí
45782355db Update zxing-core to 3.2.1 2015-09-05 22:14:18 -04:00
Peter Serwylo
3213fd2ba1 Merge branch 'new-swap' 2015-09-06 08:37:26 +10:00
Hans-Christoph Steiner
9cb8e0f5d5 Merge branch 'ci-rootproject' into 'master'
CI: use root project, test fix

See merge request !130
2015-09-04 12:37:12 +00:00
Daniel Martí
2fda08a33e Remove duplicated spaces from strings 2015-09-03 22:03:07 -07:00
Daniel Martí
10171d9228 Installer: handle package parse errors, fixes #395 2015-09-03 18:52:40 -07:00
Daniel Martí
74c93907c5 Don't call onAppChanged() if install was cancelled
It should have not changed anything about the app. It should make AppDetails
update anything as needed just like returning from any other activity.
2015-09-03 18:49:31 -07:00
Daniel Martí
16a0344ceb Update RepoXMLHandlerTest to make tests pass 2015-09-03 18:02:57 -07:00
Daniel Martí
c725b36ff8 Move RepoXMLHandlerTest into the proper directory
This was probably due to a faulty rebase/merge.
2015-09-03 18:02:57 -07:00
Daniel Martí
6821254aeb README fixes
* Don't suggest assembleDebug for building
* Use connectedCheck for tests like the CI
* Don't split links for readability
2015-09-03 18:02:54 -07:00
Daniel Martí
9106fb1321 CI: Run build and connectedCheck in the root
This will make sure that all projects in the repository are built and tested.
Should come in handy for !126, which splits up the app into two apps and one
library.
2015-09-03 17:18:24 -07:00
Daniel Martí
e72ccd3012 Bump to 0.97-alpha0 2015-09-02 17:54:55 -07:00
Daniel Martí
24c3ebbf57 README: mention stable branching and -alpha0 2015-09-02 17:54:55 -07:00
Daniel Martí
77bb9dbed8 Update changelog for 0.96 2015-09-02 17:54:55 -07:00
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