1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-12 12:15:07 -05:00
mail/src/js/app-config.js

46 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-06-13 07:46:28 -04:00
cloudUrl: 'https://storage.whiteout.io',
2013-04-01 17:23:25 -04:00
symKeySize: 128,
2013-05-31 19:45:38 -04:00
symIvSize: 128,
asymKeySize: 1024,
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'
}
}
2013-04-01 17:23:25 -04:00
};
/**
* Strings are maintained here
*/
app.string = {
subject: '[whiteout] Encrypted message',
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',
cryptPrefix: '-----BEGIN ENCRYPTED MESSAGE-----',
cryptSuffix: '-----END ENCRYPTED MESSAGE-----',
signature: 'Sent securely from whiteout mail',
webSite: 'http://whiteout.io'
};
2013-06-10 21:14:57 -04:00
return app;
});