Jesse Vincent
c9897a5c84
Indicate read state in chips
2012-09-10 11:01:51 -04:00
Jesse Vincent
46edd8f793
Revert "Context actionbar for the account screen."
...
We're not ready for this sort of living in the futre yet.
This reverts commit 0f51eb54c1
.
Conflicts:
res/drawable-hdpi/ic_action_settings_light.png
res/drawable-ldpi/ic_action_settings_light.png
res/drawable-mdpi/ic_action_settings_light.png
res/drawable-xhdpi/ic_action_settings_light.png
res/menu/accounts_context.xml
res/values/strings.xml
src/com/fsck/k9/activity/Accounts.java
2012-09-10 07:56:35 -04:00
Sander Bogaert
277669711c
Correctly close the context action mode when deleting an account.
2012-09-09 13:37:14 -07:00
Sander Bogaert
416ac8b646
Formatting of Accounts.java
2012-09-09 13:37:14 -07:00
Sander Bogaert
0f51eb54c1
Context actionbar for the account screen.
2012-09-09 13:37:13 -07:00
Sander Bogaert
ed03f19ea5
Accounts actionbar split. Now contains unread number for consistency and shows status as subtitle if available. Allowed separate method to get the current operation in ActivityListener.
2012-09-09 13:37:12 -07:00
Sander Bogaert
29b6d046d3
Separate the welcome message in it's own activity. Cleaner solution and it prevents it from having the same actionbar as the Accounts activity.
2012-09-09 13:13:42 -07:00
Sander Bogaert
e172e398ce
Add ActionBarSherlock to the used libraries in the about dialog.
2012-09-09 13:13:41 -07:00
Sander Bogaert
10c733606e
Disable actionbar home button on Accounts activity and removed indeterminate progress window feature from it.
2012-09-09 13:13:38 -07:00
Sander Bogaert
6daa8a3c0c
Add refresh to actionbar for Accounts activity.
2012-09-08 22:26:31 -07:00
Sander Bogaert
ee6bd2dc22
Pressing the actionbar icon will take you back to the accountsscreen.
2012-09-08 21:43:08 -07:00
Sander Bogaert
4293914855
Initial actionbar integration. On top of every activity, no real integration yet.
2012-09-08 21:14:55 -07:00
Andrew Chen
6f8c60763d
Use Calendar to get current year when formatting copyright.
2012-08-08 11:03:10 -07:00
ashley willis
9e4ac9014b
updated year in copyright.
2012-05-09 14:48:11 -05:00
cketti
69ee6a4818
Avoid NullPointerException in Accounts.onCreateDialog()
...
Also cleaned up code formatting of onCreateDialog() and
onPrepareDialog().
2012-03-17 21:28:54 +01:00
cketti
ef01dc906b
Use AlertDialog's ListView on import instead of creating our own
...
This fixes a display problem when using the dark theme.
2012-03-17 21:28:53 +01:00
cketti
f6ebe4d4e0
Deduplicated code to create SearchAccounts for special accounts
2012-02-29 03:03:20 +01:00
cketti
3ee0889529
Use the Androiod framework for the file manager error dialog
...
This will automatically recreate the dialog on configuration changes
(e.g. orientation change).
2012-02-16 14:43:38 +01:00
ashley willis
15ffaf301e
changed ANDROID_MARKET_URL to automatically search for OI File Manager.
2012-02-14 22:48:27 -06:00
wilian-cb
4c318d1727
3945: Treatment for errors related to not having a file manager application in Android to handle import configurations.
2012-02-14 21:11:15 -02:00
wilian-cb
e766f75da2
Creating and initializing special accounts in Accounts activity to avoid NullPointerException when it's resumed. Constant added to represent the number of special accounts.
2012-02-12 11:57:34 -06:00
cketti
8e627834c1
Changed font size unit from DIP to SP
...
"Scale-independent Pixels - this is like the dp unit, but it is also
scaled by the user's font size preference. It is recommend you use this
unit when specifying font sizes, so they will be adjusted for both the
screen density and the user's preference." - Android Developer Docs
2012-01-12 02:18:41 +01:00
ashley willis
37f480c969
Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97 .
...
Option to strip signature from quoted text in replies.
Strips signature from quoted text in replies (line of /^-- $/ or html
equivalent, and everything below). Per account.
2011-11-14 14:00:15 -08:00
cketti
6d9463801e
Don't call promptForServerPasswords() if we already know all passwords
2011-11-07 01:45:52 +01:00
cketti
88a2dd6289
Merge branch 'issue549'
...
Conflicts:
src/com/fsck/k9/Account.java
src/com/fsck/k9/mail/store/WebDavStore.java
2011-11-05 18:47:55 +01:00
Andrew Gaul
647ae0a31c
Prefer Collection.isEmpty over size
2011-11-02 20:03:07 -07:00
cketti
4d6946f47c
Start services and list folders after account has been activated
2011-10-18 05:06:32 +02:00
cketti
3967654a3e
Show short message when moving accounts
2011-10-17 04:34:26 +02:00
cketti
52a92d93a1
Add dialog to ask for server passwords after import
2011-10-17 04:34:26 +02:00
cketti
fc8d2e9979
Merge branch 'master' into issue549
...
Conflicts:
res/menu/accounts_context.xml
res/menu/accounts_option.xml
res/values/strings.xml
src/com/fsck/k9/Account.java
src/com/fsck/k9/activity/Accounts.java
src/com/fsck/k9/activity/AsyncUIProcessor.java
src/com/fsck/k9/activity/FolderList.java
src/com/fsck/k9/activity/ImportListener.java
src/com/fsck/k9/activity/K9Activity.java
src/com/fsck/k9/activity/K9ListActivity.java
src/com/fsck/k9/activity/MessageView.java
src/com/fsck/k9/mail/store/ImapStore.java
src/com/fsck/k9/mail/store/Pop3Store.java
src/com/fsck/k9/mail/store/WebDavStore.java
src/com/fsck/k9/mail/transport/SmtpTransport.java
2011-10-14 20:33:25 +02:00
cketti
effb45c463
Cleaned up success message after settings import
2011-10-14 06:19:30 +02:00
cketti
f5e684310e
Renamed StorageImportExportException to SettingsImportExportException
2011-10-14 06:00:10 +02:00
cketti
c835bb757a
Renamed StorageImporter to SettingsImporter
2011-10-14 05:58:55 +02:00
cketti
cf8bdef0a8
Renamed StorageExporter to SettingsExporter
2011-10-14 05:58:15 +02:00
cketti
470ba8bb03
Removed everything related to settings file encryption
...
The plan is to (re)add this feature later. With a proven method to
encrypt files; maybe OpenPGP.
2011-10-14 05:38:27 +02:00
cketti
fd16ff8fe6
Remove reference to NonConfigurationInstance when no longer needed
2011-10-14 04:15:45 +02:00
cketti
5b81dbc2ed
Use resource strings instead of hardcoding things
2011-10-14 03:42:04 +02:00
cketti
b146fcb2fd
Improved handling of object retention on configuration changes
2011-10-14 02:52:32 +02:00
Andrew Gaul
9b27aba2ba
Avoid concatenation in StringBuilder append
2011-10-06 09:20:11 -07:00
cketti
644571cfe5
Make sure the InputStream of the import file is always closed
2011-10-04 00:48:43 +02:00
cketti
dfa97cd878
Handle activity restarts due to configuration changes
...
Close existing dialogs before the activity is destroyed. Recreate them
and rewire AsyncTasks to the new activity instance after its creation.
2011-10-01 20:11:14 +02:00
danapple
7d5bb99dbd
Add progress indicator during account move.
2011-09-05 12:45:53 -05:00
danapple
2867a90286
Disable account move menu items when account is at an end of the list.
...
Conflicts:
src/com/fsck/k9/activity/Accounts.java
2011-09-05 12:45:33 -05:00
danapple
06cabdbde1
Working version of moving accounts within the Accounts view.
2011-09-05 12:38:03 -05:00
Koji Arai
fda43206a3
Fixed the below issue for GalaxyS and S2.
...
When scrolling a ListView, all items turn black.
it was reproduced on FolderList, MessageList and Accounts, other views were not.
2011-07-20 22:13:20 +09:00
cketti
4d11c80f65
Fix account selection on import if file doesn't contain global settings
2011-06-08 22:28:34 +02:00
cketti
7e24377bb8
Return detailed information on imported accounts
2011-04-29 04:29:16 +02:00
cketti
237302cc2b
Changed import code to set "defaultAccountUuid" if necessary
2011-04-19 23:04:43 +02:00
cketti
12d87854ac
First version of the import code that reads the new file format
2011-04-13 03:37:44 +02:00
Jesse Vincent
0174988d27
astyle
2011-04-12 22:16:22 +10:00
cketti
ea9213cd4d
Converted some more confirmation dialogs to use ConfirmationDialog
2011-04-01 03:40:08 +02:00
cketti
81931967a9
Fix code so accounts are exported when exporting everything
2011-03-29 06:59:02 +02:00
cketti
0ac406d3cd
Removed per key/value encryption on export
2011-03-29 06:15:58 +02:00
cketti
84f4331766
Disable import for now
2011-03-28 08:12:12 +02:00
cketti
6510919eee
Moved export to file code from Accounts activity into StorageExporter
2011-03-28 08:04:43 +02:00
cketti
f5c153b405
Get rid of StorageFormat
2011-03-28 07:25:07 +02:00
cketti
97f493c881
Get rid of ExportListener
2011-03-28 07:18:47 +02:00
cketti
1d146278b0
Moved password input dialog for export to Accounts activity.
2011-03-28 01:55:46 +02:00
cketti
a559a35249
Use AsyncTask instead of AsyncUIProcessor for export
2011-03-28 01:18:36 +02:00
Jesse Vincent
0bded12843
Kill off ExportHelper. It had become clutter that was only used once
2011-03-27 13:09:26 +08:00
Jesse Vincent
9deeaf9c11
No longer export global settings when exporting one account
2011-03-27 12:03:23 +08:00
cketti
26258d7666
Removed unused imports
2011-03-26 06:43:39 +01:00
Jesse Vincent
b4a43893a3
Lift the choice of which accounts to export all the way up to
...
Accounts.java in advance of adding a dialog
2011-03-25 16:28:14 +11:00
Jesse Vincent
b8949abaca
Kill some now-dead and duplicate code
2011-03-25 15:56:25 +11:00
danapple
fd468e95fb
Specify a particular mime type. Although the K-9 settings file mime
...
type will not be generally known, specifying something in particular
means that only file browsers that can handle */* will used as options
in the chooser. In my tests, OI File Manager responds immediately (and
the chooser is bypassed) and the camera, music and ringtone selectors
are not provided as options.
2011-03-23 00:00:24 -05:00
danapple
0a0cfac1cb
Better internationalization, using real Android pluralization API.
2011-03-22 22:59:30 -05:00
danapple
3f45df2bd4
Astyle recent changes for StorageManager listener.
2011-03-20 15:37:51 -05:00
danapple
8e5c50a8ef
astyle
2011-03-20 15:21:24 -05:00
danapple
89bdbdce94
Build a structure to allow for more easily creating new versions of
...
preferences Storage importers/exporters. Password/encryption key
prompting is now down in centralized place. On import, the password
prompt is given if the file to be imported uses an importer
implementation that requires a password and no password is provided.
On export, the password prompt is given if the chosen version is for
an exporter that requires a password and no password was provided.
For instance, for automatic backups, a password could be stored in
preferences and provided to the exporter, so no password prompt would
be given.
2011-03-20 11:52:13 -05:00
danapple
90fc3d2c8d
Grey out unavailable accounts.
...
Display a short toast when attempting to open an unavailable account.
Conflicts:
res/values/strings.xml
src/com/fsck/k9/activity/Accounts.java
2011-03-19 12:36:58 -05:00
danapple
c3cc43675b
Grey out unavailable accounts.
...
Display a short toast when attempting to open an unavailable account.
2011-03-16 17:05:41 -05:00
danapple
32b5afc702
astyle
2011-03-02 07:34:54 -06:00
danapple
107408c0d9
K-9 Mail now opens the Accounts Activity when started with an Intent
...
with an enclosed URI with a content type of application/x-k9settings.
This allows a user to bootstrap K-9 Mail configuration by email a
settings file from one device to another, perhaps using a GMail
account on the receiving end.
2011-03-01 22:34:41 -06:00
danapple
9cd5f61539
Change import/export completion Toasts to Dialogs.
2011-03-01 21:21:00 -06:00
danapple
a7e134164f
Handle pluralization of import toasts.
2011-02-27 13:35:59 -06:00
danapple
932d178679
Merge branch 'issue549'
...
Conflicts:
src/com/fsck/k9/Account.java
src/com/fsck/k9/K9.java
src/com/fsck/k9/Preferences.java
src/com/fsck/k9/activity/Accounts.java
src/com/fsck/k9/activity/ActivityListener.java
src/com/fsck/k9/activity/ChooseFolder.java
src/com/fsck/k9/activity/FolderInfoHolder.java
src/com/fsck/k9/activity/FolderList.java
src/com/fsck/k9/activity/K9Activity.java
src/com/fsck/k9/activity/K9ListActivity.java
src/com/fsck/k9/activity/MessageList.java
src/com/fsck/k9/activity/MessageReference.java
src/com/fsck/k9/activity/MessageView.java
src/com/fsck/k9/activity/setup/AccountSettings.java
src/com/fsck/k9/controller/MessagingController.java
src/com/fsck/k9/crypto/Apg.java
src/com/fsck/k9/helper/DateFormatter.java
src/com/fsck/k9/helper/DomainNameChecker.java
src/com/fsck/k9/mail/Address.java
src/com/fsck/k9/mail/internet/MimeHeader.java
src/com/fsck/k9/mail/internet/MimeMessage.java
src/com/fsck/k9/mail/internet/MimeUtility.java
src/com/fsck/k9/mail/store/ImapStore.java
src/com/fsck/k9/mail/store/LocalStore.java
src/com/fsck/k9/mail/store/WebDavStore.java
src/com/fsck/k9/mail/transport/SmtpTransport.java
src/com/fsck/k9/view/AttachmentView.java
2011-02-27 13:09:38 -06:00
danapple
ad3dd07a7a
astyle-d
2011-02-26 18:39:06 -06:00
danapple
6dc94fb78e
First mostly working copy of export/import. Committing while I sort
...
out how to use git.
2011-02-26 11:31:56 -06:00
baolongnt
fce2fc12d0
Implemented option to hide special accounts (issue 3060)
2011-02-25 12:36:47 -08:00
Jesse Vincent
260b933a3b
Move the "update the title" code from almost every single
...
ActivityListener callback to the superclass, removing the need for many
sublcass methods
2011-02-13 21:20:22 -05:00
mwolschon
673b1fdf94
bugfix for
...
2e981afaed
( forgot a call to finish() )
2011-02-10 07:59:29 +01:00
Marcus Wolschon
2e981afaed
if account is not ready (sd-card removed), fall through to the
...
"else"-case, so onItemClick -handler still gets registred.
Else inserting the SD-card without leaving the activity,
THEN clicking the account will not do anything.
2011-02-08 08:56:08 +01:00
Jesse Vincent
12d1097a24
Big, scary massive "ant astyle" to get us back to something
...
approximating AOSP coding standards.
2011-02-06 17:09:48 -05:00
Dan Applebaum
4842051de6
Immediately update the title bar when the syncing status changes due to external events.
2011-02-04 23:19:06 -05:00
Dan Applebaum
e31d218dc5
At Jesse's suggestion, avoid the use of the Android term-of-art "density". Instead use "Compact layouts" to refer, both internally and externally, to the feature of elminating minimum sizes on UI elements and other minor layout changes for maximizing information quantity to be displayed on a page.
...
Others are free to adjust the user-facing text further.
2011-02-04 23:19:06 -05:00
Daniel Applebaum
6c03c968ef
Provide for users with good eyesight to completely take advantage of the
...
"smaller" (and smaller) fonts by allowing the Accounts and Folder List
items to have a height smaller than the normal Android minimum. This
option is off by default to maintain existing behavior for
uninterested parties. The preferences text is not especially
compelling so could certainly be changed if better phrasing is found.
2011-02-03 03:42:45 +00:00
Jesse Vincent
3d090e9626
astyle
2011-01-31 23:45:23 +00:00
Jesse Vincent
65dc3c7d1b
Fix display of icon in About box on Android 2.1 and earlier
2011-01-30 15:11:16 +00:00
cketti
555e6431b2
Add credits for third-party libraries and emoji icons to about box
2011-01-29 02:49:39 +00:00
Jesse Vincent
5e7982a31b
first pass at a better about box
2011-01-28 18:30:35 +00:00
cketti
365b106753
Fixed warnings about unchecked casts by extracting the code to methods and using the @SuppressWarnings annotation on them.
2011-01-19 00:36:15 +00:00
Jesse Vincent
0c426c9c4b
Round our color chips, clean up color hcip rendering a bit
2010-12-28 09:11:10 +00:00
Jesse Vincent
063bbb904f
Extract SizeFormatter into helpers
2010-12-13 01:02:39 +00:00
Jesse Vincent
78c900b5fe
remove redundant ;s
2010-12-01 03:07:28 +00:00
Jesse Vincent
0677bd9e77
Get rid of some redundant casts (Per IntelliJ)
2010-12-01 03:06:12 +00:00
Jesse Vincent
cead5c7060
flip some loops to using java internals instead (per intellij)
2010-12-01 03:04:57 +00:00
Jesse Vincent
14055691a3
Merge branch 'mail-on-sd'
...
* mail-on-sd: (40 commits)
Added more comments to explain how the locking mecanism works for LocalStore
Fixed wrong method being called during experimental provider initialization (since provider isn't enabled, that didn't harm)
Add more comments about how the various StorageProviders work and how they're enabled
find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs
French localization for storage related settings
Remove unused SD card strings (replaced with storage indirection)
Merge mail-on-sd branch from trunk
Reset mail service on storage mount (even if no account uses the storage, to be improved)
find src/com/fsck/ -name \*.java|xargs astyle --style=ansi --mode=java --indent-switches --indent=spaces=4 --convert-tabs
Migraion -> Migration
move the Storage location preference into preferences rather than the wizard.
Made LocalStore log less verbose Added @Override compile checks
Added ACTION_SHUTDOWN broadcast receiver to properly initiate shutdown sequence (not yet implemented) and cancel any scheduled Intent
Be more consistent about which SQLiteDatabase variable is used (from instance variable to argument variable) to make code more refactoring-friendly (class is already big, code extraction should be easier if not referencing the instance variable).
Added transaction timing logging
Factorised storage lock/transaction handling code for regular operations.
Use DB transactions to batch modifications (makes code more robust / could improve performances)
Merge mail-on-sd branch from trunk
Update issue 888 Added DB close on unmount / DB open on mount
Update issue 888 Back to account list when underlying storage not available/unmounting in MessageView / MessageList
...
2010-11-13 21:40:56 +00:00
Jesse Vincent
0f4366aa77
in the account list, when trying to check mail, also try to send mail
2010-11-13 01:46:31 +00:00
Marcus Wolschon
0933fad9b3
Update issue 7031
...
http://code.google.com/p/android/issues/detail?id=7031
added removeDialog() for every dismissDialog()
2010-10-18 09:53:22 +00:00
Fiouz
44cef83e0b
Use of constants for immutable empty arrays (prevent useless memory allocation)
2010-08-02 11:55:31 +00:00