140 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
04b5db1f4c update display of signing key fingerprint
Update Utils.formatFingerprint() to create a more readible version of the
SHA-256 fingerprint of the signing key of the repo.
2014-01-28 20:31:47 -05:00
Hans-Christoph Steiner
7b7da9a110 when receiving a repo URI with wifi info, warn user if on different wifi
A repo URI can include info such as the current wifi SSID and BSSID that
the repo is hosted on.  This is for when local repos are transmitted via
QRCode, NFC, etc.  The receiver of this URI then checks to make sure it is
on the same wifi access point, and warns the user if not.

In the future, it should do more than just warn the user, but instead give
concrete actions for the user to take, like associating to that wifi.
2014-01-28 20:31:46 -05:00
Hans-Christoph Steiner
bcb7c048b5 protect ManageRepo from malformed incoming URIs
URIs can come from clicking a web page, NFC transmission, QR Code scan, and
more.  This code stops badly formed Uri strings from crashing F-Droid.  It
then shows a Toast error message that it can't understand the incoming URI.
2014-01-22 22:12:52 -05:00
Hans-Christoph Steiner
47659b5cec relabel misnamed items from "signature" to "repo fingerprint"
In the new Repo Details screen, there is some elements that are labels as
the "signature".  This is not quite right, it is actually referring to the
fingerprint of the repo signing key.  Since a repo will also usually have a
HTTPS certificate fingerprint, there will also be a fingerprint for that
certificate.
2014-01-21 18:30:02 -05:00
Daniel Martí
1f99c00899 Revert "New setting: "Small screen" to avoid ellipsizing on small screens"
This reverts commit a5c66a8c6ed9c9fd174aeb448e428d288e52f1e1.

Conflicts:
	src/org/fdroid/fdroid/AppDetails.java
2014-01-17 21:06:37 +01:00
Daniel Martí
b58cb74612 Revert "Specify that the version is for Android"
This reverts commit aff6a03fa2c2ea84cee6597a44dcfb32fa7006f5.

Conflicts:
	res/values/strings.xml
2014-01-14 13:27:04 +01:00
Daniel Martí
a5c66a8c6e New setting: "Small screen" to avoid ellipsizing on small screens 2014-01-10 22:12:57 +01:00
Daniel Martí
7c472c8e18 Merge branch 'development' 2014-01-10 22:06:43 +01:00
Daniel Martí
15c1b98d5c Release 0.58 2014-01-10 21:29:25 +01:00
Daniel Martí
499c9e50c5 Move "https://" addrepo default into a string 2014-01-08 13:36:45 +01:00
Daniel Martí
ac739de345 Run fix-ellipsis for the first time 2014-01-08 13:09:53 +01:00
Daniel Martí
61ba6d52d0 Change # for Number in @string/repo_num_apps 2014-01-08 10:38:19 +01:00
Daniel Martí
abc3631b16 Merge branch 'master' into development 2014-01-07 23:57:25 +01:00
Daniel Martí
837683217b Release 0.57-test 2014-01-07 23:49:23 +01:00
Peter Serwylo
3731ed8f23 Merge remote-tracking branch 'upstream/master' into improvement/16/manage-repos
Conflicts:
	res/values/strings.xml
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/ManageRepo.java
	src/org/fdroid/fdroid/RepoXMLHandler.java
	src/org/fdroid/fdroid/Utils.java
2014-01-04 20:45:52 +11:00
Peter Serwylo
ffa2c962dc Merge branch 'master' into improvement/16/manage-repos
Conflicts:
	res/layout/appdetails.xml
	res/values/strings.xml
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/FDroid.java
	src/org/fdroid/fdroid/ManageRepo.java
2014-01-04 20:19:27 +11:00
Daniel Martí
aff6a03fa2 Specify that the version is for Android 2014-01-03 17:55:23 +01:00
Daniel Martí
50f68d34b9 Support minSdk info in version list views 2014-01-03 02:44:24 +01:00
Daniel Martí
753bc43452 Use AppDetails title as indicator where we come from 2014-01-01 21:34:41 +01:00
Daniel Martí
e302baa340 Do paddings for the icon and not the whole applist item 2014-01-01 17:09:01 +01:00
Daniel Martí
962521947e Last pref summary: notifications 2014-01-01 01:47:10 +01:00
Daniel Martí
de40bed7e1 Do expert mode summary 2014-01-01 01:43:52 +01:00
Daniel Martí
6c9a375b27 Do db sync and apk cache settings summaries too 2014-01-01 01:32:33 +01:00
Daniel Martí
abef4f36e0 Do incompatible versions and permissions settings too 2014-01-01 01:20:21 +01:00
Daniel Martí
65981e3a25 Do updateHistoryDays summary like the others 2014-01-01 01:13:01 +01:00
Daniel Martí
d1d88ea26b Update summaries on onResume() consistently 2014-01-01 01:03:25 +01:00
Daniel Martí
177b2a170d Show value for the theme pref too, no dummy defualt summaries 2014-01-01 00:42:27 +01:00
Daniel Martí
02bac89b17 Do on/off and value summaries for auto updates 2014-01-01 00:38:47 +01:00
Daniel Martí
1b6a643b9c Start doing checkbox preferences with on/off summaries 2013-12-31 21:59:46 +01:00
Daniel Martí
1e4fe9fa2c Add basic dogecoin donation support 2013-12-31 12:11:03 +01:00
Daniel Martí
e437898e33 Further fixes to layouts 2013-12-31 11:03:34 +01:00
Daniel Martí
dc7df0fc5f Release 0.56-test 2013-12-26 00:12:46 +01:00
Daniel Martí
960e04d425 Merge commit 'refs/merge-requests/55' of gitorious.org:f-droid/fdroidclient 2013-12-25 19:46:09 +01:00
Peter Serwylo
6bbb939e46 Refresh UI more appropriately.
When the repository is updated, it will check if the "name" or "description"
have been modified (or learnt for the first time) and if so, update the DB and UI.
2013-12-13 03:24:38 +11:00
Peter Serwylo
4fdc23569b Added update button to repo details screen. 2013-12-06 13:01:05 +11:00
Peter Serwylo
82af6fc60e Merge branch 'master' into improvement/16/manage-single-repo
Phew, monster merge. Going to commit after *seemingly* resolving
conflicts, but it will no doubt take a few compile and runs to sort out
any funny stuff.

Conflicts:
	AndroidManifest.xml
	res/layout/addrepo.xml
	res/layout/appdetails.xml
	res/layout/repolisticons.xml
	res/values/strings.xml
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/FDroid.java
	src/org/fdroid/fdroid/ManageRepo.java
	src/org/fdroid/fdroid/UpdateService.java
2013-12-06 08:43:11 +11:00
Peter Serwylo
93fec74728 WIP: implementing context and action bar menus for repo management.
SwitchCompat will return a Switch or a ToggleButton depending on the
platform (doesn't matter, both are CompoundButtons) and this will be
added to the repo_item view programatically.

I'm using some pretty specific listeners
to communicate between the details fragment and the repo list activity.
I've also split the functionality (e.g. for deleting) between the repo
list and the details view. In the future, when we have content providers
for repos, it will be easier to take care of everything from the details
screen, and automatically notify the repo list of changes.

Refactored update service.
Now has a static update method that can be called which
will setup the required intent to begin the update. It also deals with
progress listeners and dialogs for the user, so all of this is moved out
of FDroid. This was so that RepoDetailsFragment can now invoke the same
functionality.
2013-12-05 13:04:33 +11:00
Hans-Christoph Steiner
f9d2fbb0ae if incoming repo already exists and is enabled, show Toast and hide dialog
No need to show the dialog if it won't let you take any action.
2013-12-02 21:50:08 -05:00
Hans-Christoph Steiner
c7b076e5ea add detailed checking of incoming repos based on fingerprint in DB
When a new repo is being added, whether manually or via an incoming Intent,
check the address and fingerprint against repos in the DB.  If the repo is
not in the DB, offer to add it.  If the repo address is in the DB, then do
more checks:

* If that address has no fingerprint in the DB, then offer to add the new
  repo including that fingerprint.  This might happen when upgrading a repo
  from unsigned to signed.
* if the incoming info matches a repo in the DB, offer to enable that repo
* if the address matches a repo in the DB but the incoming fingerprint does
  not match the fingerprint in the DB, warn the user, and tell them to
  delete the existing repo if they truly want to override the existing info
2013-12-02 21:50:08 -05:00
Ciaran Gultnieks
2e21f8abba Support for displaying UpstreamNonFree 2013-11-27 11:26:52 +00:00
Hans-Christoph Steiner
36da418660 add CheckBox to enable overwriting of existing repos when adding new ones
The "Add" button is disabled until the user turns overwrite on.  It should
prevent accidental overwriting, but I imagine this could be handled better.
2013-11-20 00:06:12 -05:00
Hans-Christoph Steiner
14c525e7ff add fingerprint field to Add Repo dialog, and alert if repo already exists
Previously, anything added via the Add New Repository dialog would just
overwrite any existing repo config that was there.  This has become a
bigger issue with the QR Code scanning since it could become an attack
vector.  This is the first step towards making this Add Repo dialog give
more info to the user about the state of things, and what the user might
replace by clicking OK.
2013-11-20 00:06:12 -05:00
Aleksey Tulinov
d687b7341e Setting 32x32dp for compact layout, bumped summary to name 2013-11-17 22:09:04 +02:00
Ciaran Gultnieks
44c1dc2c44 Version 0.55 2013-11-11 10:12:32 +00:00
Ciaran Gultnieks
34884a4e30 Move a few values to no_trans.xml 2013-11-08 07:51:25 +00:00
Daniel Martí
3cedecca0c Release 0.54 2013-11-04 23:13:47 +01:00
Daniel Martí
3c645ee49b Switch admin@ to team@ e-mail address 2013-11-04 18:25:45 +01:00
Daniel Martí
a76a465cf1 Re-add theming, much better this time 2013-11-03 16:12:22 +01:00
Daniel Martí
ed49eced45 Change setting "Incompatible apps" to "Incompatible versions"
Rather large rewrite, basically doing:
* Always show incompatible apps
* Don't fetch incompatible apks if the new setting is off
* Start using result codes when returning from PreferencesActivity
2013-11-02 18:27:02 +01:00
Kevin Everets
b3f0034140 Change wording in App Details from "Update" to "Upgrade"
An "Update" in that context implies that the details will update, not
that the app itself will be upgraded.
2013-10-25 15:27:32 -04:00