Hans-Christoph Steiner
367387f967
move RepoUpdaterTest to the same package as RepoUpdater
2015-05-08 12:51:46 -04:00
Hans-Christoph Steiner
6e5912a633
move RepoUpdater from .updater package next to RepoXMLHandler
...
This gets rid of the .updater package, which now only contains RepoUpdater
2015-05-07 22:11:05 -04:00
Hans-Christoph Steiner
157b1e242f
remove support for unsigned repos
...
This has been discussed quite a bit now. It is very easy to generate a
signed repo on the server, and supporting unsigned repos adds complexity
and security issues, including "BZ-01-002 TOFU Requests too easy to
recognize and intercept" from the audit.
https://gitlab.com/fdroid/fdroidserver/merge_requests/48
closes #12 https://gitlab.com/fdroid/fdroidclient/issues/12
2015-05-07 22:11:05 -04:00
Hans-Christoph Steiner
1c5256a5d7
remove importRepo() method, it is very short and only used in one place
2015-05-07 22:11:05 -04:00
Hans-Christoph Steiner
4820ab3694
add forgotten import (I'm better at merge requests than direct pulls)
2015-05-07 22:10:38 -04:00
Daniel Martí
f4d9191ed5
Merge branch 'small-swap-repo-fixes' of https://gitlab.com/eighthave/fdroidclient
2015-05-08 00:34:49 +02:00
Daniel Martí
91541748a2
Update changelog
2015-05-08 00:33:49 +02:00
Hans-Christoph Steiner
a32154cacb
don't operate on null string :( fixes previous commit
2015-05-07 18:23:04 -04:00
Hans-Christoph Steiner
281b2ce450
support market: search links that contain pname: and pub: in the query
...
* pub: is for searching by "Publisher Name":
market://search?q=pub:Guardian%20Project
* pname: is an old way to specify "Package Name":
market://search?q=pname:org.torproject.android
https://developer.android.com/distribute/tools/promote/linking.html
2015-05-07 18:15:19 -04:00
Hans-Christoph Steiner
c23d4e1988
get versionName from AndroidManifest.xml, remove duplicate strings field
...
No need to have the version set it more than one place!
2015-05-07 15:51:09 -04:00
Hans-Christoph Steiner
e543895940
fix adding repos via incoming URLs
...
This fixes bad logic introduced in c52262a4057f8a86a1082e4cfbab4e70ff195daf
2015-05-07 15:15:17 -04:00
Hans-Christoph Steiner
f79f95e25a
fix support for nested repo URLs with bad QR scanner apps
...
These needed to be pathPattern rather than path in order to make the
IntentFilter treat the .* as a regexp rather than a string literal.
2015-05-07 14:59:57 -04:00
Daniel Martí
94096cdc95
Start changelog
2015-05-07 16:20:10 +02:00
Daniel Martí
01e6db5720
We don't need WRITE_EXTERNAL_STORAGE on api 19 or later
...
On api 19 or later, writing to your own private directory on the SD doesn't
require any extra dependencies. We only ever store icons, apks and index stuff
on the private repo, so we never read/write anywhere else on the SD.
2015-05-07 16:12:54 +02:00
Daniel Martí
1d225912f4
Remove a few unused variables
2015-05-04 00:14:40 +02:00
Daniel Martí
4a007698a6
Run dos2unix on all external source files
2015-05-04 00:08:36 +02:00
Daniel Martí
939efa5b17
Run "code cleanup" in Android Studio
...
This basically removes public, static and final from interfaces since it's
always that way.
2015-05-04 00:06:32 +02:00
Daniel Martí
46d79f24fc
Fix to 26894fcb01d4: revert buildToolsVersion to the current release
2015-05-03 23:59:02 +02:00
Daniel Martí
0f36372d38
Fix to 26894fcb01d4: also bump the gradle dependency
2015-05-03 23:49:17 +02:00
Daniel Martí
4970bb8ead
Merge branch 'master' into 'master'
...
Add missing import
Without this gradle shows an error...
See merge request !72
2015-05-03 14:29:51 +00:00
Nico Alt
054ac8b3fa
add missing import
2015-05-03 12:18:39 +02:00
Simon Wörner
784e2abe37
added Android.mk with gradle build
2015-05-01 19:40:31 +02:00
Daniel Martí
45137f2f8e
Also apply fixes to custom zxing code
2015-05-01 00:38:06 +02:00
Daniel Martí
e314c401e7
Fix possible NPE when using a TextView
2015-05-01 00:38:06 +02:00
Daniel Martí
bc98fd69b1
Apply a few android studio fixes
2015-05-01 00:38:06 +02:00
Daniel Martí
869662152a
Fix regression in 9c6a652a02e
...
String.replaceAll(String, String) isn't in-place!
2015-05-01 00:16:18 +02:00
Daniel Martí
45ab80bb29
Make CommaSeparatedList.make() also take String[]
2015-04-30 20:51:19 +02:00
Daniel Martí
7b4cee35c7
Throw some more final keywords in
2015-04-30 20:42:30 +02:00
Daniel Martí
26894fcb01
Update libsuperuser to bc71c5afeb9952cd
2015-04-30 20:28:26 +02:00
Daniel Martí
c5ed7699d6
Backport changelog typo fixes from f-droid.org
2015-04-30 17:37:37 +02:00
Daniel Martí
49b954e63d
Bump gradle plugin to 1.2.2
2015-04-29 22:16:14 +02:00
Peter Serwylo
1b114b6bae
Merge branch 'fix-202' into 'master'
...
Fix issue #202 - crash due to sqlite parameter limit being hit.
*NOTE: Queuing here for merge after next stable.*
The queries which have the potential to cause crashes due to too many parameters in the `ApkProvider` are now encapsulated in `ApkProvider` and can only be accessed by safe helper methods, which alleviate the problem by breaking big requests down into many smaller requests.
This will probably have to be done for the `ApkProvider`, but leaving for now because the limit is twice as big.
See merge request !70
2015-04-28 21:35:46 +00:00
Peter Serwylo
833db3b5ce
Merge branch 'fix-220' into 'master'
...
Cache files to SD card again (if preference set).
**NOTE: Queueing here to be merged after next stable**
A previous security fix meant we no longer stored apk files on the
SD card. However, this should still be a feature that people can opt
for if they want, without being insecure. As such the process is now:
* First download: put in internal storage (to ensure it can't be
modified before installing)
* After download: also copy to SD card for caching.
* On starting F-Droid:
+ Always delete internal storage apks.
+ Only delete other, cached apks if cache preference is false.
To make the code simpler and less prone to bugs, I had to consider
the fact that if people did not have an accessible SD card, then the
path to a cached apk and a "downloaded but transient" apk cannot be
the same. While possible, it means many checks to see if they are
the same, thorough permission management to prevent security issues,
and makes it harder to clear transient apks when F-Droid starts.
See merge request !71
2015-04-28 21:34:05 +00:00
Daniel Martí
7267736166
Bump to 0.88
0.88
2015-04-28 23:14:55 +02:00
Daniel Martí
3ab6bd84f9
Fix copy/paste error in 14ae586
...
This led to devices incorrectly flagging packages as non-compatible. With this
fix everything works as before.
2015-04-24 01:16:56 +02:00
Daniel Martí
11dc9f6460
Revise changelog in preparation for stable
2015-04-22 13:28:23 +02:00
Daniel Martí
dcd425edc0
Clarify that we now ignore trailing spaces in searches
2015-04-22 13:24:03 +02:00
Daniel Martí
fa5eac0b72
Bump to 0.87-test
0.87-test
2015-04-21 19:29:06 +02:00
Daniel Martí
e367265396
Some style/format fixes suggested by AS
2015-04-21 19:27:10 +02:00
Daniel Martí
14ae58690c
Simplify compat.SupportedArchitectures
2015-04-21 19:27:03 +02:00
Daniel Martí
a3c78e4d02
"updated" bools in App and Apk are now unused
2015-04-21 19:09:30 +02:00
Daniel Martí
76a489c492
Don't hardcode tab indexes in multiple places
2015-04-21 19:09:14 +02:00
Daniel Martí
7945c0dead
Rename ignored catched exceptions to "ignored" as per AS
2015-04-21 18:59:41 +02:00
Daniel Martí
ab8a180141
Optimize imports via Android Studio
2015-04-21 18:56:52 +02:00
Daniel Martí
b7b42b77e9
Remove fix-formats.sh - should be done in the translation system
2015-04-21 17:36:13 +02:00
Daniel Martí
ec4b2bf331
Slightly simplify declarations in Utils.java
2015-04-21 17:33:52 +02:00
Daniel Martí
b84e8ef7d6
Add some more final keywords
2015-04-21 17:24:19 +02:00
Daniel Martí
cf4a1a436f
Run remove-empty-trans
2015-04-21 17:18:03 +02:00
Daniel Martí
4431d25793
Run fix-ellipsis
2015-04-21 17:17:23 +02:00
Daniel Martí
4a5bb059de
Remove trailing empty line in file
2015-04-21 17:16:54 +02:00