Commit Graph

454 Commits

Author SHA1 Message Date
Tankred Hase 7a20049bbc Use module.exports instead of exports 2014-10-15 19:16:18 +02:00
Tankred Hase c36cd069e0 WIP: begin browserify build 2014-10-15 19:16:18 +02:00
Tankred Hase bedb69973c [WO-587] implement user logout 2014-09-26 19:14:53 +02:00
Tankred Hase f66fbf592c Fix error msg in focus-me for non-textarea inputs 2014-09-26 17:50:18 +02:00
Tankred Hase 0613016581 Remove chrome.filesystem and use only standard apis 2014-09-24 12:46:19 +02:00
Tankred Hase 3bfc3ad66b Merge pull request #131 from whiteout-io/dev/reader-zoom-to-fit
Zoom to fit content in read view
2014-09-23 18:01:48 +02:00
Felix Hammerl 77e0377fd1 [WO-563] Introduce connection doctor
* Uses predefined error messages from the config
* Show error and underlying error in login screen
2014-09-23 16:21:12 +02:00
Felix Hammerl b6608a1c4d [WO-578] Fix downloads in browser with W3C API 2014-09-23 14:57:21 +02:00
Mario Volke d93ee3be5d Merge branch 'master' into dev/reader-zoom-to-fit 2014-09-23 12:10:39 +02:00
Mario Volke 3156a20664 fix jshint 2014-09-23 12:09:00 +02:00
Mario Volke 320686f590 trigger read content scaling on window resize 2014-09-23 12:06:18 +02:00
Mario Volke 3ec9597371 fit to scale container width in read view 2014-09-22 17:33:06 +02:00
Tankred Hase 74f6b3312e [WO-598] Replace contentEditable in writer with textarea 2014-09-22 15:28:22 +02:00
Tankred Hase f3ad08b066 Fix scope apply causing rendering error in login controller 2014-09-22 14:19:06 +02:00
Tankred Hase 513d29ad79 Strip spaces from phone number 2014-09-22 13:15:45 +02:00
Tankred Hase 1311cd1c5e Firefox App and AppCache
* Add app manifest for firefox packaged app
* Ask user to reload when appcache is updated
* Fix boxshadow on all inputs and textareas
* Fix AppCache for Firefox
* Move Chrome App update code to updatehandler
2014-09-21 03:25:53 +02:00
Tankred Hase d1308aa14c Add SMS validation 2014-09-19 18:59:13 +02:00
Tankred Hase 7c7d650cf2 [WO-577]: implement wmail account creation 2014-09-19 14:58:04 +02:00
Tankred Hase d31c8a69e6 Update to fixed crypto-lib 2014-09-18 14:59:35 +02:00
Felix Hammerl d66890211a use uppercase recovery token 2014-09-18 14:42:53 +02:00
Tankred Hase 7497268c7a Allow only 6 chars in recovery token ui 2014-09-17 16:30:00 +02:00
Tankred Hase ba9770b495 Merge branch 'master' of github.com:whiteout-io/mail-html5 2014-09-17 15:51:58 +02:00
Tankred Hase d365de4e5b Use crypto-lib util function for keychain code generation 2014-09-17 15:51:32 +02:00
Tankred Hase 0aff411c3f Merge pull request #112 from whiteout-io/dev/WO-531
[WO-531] introduce option to query key w/o starting recovery
2014-09-17 15:05:26 +02:00
Felix Hammerl 86a87e26b8 [WO-565] Improve notifications
* Introduce 2 sec timeout for sent notifications
* Notify only for new messages in the inbox
* Close pending notes when a msg is marked unread in the inbox
2014-09-17 13:29:51 +02:00
Tankred Hase 487bb31d45 [WO-592] implement webmail using socket.io
* Relax CSP to allow iframe assets to load
* Integrate socket.io proxy
* go to /# when controllers not initiated
* Add offline caching using AppCache manifest
2014-09-16 17:40:03 +02:00
Felix Hammerl efdc78fc75 Merge pull request #121 from whiteout-io/dev/WO-285
Dev/wo 285
2014-09-16 12:14:18 +02:00
Tankred Hase a600aaea87 Bind email addresses in pgp keychain to autocomplete 2014-09-15 19:22:44 +02:00
Mario Volke 165eef0ee1 fix jshint in write.js 2014-09-15 17:10:28 +02:00
Mario Volke 196fa974bc refactored write view to utilize ngTagsInclude in preperation for auto complete feature 2014-09-15 16:56:25 +02:00
Tankred Hase 50f0bf951e Skip setting passphrase in setup 2014-09-15 14:26:12 +02:00
Felix Hammerl 04b6c8b033 [WO-491] Add Web.de support 2014-09-11 13:41:20 +02:00
Felix Hammerl 54e733b24d [WO-491] Add GMX.net support 2014-09-11 13:41:20 +02:00
Felix Hammerl a3d87c7da8 [WO-491] Allow STARTTLS, add Outlook.com
* Change UI to choose encryption type TLS/STARTTLS/None
* Change adapt login controller to STARTTLS changes
* Add Outlook.com to providers
2014-09-11 13:41:20 +02:00
Felix Hammerl ec5edff626 [WO-531] introduce option to query key w/o starting recovery 2014-09-02 13:26:51 +02:00
Tankred Hase 0e21616911 Cleanup bug reporter button 2014-08-12 18:40:48 +02:00
Felix Hammerl 275a602274 [WO-490] add bug reporting to error dialog 2014-08-12 17:52:47 +02:00
Tankred Hase 14624c877e Add server.js for potential selfhosting 2014-08-12 17:09:18 +02:00
Tankred Hase ceb1d2a69c Fix validation buf in read.js 2014-08-05 19:16:37 +02:00
Felix Hammerl 7adc095277 [WO-515] Fix folder handling
Use the first folder provided in well known folders

Add migration script to fix clients with multiple folders for same
category

Handle folder deletion smarter

Extract some magic number/strings to constants in emaildao
2014-08-05 18:38:09 +02:00
Tankred Hase eb0002c8d5 Fix reader 2014-08-05 14:10:21 +02:00
Tankred Hase aa22878033 Fix reader on empty body 2014-08-05 14:05:07 +02:00
Felix Hammerl d278afb253 Merge pull request #104 from whiteout-io/dev/WO-498
[WO-498] Add newsletter signup
2014-08-04 18:30:55 +02:00
Tankred Hase 9e1a402b94 Set back button event in navigation.js 2014-08-04 15:53:55 +02:00
Tankred Hase 6ce1f2361a [WO-498] Add newsletter signup 2014-08-01 19:01:16 +02:00
Tankred Hase e8c45cc83f Fix bug where changing passphrase back to empty string blocked keygen 2014-07-31 20:28:38 +02:00
Tankred Hase e19d8a4e5b [WO-462] Rework login workflow
* Make keygen and import possibilities clearer in login-initial
* Show spinner when generating key
* Use mobile design (wide buttons) everywhere
* Show info about key-sync in login-new-device (for mobile users)
* remove info popovers in login screens
* allow keyfile import even when keysync has been activated
2014-07-31 19:27:22 +02:00
Tankred Hase 746c06e24a Link PGP key in plaintext suffix 2014-07-29 16:02:05 +02:00
Tankred Hase 679d7987c4 Change wo-touch to work on new webview 2014-07-23 19:37:37 +02:00
Tankred Hase f8f4ee7945 Add validation for privatekey-upload directive 2014-07-23 17:13:38 +02:00
Tankred Hase aed2a5ec14 Add _auth.storeCredentials again to login-existing 2014-07-23 17:11:33 +02:00
Tankred Hase a137bf5bfd Merge pull request #94 from whiteout-io/dev/WO-421
Dev/wo 421
2014-07-23 13:55:36 +02:00
Tankred Hase 22d42358e4 Say no to drugs 2014-07-23 13:54:50 +02:00
Felix Hammerl 3e80138a10 [WO-188][WO-421] introduce password-based login
* add custom login ability
* encrypt email password
* allow arbitrary tcp connections
* add db migration script v3 -> v4
* add bug reporting capability with the axe logger
* fix nonexistent folder handling
* enable message upload after sent
* use plain text alternative body when replying to html mails
* Move set-credentials.* -> login-set-credentials.*
* Use login styles for set-credentials
* Make OAuth optional
2014-07-23 13:51:10 +02:00
Tankred Hase 2c3347bf84 Merge pull request #97 from whiteout-io/dev/WO-465
[WO-465] clear input
2014-07-23 10:41:23 +02:00
Felix Hammerl a9db71a8b9 [WO-465] clear input 2014-07-22 21:32:11 +02:00
Felix Hammerl 10d19b5816 [WO-464] jump to the next keychain code and allow paste 2014-07-22 21:05:34 +02:00
Tankred Hase 2019f7f657 [WO-448] Do not show reader on first select in mobile mode 2014-07-21 16:05:29 +02:00
Tankred Hase 23298e8f12 [WO-344] Fix delete and backspace events in writer headers 2014-07-21 15:18:56 +02:00
Tankred Hase 3bfbf77ac1 [WO-443] Fix writer bugs
* Fix writer body height in mobile mode
* User input type email in writer headers
* Only show and process encrypted preview for encrypted mails
2014-07-21 14:08:10 +02:00
Tankred Hase 6a0ae4d55d Performance improvements and fixes for mail-list
* Use same list style in desktop as mobile
* Bugfix: don't download all body when list not displayed
* Use ng-infinite-scroll to load DOM nodes on demand
* Custom search filter for FTS and reomve angular filters
* Rubber band scrolling on iOS
* Add CSP support in cordova via html meta tag
2014-07-17 17:43:51 +02:00
Tankred Hase 1d0526a6a0 Render text body in iframe as well
* Remove recursive ng-includes/templates
* Use DOMPurify to sanitize reader input
* Remove ngSanitize
* Wait to show signature error until body has been parsed
* Fix scrollbar in iframe
* Allow iframe scrolling on iOS
* Move mail text body rendering to sandbox
* Cleanup html files
2014-07-16 10:22:45 +02:00
Tankred Hase 66bd88c07f Make public key shareable via link 2014-07-10 20:02:35 +02:00
Tankred Hase 6d044bb1a6 Update write.js 2014-07-02 16:51:18 +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 b20c6977ca [WO-437] Allow users to import only the private PGP key block 2014-07-01 20:58:34 +02:00
Tankred Hase a479d5850e Use custom wo-touch directive rather than ng-click 2014-06-27 12:36:43 +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
Felix Hammerl 0d0b767b36 [WO-409] show images only on user request 2014-06-25 17:20:55 +02:00
Felix Hammerl fb1a20d2b0 [WO-409] render html in sandboxed iframe 2014-06-25 08:17:22 +02:00
Tankred Hase 18d1c39b0a Implement and test crypto module 2014-06-23 17:21:02 +02:00
Tankred Hase df8b74bfb6 Load bodies when changing folder without scrolling 2014-06-23 13:09:09 +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
Tankred Hase e28c9a62ff Cleanup and fix keyboard event handling in editor headers 2014-06-17 19:41:04 +02:00
Tankred Hase c4e2f66172 Fix bug that catches empty string in writer email-header auto-size directice 2014-06-17 17:22:56 +02:00
Tankred Hase 3017c9fb93 Merge pull request #72 from whiteout-io/dev/WO-344
Dev/wo 344
2014-06-17 15:33:44 +02:00
Mario Volke 29dfb9fe7e addressInput directive: prevent race conditions with focusMe directive, prevent loosing focus when hitting space in empty input field 2014-06-17 14:54:06 +02:00
Mario Volke 5a1b9c1af9 refactored addressInput directive in write view to not use stopPropagation 2014-06-17 14:31:03 +02:00
Tankred Hase ec9a87d23a Make slide effect fast on chrome 2014-06-17 12:20:16 +02:00
Tankred Hase 3a59f79223 Fix bugs 2014-06-16 16:18:24 +02:00
Tankred Hase b9a7e3b43c Remove iscroll from require-config 2014-06-16 16:18:24 +02:00
Tankred Hase b5973cc370 Use native scrolling instead of iscroll 2014-06-16 16:18:24 +02:00
Mario Volke 2a1cb893d0 optimized login views for mobile 2014-06-16 15:04:06 +02:00
Tankred Hase 3dc2222050 Change updated flag message 2014-06-10 14:23:51 +02:00
Felix Hammerl a29ece8c82 [WO-398] update revoked public keys 2014-06-03 13:07:11 +02:00
Tankred Hase 088519f4f8 Remove sync keybaord shortcut 2014-06-03 11:48:11 +02:00
Tankred Hase 3a0d71b645 Review code 2014-06-02 17:54:29 +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
Tankred Hase b02df18347 Make links in html clickable 2014-05-13 16:55:47 +02:00
Felix Hammerl 1795f2af45 [WO-382] Lazy loading for attachments 2014-05-12 22:07:29 +02:00
Tankred Hase 99edcee93b Show decrypting/parsing errors in mail reader 2014-05-12 13:44:02 +02:00
Tankred Hase a97c3a35e7 [WO-381] Fix bug that displayed ciphertext instead of plaintext 2014-05-12 13:18:51 +02:00
Tankred Hase 747d9fce39 Fix scroling in iframe in Chrome App 2014-05-09 16:01:44 +02:00
Felix Hammerl f44db9d1bd Merge pull request #57 from whiteout-io/dev/wo-323
Dev/wo 323
2014-05-09 10:24:34 +02:00
Tankred Hase 36c08cdbb1 Remove $parse from frameLoad directive 2014-05-09 10:19:35 +02:00
Tankred Hase c272b4f937 [WO-323] Render HTML content in sandboxed iframe 2014-05-08 16:32:46 +02:00
Tankred Hase 4fc4b02c26 Fix development mode for ui work 2014-05-08 16:25:20 +02:00
Tankred Hase 4da56b6fe7 [WO-371] CC myself if I chose to CC myself 2014-05-07 20:19:20 +02:00
Tankred Hase 5a4889d57d Dont reselect inbox onLogin 2014-04-30 01:20:36 +02:00
Tankred Hase 4cf83fd6f1 Prevent out of bounce case when iterating over filteredMessages 2014-04-29 22:59:25 +02:00
Tankred Hase 404acf9fb0 Resolve merge conflicts 2014-04-29 22:47:08 +02:00
Tankred Hase 1a6cfad83d [WO-353] Fix first messsage not displayed 2014-04-29 22:11:56 +02:00
Tankred Hase 637980cc7b [WO-301] Fix incoming message not displayed 2014-04-29 22:11:50 +02:00
Felix Hammerl 49cadecd2d [WO-338] add notification for incoming unread mails 2014-04-29 17:59:17 +02:00
Tankred Hase f5f8781a8c [WO-343] Remove reply selection on click 2014-04-29 17:09:02 +02:00
Tankred Hase 77876f5432 [WO-198] Style message replies with different colors 2014-04-28 22:18:34 +02:00
Tankred Hase 2d54ee16eb Fix bug in loadVisibleBodies loop 2014-04-24 17:54:14 +02:00
Tankred Hase 2eff335680 Use local () instead of () in certain cases for performance 2014-04-24 15:44:54 +02:00
Tankred Hase 23be9c823d Global key shortcut to close lightbox 2014-04-24 15:04:42 +02:00
Tankred Hase 6bb1bd2239 Fix mail-list filtering and iScroll refresh together with ngAnimate 2014-04-24 15:04:42 +02:00
Tankred Hase c08ff4f287 [WO-333] Fix lightbox outer scrollbar
* Use ng-animate with display:none instead of visibility:hidden
* Fix min-height in lightbox
* Start refactoring lightbox opening code using scope.state.lightbox
2014-04-24 15:04:41 +02:00
Tankred Hase 6adc9da8c1 Cleanup before refactor with ngAnimate
* Add ng-animate module in libs
* Move error dialog init to app.run
* Include error dialog template only once in index.html
* Fix race condition between ng-repeat, ng-class using ng-animate
2014-04-24 15:04:41 +02:00
Tankred Hase fdd9c22144 [WO-312] Fix slowness for large inbox
* Fix memory leak causing iScroll to be re-initialized each time mail-list model changes
* Only do $scope.$apply() when keyboard shortcuts are actually executed
2014-04-24 15:04:41 +02:00
Tankred Hase 138a462862 [WO-283] Implement BCC and dynamic address headers for writer 2014-04-24 15:04:40 +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 bfc354146a only show cc line in forwarded message when not empty 2014-04-05 12:14:20 +02:00
Tankred Hase 67939a04d9 [WO-302] fix first message not selected 2014-04-04 19:48:51 +02:00
Tankred Hase 2f867437ad fix opening links due to blocked event propagation 2014-04-02 20:28:20 +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 f0f0aa3d63 Fix show messages on initial login/folder-sync 2014-03-31 21:42:37 +02:00
Tankred Hase 6ca1ae6507 remove key export dialog after keygen 2014-03-31 21:42:37 +02:00
Tankred Hase 4b5d367fdb Login to IMAP (appcontroller.onConnect) after show mail-list 2014-03-31 21:42:10 +02:00
Tankred Hase 1c877634d1 [WO-297] setting a passphrase is optional 2014-03-31 16:57:55 +02:00
Tankred Hase 483ad5210e [WO-294] optimize mail-list.loadVisibleBodies 2014-03-25 15:19:47 +01:00
Tankred Hase 18cd1e1ffe [WO-247] parse url and create anchors 2014-03-14 19:10:51 +01:00
Tankred Hase 4d2f56b20b always load visible bodies on successful sync 2014-03-12 17:02:41 +01:00
Tankred Hase 431ae8cd89 [WO-277] load body on incoming message 2014-03-12 13:20:03 +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 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
Tankred Hase 09999f991a fix strings and dont add signature to invitation email 2014-03-05 16:00:00 +01:00
Tankred Hase 441562285c transition to red buttons in writer for all elements when receiver insecure 2014-02-28 16:06:30 +01:00
Tankred Hase 3d6a4698ce invite user when clicking on red address label 2014-02-28 16:06:19 +01:00
Tankred Hase badea7ab8a allow plaintext sending and remove whiteout tag from subject 2014-02-28 16:06:01 +01:00
Felix Hammerl 69a222e46a remove [whiteout] filters 2014-02-27 18:31:42 +01:00
Tankred Hase b542ab898d fix writer address field bugs 2014-02-25 21:32:41 +01:00
Tankred Hase b59ca4a773 close writer before putting to outbox 2014-02-25 21:05:59 +01:00
Felix Hammerl 336b4a4a7f do not remove body from outbox messages, add missing scope.apply 2014-02-25 14:58:55 +01:00
Felix Hammerl 25adfbf8b1 filter empty addresses on write 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