fix(core): allow non top-level special folders and improved the doc around this
parent
3ef94da9d6
commit
1146038c76
|
@ -1749,7 +1749,7 @@ See the _Multi-domains Configuration_ section in this document for more
|
||||||
information.
|
information.
|
||||||
|
|
||||||
|listRequiresDot (optional)
|
|listRequiresDot (optional)
|
||||||
|If set to `YES`, listing of this SQL source is only possible when performing a search (respecting the SOGoSearchMinimumWordLength parameter) or when explicitely typing a single dot.
|
|If set to `YES`, listing of this SQL source is only possible when performing a search (respecting the SOGoSearchMinimumWordLength parameter) or when explicitly typing a single dot.
|
||||||
Defaults to `YES` when unset.
|
Defaults to `YES` when unset.
|
||||||
|
|
||||||
|ModulesConstraints (optional)
|
|ModulesConstraints (optional)
|
||||||
|
@ -1862,16 +1862,18 @@ messages.
|
||||||
|
|
||||||
Defaults to `Drafts` when unset.
|
Defaults to `Drafts` when unset.
|
||||||
|
|
||||||
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
||||||
For example: `INBOX/Drafts`.
|
For example: `INBOX/Drafts`. You must use a `/` even if your real
|
||||||
|
IMAP separator is a `.`.
|
||||||
|
|
||||||
|U |SOGoSentFolderName
|
|U |SOGoSentFolderName
|
||||||
|Parameter used to set the IMAP folder name used to store sent messages.
|
|Parameter used to set the IMAP folder name used to store sent messages.
|
||||||
|
|
||||||
Defaults to `Sent` when unset.
|
Defaults to `Sent` when unset.
|
||||||
|
|
||||||
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
||||||
For example: `INBOX/Sent`.
|
For example: `INBOX/Sent`. You must use a `/` even if your real
|
||||||
|
IMAP separator is a `.`.
|
||||||
|
|
||||||
|U |SOGoTrashFolderName
|
|U |SOGoTrashFolderName
|
||||||
|Parameter used to set the IMAP folder name used to store deleted
|
|Parameter used to set the IMAP folder name used to store deleted
|
||||||
|
@ -1879,8 +1881,9 @@ messages.
|
||||||
|
|
||||||
Defaults to `Trash` when unset.
|
Defaults to `Trash` when unset.
|
||||||
|
|
||||||
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
||||||
For example: `INBOX/Trash`.
|
For example: `INBOX/Trash`. You must use a `/` even if your real
|
||||||
|
IMAP separator is a `.`.
|
||||||
|
|
||||||
|U |SOGoJunkFolderName
|
|U |SOGoJunkFolderName
|
||||||
|Parameter used to set the IMAP folder name used to store junk
|
|Parameter used to set the IMAP folder name used to store junk
|
||||||
|
@ -1888,8 +1891,9 @@ messages.
|
||||||
|
|
||||||
Defaults to `Junk` when unset.
|
Defaults to `Junk` when unset.
|
||||||
|
|
||||||
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
Use a `/` as a hierarchy separator if referring to an IMAP subfolder.
|
||||||
For example: `INBOX/Junk`. Also see the SOGoMailJunkSettings for
|
For example: `INBOX/Junk`. You must use a `/` even if your real
|
||||||
|
IMAP separator is a `.`. Also see the SOGoMailJunkSettings for
|
||||||
more options regarding junk/not-junk actions.
|
more options regarding junk/not-junk actions.
|
||||||
|
|
||||||
|D |SOGoIMAPCASServiceName
|
|D |SOGoIMAPCASServiceName
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
//SOGoDraftsFolderName = Drafts;
|
//SOGoDraftsFolderName = Drafts;
|
||||||
//SOGoSentFolderName = Sent;
|
//SOGoSentFolderName = Sent;
|
||||||
//SOGoTrashFolderName = Trash;
|
//SOGoTrashFolderName = Trash;
|
||||||
|
//SOGoJunkFolderName = Junk;
|
||||||
//SOGoIMAPServer = "localhost";
|
//SOGoIMAPServer = "localhost";
|
||||||
//SOGoSieveServer = "sieve://127.0.0.1:4190";
|
//SOGoSieveServer = "sieve://127.0.0.1:4190";
|
||||||
//SOGoSMTPServer = "smtp://127.0.0.1";
|
//SOGoSMTPServer = "smtp://127.0.0.1";
|
||||||
|
|
|
@ -611,7 +611,7 @@
|
||||||
* @returns true if folder is eligible
|
* @returns true if folder is eligible
|
||||||
*/
|
*/
|
||||||
Mailbox.prototype.$canFolderAs = function() {
|
Mailbox.prototype.$canFolderAs = function() {
|
||||||
return this.type == 'folder' && this.level === 0;
|
return this.type == 'folder';
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue