mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 12:32:40 +08:00
4cc2207513
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
101 lines
1.6 KiB
JavaScript
101 lines
1.6 KiB
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
|
|
|
Consts.Defaults = {};
|
|
Consts.Values = {};
|
|
Consts.DataImages = {};
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Defaults.MessagesPerPage = 20;
|
|
|
|
/**
|
|
* @const
|
|
* @type {Array}
|
|
*/
|
|
Consts.Defaults.MessagesPerPageArray = [10, 20, 30, 50, 100/*, 150, 200, 300*/];
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Defaults.DefaultAjaxTimeout = 20000;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Defaults.SearchAjaxTimeout = 120000;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Defaults.SendMessageAjaxTimeout = 200000;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Defaults.SaveMessageAjaxTimeout = 200000;
|
|
|
|
/**
|
|
* @const
|
|
* @type {string}
|
|
*/
|
|
Consts.Values.UnuseOptionValue = '__UNUSE__';
|
|
|
|
/**
|
|
* @const
|
|
* @type {string}
|
|
*/
|
|
Consts.Values.GmailFolderName = '[Gmail]';
|
|
|
|
/**
|
|
* @const
|
|
* @type {string}
|
|
*/
|
|
Consts.Values.ClientSideCookieIndexName = 'rlcsc';
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Values.ImapDefaulPort = 143;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Values.ImapDefaulSecurePort = 993;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Values.SmtpDefaulPort = 25;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Values.SmtpDefaulSecurePort = 465;
|
|
|
|
/**
|
|
* @const
|
|
* @type {number}
|
|
*/
|
|
Consts.Values.iMessageBodyCacheLimit = 15;
|
|
|
|
/**
|
|
* @const
|
|
* @type {string}
|
|
*/
|
|
Consts.DataImages.UserDotPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2P8DwQACgAD/il4QJ8AAAAASUVORK5CYII=';
|
|
|
|
/**
|
|
* @const
|
|
* @type {string}
|
|
*/
|
|
Consts.DataImages.TranspPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=';
|