1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
Commit Graph

412 Commits

Author SHA1 Message Date
Felix Hammerl
30efac0792 [WO-259] introduce proper signature checking 2014-07-04 17:58:25 +02:00
Tankred Hase
b11161655a Add dev build w/ patched OpenPGP.js containing signature verification 2014-07-03 15:33:03 +02:00
Felix Hammerl
c335fee0d5 add Function.prototype.bind polyfill in tests because phantomjs is buggy 2014-07-02 16:46:17 +02:00
Felix Hammerl
1283bb4a1c [WO-420] add bug reporting capability with the axe logger 2014-07-02 16:17:50 +02:00
Tankred Hase
8ebb24123a Merge pull request #85 from whiteout-io/dev/WO-279
[WO-279] Display error message if PGP signature is invalid
2014-07-02 15:31:33 +02:00
Tankred Hase
bf063b5dac [WO-279] Display error message if PGP signature is invalid 2014-07-02 15:26:51 +02:00
Tankred Hase
5aec80da47 Fix appController._pgp mocking in read controller test 2014-07-01 20:59:10 +02:00
Tankred Hase
b20c6977ca [WO-437] Allow users to import only the private PGP key block 2014-07-01 20:58:34 +02:00
Tankred Hase
049ac96954 Fix signature verification for PGP messages
* Upgrade to OpenPGP.js v0.6.5
* Migrate PGP wrapper for breaking OpenPGP.js api changes
* Change PGP wrapper decrypt api to return one signature arg
* Change emailDao and keychainDao calls respectively
* Fix tests
* Add tests keygen with empty passphrase
* Add tests to check PGP verification with wrong public key
2014-07-01 17:15:16 +02:00
Felix Hammerl
a9cf763bed fix handling of clearsigned messages and missing signatures 2014-06-27 16:19:30 +02:00
Andris Reinman
05553cbff4 Added integration tests for Apple Mail and Thunderbird 2014-06-27 14:16:47 +02:00
Tankred Hase
48c478961d Add CCA scripts and css optimizations for Android
Hide native account picker on Android after first time.

Get OAuth to work on iOS

Turn off css slide transistion
2014-06-26 15:01:13 +02:00
Felix Hammerl
37b1862e9f Merge pull request #79 from whiteout-io/dev/WO-55
Dev/wo 55
2014-06-26 14:58:15 +02:00
Tankred Hase
b5fda88b8a Implement client side key sync protocol and ui 2014-06-25 18:14:33 +02:00
Tankred Hase
c890cbe71d Upgrade to OpenPGP.js v0.6.0 2014-06-25 18:14:29 +02:00
Tankred Hase
5244c5c2d7 Refactor REST dao 2014-06-25 18:12:15 +02:00
Felix Hammerl
3626b4d556 add test for inline images 2014-06-25 15:03:50 +02:00
Tankred Hase
e720753779 Implement setDeviceName and generateDeviceSecret 2014-06-23 17:21:03 +02:00
Tankred Hase
4880c162f8 Fix paths to unit 2014-06-23 17:21:02 +02:00
Tankred Hase
1e8894abe6 Rename new-unit to unit under test 2014-06-23 17:21:02 +02:00
Tankred Hase
a810fb06d1 Delete old qunit test directory 2014-06-23 17:21:02 +02:00
Tankred Hase
18d1c39b0a Implement and test crypto module 2014-06-23 17:21:02 +02:00
Felix Hammerl
fa1fbda11f [WO-429] minor refactoring to fix the tests 2014-06-23 13:03:56 +02:00
Tankred Hase
b7a4c13766 Parse multiple user IDs for imported PGP keys
Use all pgp (sub) keys when en/decrypting a pgp message

Improve input validation for key import

Mark manually imported keys so that key refresh does not revoke them
2014-06-18 16:29:22 +02:00
Andris Reinman
20f12f042b [WO-295] email-dao integration tests 2014-06-17 12:56:31 +02:00
Tankred Hase
2592b35e4c Fix tests 2014-06-04 18:38:07 +02:00
Felix Hammerl
a29ece8c82 [WO-398] update revoked public keys 2014-06-03 13:07:11 +02:00
Felix Hammerl
c71e1482c9 add documentation to email dao 2014-06-03 12:30:51 +02:00
Felix Hammerl
77e5e2a97e [WO-373] refactor sync
remove email-sync.js
remove delta sync
minor refactorings
2014-06-02 12:43:53 +02:00
Andris Reinman
b9fc1c8244 [WO-399] Handle reply-to, in-reply-to and references headers 2014-05-21 15:19:18 +03:00
Felix Hammerl
e25617134b [WO-376] disable secure sending when bcc is used 2014-05-16 13:09:55 +02:00
Felix Hammerl
48b394f3bd [WO-390] include attachments in forwarded message 2014-05-14 17:29:27 +02:00
Felix Hammerl
e54daf1fd7 fix tests 2014-05-13 16:43:39 +02:00
Tankred Hase
e6de5366c9 Merge pull request #61 from whiteout-io/dev/WO-383
[WO-383] decrypt pgp/inline
2014-05-13 16:32:07 +02:00
Tankred Hase
c0a6514a13 Merge pull request #60 from whiteout-io/dev/WO-382
[WO-382] Lazy loading for attachments
2014-05-13 16:28:49 +02:00
Felix Hammerl
8767ccda3b [WO-383] decrypt pgp/inline 2014-05-13 13:13:36 +02:00
Felix Hammerl
1795f2af45 [WO-382] Lazy loading for attachments 2014-05-12 22:07:29 +02:00
Felix Hammerl
79f71d5185 [WO-284] delete mails to trash folder 2014-05-12 15:16:54 +02:00
Tankred Hase
99edcee93b Show decrypting/parsing errors in mail reader 2014-05-12 13:44:02 +02:00
Felix Hammerl
a7efdf1125 [WO-286] adapt to changes in data model for use of signed msgs and html 2014-05-09 11:44:14 +02:00
Felix Hammerl
49cadecd2d [WO-338] add notification for incoming unread mails 2014-04-29 17:59:17 +02:00
Tankred Hase
77876f5432 [WO-198] Style message replies with different colors 2014-04-28 22:18:34 +02:00
Tankred Hase
433cc58d0b Fix tests for ui/css changes 2014-04-24 16:45:09 +02:00
Tankred Hase
becff37b4b [WO-233] Implement opt-in for terms of service 2014-04-15 17:43:33 +02:00
Tankred Hase
aee532da44 [WO-296] implement change passphrase ui 2014-04-11 18:39:13 +02:00
Tankred Hase
67939a04d9 [WO-302] fix first message not selected 2014-04-04 19:48:51 +02:00
Tankred Hase
2ab1e7d6c6 update to openpgp.js v0.5.1 2014-04-03 17:51:26 +02:00
Tankred Hase
302fc378fb [WO-281] implement reply all and forward 2014-04-02 19:47:50 +02:00
Tankred Hase
a2f3e86545 [WO-300] Wrap chrome notifications and identity apis in modules 2014-04-02 15:12:52 +02:00
Tankred Hase
f8e0c90b5b fix tests 2014-03-31 21:42:37 +02:00
Tankred Hase
f3b3a4b496 Add PGP api for changing a user's passphrase 2014-03-31 21:42:37 +02:00
Tankred Hase
05caa5826a [WO-298] integrate openpgp.js v0.5.0 2014-03-31 16:53:19 +02:00
Tankred Hase
961a82c416 [WO-267] move sync code into its own module 2014-03-14 12:42:36 +01:00
Tankred Hase
a0b1de36dc Merge pull request #37 from whiteout-io/dev/remove-check-invitation
remove unused #check api
2014-03-12 17:04:04 +01:00
Tankred Hase
4d2f56b20b always load visible bodies on successful sync 2014-03-12 17:02:41 +01:00
Felix Hammerl
9367ba4f25 remove unused #check api 2014-03-12 16:57:14 +01:00
Tankred Hase
431ae8cd89 [WO-277] load body on incoming message 2014-03-12 13:20:03 +01:00
Felix Hammerl
9ff7f4e10a cover corner case when emailAdress is undefined 2014-03-11 18:27:02 +01:00
Felix Hammerl
33205ff4d9 rename devicestorage for clarity 2014-03-11 18:15:33 +01:00
Felix Hammerl
1ad8a2da46 wire up the update handler 2014-03-11 17:49:47 +01:00
Felix Hammerl
72794971da fix error in tests 2014-03-11 16:57:14 +01:00
Felix Hammerl
aa7827554b introduce update-handler 2014-03-11 16:06:19 +01:00
Tankred Hase
81001ed193 add input verification for public key import 2014-03-10 18:30:06 +01:00
Tankred Hase
a8c9984524 [WO-185] implement contacts ui to import external public keys 2014-03-10 17:46:00 +01:00
Tankred Hase
6c8773827a increase timeout for pgp tests 2014-03-07 14:55:36 +01:00
Tankred Hase
6b67995d40 Merge pull request #32 from whiteout-io/dev/improve-verification
make verification mail handling more resilitent
2014-03-07 13:05:05 +01:00
Tankred Hase
8d8003116c Merge pull request #33 from whiteout-io/dev/outbox-date
add date to outbox
2014-03-07 12:30:02 +01:00
Tankred Hase
1b94e7b5ce [WO-184] implement support for importing an existing pgp key 2014-03-07 12:13:18 +01:00
Felix Hammerl
cac0086627 add date to outbox 2014-03-06 18:02:05 +01:00
Felix Hammerl
49f069a2c2 make verification mail handling more resilitent 2014-03-06 17:13:36 +01:00
Tankred Hase
cab463b31b remove jquery from codebase 2014-03-03 17:06:28 +01:00
Tankred Hase
220a112091 fix tests 2014-02-28 16:06:38 +01:00
Tankred Hase
3d6a4698ce invite user when clicking on red address label 2014-02-28 16:06:19 +01:00
Felix Hammerl
69a222e46a remove [whiteout] filters 2014-02-27 18:31:42 +01:00
Felix Hammerl
37d4a74aa3 remove pgpmailer.login() 2014-02-27 17:42:10 +01:00
Tankred Hase
86c0f04973 Merge pull request #25 from whiteout-io/dev/offline-bug
Dev/offline bug
2014-02-25 20:50:53 +01:00
Felix Hammerl
3f1aea5ebb integrate mailreader 2014-02-25 19:18:37 +01:00
Tankred Hase
a343061a9f upgrade to openpgp.js 0.4.1 2014-02-25 19:13:13 +01:00
Felix Hammerl
3d2fdc7f8c inject pgpbuilder 2014-02-25 17:29:12 +01:00
Felix Hammerl
debb06c943 add unit test for syncOutbox 2014-02-25 15:10:29 +01:00
Felix Hammerl
341fb008ea fix write controller test 2014-02-25 14:58:55 +01:00
Felix Hammerl
8d0bc279c3 fix outbox and minor clean ups 2014-02-25 14:58:55 +01:00
Felix Hammerl
b13b077624 do not use synchronous JSON.parse for potentially large objects 2014-02-25 14:58:55 +01:00
Felix Hammerl
dc59febb8d remove angular properties from mail dto 2014-02-25 14:56:53 +01:00
Felix Hammerl
21428d77ec do not write angular polluted dto to disk 2014-02-24 18:28:14 +01:00
Tankred Hase
b093b069f6 review mail-list 2014-02-20 15:42:51 +01:00
Felix Hammerl
6a8bb527fc fix bug when uid smaller than max uid in memory exists on imap 2014-02-20 11:34:55 +01:00
Felix Hammerl
8973c3e2b3 exclude outbox from normal workflow 2014-02-18 17:05:51 +01:00
Felix Hammerl
250aa4b886 adapt ui to async content fetching 2014-02-17 18:20:58 +01:00
Felix Hammerl
0e9f68abee change api of emaildao to load bodies on demand 2014-02-17 18:20:58 +01:00
Tankred Hase
ed63c6b436 fix tests 2014-02-17 16:12:22 +01:00
Felix Hammerl
23242a9112 remove commented lines 2014-02-17 15:46:48 +01:00
Tankred Hase
1da5c68fd1 [WO-237] integrate web worker support for pgp 2014-02-14 16:18:21 +01:00
Felix Hammerl
f22c57b750 remove pgp signature from attachments 2014-02-07 09:23:38 +01:00
Felix Hammerl
6cd57fa0f6 fix tests 2014-02-06 11:55:36 +01:00
Tankred Hase
d1cfdbd321 Merge branch 'dev/attachments' into dev/attachments-ui 2014-02-03 19:27:38 +01:00
Tankred Hase
bb76252db7 fix tests 2014-02-01 14:56:49 +01:00
Tankred Hase
9568922bc4 [WO-207] implement accout selection 2014-01-27 21:31:23 +01:00
Tankred Hase
6676e7bc01 upgrade to openpgp.js v0.3.0 2014-01-24 13:26:29 +01:00
Felix Hammerl
e02c250ea8 do not try to send when offline 2014-01-20 11:03:01 +01:00
Tankred Hase
7bede604c6 [WO-201] fix address input for multiple recipients in writer 2014-01-19 16:18:32 +01:00
Felix Hammerl
0d1f0000de add pgp parsing capability 2014-01-18 11:42:28 +01:00
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
0dc1cc68bc fix tests 2014-01-14 16:11:59 +01:00
Tankred Hase
9bb70fac5d fix email dao tests 2014-01-14 13:26:23 +01:00
Felix Hammerl
e62e085771 Merge remote-tracking branch 'origin/dev/security-review' 2014-01-09 12:12:44 +01:00
Tankred Hase
7824ed396c implement passphrase quality indicator on initial login 2014-01-08 19:54:02 +01:00
Felix Hammerl
afda794bc4 [WO-192] dont fail unnecessary when encountering a potentially malicious uuid 2014-01-08 16:04:18 +01:00
Felix Hammerl
7d0fc373ab [WO-183] key file export now proposes file name whiteout_mail_foo@bar.com_KEYIDKEYID.asc 2014-01-07 19:23:03 +01:00
Tankred Hase
df34db590b Merge remote-tracking branch 'origin/dev/sliding-window-sync' 2013-12-12 14:27:20 +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
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
544fae4aad fix signature bug in openpgp.js and integrate into pgp module 2013-12-05 23:23:32 +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
f721b06bb4 sync answered flag after sending 2013-12-05 18:50:03 +01:00
Tankred Hase
3700e211ec fix signature verfication by formatting newlines before encryption 2013-12-05 18:30:10 +01:00
Felix Hammerl
b4115ed879 fix unread and answered flags are updated 2013-12-05 18:28:18 +01:00
Felix Hammerl
f3ef8fdf91 fix wrong api usage in login initial controller 2013-12-05 16:58:26 +01:00
Tankred Hase
8a6a146225 Merge branch 'dev/pgp-signature' 2013-12-05 16:28:34 +01:00
Tankred Hase
1fb092a79d add tests 2013-12-05 15:22:44 +01:00
Tankred Hase
76b2b90e0e check PGP signature and throw an error if verification fails 2013-12-05 13:06:32 +01:00
Tankred Hase
b6de172777 Merge remote-tracking branch 'origin/dev/email-dao-refactoring' 2013-12-04 17:56:39 +01:00
Felix Hammerl
f9c196e2ee remove [whiteout] tag from plain text messages 2013-12-04 17:56:01 +01:00
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