mirror of
https://github.com/moparisthebest/mail
synced 2025-01-11 05:28:00 -05:00
finish integrating and end review
This commit is contained in:
parent
6cd57fa0f6
commit
7c76156adf
@ -12,7 +12,7 @@
|
||||
"dependencies": {
|
||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
||||
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/dev/attachments",
|
||||
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/dev/attachments",
|
||||
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/master",
|
||||
"requirejs": "2.1.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -466,9 +466,9 @@ define(function(require) {
|
||||
var reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
scope.attachments.push({
|
||||
fileName: file.name,
|
||||
contentType: file.type,
|
||||
uint8Array: new Uint8Array(e.target.result)
|
||||
filename: file.name,
|
||||
mimeType: file.type,
|
||||
content: new Uint8Array(e.target.result)
|
||||
});
|
||||
scope.$apply();
|
||||
};
|
||||
|
@ -995,14 +995,14 @@ define(function(require) {
|
||||
|
||||
|
||||
// PGP Mailer API
|
||||
|
||||
|
||||
/**
|
||||
* Login the smtp client
|
||||
*/
|
||||
EmailDAO.prototype._pgpmailerLogin = function() {
|
||||
this._pgpMailer.login();
|
||||
};
|
||||
|
||||
|
||||
|
||||
// IMAP API
|
||||
|
||||
@ -1212,7 +1212,6 @@ define(function(require) {
|
||||
|
||||
// store to local storage
|
||||
self._devicestorage.storeList([email], dbType, callback);
|
||||
|
||||
});
|
||||
});
|
||||
};
|
||||
@ -1253,7 +1252,6 @@ define(function(require) {
|
||||
});
|
||||
mail.encrypted = true;
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
};
|
||||
|
@ -36,7 +36,7 @@
|
||||
<div class="attachments-box">
|
||||
<span ng-repeat="attachment in attachments" class="attachment">
|
||||
<span data-icon=""></span>
|
||||
{{attachment.fileName}}
|
||||
{{attachment.filename}}
|
||||
<span class="close" data-icon="" ng-click="remove(attachment)"></span>
|
||||
</span><!--/.attachment-->
|
||||
</div><!--/.attachments-box-->
|
||||
|
Loading…
Reference in New Issue
Block a user