Commit Graph

2464 Commits

Author SHA1 Message Date
Thialfihar
8d2cd33339 Upgrade MaterialDrawer to 3.0.9 2015-07-21 20:56:42 +02:00
Thialfihar
680799caa7 Fix drawer background color for ViewKeyActivity 2015-07-21 20:56:42 +02:00
Thialfihar
31eece0e27 Update recent decrypt changes to use new theme attributes 2015-07-21 20:56:42 +02:00
Thialfihar
17e8b663a8 Add forgotten docu to a new method 2015-07-21 20:56:42 +02:00
Thialfihar
0d1d6542ea Make the log display honour the theme 2015-07-21 20:56:42 +02:00
Thialfihar
e267daf602 Make import keys activity honour the theme
This changes the light theme slightly as well, it uses the actual
background instead of pure white and removes the thick superfluous
divider on top.
The divider at the bottom now has no margin, making the separation from
the FrameLayout on top more consistent, especially when there is
scrollable content.
2015-07-21 20:56:41 +02:00
Thialfihar
d8d0030c0b Make help pages work in dark theme
This maintains the black-on-white theme of the HTML views even for the
dark theme.
2015-07-21 20:56:41 +02:00
Thialfihar
b60842a35b Make main text color themeable 2015-07-21 20:56:39 +02:00
Thialfihar
0af7d3c50b Give password strength indicator colors their own name
Also prune the android color definitions, most of which aren't used.
2015-07-21 20:56:21 +02:00
Thialfihar
dfe5a64fb0 Give key flag colors their own color names
This removes "bg_gray" and selector_transparent_button.xml, which is
unused and the last file to reference "bg_gray".
2015-07-21 20:56:12 +02:00
Thialfihar
13983be799 Make header text and tertiary text color themeable 2015-07-21 20:50:32 +02:00
Thialfihar
58cb6bb4b7 Start moving colors into themes
Using attrs instead of fixed colors it will be possible to style
everything and also dynamically grab the color where needed in code.
This is done with colorEmphasis as an initial test.

Also remove several unused colors.
2015-07-21 20:49:08 +02:00
Thialfihar
4d412d53dc Automatically recreate activities on theme change 2015-07-21 20:49:08 +02:00
Thialfihar
e51eff4050 Add theme setting
This prepares that different themes can be added. Currently light and
dark will just use the default OK theme.
2015-07-21 20:49:08 +02:00
xSooDx
7c15dc0b89 -Added failsafe in case '%s' is not in the string
-Causes the links to be appended at the end
2015-07-21 20:57:11 +05:30
xSooDx
ef9a1c23f3 -No longer appends the links to the keybase_narratives
-Now uses '%s' to insert the names in the keybase_narratives
-added '%s' to keybase_narrative_* in the string.xml file
   NOTE:Have not modified for other languages
2015-07-21 17:13:24 +05:30
Adithya Abraham Philip
fe0b083bc5 fixed multi-deletion bug, moved logic into DeleteKeyDialogActivity 2015-07-15 20:16:07 +05:30
Adithya Abraham Philip
771d654766 made mSignatureTime optional in CryptoOperationHelper 2015-07-15 07:34:03 +05:30
Adithya Abraham Philip
03a30fe0e3 added revocation tag NO_REASON to all revocations via PgpKeyOperation 2015-07-14 00:02:53 +05:30
Adithya Abraham Philip
c1d2beb559 made PassphraseDialogActivity compatible with null CryptoInputParcel 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
c59196a6f1 upload only public key in revocation 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
8bbc5513d4 corrected DeleteKeyDialogActivity finishing on cancel 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
0cec75fc9d show key name on revoke/delete dialog 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
76500f47a3 made key deletion require double confirmation 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
b61a7d5535 added licenses, cleaned up code, fixed warnings 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
2827b1af16 added retry on upload failure 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
cdd9de99bf allowed operations to modify CryptoInputParcel they receive 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
faa66d6140 prevented passphrase caching on revocation 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
d1409fd5c8 use only one DeleteDialogActivity 2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
fcd27d2600 implemented revocation on deletion 2015-07-13 23:34:06 +05:30
Dominik Schürmann
56d599dd76 Use support.v7.app.AlertDialog 2015-07-13 13:37:04 +02:00
Adithya Abraham Philip
06091dffa9 check response code for upload error 2015-07-10 23:26:21 +05:30
Vincent Breitmoser
96dbb9e60c add pseudo-static id property to CryptoOperationHelper 2015-07-09 11:51:38 +02:00
Vincent Breitmoser
3b189fbe31 run queued operations in onViewStateRestored, *after* onActivityCreated 2015-07-09 02:35:54 +02:00
Vincent Breitmoser
7f9cc445fb cryptoophelper: requested code must be saved between instances! 2015-07-09 02:35:22 +02:00
Vincent Breitmoser
a549938b61 multi-decrypt: save currentInputUri state 2015-07-09 02:34:03 +02:00
Vincent Breitmoser
35b9dabcb8 backup: only ask for passphrase for secret keys which have one 2015-07-09 02:33:16 +02:00
Vincent Breitmoser
3c239bfb34 use onResumeFragments instead of onResume for fragment initialization 2015-07-09 01:14:12 +02:00
Vincent Breitmoser
20cebc2788 change wording of export dialog, remove "export secret" checkbox 2015-07-08 17:25:07 +02:00
Vincent Breitmoser
e0cb891a1f Merge remote-tracking branch 'origin/master' 2015-07-08 15:24:30 +02:00
Vincent Breitmoser
74a4effcd8 hide keyboard before operations, too 2015-07-08 15:23:55 +02:00
Vincent Breitmoser
a74d86c3d8 grey out text color of key creation date for disabled items 2015-07-08 15:14:38 +02:00
Vincent Breitmoser
e51d443154 change title on backstack change in MainActivity 2015-07-08 15:13:58 +02:00
Vincent Breitmoser
d7a7c7310a hide keyboard on crypto error/success 2015-07-08 15:13:44 +02:00
Adithya Abraham Philip
ce3777eafb fixed progress dialog not shown after enable orbot dialog 2015-07-08 18:41:34 +05:30
Adithya Abraham Philip
a038a038c3 fixed QR code scan and serialKeyImport progress 2015-07-08 18:40:17 +05:30
Vincent Breitmoser
eab46df9a3 cleanup KeyListFragment, remove export all keys 2015-07-08 14:53:46 +02:00
Dominik Schürmann
4760f3f260 Fix YubiKey import 2015-07-08 14:14:39 +02:00
Dominik Schürmann
1ffcffae15 Do not ask for passphrase on delete 2015-07-08 13:39:53 +02:00
Dominik Schürmann
d4fbaf9397 Rudimentary backup feature 2015-07-08 13:25:07 +02:00