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

403 Commits

Author SHA1 Message Date
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
093f9a58e8 move gmail folders to app-config 2013-10-02 13:11:18 +02:00
Tankred Hase
abaeaec54c implement folder list and selection 2013-09-30 21:22:46 +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
7eb885c679 sync imap on footer click 2013-09-28 16:08:12 +02:00
Tankred Hase
03075942ed add scrolling to mail list and add footer 2013-09-27 17:48:21 +02:00
Tankred Hase
791c318c8f get 100 last messages on sync 2013-09-27 17:10:11 +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
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
a3849af57f integrate imap-client master with webworker stuff merged 2013-09-20 18:42:47 +02:00
Tankred Hase
9951a259a4 removed copied files from crypto lib 2013-09-19 20:04:26 +02:00
Tankred Hase
7b532f780c integrated imap-client amd branch 2013-09-19 18:35:12 +02:00
Tankred Hase
5f4c923a09 integrate imap client 2013-09-19 15:41:21 +02:00
Tankred Hase
4912e35762 tweak animation timing and fix typography and layout bugs 2013-09-19 12:36:57 +02:00
Tankred Hase
63641e52a7 imported write view 2013-09-18 22:05:51 +02:00
Tankred Hase
02fcb18121 implement read view 2013-09-18 20:45:58 +02:00
Tankred Hase
18d82aca49 use dummy data in chrome app 2013-09-18 18:52:00 +02:00
Tankred Hase
f4f4ce394e refactor desktop layout to use modular views with one controller for each view 2013-09-18 18:47:18 +02:00
Tankred Hase
3f9c3f7e48 render logo and navigation correctly 2013-09-18 16:03:51 +02:00
Tankred Hase
45f9b07bb0 integrate desktop navigation slider 2013-09-17 19:11:30 +02:00
Tankred Hase
ac7329fcfa integrate crypto lib update 2013-09-16 14:53:48 +02:00
Tankred Hase
d02f61b4a8 upgrade to forge 0.2.6 2013-09-15 22:35:59 +02:00
Tankred Hase
dc7feaa80a fix and cleanup encrypted message parsing 2013-09-15 19:00:35 +02:00
Tankred Hase
1e5be28bf7 wire emailDao.smtpSend to write view 2013-09-15 17:05:37 +02:00
Tankred Hase
836456f0d0 init app controller centrally before login 2013-09-15 16:24:14 +02:00
Tankred Hase
dd458c719a update app.config invokation in crypto 2013-09-15 15:17:28 +02:00
Tankred Hase
fc6618b443 refactor config strings to be maintained centrally 2013-09-15 15:13:19 +02:00
Tankred Hase
4ad311929b integrate crypto lub patches 2013-09-15 14:18:16 +02:00
Tankred Hase
74f52ef52c implement inputs for address headers in write 2013-09-14 18:20:25 +02:00
Tankred Hase
0693c38532 fix subject text input font 2013-09-14 15:55:30 +02:00
Tankred Hase
65e276fc97 fix editot parsing 2013-09-14 14:23:46 +02:00
Tankred Hase
a919081e75 implemented write and encrypted preview 2013-09-13 14:11:47 +02:00
Tankred Hase
89c49ed939 implement encrypted preview 2013-09-12 17:22:17 +02:00
Tankred Hase
60d76476e5 started writer 2013-09-12 13:36:40 +02:00
Tankred Hase
433a151207 display email address in from header if name is not set 2013-09-12 00:28:24 +02:00
Tankred Hase
badfd6f87b fix dummymails in chrome 2013-09-12 00:04:36 +02:00
Tankred Hase
4280de30c8 check chrome app or use demo data 2013-09-11 23:50:20 +02:00
Tankred Hase
fa5c43d7cf demo data works again too 2013-09-11 23:33:13 +02:00
Tankred Hase
cb8314f9d0 displaying inbox message list works 2013-09-11 23:31:08 +02:00
Tankred Hase
3aac73ef2e add write view code 2013-09-11 22:11:26 +02:00
Tankred Hase
1974c19a55 open new window for write view 2013-09-11 21:01:05 +02:00
Tankred Hase
4bd757acde added attachment icon to message list 2013-09-11 19:50:34 +02:00
Tankred Hase
88b12aa2bf styled plain read view 2013-09-11 15:19:18 +02:00
Tankred Hase
2dfe0cac0d add default route 2013-09-07 00:34:36 +02:00
Tankred Hase
059b5a3762 created module,view architecture 2013-09-06 18:34:36 +02:00
Tankred Hase
2776c6087a fix ci 2013-09-05 15:45:00 +02:00
Tankred Hase
0f8d72dbfb add dummy mail generate again for design 2013-09-05 11:53:14 +02:00
Tankred Hase
e93407f478 add moment to format date 2013-09-05 10:59:55 +02:00
Tankred Hase
6d3f7dcd47 removed backbone views 2013-09-04 21:23:12 +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
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