mail/src/js/app-config.js

47 lines
1.1 KiB
JavaScript
Raw Normal View History

2013-06-10 21:14:57 -04:00
define([], function() {
2013-04-01 17:23:25 -04:00
'use strict';
2013-03-13 11:58:46 -04:00
2013-04-01 17:23:25 -04:00
/**
* Create the application namespace
*/
var app = {};
2013-04-01 17:23:25 -04:00
/**
* Global app configurations
*/
app.config = {
2013-10-15 12:25:00 -04:00
cloudUrl: 'https://keys.whiteout.io',
2013-04-01 17:23:25 -04:00
symKeySize: 128,
2013-05-31 19:45:38 -04:00
symIvSize: 128,
2013-10-04 12:01:42 -04:00
asymKeySize: 2048,
workerPath: 'js',
gmail: {
clientId: '440907777130.apps.googleusercontent.com',
imap: {
secure: true,
port: 993,
host: 'imap.gmail.com'
},
smtp: {
secure: true,
port: 465,
host: 'smtp.gmail.com'
}
},
checkOutboxInterval: 30000
2013-04-01 17:23:25 -04:00
};
/**
* Strings are maintained here
*/
app.string = {
2013-10-29 10:22:19 -04:00
subjectPrefix: '[whiteout] ',
message: 'this is a private conversation. To read my encrypted message below, simply install Whiteout Mail for Chrome. The app is really easy to use and automatically encrypts sent emails, so that only the two of us can read them: https://chrome.google.com/webstore/detail/whiteout-mail/jjgghafhamholjigjoghcfcekhkonijg',
2013-10-11 21:19:01 -04:00
cryptPrefix: '-----BEGIN PGP MESSAGE-----',
cryptSuffix: '-----END PGP MESSAGE-----',
signature: 'Sent securely from whiteout mail',
webSite: 'http://whiteout.io'
};
2013-06-10 21:14:57 -04:00
return app;
});