Christian Frommeyer
9dba60c997
Some minor code cleanings and logging for LockableDatabase
2014-09-11 20:26:40 +02:00
Christian Frommeyer
eced036d69
Extracting Database Setup Schema definition form LocalStore.
2014-09-11 20:26:40 +02:00
Christian Frommeyer
91ef5fa816
Extracted LocalFolder and LocalMessage definition from LocalStore
2014-09-11 20:26:40 +02:00
Christian Frommeyer
89ba2c510b
More nested classes extracted from LocalStore.
2014-09-11 20:26:40 +02:00
Christian Frommeyer
f92da3af59
Extracting local attachment classes from LocalStore to reduce file size.
2014-09-11 20:26:39 +02:00
Christian Frommeyer
038fceabf0
Move LocalStore to new subpackage to prepare decomposition of nested
...
classes.
2014-09-11 20:26:39 +02:00
cketti
2e318096b7
Add new translations
...
Add new languages that were promised in commit 5a6648ceeb
:
- Latvian
- Estonian
- Norwegian Bokmål
- Galician (Spain)
2014-09-09 00:59:56 +02:00
cketti
9911208441
Ignore UnusedQuantity and MissingQuantity lint warnings for all translations
2014-09-09 00:10:14 +02:00
cketti
5a6648ceeb
Update translations from Transifex
...
New languages:
- Latvian
- Estonian
- Norwegian Bokmål
- Galician (Spain)
2014-09-09 00:04:10 +02:00
cketti
5f0f4e9c21
Merge pull request #485 from haselwarter
...
Conflicts:
src/com/fsck/k9/preferences/Settings.java
2014-09-04 23:55:30 +02:00
cketti
f5cfaceef4
Increase settings version in preparation of merge into master
2014-09-04 23:54:06 +02:00
cketti
5802e6a36a
Remove getNotifyClass() from Folder
2014-09-04 23:54:06 +02:00
cketti
7edd1cb53c
Simplify database upgrade when adding 'notify_class' to 'folders'
2014-09-04 23:54:06 +02:00
zjw
8ef45e8f9a
Merge pull request #492 from k9mail/remove_unused_resources
...
Resources cleanup
2014-09-04 17:01:28 -04:00
cketti
bd9efa8d01
Whitespace fixes
2014-09-04 22:58:38 +02:00
cketti
cb67a21a93
Remove commented-out code
2014-09-04 21:58:18 +02:00
cketti
ae8dcc5e8a
Fix typo in attribute name
2014-09-04 20:18:05 +02:00
cketti
0c38d4f169
Remove unused resources and merge resource folders
2014-09-04 20:18:05 +02:00
cketti
759fa77c9a
Merge pull request #474 from k9mail/tls-client-cert-auth
...
Client Certificate Authentication
2014-08-30 01:06:28 +02:00
Joe Steele
7c4a684f86
Clean up indentation
...
White space changes only
2014-08-29 10:47:46 -04:00
Joe Steele
9728609c4c
Make the foldable container view INVISIBLE, not GONE
...
Now when toggling the foldable view, the screen no longer
jumps half a line up or down to recenter itself when
the view is displayed.
2014-08-29 10:47:45 -04:00
Joe Steele
8ade424270
Save/Restore the FoldableLinearLayout state
2014-08-29 10:47:43 -04:00
Joe Steele
a756fa3683
Use Theme consistent styles in FoldableLinearLayout
...
For support of the dark and light themes.
Also:
Redefine mFolded and call it mIsFolded. Previously,
the view started with mFolded = false (which implies to me
the initial state is unfolded) and yet the view
started in a folded state, which seemed contradictory.
Create updateFoldedState() with code from onClick() (In
preparation for subsequent commit.)
2014-08-29 10:47:41 -04:00
Joe Steele
348fb4dceb
Validate client certificate dates
2014-08-29 10:47:39 -04:00
Joe Steele
c80634d501
Format log messages with spaces
2014-08-29 09:06:25 -04:00
cketti
c2db88d960
Add top margin to the "advanced options" area
2014-08-29 03:43:54 +02:00
cketti
1282e9d461
Remove ldpi resources
2014-08-29 02:41:50 +02:00
cketti
0993e5c57e
Merge branch 'remove_obsolete_code'
...
PR #491 from zjw
2014-08-29 01:55:22 +02:00
cketti
ac1ed9eef3
Increment settings version
2014-08-29 01:45:48 +02:00
Dominik Schürmann
05d8fb5e42
Hide client cert option under advanced options dropdown
2014-08-27 11:48:49 +02:00
Dominik Schürmann
2a1733564e
Add FoldableLinearLayout for advanced options
2014-08-27 11:30:53 +02:00
Joe Steele
e4d26b8c75
Remove code for unsupported API levels
...
An assortment of miscellaneous changes, each usually limited in scope to a
single file.
2014-08-19 17:17:55 -04:00
Joe Steele
bc60c860b8
Remove com.fsck.k9.helper.NotificationBuilder
...
Only useful on pre-Honeycomb devices.
2014-08-19 17:17:52 -04:00
Joe Steele
786511ed88
Simplify ClipboardManager
...
No longer API dependent.
2014-08-19 17:17:50 -04:00
Joe Steele
028f6f9055
Remove AccessibleWebView
...
Only used on pre-ICS devices
2014-08-19 17:17:48 -04:00
Joe Steele
0fba273357
Remove the obsolete "Condensed layout" preference
2014-08-19 17:17:45 -04:00
Joe Steele
8166f03e87
Remove obsolete "Show unread count" preference
...
Only applies to pre-Honeycomb devices
2014-08-19 17:17:42 -04:00
Joe Steele
af77bbd1bc
Eliminate obsolete background data sync option
...
It only applied to pre-ICS devices.
ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED is no longer
broadcast.
ConnectivityManager.getBackgroundDataSetting() always returns true.
2014-08-19 17:14:44 -04:00
Joe Steele
c472b89d23
Additional 'Show password' changes after merging master
2014-08-19 16:48:11 -04:00
Joe Steele
1783dd1a63
Merge branch 'master' into tls-client-cert-auth
...
Conflicts:
res/layout/account_setup_basics.xml
res/values/strings.xml
src/com/fsck/k9/activity/setup/AccountSetupBasics.java
2014-08-19 16:19:02 -04:00
Joe Steele
b39f9b95f1
Move initializeViewListeners() to onPostCreate()
...
Per comments in PR #474
https://github.com/k9mail/k-9/pull/474#commitcomment-7417262
2014-08-19 15:50:32 -04:00
Joe Steele
f7fb0cca41
Compare Enum types with ==, !=
...
Per comments in PR #473
https://github.com/k9mail/k-9/pull/474#commitcomment-7416979
https://github.com/k9mail/k-9/pull/474#commitcomment-7416999
2014-08-18 18:12:39 -04:00
cketti
3bd9e7edf1
Merge pull request #490 from pylerSM/master
...
Add 'Show password' check box to account setup screen
2014-08-18 22:30:06 +02:00
pylerSM
a495627d72
Show password feature
2014-08-18 13:06:25 +02:00
cketti
a659393326
Make fields in KeyChainKeyManager final
2014-08-18 05:18:38 +02:00
cketti
ac08f520ae
Remove KeyChainKeyManager's dependency on 'K9.app'
2014-08-18 05:08:01 +02:00
cketti
4ce2a56b0c
Synchronize access to sClientCertificateReferenceWorkaround
...
Also, refactor for easier readability.
2014-08-18 04:59:57 +02:00
Joe Steele
c881207295
Use isFinishing() instead
...
As suggested by @maniac103
https://github.com/k9mail/k-9/commit/41570e4#commitcomment-7388209
2014-08-14 16:22:51 -04:00
Joe Steele
c8f6c4d625
Eliminate searching for '3' in exception message
...
This was dead code. The exception message will always start with either
"SMTP response is 0 length" from checkLine() or else "Negative SMTP reply"
from NegativeSmtpReplyException().
The problem originated from way back before 4.904.
2014-08-11 11:08:51 -04:00
Joe Steele
21237c3720
KeyChainKeyManager modifications
...
The constructor now saves the certificate chain, so the code to retrieve
it again or to perform any additional error checking in
getCertificateChain() is no longer needed.
The constructor now retrieves and saves the private key so that any
resulting errors are detected sooner.
Methods that retrieve the alias perform checks to assure that the client
cert. satisfies the requested issuers and key type. It's known that
Sendmail may provide a list of issuers in its certificate request, but
then may authenticate against a much larger set of CAs, but then later
reject the mail because the client certificate was not acceptable.
Vetting against the issuer list helps detect such certificate problems
sooner (upon connection) rather than later (upon transmission of mail).
Earlier error detection is necessary so that errors may be presented to
the user during account setup.
Portions of these modifications are based on code from KeyManagerImpl:
https://android.googlesource.com/platform/external/conscrypt/+/master/src/main/java/org/conscrypt/KeyManagerImpl.java
2014-08-11 11:08:26 -04:00