1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-16 06:05:07 -05:00
Commit Graph

283 Commits

Author SHA1 Message Date
Tankred Hase
3790009260 Merge branch 'dev/email-dao-refactoring' 2013-12-04 17:44:44 +01:00
Felix Hammerl
9e41626182 mails in outbox are correctly displayed 2013-12-04 17:13:45 +01:00
Felix Hammerl
82ee9a3ed8 fix write ctrl 2013-12-04 16:33:10 +01:00
Felix Hammerl
9337272b3a fix mail list ctrl test 2013-12-04 15:53:49 +01:00
Felix Hammerl
59d00f0de9 fix wrong api usage in outbox 2013-12-04 15:36:20 +01:00
Felix Hammerl
32d0c08822 reactivate tests for mail list ctrl 2013-12-04 14:15:12 +01:00
Felix Hammerl
78453fd416 reactivate push in email dao 2013-12-04 12:06:46 +01:00
Felix Hammerl
e53e9e560e fix test for login with new device 2013-12-04 11:49:36 +01:00
Felix Hammerl
33e23a992c fix test for login with existing user 2013-12-04 11:46:13 +01:00
Tankred Hase
a32e7ad8c9 fix whitelist filtering in email dao 2013-12-03 20:24:12 +01:00
Tankred Hase
58ed8928e6 integrate new email-dao into controllers and first attempt at starting app 2013-12-03 19:21:50 +01:00
Tankred Hase
6f1c59f1fe implement popover
remove lightbox on wrong passphrase input

show key fingerprint in popup
2013-12-03 14:56:32 +01:00
Felix Hammerl
7542cf8589 added preliminary functionality for outbox 2013-12-03 14:36:37 +01:00
Felix Hammerl
99a6cda40d add silent public key verification 2013-12-03 13:26:29 +01:00
Felix Hammerl
8e88ae7f99 add move 2013-12-02 19:48:35 +01:00
Felix Hammerl
4ff88694d4 add error handling and tests for corner cases 2013-12-02 19:37:41 +01:00
Tankred Hase
548ca655c7 review sync 2013-12-02 15:48:59 +01:00
Felix Hammerl
0c1003c48f add missing methods and tests 2013-12-02 13:58:20 +01:00
Felix Hammerl
150cf23948 added good case test for delta sync 2013-12-02 09:07:16 +01:00
Felix Hammerl
4a9b58cfe2 add check for folders present to unit test 2013-11-29 16:13:18 +01:00
Felix Hammerl
5ddddb5568 add imap folder listing functionality 2013-11-28 15:05:29 +01:00
Felix Hammerl
12860f6146 add login and destroy 2013-11-28 11:46:08 +01:00
Felix Hammerl
1f89219353 introduce email dao 2 2013-11-28 11:36:14 +01:00
Tankred Hase
3a29d46e7e fix test 2013-11-26 19:17:44 +01:00
Felix Hammerl
81a56a77c0 [WO-57] Introduce encrypted outbox
The outbox is encrypted using the sender's keys. Prior
to sending, every mail is buffered in the outbox.
2013-11-26 13:37:22 +01:00
Tankred Hase
0c6d279e82 Show error msg in message list 2013-11-21 17:44:03 +01:00
Tankred Hase
9d3bc51fcf bugfix in cas of channel change 2013-11-21 17:09:47 +01:00
Tankred Hase
50c48290d4 fix unit tests 2013-11-21 15:45:18 +01:00
Felix Hammerl
93ddfb1c99 [WO-18] introduce invitation email functionality 2013-11-20 19:14:51 +01:00
Felix Hammerl
8e8947e742 [WO-61] change method signature for invitation DAO 2013-11-20 16:04:43 +01:00
Felix Hammerl
6fa06fc4e8 [WO-18] rename methods in email dao 2013-11-20 15:01:44 +01:00
Felix Hammerl
6ad8683380 [WO-61] introduce invitation DAO 2013-11-20 12:45:13 +01:00
Tankred Hase
e71ee471f6 refactor outbox code into business object 2013-11-19 16:14:48 +01:00
Tankred Hase
7790122647 fix test 2013-11-18 19:56:24 +01:00
Tankred Hase
f23dee9369 minor cleanup on error handlers 2013-11-14 21:39:20 +01:00
Tankred Hase
5be2d89fab merged new error handlers with controller unti tests 2013-11-14 20:13:27 +01:00
Tankred Hase
61b02c8175 Merge remote-tracking branch 'origin/dev/unittest' 2013-11-14 19:30:14 +01:00
Felix Hammerl
8fb822bdea [WO-36] add minimally invasive controller unit tests 2013-11-14 17:44:29 +01:00
Tankred Hase
3a57172358 [WO-74, WO-80] handle error when decrypting PGP messages 2013-11-14 13:57:52 +01:00
Tankred Hase
d544b2cf3d [WO-112] Mark replied to emails as answered 2013-11-13 17:05:21 +01:00
Felix Hammerl
14919847e3 [WO-85] introduce silent public key verification 2013-11-08 16:26:15 +01:00
Felix Hammerl
e44e32869e [WO-56] display account information 2013-11-06 16:34:28 +01:00
Tankred Hase
34dea03c5b Merge remote-tracking branch 'origin/pgp-format' into invitation 2013-10-29 19:35:19 +01:00
Tankred Hase
9341678151 reactivate qunit integration tests 2013-10-29 19:24:22 +01:00
Tankred Hase
3e75397213 cleanup and refactor qunit tests to mocha 2013-10-29 19:00:05 +01:00
Felix Hammerl
844d752518 [WO-38] use pgp-compliant formating 2013-10-29 15:30:34 +01:00
Felix Hammerl
488a377580 create login views 2013-10-21 13:10:42 +02:00
Tankred Hase
bcd395d4de Merge branch 'delete_mail' into new_ui 2013-10-17 17:37:55 +02:00
Tankred Hase
609586bea9 fix unti test 2013-10-17 16:53:53 +02:00
Felix Hammerl
1eac9ef75d add delete message capability 2013-10-16 18:56:18 +02:00
Tankred Hase
0e17bd4f26 bugfix import keypair after new generation 2013-10-13 19:04:49 +02:00
Tankred Hase
445428be26 implement reply ui 2013-10-12 19:39:09 +02:00
Tankred Hase
79c9d134d3 integrate pgp into email dao and app 2013-10-12 03:19:01 +02:00
Tankred Hase
d6ed270c02 add bad test case 2013-10-11 22:10:50 +02:00
Tankred Hase
95f815de91 cleanu pgp code 2013-10-11 21:54:43 +02:00
Tankred Hase
5666671d2f integrate and test openpgp.js 2013-10-11 21:30:03 +02:00
Tankred Hase
9ed7a696b4 list well known folders works in dao... not yet in ui 2013-10-10 19:15:16 +02:00
Tankred Hase
1eb14d1e11 refactor to generate and store random salt for PBKDF2 2013-10-09 16:40:36 +02:00
Tankred Hase
e050c9854b integrate bugfix for syncing emails from imap 2013-10-04 17:21:09 +02:00
Tankred Hase
82d592f0cc integrate mark email as read 2013-10-04 17:02:27 +02:00
Tankred Hase
d810416370 remove in memory caching from email dao 2013-10-04 16:25:02 +02:00
Tankred Hase
f045a71ebe cleanup error handling in email dao 2013-10-04 15:47:30 +02:00
Tankred Hase
6e6012bd78 cleanup error handling in email dao and mail-list controller 2013-10-04 13:15:16 +02:00
Tankred Hase
567a2d19ed implement integration test in chrome app 2013-10-02 15:47:41 +02:00
Tankred Hase
267e889872 list and store only encrypted emails in local db 2013-09-28 19:04:15 +02:00
Tankred Hase
ee7d179298 refactor imap login out of email dao.init 2013-09-26 17:37:56 +02:00
Tankred Hase
c4b4999814 add emailaddress caching at login 2013-09-26 17:17:47 +02:00
Tankred Hase
2b966c1132 cleanup device storage dao 2013-09-26 15:48:32 +02:00
Tankred Hase
38b0a8e8b1 refactor test and storage code 2013-09-26 13:26:57 +02:00
Tankred Hase
fbaa43aff6 cleanup and test email dao integration of imap-client 2013-09-20 18:44:14 +02:00
Tankred Hase
7b532f780c integrated imap-client amd branch 2013-09-19 18:35:12 +02:00
Tankred Hase
cb8314f9d0 displaying inbox message list works 2013-09-11 23:31:08 +02:00
Tankred Hase
cf8a12c75c list email in new ui works, remove command pattern bloat from app-controller 2013-09-04 21:01:32 +02:00
Tankred Hase
1259d0c160 add ngtouch to angular app, remove all backbone deps and models code 2013-09-04 19:18:28 +02:00
Tankred Hase
0e3340c586 cleanup of jquery mobile app code, angular app works with requirejs 2013-09-04 18:39:26 +02:00
Tankred Hase
4a0e8a072c implement encrypted send to new user 2013-08-31 17:13:08 +02:00
Tankred Hase
873671f011 add symmetric batch encryption to crypto, delete unnecessary crypto code 2013-08-31 16:09:25 +02:00
Tankred Hase
628cb0ddd9 crypto error handling cleanup 2013-08-30 16:05:33 +02:00
Tankred Hase
bc9e635270 cleanup and integrate new imap-client 2013-08-29 19:32:34 +02:00
Tankred Hase
675da50453 inccrease timeout for email dao unit tests 2013-08-28 20:30:47 +02:00
Tankred Hase
d5aa0479c6 commented attachment unit test 2013-08-28 20:21:15 +02:00
Tankred Hase
eec91acd7a fixed tests to work with new imap-client get message api 2013-08-28 19:20:59 +02:00
Tankred Hase
14e37fd768 implement attachement encryption 2013-08-28 14:12:39 +02:00
Tankred Hase
8dbc5d87e4 unit test for encrypted sending works again 2013-08-27 19:04:26 +02:00
Tankred Hase
fbbed90e62 removed return nul in lawnchair dao 2013-08-23 16:47:36 +02:00
Tankred Hase
1fe7c3ce82 fix email dao unit test 2013-08-22 20:18:52 +02:00
Tankred Hase
8d25527341 replying to an email works, added imap cache for in memory caching of messages 2013-08-22 16:18:48 +02:00
Tankred Hase
88b7252696 read email with and without attachment works in ui 2013-08-21 16:07:59 +02:00
Tankred Hase
fa3abc3487 implement get message from imap in email dao and app controller 2013-08-21 13:43:19 +02:00
Tankred Hase
feae2b0c2b listing messages in ui works, change app controller to use spaces instead of tabs 2013-08-20 19:48:49 +02:00
Tankred Hase
898a934291 implement list folders in controller and dao 2013-08-20 17:22:08 +02:00
Tankred Hase
e8bf77d1ad started testing app controller 2013-08-20 16:41:32 +02:00
Tankred Hase
4d861d7f81 started testing app controller 2013-08-20 15:19:13 +02:00
Tankred Hase
d49d95ab16 starte implementing logout and send email 2013-08-20 13:30:35 +02:00
Tankred Hase
1d5ba5d003 minor cleanup main.js new unit tests 2013-08-20 10:11:14 +02:00
Tankred Hase
f06fe5e545 start rewrite of unit tests using mocha, sinon and chai 2013-08-19 21:13:32 +02:00
Tankred Hase
79b297e624 update and test forge ~0.1.14 2013-08-05 16:45:02 +02:00
Tankred Hase
699871276c sending end-2-end encrypted emails internally work 2013-07-01 22:42:39 +02:00
Tankred Hase
6097000f9f optimized email sync from cloud to do RSA validation and decryption only once 2013-06-26 17:37:21 +02:00
Tankred Hase
6932088aa9 jshint on grunt test works again 2013-06-11 17:12:27 +02:00
Tankred Hase
2007fbcc0f tested mobile.html... works 2013-06-11 03:14:57 +02:00
Tankred Hase
1368672c1d web worker tests work again 2013-06-11 00:55:53 +02:00
Tankred Hase
0e9be73791 integration tests work too now 2013-06-11 00:17:08 +02:00
Tankred Hase
f1fd936141 finished refactoring unit tests with email dao 2013-06-10 23:50:26 +02:00
Tankred Hase
deb47fd4df refactored device storage 2013-06-10 23:22:57 +02:00
Tankred Hase
ccebe011cb refactored crypto 2013-06-10 23:07:29 +02:00
Tankred Hase
5d409933e5 refactored keychaindao 2013-06-10 22:45:21 +02:00
Tankred Hase
e7185a8baa rsa and lawnchair tests refactored 2013-06-10 22:02:29 +02:00
Tankred Hase
e8329872ec started refactoring for requirejs 2013-06-10 17:57:33 +02:00
Tankred Hase
1491e9fd1d removed unnecessary email model code 2013-06-06 22:05:37 +02:00
Tankred Hase
c9522fcb5e removed email model from send email 2013-06-06 20:41:25 +02:00
Tankred Hase
8f54f1c544 removed email collection usage in email dao 2013-06-06 19:19:37 +02:00
Tankred Hase
f2a14ad65b refactoring of crypto worker code and lots of cleanup 2013-06-05 01:47:28 +02:00
Tankred Hase
71d6d6c799 started refacrtoring for sandboxed iframe 2013-06-04 21:36:13 +02:00
Tankred Hase
1071d89ee9 key ync from cloud works 2013-06-03 19:57:15 +02:00
Tankred Hase
04a3ab2a34 different lawnchair for each user 2013-06-03 04:26:17 +02:00
Tankred Hase
cb8df440f2 cleanup keychain dao 2013-06-03 04:12:53 +02:00
Tankred Hase
6224d01afd upgrade lawnchair deps... fixed bugs 2013-06-03 03:49:43 +02:00
Tankred Hase
5a2a559485 put sentDate in lawnchair key, reducing sort complexity 2013-06-03 02:17:20 +02:00
Tankred Hase
8cfd6ea0a6 upgrade several js libs 2013-06-01 13:57:50 +02:00
Tankred Hase
558ac6153d removed unnecessary scripts and dependecies for sjcl and nacl 2013-06-01 11:19:18 +02:00
Tankred Hase
03a60c2546 integrated refactored item batch encryption 2013-06-01 10:58:50 +02:00
Tankred Hase
a58753d82b integration tests all work again 2013-06-01 00:04:58 +02:00
Tankred Hase
d7f6c89062 removed sync private key spaghetti code from cloudstorage dao 2013-05-31 23:30:30 +02:00
Tankred Hase
39a9a90e26 started cloudstorage integration tests and keychain dao integration tests 2013-05-31 23:27:19 +02:00
Tankred Hase
dca3b252ce finished refactoring email dao for unit tests 2013-05-31 15:51:34 +02:00
Tankred Hase
0fb0e7c1e7 cleanup Lawnchair dep injection 2013-05-31 13:09:49 +02:00
Tankred Hase
9a7e87d33e deleted local storage dao code and tests 2013-05-31 13:05:12 +02:00
Tankred Hase
09d4c1c56f refactored crypto.js tp use keypair input 2013-05-31 13:00:54 +02:00
Tankred Hase
6a33f17f42 implemented storage and lookup of user keypair 2013-05-27 19:25:45 +02:00
Tankred Hase
dbb25162fa added keychain dao and started impl 2013-05-23 23:45:26 +02:00
Tankred Hase
eaddd674b9 added error handling in lawnchair dao 2013-05-23 23:14:30 +02:00
Tankred Hase
bdab0e19c1 integrated crypto lib changes into device storage dao 2013-05-23 22:33:44 +02:00
Tankred Hase
1e27297013 integrated new crypto lib api into crypto.js 2013-05-23 22:17:25 +02:00
Tankred Hase
52fba1a462 rm util unti test 2013-05-23 14:04:44 +02:00
Tankred Hase
487ddca28c refactored crypto libto use different namespace 2013-05-22 17:03:54 +02:00
Tankred Hase
f5d505df49 moved dev server to grunt connect 2013-05-22 10:16:26 +02:00
Tankred Hase
b77affb86a added grunt test runner 2013-05-21 15:38:18 +02:00
Tankred Hase
f9461aaf25 fixed cloudstorage dao it tests 2013-05-19 04:00:53 +02:00
Tankred Hase
6170c38219 updated it index.html 2013-05-19 01:40:23 +02:00
Tankred Hase
0cb5214b94 minor fixes to email dao and crypto 2013-05-19 01:33:59 +02:00
Tankred Hase
afe8c1329b integrated new crypto into email dao unit test 2013-05-18 22:33:10 +02:00
Tankred Hase
2c1458b663 updated devicestorage 2013-05-17 17:44:34 +02:00
Tankred Hase
0e4c09ebdf added unique id to rsa signature 2013-05-15 14:14:08 +02:00
Tankred Hase
6f2be99672 moved crypto batch code from util to own js file 2013-05-15 13:36:59 +02:00
Tankred Hase
fcf64569b2 refactored crypto for user to use RSA encrypt/sign 2013-05-15 12:26:32 +02:00
Tankred Hase
c9c53598e8 started refacroting crypto 2013-05-14 20:28:12 +02:00
Tankred Hase
c264dfc994 refactored rsa sign and verify to take base64 arrays 2013-05-14 18:15:47 +02:00
Tankred Hase
6bbcd8cab7 added rsa module and tests 2013-05-14 16:05:31 +02:00
Tankred Hase
ec14639d56 refactored forge test 2013-05-14 14:49:07 +02:00