116 Commits

Author SHA1 Message Date
Daniel Martí
15c1b98d5c Release 0.58 2014-01-10 21:29:25 +01:00
Daniel Martí
837683217b Release 0.57-test 2014-01-07 23:49:23 +01:00
Daniel Martí
c6e9002f2c Use a literal string for versionName in AM.xml
It's handier to have just the one resource version_name, but lint gets very
angry at this (and there must be a reason for that). We must not forget to
update the resource in res/values/no_trans.xml, since it's still used in the
code.
2014-01-04 01:23:32 +01:00
Daniel Martí
e8d3a7a4ef Raise minSdk to 5, UIL requires it 2014-01-01 22:22:21 +01:00
Daniel Martí
dc7df0fc5f Release 0.56-test 2013-12-26 00:12:46 +01:00
Daniel Martí
2651b81792 We should not encourage all caps urls 2013-12-16 10:23:21 +01:00
Hans-Christoph Steiner
1ad693931f if incoming repo Intent is handled, then return to the sending Activity 2013-12-02 21:55:55 -05:00
Hans-Christoph Steiner
a3ac298ae4 narrowly tailor repo URL matching to avoid false matches
With so many patterns being matched, it is highly likely that there will be
false positives, i.e. random URLs will trigger the prompt of whether to use
F-Droid or not.  The updated set of patterns narrowly tailors the matches
so that it is highly unlikely to match URLs that are not fdroid repos, yet
still makes it useful both as a generic repo and a peer-to-peer
bootstrapping repo.

This set of patterns only matches URLs like this:

https://foo.org/fdroid/repo
https://foo.org/fdroid/repo/
https://foo.org/fdroid/repo/////

It does not match URLs like this:

https://f-droid.org/repo
https://myblog.com/thoughts-about-my-lovely-fdroid-repo
https://news.com/tag/repo
https://somesite.com/repo/this-is-my-stuff

It matches multiple slashes to since those are in effect the same URL, and
they sometimes show up as typos.  This does not include mvdan's proposal
for the 'fdroid-bootstrap' tag on the end because its not something that I
would use in this current project, so I don't know how best to apply it.  I
have no objection to the 'fdroid-bootstrap' proposal.
2013-12-02 15:37:49 -05:00
Hans-Christoph Steiner
c0eecabcca also match repo urls that have one, two or three extra levels to the path
Yes, you really have to do all this craziness to get it to match right!
2013-11-22 17:17:19 -05:00
Hans-Christoph Steiner
f5ce7d8588 simplify browse URL IntentFilter data for readability
Each piece of <data /> applies to the whole IntentFilter, so each scheme,
host, or pathPattern only needs to be stated once per IntentFilter.
2013-11-19 21:17:24 -05:00
Hans-Christoph Steiner
3301a57a01 handle incoming URIs based on patterns: "^https?://.*/(repo|archive)/*$"
This allows for clickable/scannable URIs for adding repos to F-Droid.
2013-11-19 15:04:48 -05:00
Hans-Christoph Steiner
6928bd1244 accept froidrepo and fdroidrepos URIs, which can be scanned via QRCode, etc
This patch makes F-Droid register with Android that it accepts the URI
schemes of fdroidrepo (HTTP) and fdroidrepos(HTTPS).  When F-Droid receives
one of these URIs, it launches the ManageRepo Activity and then launches
the New Repository dialog.

refs #2454
2013-11-19 10:56:38 -05:00
Ciaran Gultnieks
44c1dc2c44 Version 0.55 2013-11-11 10:12:32 +00:00
Daniel Martí
36cba44c07 Bump project target to android-19 2013-11-10 18:55:35 +01:00
Daniel Martí
3cedecca0c Release 0.54 2013-11-04 23:13:47 +01:00
Daniel Martí
a76a465cf1 Re-add theming, much better this time 2013-11-03 16:12:22 +01:00
Daniel Martí
8f7d09f41a Release 0.53-test 2013-10-24 21:04:02 +02:00
Daniel Martí
d6f0fbca98 New setting: Automatic app list updates only on wifi (fixes: #380) 2013-10-24 14:21:35 +02:00
Daniel Martí
e6ef9889d0 Place strings not to translate in separate file 2013-10-15 14:42:13 +02:00
Daniel Martí
96bcee1066 Try to fix HomeAsUp problems on 4.0 and below 2013-10-03 19:00:46 +02:00
Daniel Martí
f84e0e4fd6 Release 0.52-test 2013-09-29 21:00:27 +02:00
Daniel Martí
5aa2710362 Leave repo uri scheme handling for later, fix search schemes 2013-09-29 20:27:49 +02:00
Daniel Martí
da5877c9c4 Add support for fdroid.search:<query> and market://search?q=<query> 2013-09-26 08:56:09 +02:00
Daniel Martí
17302321b8 Add support for fdroid.repo:https://repo/address 2013-09-26 01:04:12 +02:00
Daniel Martí
0c12c0248e Allow Backups of fdroid 2013-09-23 21:22:56 +02:00
Daniel Martí
1161bf65d1 Release 0.51-test 2013-09-22 00:14:38 +02:00
Daniel Martí
3741c0c62b Revert all Light Theme changes
Should be done differently. Light theme before Holo is buggy.
2013-09-01 14:03:55 +02:00
Daniel Martí
ec74cbed48 Bump target sdk level to 18 2013-08-29 21:51:08 +02:00
Daniel Martí
50f0856f67 Add "Light Theme" setting
Default theme is dark (Holo dark on >=11), addition is light on <11, Holo.Ligt
on >=11 and Holo.Light.DarkActionbar on >=14
2013-08-23 14:29:50 +02:00
Ciaran Gultnieks
cf120d27e4 Version 0.50 2013-08-20 08:42:00 +01:00
Ciaran Gultnieks
e37bf801f4 Version 0.49 2013-08-19 10:02:01 +01:00
Ciaran Gultnieks
1bad4cc5f7 Version 0.48-test 2013-08-06 14:53:11 +01:00
Daniel Martí
7611a26f0a Use strings in AM.xml labels 2013-07-28 13:50:42 +02:00
Daniel Martí
a2e99c05a6 Fix f-droid.org web repo handling
Links on the site end with '/'. Using pathPrefix is IMHO better than
duplicating with and without ending slash.
2013-07-28 09:36:37 +02:00
Daniel Martí
6544ebed94 Handle www.f-droid.org as well as f-droid.org 2013-07-28 09:25:31 +02:00
Daniel Martí
aa164dd090 Also open web repo links right away
No fdid opens the app normally, listing all the apps. If fdid is present, that
app is opened.
2013-07-28 09:23:53 +02:00
Peter Serwylo
af2a9ecfb6 Safer preference managing. Fix "compact layout requires reload".
Previously, everybody had to remember the preference name and the
default value. If it was ever changed, this would have to be updated
everywhere. Now, the Preferences class is responsible for talking to the
SharedPreferences functionality of ANdroid.

I've started with just the compactlayout preference, because
that is what I required for this fix.
2013-07-26 09:38:23 +10:00
Daniel Martí
47575b5c56 Add search results label 2013-07-26 00:10:48 +02:00
Daniel Martí
cb2bf7945b Add AppDetails activity label as well 2013-07-26 00:07:24 +02:00
Daniel Martí
1d72c31557 Set Preferences label for the ActionBar 2013-07-25 23:49:14 +02:00
Daniel Martí
3ea7226330 Also open https links to apps 2013-07-22 11:35:30 +02:00
Daniel Martí
6bfcb338d4 Use the new /app/app.id uri scheme
Also, differentiate between market://details and http://f-droid.org/app
better.
2013-07-22 11:33:21 +02:00
Daniel Martí
86464608d7 Use f-droid.org rather than fdroid.org 2013-07-18 12:36:55 +02:00
Daniel Martí
d315521c7d Remove rtl layout support (WIP in rtl-layout branch) 2013-07-18 12:06:04 +02:00
Daniel Martí
577a4250b6 Share via http://fdroid.org/app?id=app.id
Advantages:
- http links are linkified everywhere
- web browser request will fall back to our web repo
- we don't have to use our own scheme
2013-07-18 11:56:52 +02:00
Daniel Martí
d22acac8a5 Make fdroid.app: browsable too 2013-07-18 11:56:39 +02:00
Daniel Martí
a17a5edff2 fdroid:// and market:// are browsable 2013-07-18 11:36:05 +02:00
Daniel Martí
234b39acb7 Add support for fdroid://details?id=app.id uris
Also, launch them from inside AppDetails directly
2013-07-15 15:37:24 +02:00
Ciaran Gultnieks
1764ceb55a Version 0.47-test 2013-07-11 13:56:49 +01:00
Daniel Martí
f5785c3de0 Add very basic support for RTL languages 2013-07-07 12:12:29 +02:00