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

57 lines
1.3 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,
iconPath: '/img/icon.png'
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',
2013-11-08 11:16:15 -05:00
webSite: 'http://whiteout.io'
};
/**
* Contants are maintained here.
*/
app.constants = {
verificationSubject: 'New public key uploaded',
verificationUrlPrefix: 'https://keys.whiteout.io/verify/',
verificationUuidLength: 36
};
2013-06-10 21:14:57 -04:00
return app;
});