Commit Graph

2174 Commits

Author SHA1 Message Date
Dominik Schürmann
bc18054dc7 Increase s2k iterations back to 0x90 2015-08-10 14:35:15 +02:00
Dominik Schürmann
ec76d56b82 Fix API backward compat 2015-08-10 14:18:15 +02:00
Dominik Schürmann
acbb3edf9b Fix test cases, add test cases (still 1 failing) 2015-08-10 13:54:41 +02:00
Dominik Schürmann
74c80d4a9d Dont allow RSA_SIGN, RSA_ENCRYPT, deprecated in RFC 2015-08-10 13:54:25 +02:00
Dominik Schürmann
8719938306 Move TODOs into issue 2015-08-10 10:26:58 +02:00
Dominik Schürmann
3d8eda6e3e Improve comments and reasons in PgpConstants, simple checks for insecure asymmetric keys 2015-08-10 09:35:23 +02:00
Dominik Schürmann
7c40d89eea Use default compression in OpenPgpService 2015-08-09 21:49:56 +02:00
Dominik Schürmann
dba145f5df Follow some of coorus recommendations: better selection of algo whitelist, ignore recipients preferred algos 2015-08-09 21:49:56 +02:00
Dominik Schürmann
57378be1c0 Introduce constants in OpenPgpSignature and DecryptionResult for unsigned/unencrypted content, update API, introduce simple checks for insecure symmetric algos 2015-08-09 21:49:56 +02:00
Adithya Abraham Philip
37864a9d42 updated OrbotHelper with silent start 2015-08-06 04:40:52 +05:30
Dominik Schürmann
7086a67c2e Merge pull request #1456 from xSooDx/master
ISSUE #1304: Change keybase strings
2015-08-05 22:19:40 +02:00
xSooDx
ee5343fcb6 renamed the insertLinks() method to formatSpannableString() and added comment about its functionality 2015-08-04 16:24:12 +05:30
Dominik Schürmann
460f0d5f33 Update libs 2015-08-03 19:09:59 +02:00
Dominik Schürmann
974b7c37d4 Add privacy information to account screen 2015-08-03 15:13:08 +02:00
Dominik Schürmann
7474268ead Fix color and design in help activity 2015-08-03 13:24:04 +02:00
Dominik Schürmann
04f771a4f7 Fix crash with new theme 2015-07-25 15:46:36 +02:00
Thialfihar
a4470abc10 Refactor theme selection of dialogs
This makes sure the dark theme also uses dark dialogs.
2015-07-21 22:47:55 +02:00
Thialfihar
313188c695 Fix key view toolbar and status colour
The status bar wrongly used the same colour as the toolbar, making it
indistinguishable from it. This calculates the status bar colour based
on the toolbar colour.
2015-07-21 22:47:55 +02:00
Thialfihar
3a810676fc Fix preference version handling
Move preference upgrade of theme to version 4 of the preferences. The
upgrade is meant FROM that version to the next.
2015-07-21 20:56:42 +02:00
Thialfihar
1183d6f30c Use a constant for the default value of the theme 2015-07-21 20:56:42 +02:00
Thialfihar
306d20f977 Refactor theme changing to avoid code repetition 2015-07-21 20:56:42 +02:00
Thialfihar
3b67c9d894 Rename updatePreferences() to upgradePreferences()
This is really an upgrade of the preference store and not an update of
values, it also is consistent with SQLiteOpenHelper.onUpgrade().
2015-07-21 20:56:42 +02:00
Thialfihar
86d95e4d40 Refactor theme preference values into constants
Also explicitly set a theme via preference updating to the default.
2015-07-21 20:56:42 +02:00
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