Commit Graph

283 Commits

Author SHA1 Message Date
Tankred Hase 97accd0221 Merge pull request #3 from whiteout-io/dev/imap-redesign
dev/imap-redesign
2014-01-15 05:23:41 -08:00
Felix Hammerl aa5b476de0 dev/imap-redesign 2014-01-14 16:32:48 +01:00
Tankred Hase 9bb70fac5d fix email dao tests 2014-01-14 13:26:23 +01:00
Tankred Hase 87d26383f5 sending email to multiple receivers works 2014-01-13 18:38:45 +01:00
Felix Hammerl afda794bc4 [WO-192] dont fail unnecessary when encountering a potentially malicious uuid 2014-01-08 16:04:18 +01:00
Tankred Hase 15a57c7464 bugfix check online status correctly 2013-12-12 14:47:04 +01:00
Tankred Hase df34db590b Merge remote-tracking branch 'origin/dev/sliding-window-sync' 2013-12-12 14:27:20 +01:00
Felix Hammerl 550ad37368 fix comment 2013-12-12 14:14:09 +01:00
Felix Hammerl 0d2366ecdf add sliding window delta sync 2013-12-12 14:00:21 +01:00
Tankred Hase 0e6dfe2c26 fix bug in email dao init on first start 2013-12-10 23:05:17 +01:00
Tankred Hase d08321d345 switching between offline and online state works 2013-12-10 22:20:41 +01:00
Felix Hammerl f5b7b61e45 fix verification due to erroneous object passed 2013-12-09 10:40:17 +01:00
Felix Hammerl 4029627c40 add unread counts to folders 2013-12-06 17:47:38 +01:00
Felix Hammerl a455e22ae3 unified variable naming in delta sync algorithm 2013-12-06 16:37:55 +01:00
Felix Hammerl 7353fcb0bf fix cleartext leak during sync 2013-12-06 15:03:42 +01:00
Tankred Hase c31435dc59 Merge remote-tracking branch 'origin/dev/sync_flags' 2013-12-05 19:30:03 +01:00
Felix Hammerl 74711d7252 fix: do not do delta 4 if delta4 is empty 2013-12-05 19:29:41 +01:00
Tankred Hase 4cf8e3cb5c Merge remote-tracking branch 'origin/dev/sync_flags' 2013-12-05 19:15:36 +01:00
Felix Hammerl 65c61b2a09 rename _mark 2013-12-05 19:10:30 +01:00
Felix Hammerl 7e2f0b0284 fix date bug 2013-12-05 19:03:48 +01:00
Felix Hammerl b4115ed879 fix unread and answered flags are updated 2013-12-05 18:28:18 +01:00
Tankred Hase cf031a105e [WO-136] show notification when email has been sent 2013-12-05 15:02:41 +01:00
Tankred Hase f6b15ac151 add encrypted flag to messages 2013-12-04 18:58:53 +01:00
Felix Hammerl f9c196e2ee remove [whiteout] tag from plain text messages 2013-12-04 17:56:01 +01:00
Felix Hammerl d42c654675 fix bugs in email dao 2013-12-04 15:35:43 +01:00
Felix Hammerl 78453fd416 reactivate push in email dao 2013-12-04 12:06:46 +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
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 0470ae00ea removed commented code 2013-12-02 20:43:31 +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 4e4fa0f16f add preliminary implementation for delta sync 2013-11-29 16:13:38 +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
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 e13268625f Review invite sending and release to TEST channel 2013-11-21 15:36:16 +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 6ed6ffdc20 cleanup verification constants 2013-11-17 13:34:57 +01:00
Tankred Hase 7bb3723e53 Update signature and Comment in PGP block 2013-11-16 15:21:44 +01:00
Tankred Hase f23dee9369 minor cleanup on error handlers 2013-11-14 21:39:20 +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
Tankred Hase 5d07098baf review auto verification 2013-11-08 17:16:15 +01:00
Felix Hammerl 14919847e3 [WO-85] introduce silent public key verification 2013-11-08 16:26:15 +01:00
Tankred Hase 5c7eb7052d check subject during sync 2013-11-05 18:48:58 +01:00
Felix Hammerl c0203bb1f6 [WO-87][WO-89] automated sync and notification on incoming email 2013-11-05 16:55:17 +01:00
Tankred Hase 34dea03c5b Merge remote-tracking branch 'origin/pgp-format' into invitation 2013-10-29 19:35:19 +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 36c8d1e003 [WO-53] import key on new device 2013-10-22 15:12:09 +02:00
Felix Hammerl 488a377580 create login views 2013-10-21 13:10:42 +02:00
Tankred Hase 4bcc1d6bdf handle http error codes in cloudstorage dao 2013-10-17 23:11:36 +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 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 c2cf878632 handle error in case key ids are emtpy 2013-10-04 17:43:55 +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 7b695d3449 seperate imap and smtp code in email dao 2013-10-04 16:29:32 +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 8a40de92ea merge email list and message body objects in email dao 2013-09-30 17:29:29 +02:00
Tankred Hase ab5e5a573d refactor displaylist var 2013-09-28 19:37:56 +02:00
Tankred Hase 785ba0c9e8 fix order of mail list 2013-09-28 19:35:07 +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 7fe8755b99 cleanup sentDate keys in device storage 2013-09-26 16:30:34 +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 9767e3ace6 delete old cloud storage code from email dao 2013-09-24 13:02:22 +02:00
Tankred Hase fbaa43aff6 cleanup and test email dao integration of imap-client 2013-09-20 18:44:14 +02:00
Tankred Hase dc7feaa80a fix and cleanup encrypted message parsing 2013-09-15 19:00:35 +02:00
Tankred Hase fc6618b443 refactor config strings to be maintained centrally 2013-09-15 15:13:19 +02:00
Tankred Hase cb8314f9d0 displaying inbox message list works 2013-09-11 23:31:08 +02:00
Tankred Hase 4a0e8a072c implement encrypted send to new user 2013-08-31 17:13:08 +02:00
Tankred Hase 710fc7ea4a works 2013-08-30 22:21:28 +02:00
Tankred Hase 628cb0ddd9 crypto error handling cleanup 2013-08-30 16:05:33 +02:00
Tankred Hase d1290e7a9f refactor email validation to happen in util 2013-08-30 11:42:32 +02:00
Tankred Hase bc9e635270 cleanup and integrate new imap-client 2013-08-29 19:32:34 +02:00
Tankred Hase a8d49a632c fix multiple events fired on multiple body parts 2013-08-29 16:01:40 +02:00
Tankred Hase 13a9ac84db cleanup email dao smtp send code 2013-08-29 14:28:26 +02:00
Tankred Hase 289caa196c update signature 2013-08-28 20:03:33 +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 73d46bc72b decrypting imap messages works 2013-08-28 17:10:18 +02:00
Tankred Hase 3970d7181f integration new imap get message api 2013-08-28 14:56:23 +02:00
Tankred Hase 14e37fd768 implement attachement encryption 2013-08-28 14:12:39 +02:00
Tankred Hase 0ebe4d3b3d edit signature 2013-08-28 10:31:53 +02:00
Tankred Hase b5403ea278 Update MESSAGE text 2013-08-27 23:46:28 +02:00
Tankred Hase 203a8a3990 Update comment in MESSAGE 2013-08-27 21:23:36 +02:00
Tankred Hase 26a8db3e76 constants cleanup 2013-08-27 19:17:06 +02:00
Tankred Hase 8dbc5d87e4 unit test for encrypted sending works again 2013-08-27 19:04:26 +02:00
Tankred Hase c41bc334b2 add encrypted message structure to sent mail 2013-08-27 18:23:27 +02:00
Tankred Hase fbbed90e62 removed return nul in lawnchair dao 2013-08-23 16:47:36 +02:00
Tankred Hase d944c00aa8 just return instead of return null 2013-08-23 11:04:22 +02:00
Tankred Hase 5ad681e58d downloading parsed attachment in ui works 2013-08-22 20:04:28 +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 79df873d55 fixed jshint errors 2013-08-20 13:33:30 +02:00
Tankred Hase d49d95ab16 starte implementing logout and send email 2013-08-20 13:30:35 +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 7f42722699 use spaces in all daos and cleanup keystorage dao to use prototype style 2013-08-16 21:21:24 +02:00
Tankred Hase 553320adc8 refactor email dao for prototype style and also use spaces instead of tabs 2013-08-16 20:50:47 +02:00
Tankred Hase 2186d20a7c login to imap and smtp via chrome identity api works 2013-08-16 20:31:18 +02:00
Tankred Hase 910cdbb4b0 new users can register 2013-07-02 11:46:40 +02:00
Tankred Hase c5b83d4725 bugfix with filtering by GMT time for server 2013-07-02 00:21:25 +02:00
Tankred Hase 699871276c sending end-2-end encrypted emails internally work 2013-07-01 22:42:39 +02:00
Tankred Hase c02600be6b sync delta by last item date in inbox 2013-06-27 16:31:20 +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 2007fbcc0f tested mobile.html... works 2013-06-11 03:14:57 +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 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 07325b8ed0 refactored cloudstorage dao 2013-06-10 20:10:39 +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 b580506465 cleanup filtering code in lanwchair dao 2013-06-03 23:08:23 +02:00
Tankred Hase 5e14aa0215 added sorting by keys in lawnchair dao 2013-06-03 22:24:26 +02:00
Tankred Hase 1266142ad7 added sorting by keys in lawnchair dao 2013-06-03 22:20:20 +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 5a2a559485 put sentDate in lawnchair key, reducing sort complexity 2013-06-03 02:17:20 +02:00
Tankred Hase b1b91850a7 implemented save key locally after cloud lookup 2013-06-01 02:23:09 +02:00
Tankred Hase fcac34ae74 integrated changed into app 2013-06-01 01:45:38 +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