finish integrating and end review

This commit is contained in:
Tankred Hase 2014-02-06 19:19:00 +01:00
parent 6cd57fa0f6
commit 7c76156adf
4 changed files with 7 additions and 9 deletions

View File

@ -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": {

View File

@ -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();
};

View File

@ -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;
});
});
});
};

View File

@ -36,7 +36,7 @@
<div class="attachments-box">
<span ng-repeat="attachment in attachments" class="attachment">
<span data-icon="&#xe003;"></span>
{{attachment.fileName}}
{{attachment.filename}}
<span class="close" data-icon="&#xe000;" ng-click="remove(attachment)"></span>
</span><!--/.attachment-->
</div><!--/.attachments-box-->