Commit Graph
45 Commits
Author SHA1 Message Date
Thialfihar 1386282840 Rename mCurQuery to mQuery for consistency 2014-05-16 11:38:43 +02:00
Thialfihar 84b754341d Use Highlighter instead of HighlightQueryCursorAdapter 2014-05-16 11:38:43 +02:00
Thialfihar 69ce66be94 Add highlighting to keyserver/keybase search 2014-05-16 11:38:43 +02:00
Thialfihar ab81d8903a Support mutliple search words and highlight them
For the regex matching it would be smart to sort the words by length,
so the longest matches come first. This only matters for queries with
words containing parts of each other, which is an unlikely event and
even then it doesn't break anything.
2014-05-16 11:38:12 +02:00
Thialfihar b8462de6e5 Rename fingerPrint to fingerprint 2014-05-14 17:22:53 +02:00
Thialfihar 73acb69208 Add github, twitter, website info for keybase keys
The very point of keybase.io is the identification and proven link
to those identities, so it should be nice to have them.
The display is a bit basic still, as it just adds them as userIds,
I'm sure this can be prettified, perhaps with logos?
2014-05-14 17:21:27 +02:00
Thialfihar 2480844884 Cleanup keybase query a bit
Remove ctime and the cached key, making the query for the entire user
object unnecessary. This should only be done when the user decides to
import the key. Hopefully keybase.io can provide all info necessary in
the search results.
2014-05-14 17:21:27 +02:00
Thialfihar 056a6dd347 Don't guess keybase key algorithm and size
Once keybase reports them, we can display them. Until then we simply
don't know and shouldn't lie about it.
2014-05-14 14:28:54 +02:00
Thialfihar 6162247155 Add extraData property in ImportKeyListEntry
This allows any KeyServer to store some extra data it might need.
In the case of KeybaseKeyServer it is the username, which then can
be grabbed directly, without the hack of storing it as userId.
2014-05-14 14:28:41 +02:00
Thialfihar d50e798c13 List full keybase id or strong key id matches on top 2014-05-14 14:28:26 +02:00
Thialfihar f4a8e71c33 Make keybase lookup works for key ids starting with 0x 2014-05-14 14:28:13 +02:00
Thialfihar 1f7c61a331 Rename setter methods for PgpDecryptVerify.Builder 2014-04-29 19:01:11 +02:00
Thialfihar 324971e448 Rename setter methods for PgpSignEncrypt.Builder 2014-04-29 18:57:43 +02:00
Thialfihar 9e6bf2abbb Rename ProgressDialogUpdater to Progressable
Also fix some inconsistent usages of "progress", now using
"progressable" in all builders.
2014-04-29 18:44:44 +02:00
Thialfihar 6a1832ebad Move util.ProgressDialogUpdater to pgp.Progressable 2014-04-29 18:32:13 +02:00
Thialfihar f2d8378d81 Change license from ASLv2 to GPLv3 where possible 2014-04-08 11:59:35 +02:00
Thialfihar 42faf0eb07 Update copyright timespan for Thialfihar 2014-04-08 11:59:35 +02:00
Thialfihar a523f53a96 Simplify PassphraseDialogFragment usage
Move boiler plate code into a simple static show() method, which only
requires a Handler and can be used ad hoc in any FragmentActivity.
2014-04-04 18:26:23 +02:00
Thialfihar 7a66ccb5ee Rename "canEdit" to "canBeEdited" 2014-04-02 15:43:29 +02:00
Thialfihar c4c9713da4 Rename "armour" to "armor" 2014-04-02 15:36:32 +02:00
Thialfihar 6ac13d9f69 Rename "pass phrase" to "passphrase" 2014-04-02 15:32:35 +02:00
Thialfihar c45c0f4a92 Add wildcard import warning to checkstyle configuration 2014-04-02 13:37:12 +02:00
Thialfihar 77a6c509f7 Replace wildcard imports with explicit imports 2014-04-02 13:37:12 +02:00
Thialfihar a3a5085afb Spacing corrections 2014-04-02 13:37:12 +02:00
Thialfihar 22fe3832ba Suppress checkstyle for some files 2014-04-02 10:51:02 +02:00
Thialfihar 592ab31d86 Add missing and curly brackets and fix others
Style guide demands them even for single-line blocks, and opening
curly brackets never appear on a line on their own.
2014-04-02 10:51:02 +02:00
Thialfihar 82e5d14fb1 Rearrange too long lines 2014-04-02 10:51:02 +02:00
Thialfihar d5983b324f Adjust variable/member naming to conform to style guide
In some cases change member accessibility, so the naming matches.
Also, some key words were reordered to comply with JLS suggestions.
2014-04-02 10:51:02 +02:00
Thialfihar dd4a1e3f52 Trivial spacing changes to conform to style guide 2014-04-02 10:51:02 +02:00
Thialfihar 8e503bd263 Adjust copyright headers 2014-04-02 10:51:02 +02:00
Thialfihar e92658f44d Adjust import order 2014-04-02 10:51:02 +02:00
Thialfihar 0867d1f078 Change the getting started text
"My Keys" is now wrapped into "Contacts".
2014-03-24 00:29:46 +01:00
Thialfihar 7d5896b107 Add recent contributors to credits 2014-03-24 00:24:43 +01:00
Thialfihar c9053b97a8 Rename old mentionings of APG-named things
Mostly in comments, most importantly: STORE_PATH now ends in
/KeychainBlobs instead of /ApgBlobs
2014-03-23 21:58:18 +01:00
Thialfihar 9d4582f968 Update README.md, icon set not used anymore 2014-03-23 19:52:25 +01:00
Thialfihar 3dfcb037dc Remove icon set credits 2014-03-23 19:51:29 +01:00
Thialfihar a2048773ee Fix file decryption interface
Actually use mAssumeSymmetricEncryption and set it to false as
default. Don't close the file input stream, so we can actually
look for PGP encrypted data in the next step.
2014-03-23 19:40:09 +01:00
Thialfihar 60998f114c Adjust encrypt layout, align signature with button 2014-03-23 19:39:18 +01:00
Thialfihar 900e8ce990 Adjust credits 2014-03-23 12:32:13 +01:00
Thialfihar f5ecd2ae46 Move fingerprint up below the algorithm in key view
This makes it consistent with the key list entry layout and it also
makes more sense, as it belongs to key identification.
2014-03-20 18:40:30 +01:00
Thialfihar 602fb654af Move fingerprint to the right in key list entry
Fits much better there and doesn't separate the user ID.
2014-03-20 18:40:29 +01:00
Thialfihar a17481b80a Group fingerprint again to make it visually consistent 2014-03-20 18:40:29 +01:00
Thialfihar 3fa3fc444b Add debug logging for hkp keyserver actions 2014-03-20 14:21:21 +01:00
Thialfihar 16ae9c8999 Let convertKeyIdToHex handle short key IDs
If a short key ID is given, then it should only be displayed as such.
2014-03-20 14:19:33 +01:00
Thialfihar 62fb1fb579 Fix key list views in main key view
Since the views are being reused, a revoked key might set the text
color of a view and when the view is being reused for a non-revoked
key it is still red. So grab the default text colour and set it
explicitly when the key is not revoked.
2014-03-20 00:37:03 +01:00