mail/src/js/app-config.js

52 lines
1.6 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-11-17 07:34:57 -05:00
iconPath: '/img/icon.png',
verificationUrl: '/verify/'
2013-04-01 17:23:25 -04:00
};
/**
* Strings are maintained here
*/
app.string = {
2013-10-29 10:22:19 -04:00
subjectPrefix: '[whiteout] ',
2013-11-21 05:37:18 -05:00
invitationSubject: 'Invitation to a private conversation',
invitationMessage: 'I would like to invite you to a private conversation. To read my encrypted messages, 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/jjgghafhamholjigjoghcfcekhkonijg',
2013-11-16 09:28:10 -05:00
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/jjgghafhamholjigjoghcfcekhkonijg',
2013-10-11 21:19:01 -04:00
cryptPrefix: '-----BEGIN PGP MESSAGE-----',
cryptSuffix: '-----END PGP MESSAGE-----',
signature: 'Sent securely from whiteout mail',
2013-11-17 07:34:57 -05:00
webSite: 'http://whiteout.io',
verificationSubject: 'New public key uploaded'
};
2013-06-10 21:14:57 -04:00
return app;
});