Commit Graph

1894 Commits

Author SHA1 Message Date
Adithya Abraham Philip
976c40e45f removed created by comment 2015-03-06 22:42:37 +05:30
Adithya Abraham Philip
1de528fc85 cleaned up code 2015-03-06 22:25:35 +05:30
Adithya Abraham Philip
f12f6b540d changed default colors for PasswordStrengthView 2015-03-06 22:11:33 +05:30
Adithya Abraham Philip
fee891fc06 added PassphraseEditText to SetPassphraseDialogFragment 2015-03-06 22:00:30 +05:30
Adithya Abraham Philip
c5093433f5 added PassphraseEditText 2015-03-06 21:32:17 +05:30
Dominik Schürmann
4013a36276 Remove dublicate email check 2015-03-06 11:20:45 +01:00
Dominik Schürmann
def4492107 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-03-06 11:16:06 +01:00
Dominik Schürmann
a03f6d35d6 Improve way of getting possible names by filtering out emails 2015-03-06 11:14:27 +01:00
Vincent
443feef27a Merge pull request #1108 from tdjogi010/development
Asks Passphrase for key delete/export in ViewKeyActivity.
2015-03-06 11:10:42 +01:00
Dominik Schürmann
f31ada30d0 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-03-06 10:50:31 +01:00
chipset95
7c2fefe2f7 Added GPLv3 License 2015-03-06 14:47:11 +05:30
tdjogi010@gmail.com
61b306a74a Asks Passphrase for key delete/export in ViewKeyActivity. 2015-03-06 11:50:41 +05:30
chipset95
d83219f3a0 Created EmailEditText, PasswordEditText and implemented wherever required 2015-03-06 11:13:56 +05:30
Dominik Schürmann
d74a662614 Tryout design for encrypt, decrypt 2015-03-06 01:52:06 +01:00
Dominik Schürmann
eaf7e5e005 Fix elevation 2015-03-06 01:12:33 +01:00
Dominik Schürmann
0bb3b9c6cc Format code of merged password strength widget 2015-03-05 23:39:41 +01:00
Dominik Schürmann
23b8e8272c Merge branch 'issue1050' of https://github.com/lezorich/open-keychain into passphrase-strength-indicator
Conflicts:
	OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyInputFragment.java
2015-03-05 23:29:43 +01:00
Dominik Schürmann
e50eda4e29 Use ArrayList instead of LinkedList 2015-03-05 17:59:53 +01:00
Dominik Schürmann
02084ba14a Cleanup of PgpConstants 2015-03-05 17:53:14 +01:00
Dominik Schürmann
afbb166de6 Add missing header 2015-03-05 17:52:12 +01:00
Dominik Schürmann
3bc3e3e6f4 Check for insecure hash and symmetric encryption algos on decrypt 2015-03-05 17:46:43 +01:00
Dominik Schürmann
aeb0169f02 Use static linked lists instead of arrays 2015-03-05 17:24:56 +01:00
Dominik Schürmann
0300bce41f Add missing file with PGP Constants 2015-03-05 16:58:15 +01:00
Dominik Schürmann
e45f000cb4 Remove advanced preferences, move compression as menu item in encrypt activites, select hash and encryption algo based on hardcoded preferred lists 2015-03-05 16:57:57 +01:00
Dominik Schürmann
8b7684baf7 Remove preferences multi process min sdk check 2015-03-05 15:12:59 +01:00
Dominik Schürmann
1576a76ecc Remove false comment in list fragment 2015-03-05 12:53:51 +01:00
Dominik Schürmann
7ccdd7d38e Debug options 2015-03-05 11:14:19 +01:00
Dominik Schürmann
18a827eeed Design fixes for decryption screen 2015-03-05 11:06:17 +01:00
Dominik Schürmann
c0aabbeb3c Use no compression in API for now 2015-03-05 10:56:27 +01:00
Dominik Schürmann
c121657c2c Better selection of preferred algorithm 2015-03-05 10:49:57 +01:00
Dominik Schürmann
8c8fdd6c49 Merge pull request #1101 from danielnelz/development
#1042 replaced some int constants with enums
2015-03-04 22:05:55 +01:00
Dominik Schürmann
0706bca8c6 Rewording secret_key_deletion_confirmation 2015-03-04 21:14:37 +01:00
Dominik Schürmann
f3af54c814 Show fingerprint menu item only if not revoked or expired 2015-03-04 21:12:52 +01:00
Daniel Nelz
fe8b08ac84 #1042 replaced some int constants with enums
Created enum FragAction in CreateKeyActivity.java and enum State in
KeyFormattingUtils.java and replaced int constants with them
2015-03-04 21:07:32 +01:00
Dominik Schürmann
7c8f338297 Use material save icon 2015-03-04 20:57:11 +01:00
Dominik Schürmann
bb2d80bfc8 Merge branch 'development' of https://github.com/adithyaphilip/open-keychain into adithyaphilip-development
Conflicts:
	OpenKeychain/src/main/res/values/strings.xml
2015-03-04 20:54:11 +01:00
Dominik Schürmann
e312b0e675 Set key signature algo from SHA512 to SHA256 2015-03-04 20:47:37 +01:00
Dominik Schürmann
484a9371b7 Remove help button for now 2015-03-04 20:40:55 +01:00
Dominik Schürmann
2bfe355d44 More icon naming fixes and design 2015-03-04 20:03:20 +01:00
Dominik Schürmann
de31fcc45f Partially fix file names 2015-03-04 19:04:15 +01:00
Dominik Schürmann
17a627919c Simplified language: Confirm keys 2015-03-04 18:34:42 +01:00
Dominik Schürmann
fcc819d437 Update lib list 2015-03-04 15:52:06 +01:00
Dominik Schürmann
b662ff6c49 Get high res version of contact photo 2015-03-04 15:39:41 +01:00
Dominik Schürmann
502a0b5376 Crop image view to center 2015-03-04 15:26:09 +01:00
Dominik Schürmann
2389ce9aeb Full height contact pic in key view 2015-03-04 15:23:33 +01:00
Dominik Schürmann
46944198e4 ContactHelper cleanup 2015-03-04 15:12:00 +01:00
Dominik Schürmann
ff42dfc9db Use master key id instead of fingerprint in sync adapter, use IS_EXPIRED instead of EXPIRY where possible 2015-03-04 15:02:51 +01:00
Dominik Schürmann
b10fe01b82 Fix status bar orange 2015-03-04 11:46:31 +01:00
Dominik Schürmann
9b565f1875 More simplification of delete strings 2015-03-04 11:44:37 +01:00
Dominik Schürmann
8e12e93bc0 Merge pull request #1097 from ishan1604/orange-toolbar
Orange toolbar for certify and fingerprint activity added
2015-03-04 11:40:37 +01:00
Dominik Schürmann
71db34ed75 Simplify certify strings 2015-03-04 11:40:12 +01:00
Dominik Schürmann
aba6569dd2 Simplify dialogs according to Material Design 2015-03-04 11:36:26 +01:00
Ishan Khanna
0362dc6c1d Orange Toolbar Added Fixes #1088 2015-03-04 15:47:44 +05:30
Vincent
c17599f13f Merge pull request #1080 from indrora/avoid-large-log-parcels
Fix root cause of #1077
2015-03-04 00:43:48 +01:00
Dominik Schürmann
1cc860d23f Merge branch 'development' of https://github.com/vectorijk/open-keychain into vectorijk-development 2015-03-03 23:46:20 +01:00
Adithya Abraham Philip
024ba19499 corrected code style 2015-03-04 04:14:28 +05:30
Dominik Schürmann
c00a1f1ec3 Show name only in passphrase dialog 2015-03-03 23:43:25 +01:00
Lukas Zorich
438314c4bb Integrates passphrase strength indicator to create key wizard.
This commit patches issue #1050. The padding set in the passphrase edit
text is set programmatically because there is a bug in appcompat-v7
where padding via xml doesn't work:

http://code.google.com/p/android/issues/detail?id=77982
2015-03-03 18:52:10 -03:00
Lukas Zorich
7f9c663033 Add license to password strength view classes 2015-03-03 18:51:06 -03:00
Dominik Schürmann
7b0e067f63 Fix expiry dialog, reorder layouts 2015-03-03 22:44:32 +01:00
Dominik Schürmann
188559bbcd Prettify passphrase dialog, it no longer resizes on unlocking the key 2015-03-03 22:27:14 +01:00
Ishan Khanna
eedc7064b9 Fixes Issue#1088 2015-03-04 02:36:33 +05:30
jiangkai
f195055107 icon name changes in UI files 2015-03-03 12:19:00 -08:00
jiangkai
f186199017 delete holo icons 2015-03-03 12:17:11 -08:00
jiangkai
6c0a5c04e7 change icon name in layout files 2015-03-03 11:26:59 -08:00
Lukas Zorich
2443bc9f5d Implemented Matt Allen password strength indicator
I used most of Matt Allen password strength indicator code available
here https://github.com/matt-allen/android-password-strength-indicator,
but modified it a little bit in order to customize the view's colors
through the xml.
2015-03-03 16:23:43 -03:00
Dominik Schürmann
5a4fc0a071 Fix toolbar margins on Android lower 5 2015-03-03 20:15:09 +01:00
jiangkai
ba1cd87d39 download new material design icons 2015-03-03 10:36:38 -08:00
Dominik Schürmann
be06c4cd58 Use spinner DatePicker, not full calendar, also on Android 5 2015-03-03 19:04:40 +01:00
Morgan Gangwere
ba5eb3543e Cleanup for style
Some nitpicks were had. Also, change the null UUID to a constant.
2015-03-03 08:47:16 -07:00
Dominik Schürmann
5da57f0582 Update patternview lib, remove workaround 2015-03-03 15:56:03 +01:00
Dominik Schürmann
2ea0f609f2 Remove old min sdk check 2015-03-03 13:16:56 +01:00
Dominik Schürmann
199ff610e0 Merge pull request #1082 from ishan1604/bug-1081
Fixes Issue #1081
2015-03-03 11:21:28 +01:00
Ishan Khanna
06d76ccd0c Fixes Issue #1081
The App crashed because the Adapter was trying to call a method on a
null object.

Where was the null object?
CheckBox was null because in the Layout file
view_key_adv_user_id_item.xml

There is no such widget with id = user_id_item_check_box

Fix :
I removed the two lines which were causing the bug, and now the screen
loads perfectly.
2015-03-03 14:46:28 +05:30
Morgan Gangwere
73a1ceb732 Fix root cause of #1077
When importing lots of keys, lots of messages about the status of keys
is generated, including some debug slime and general fluff that
isn't really needed a lot of the time. As a result, a serious bug can come
along after key imports or certain operations which cause a log to become
parceled.

This commit implements a pool to "dehydrate" logs into: they are placed
into the pool (a ConcurrentHashMap) and a UUID assigned to them, which
is parceled along. When the OperationResult is un-parceled, it reads in
the appropriate UUID bits and rehydrates the appropriate log.

In order to avoid any memory leaks, the log pool removes a reference to
the log itself, allowing the log to die a natural death at the hands
of the GC..
2015-03-03 00:51:44 -07:00
Dominik Schürmann
d3f54d3ace Revert "rescale qr code bitmap in background"
size of view may not be available in background thread.

This reverts commit 7e4c39c79d.
2015-03-03 00:26:36 +01:00
Dominik Schürmann
363d41ed1d Cleanup of contact sync, debugging 2015-03-03 00:26:15 +01:00
Dominik Schürmann
ea24b5169e Reorder build.gradle 2015-03-02 18:50:38 +01:00
Vincent Breitmoser
7e4c39c79d rescale qr code bitmap in background 2015-03-02 18:44:24 +01:00
Vincent Breitmoser
145e793db1 forgot to rename a method 2015-03-02 18:20:02 +01:00
Vincent Breitmoser
23464e7a89 some cleanup in ViewKey* 2015-03-02 18:09:00 +01:00
Adithya Abraham Philip
c2c8ee1efd Merge branch 'development' of https://github.com/open-keychain/open-keychain into development 2015-03-02 22:31:13 +05:30
Vincent Breitmoser
817afffecc Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-03-02 17:44:50 +01:00
Vincent Breitmoser
1f828528d3 don't reload qr code for identical fingerprint 2015-03-02 17:43:42 +01:00
Dominik Schürmann
dae0873f5e Search string simplified 2015-03-02 17:39:30 +01:00
Vincent Breitmoser
0846dd2c14 make userattributeadapter superclass of useridsadapter 2015-03-02 17:38:05 +01:00
Dominik Schürmann
3c7c278ef3 Use gradle witness 2015-03-02 17:23:06 +01:00
Dominik Schürmann
9514719719 Re-add black color 2015-03-02 16:29:40 +01:00
Dominik Schürmann
84e5ac4b03 Remove supertoast dependency 2015-03-02 16:25:12 +01:00
Dominik Schürmann
505140ef2a Use SDK and build tools versions from root project 2015-03-02 16:21:51 +01:00
Dominik Schürmann
69865a6d57 Use index constants in ContactHelper 2015-03-02 15:44:34 +01:00
Adithya Abraham Philip
e69ee812d2 supports sub logs in log export 2015-03-01 11:31:46 +05:30
Adithya Abraham Philip
95e9e2ac30 added logging, notify for log export 2015-03-01 02:02:39 +05:30
Vincent Breitmoser
4e29d027af fix a couple lint errors 2015-02-28 17:49:09 +01:00
Adithya Abraham Philip
6a26ea908e Merge branch 'development' of https://github.com/open-keychain/open-keychain into development 2015-02-28 21:57:49 +05:30
Vincent Breitmoser
0557e0680e some changes to qr scan logic 2015-02-28 15:58:26 +01:00
Adithya Abraham Philip
94114e35c2 Merge branch 'development' of https://github.com/open-keychain/open-keychain into development 2015-02-28 14:29:20 +05:30
Vincent Breitmoser
2ae4d6ce05 pass through messenger to certify service from ViewKeyActivity
the idea here is to handle progress and result of the CertifyActivity
directly in ViewKeyActivity by passing a messenger through to it. this
allows smoother transition from an uncertified to certified state.
2015-02-28 04:34:08 +01:00
Vincent Breitmoser
f3710b12f6 fab support for all notify types 2015-02-28 02:30:59 +01:00
Vincent Breitmoser
e4d91de8d2 small Notify cleanup 2015-02-28 01:37:57 +01:00
Vincent Breitmoser
6ba03c0f13 clean up warnings in KeyListFragment 2015-02-28 01:32:15 +01:00
Vincent Breitmoser
cc5b0dae06 collapse fab on action selected
closes #1057
2015-02-28 01:31:24 +01:00
Vincent Breitmoser
d64b8f47d1 animate FAB to move up and down when a snackbar appears 2015-02-28 01:17:53 +01:00
Dominik Schürmann
c8f5dc5cf3 Strings: File size 2015-02-28 00:56:04 +01:00
Dominik Schürmann
cec7cb3620 Fix strings based on transifex reports 2015-02-28 00:51:58 +01:00
Vincent Breitmoser
67093ccba2 forgot to commit FabContainer 2015-02-28 00:40:11 +01:00
Dominik Schürmann
fd55cdb08e Merge branch 'development' of github.com:open-keychain/open-keychain into development
Conflicts:
	OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/MainActivity.java
2015-02-28 00:39:18 +01:00
Dominik Schürmann
453b67f7a8 Update from transifex 2015-02-28 00:38:53 +01:00
Vincent Breitmoser
9c62c3fd39 control flow for moving the fab up with snackbar 2015-02-28 00:28:20 +01:00
Dominik Schürmann
0669193e75 Simplify MainActivity 2015-02-28 00:22:31 +01:00
Dominik Schürmann
1c91be84af Upload new keys to keyserver by default 2015-02-28 00:11:34 +01:00
Dominik Schürmann
0b49becaa8 padding fixes for key list 2015-02-28 00:04:15 +01:00
Dominik Schürmann
dc38031b4e Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-02-27 23:57:00 +01:00
Dominik Schürmann
582caaba97 Reorder advanced key view 2015-02-27 23:56:53 +01:00
Vincent Breitmoser
c46fdef203 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-02-27 23:53:14 +01:00
Vincent Breitmoser
8cfba4c0fb slightly longer color fade duration 2015-02-27 23:52:51 +01:00
Dominik Schürmann
f2a9a41840 Enable multi line snackbar option 2015-02-27 23:47:15 +01:00
Dominik Schürmann
200d4a6bb6 Remove swipte to refresh src, fix padding in key list 2015-02-27 23:39:36 +01:00
Dominik Schürmann
b1c8fa3471 Fix keyboard overlay bug on top of edittexts 2015-02-27 23:24:04 +01:00
Vincent Breitmoser
aec9bdfc1e transition status color in key view 2015-02-27 23:10:02 +01:00
Vincent Breitmoser
863f4e6ac1 hand through result in CertifyFingerprintActivity 2015-02-27 23:09:17 +01:00
Dominik Schürmann
5b1d834f91 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-02-27 22:47:43 +01:00
Dominik Schürmann
fd2f858b12 Fix status images in user id adapter 2015-02-27 22:47:39 +01:00
Vincent Breitmoser
80c159056d show refresh key progress inline 2015-02-27 22:46:48 +01:00
Dominik Schürmann
fe31883f66 Keybase header text 2015-02-27 22:40:52 +01:00
Dominik Schürmann
54e04f496e Better qr code resizing 2015-02-27 22:26:11 +01:00
Adithya Abraham Philip
23cbd786ea cleaned up log export 2015-02-28 02:11:39 +05:30
Adithya Abraham Philip
960a163185 Merge branch 'development' of https://github.com/open-keychain/open-keychain into development 2015-02-28 01:30:41 +05:30
Adithya Abraham Philip
d776bd2888 refined log output 2015-02-28 01:30:17 +05:30
Vincent Breitmoser
2cd7be6373 go to directly to certify screen after nfc import 2015-02-27 18:05:36 +01:00
Dominik Schürmann
ea4ca9e686 Prettify qr code cleanup 2015-02-27 01:47:06 +01:00
Dominik Schürmann
11c3436454 Prettify qr code in advanced key view 2015-02-27 01:44:40 +01:00
Dominik Schürmann
4ccd9f9bb1 Uncluttering advanced key view 2015-02-27 01:38:57 +01:00
Dominik Schürmann
b90335f901 Simplify delete key dialog 2015-02-27 01:30:32 +01:00
Dominik Schürmann
8230fb1179 Remove unused BadImportKeyDialogFragment 2015-02-27 01:26:26 +01:00
Dominik Schürmann
6bd4e1e5b3 Fix margins of dialog views 2015-02-27 01:26:04 +01:00
Dominik Schürmann
6dce7c88d8 Merge keybase-proof branch 2015-02-27 01:18:18 +01:00
Vincent Breitmoser
4ff8eca292 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-02-26 18:54:00 +01:00
Vincent Breitmoser
55dd6526a6 split up and mark unsafe expiry-related methods 2015-02-26 18:53:42 +01:00
Vincent Breitmoser
e5bb7a35b5 save revocation instead of self-cert for revoked uids 2015-02-26 18:53:16 +01:00
Vincent Breitmoser
d7888d4666 ignore revoked user ids for primary key expiry 2015-02-26 18:52:54 +01:00
Adithya Abraham Philip
99ff9d2340 merged dialog 2015-02-26 22:26:40 +05:30
Dominik Schürmann
1210a80a96 Remove old Holo design resources 2015-02-26 17:37:28 +01:00
Dominik Schürmann
93109985e7 Merge branch 'development' of github.com:open-keychain/open-keychain into development 2015-02-26 17:32:28 +01:00
Dominik Schürmann
4c4782bd5e Hopefully fixes drop down icon for spinners on Android lower 5 2015-02-26 17:32:08 +01:00
Adithya Abraham Philip
ec353b0c39 initial Log Display function 2015-02-26 21:58:25 +05:30
Vincent Breitmoser
ad8209bd94 pre-select certification key if only one is available 2015-02-26 10:48:17 +01:00
Dominik Schürmann
72acaaa41f Fingerprint verification, design fixes for qr code card 2015-02-26 02:06:57 +01:00
Dominik Schürmann
a38f84a401 Dont show verification icons in my key view, hide edit button for non-secret keys 2015-02-25 21:53:46 +01:00
Dominik Schürmann
b521162ef0 Invoke NFC button 2015-02-25 20:50:34 +01:00