11 Commits

Author SHA1 Message Date
Daniel Martí
66563d30d9 First attempt at supporting RTL
Following the Android 4.2 changes, which explain how to add native support for
RTL, I've replaced Right for End and Left for Start. Enabling RTL to see the
results.
2014-02-21 00:11:58 +01:00
Daniel Martí
499c9e50c5 Move "https://" addrepo default into a string 2014-01-08 13:36:45 +01:00
Peter Serwylo
8306007f84 UI tweaks for manage repos.
Padding for add repo dialog.
Move cursor to end of text input for new repo dialog.
2013-12-12 10:50:01 +11: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
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
Daniel Martí
5626adc574 Properly retab all layout xml files 2013-11-16 23:39:37 +01:00
Daniel Martí
d6d48eb749 Input field for repo is an Uri 2013-09-23 21:22:39 +02:00
Ciaran Gultnieks
d641ad8539 Default https when adding repo 2013-04-15 10:32:59 +01:00
Ciaran Gultnieks
7b33ffb5c5 Minor changes to allow building within Replicant
(supplied by Paul Kocialkowski)
2011-06-07 08:55:39 +01:00
Ciaran Gultnieks
0b71cb7e73 Initial files 2010-10-19 23:24:04 +01:00