added to the nsIMsgProtocolInfo interface defaultCopiesAndFoldersPrefsToServer,
which we use to see for a given server type, do the defaults live on the server
or not (where not would mean "Local Folders").
fix the getFoldersWithFlag method in the nsIMsgFolder interface so it
would be easier to use in JS.
r=alecf
js. fix#23313, don't allow user to delete "local folders" account.
fix#23413, implement delete account. further divorce "none" from "pop3"
(which will be useful once we get to movemail and other incoming mail server types)
r=alecf
protocol info to see if username is required and how to preflight
the pretty name. (news does it different than imap and pop.)
to help the insane clown posse, create a string bundle to be used
by the account wizard.
fix the bug that I just introduced where creating accounts
would fail at the very end, so the folder pane would fail to refresh.
r=alecf
they are now per-identity prefs.
mail.identity.id1.attach_signature is set if the user had a signature in 4.x
the pref mail.signature_file gets migrated to mail.identity.id1.sig_file and
the pref mail.signature_date gets migrate to mail.identity.id1.sig_date
added a few new macros for pref migration.
implemented or they were just stubs. I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there. I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places. thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
r=alecf
major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.
our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.
also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement. Before we were
passing through to the back end the selected xul element, now we pass
the resource in.
other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)
bugs fixed: #14773, #14254, #20599, #20646
r=alecf
a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott