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

340 Commits

Author SHA1 Message Date
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
04e672552b cleanup web worker callback code to use options argument 2013-08-31 16:29:18 +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
710fc7ea4a works 2013-08-30 22:21:28 +02:00
Tankred Hase
95d51b9bec updated util 2013-08-30 19:01:48 +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
a2f59b06e5 list last 10 message from imap instead of 10 first 2013-08-27 17:24:54 +02:00
Tankred Hase
b3bc120c4d add filepicker support for sending attachments 2013-08-26 16:25:13 +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
cb52217529 changed order of listed items 2013-08-22 12:15:02 +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
e57ae0282f listing folders in ui works 2013-08-20 18:27:12 +02:00
Tankred Hase
898a934291 implement list folders in controller and dao 2013-08-20 17:22:08 +02:00
Tankred Hase
4d861d7f81 started testing app controller 2013-08-20 15:19:13 +02:00
Tankred Hase
39c0215657 send email in app works 2013-08-20 13:45:56 +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
9b6ea304f7 fetching email address from tokeninfo oauth endpoint works 2013-08-16 23:58:36 +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
f164d28211 changed link in signature 2013-07-02 12:06:44 +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
09a104ce80 update crypto lib 2013-06-26 11:05:23 +02:00
Tankred Hase
b5912a1515 merged crypto lib changes 2013-06-25 16:45:29 +02:00
Tankred Hase
9f2096c8e3 changed icons and app manifests 2013-06-23 15:30:19 +02:00
Tankred Hase
a4790cf1bb changes cloud storage endpoint to ssl 2013-06-13 13:46:28 +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
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
07325b8ed0 refactored cloudstorage dao 2013-06-10 20:10:39 +02:00
Tankred Hase
019c23b511 moved html main js files to src 2013-06-10 20:00:14 +02:00
Tankred Hase
e8329872ec started refactoring for requirejs 2013-06-10 17:57:33 +02:00
Tankred Hase
16f0c5aca6 bumped chrome app to 0.0.2, ask user name at login 2013-06-09 12:50:16 +02:00
Tankred Hase
1491e9fd1d removed unnecessary email model code 2013-06-06 22:05:37 +02:00
Tankred Hase
9842a060ad removed email model code from send email 2013-06-06 21:44:54 +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
15008a23e9 added unsandboxed mobile.html version for ios 2013-06-06 15:00:51 +02:00
Tankred Hase
b46c281715 moved controller code out of window-loader 2013-06-06 13:34:22 +02:00
Tankred Hase
4e6977fa1d rendering mail content in 2nd sandboxed iframe works 2013-06-05 18:02:07 +02:00
Tankred Hase
32cc6b10e8 rendering mail content in 2nd sandboxed iframe works 2013-06-05 18:02:00 +02:00
Tankred Hase
e2e5f11c8e read and reply work 2013-06-05 03:12:18 +02:00
Tankred Hase
3e7af24697 implemented get Email post message 2013-06-05 02:50:56 +02:00
Tankred Hase
da3dc17cb4 composing and sending email works 2013-06-05 02:33:49 +02:00
Tankred Hase
f2a14ad65b refactoring of crypto worker code and lots of cleanup 2013-06-05 01:47:28 +02:00
Tankred Hase
622e787ba7 syncing and listing emails in messagelist works. Great refactoring and cleanup of postmessage code 2013-06-05 01:10:09 +02:00
Tankred Hase
e26a8df294 login and logout work 2013-06-04 23:19:02 +02:00
Tankred Hase
71d6d6c799 started refacrtoring for sandboxed iframe 2013-06-04 21:36:13 +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
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
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
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
a3ff4c48c1 integrated senderPk signature check 2013-05-24 00:14:02 +02:00
Tankred Hase
dbb25162fa added keychain dao and started impl 2013-05-23 23:45:26 +02:00
Tankred Hase
5c1b89dfc9 added error handling in lawnchair dao 2013-05-23 23:12:38 +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
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
8326e21b1b added private key model 2013-05-19 01:36:01 +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
4a080eed26 added git submodule deps in npm 2013-05-16 16:54:56 +02:00
Tankred Hase
0e4c09ebdf added unique id to rsa signature 2013-05-15 14:14:08 +02:00
Tankred Hase
838fc0396f refactoring and cleanup of crypto batch lib 2013-05-15 13:47:49 +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
98a4b8cfec refactored worker code... all asym and sym batch encryption is done in a worker 2013-05-15 13:11:08 +02:00
Tankred Hase
fcf64569b2 refactored crypto for user to use RSA encrypt/sign 2013-05-15 12:26:32 +02:00
Tankred Hase
413a99a04f removed redundant keypair reference in crypto 2013-05-14 20:49:33 +02:00
Tankred Hase
c9c53598e8 started refacroting crypto 2013-05-14 20:28:12 +02:00
Tankred Hase
1b95066e12 crypto cleanup of for loops using forEach 2013-05-14 19:11:16 +02:00
Tankred Hase
b25b5256d6 cleanup comments 2013-05-14 18:52:41 +02:00
Tankred Hase
956e184574 added utf-16 support for rsa crypto 2013-05-14 18:48:13 +02:00
Tankred Hase
d2e59c7f32 used utf-16 string as input for aes crypto and cleaned up code 2013-05-14 18:38:24 +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
d59077dedd removed sjcl dependencies from code 2013-05-14 14:37:31 +02:00
Tankred Hase
c89569fabd refactored crypto api to use forge cbc mode instead of sjcl 2013-05-14 14:05:14 +02:00
Tankred Hase
3e12c7eae6 inject forge as dependency 2013-05-14 13:43:52 +02:00
Tankred Hase
0a6ae5d599 removed hmac integrify check during cbc encryption 2013-05-14 13:40:58 +02:00
Tankred Hase
4d47a3cdec swapped crypto'js cbc impl for forge 2013-05-14 12:49:27 +02:00
Tankred Hase
2b50bc2308 replaced pbkdf2 impl with forge 2013-05-14 12:01:51 +02:00
Tankred Hase
8f0b698d27 added exception handling for password/login 2013-05-07 15:10:51 +02:00
Tankred Hase
61d97ab145 bugfix detect html in reply 2013-05-06 10:56:15 +02:00
Tankred Hase
d2565df871 bugfix email validation 2013-05-04 15:28:10 +02:00
Tankred Hase
ebbb16866a prefill compose view for replying works 2013-05-04 15:08:54 +02:00
Tankred Hase
7e137549d0 changed html and text view 2013-05-04 13:02:17 +02:00
Tankred Hase
b1bc03b74b Sending email from client works 2013-05-03 16:09:13 +02:00
Tankred Hase
eda008258d implemented send email in client email dao and it test 2013-05-02 18:49:22 +02:00
Tankred Hase
6177b40f1b moved nacl key derivation to web worker 2013-04-29 15:10:27 +02:00
Tankred Hase
e10759f7f4 minor cleanup 2013-04-29 11:59:34 +02:00
Tankred Hase
669d8002d2 deleting vinbox item after sync works 2013-04-23 16:35:01 +02:00
Tankred Hase
e5ed9c708c automatically push encrypted secret key to cloud if none exists 2013-04-23 15:30:43 +02:00
Tankred Hase
b2a8f2926f fixed bug when offline 2013-04-19 20:47:30 +02:00
Tankred Hase
4833169863 integrated nacl crypto and aws sync into client app 2013-04-19 19:52:04 +02:00
Tankred Hase
9dec074b0c pull from vinbox, reencrypt, push to inbox works 2013-04-19 19:13:27 +02:00
Tankred Hase
65e0a7d520 user keypair is now derived on email dao init and pub key pushed to the cloud 2013-04-19 16:38:32 +02:00
Tankred Hase
e943dfd304 implemented public key cloud storage methods 2013-04-19 13:55:21 +02:00
Tankred Hase
f4ed6010e6 cleanup model code 2013-04-19 11:45:53 +02:00
Tankred Hase
ba376d166e migrated cloudstorage to use aws service 2013-04-18 20:34:02 +02:00
Tankred Hase
32a52ad6e7 nacl module now checks window and document instead of importscripts 2013-04-12 12:27:47 +02:00
Tankred Hase
6a9f2c00be cleanup nacl worker 2013-04-11 16:37:39 +02:00
Tankred Hase
3d5ab5db5f moved nacl web worker code to nacl-crypto and added synchronous impl 2013-04-11 15:02:24 +02:00
Tankred Hase
bcaafe0f48 added ID to nacl keypair 2013-04-11 11:52:48 +02:00
Tankred Hase
73048a31b2 cleanup nacl 2013-04-11 09:46:22 +02:00
Tankred Hase
0b37b40417 nacl-crypto cleanup 2013-04-10 19:14:48 +02:00
Tankred Hase
3f82fdf960 cleaned up web worker code 2013-04-10 17:14:19 +02:00
Tankred Hase
edf78bc1af webworker support for js-nacl works 2013-04-10 17:09:39 +02:00
Tankred Hase
6841bd538c implemented wrapper for symmetric nacl encryption 2013-04-10 10:51:03 +02:00
Tankred Hase
668f768a63 updated date parsing in util and cleaned up webserver 2013-04-07 23:16:03 +02:00
Tankred Hase
1f3c91f1d3 nacl is now injected as a dependecy into nacl-crypto 2013-04-05 18:38:14 +02:00
Tankred Hase
2d37e8f3f7 finished nacl impl and tests 2013-04-05 17:56:47 +02:00
Tankred Hase
21aad0afb2 made util, nacl and aes crossplatform 2013-04-05 17:43:41 +02:00
Tankred Hase
84c9abcd36 removed base64 decoding in email model 2013-04-05 17:11:32 +02:00
Tankred Hase
104bc734f6 created portable version of util 2013-04-05 16:51:47 +02:00
Tankred Hase
e1c8866afe merged master/ecc into nacl 2013-04-05 12:40:58 +02:00
Tankred Hase
ec0685829e implemented asymmetric nacl crypto and unit test 2013-04-04 21:36:29 +02:00
Tankred Hase
ea34d17c21 Merge branch 'master' into nacl 2013-04-04 18:40:14 +02:00
Tankred Hase
7f32edc488 Merge branch 'master' into ecc 2013-04-04 18:39:49 +02:00
Tankred Hase
8c7a464fc8 bugfix util 2013-04-04 18:39:22 +02:00
Tankred Hase
b72b329abb updated sjcl and tested ecc 2013-04-04 16:39:13 +02:00
Tankred Hase
ba055022c9 started nacl unit tests 2013-04-04 14:28:07 +02:00
Tankred Hase
ef54dc3aae cleanup strict mode function placement 2013-04-02 15:02:57 +02:00
Tankred Hase
5c0e04cc31 refactored all files to use functional strict scope 2013-04-02 00:12:15 +02:00
Tankred Hase
5ee864fe01 refactored folder structure 2013-04-01 23:23:25 +02:00
Tankred Hase
5abd9c1c31 made display of date prettiert in item list 2013-03-22 13:26:39 +01:00
Tankred Hase
b6f85f9719 added date time to lawnchair keys for easy sorting 2013-03-22 12:46:56 +01:00
Tankred Hase
02076cff40 moved ordering of emails to list view instead of email dao 2013-03-21 21:58:56 +01:00
Tankred Hase
7758b144dc cleanup 2013-03-21 20:28:10 +01:00
Tankred Hase
5b98cd692a sort emails by sent date when fetching them from the data-store 2013-03-21 20:18:03 +01:00
Tankred Hase
34a84a6b9d update err message 2013-03-20 18:22:49 +01:00
Tankred Hase
7b2751ed9b app now still works if no internet connection is there 2013-03-20 18:20:08 +01:00
Tankred Hase
a20df131d1 bugfix syncing empty list from cloud 2013-03-19 17:04:26 +01:00
Tankred Hase
1219f9ecab bugfix fetching an empty list in ie and firefox 2013-03-19 16:47:55 +01:00
Tankred Hase
3fbcc26035 sandboxed iframe and escaping of html in templates works 2013-03-18 18:23:51 +01:00
Tankred Hase
6accc270f4 went vmousedown for all items instead of scrollable lists 2013-03-14 21:21:16 +01:00
Tankred Hase
4a09a6da60 cleanup 2013-03-13 18:29:57 +01:00
Tankred Hase
95cbe554bd initial commit 2013-03-13 16:58:46 +01:00