Commit Graph

1060 Commits

Author SHA1 Message Date
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 995af4ca3c Merge pull request #109 from whiteout-io/dev/WO-480
Remove cached OAuth token before reconnect
2014-08-05 18:23:33 +02:00
Tankred Hase c4337fba30 Remove cached OAuth token before reconnect 2014-08-05 17:53:11 +02:00
Felix Hammerl ed43dfc55a [WO-530] fix typo 2014-08-05 16:50:29 +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 b887aaaa28 Fix back button tests 2014-08-04 16:49:02 +02:00
Tankred Hase 9e1a402b94 Set back button event in navigation.js 2014-08-04 15:53:55 +02:00
Felix Hammerl 3a713180f1 [WO-475] give backbutton on android sane behavior 2014-08-04 15:20:52 +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 061fe0dd9c Make TLS checkboxe labels clickable 2014-07-31 20:14:02 +02:00
Tankred Hase 26f52981eb Increase margin after terms checkbox 2014-07-31 19:53:19 +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 9b618cc20f [WO-524] Cleanup login ui
* Make design more mobile friendly
* Make label for terms agreement clickable (easier for touch)
* Button width is 100% for mobile
* Let user import key file as alternative to sync
* Make key import option more clear login-initial
* Make whiteout logo smaller in mobile mode
2014-07-31 15:58:27 +02:00
Tankred Hase 2b139578f0 bump versionCode 2014-07-30 18:20:49 +02:00
Tankred Hase e072f118ca [WO-510] fix toBigInteger bug
* Add tests to reconstruct the issue
* Upgrade to OpenPGP.js v0.7.2
2014-07-30 17:34:31 +02:00
Tankred Hase 746c06e24a Link PGP key in plaintext suffix 2014-07-29 16:02:05 +02:00
Tankred Hase a28528c23b bump versionCode 2014-07-24 15:25:21 +02:00
Tankred Hase 81eee6e67d bump versionCode 2014-07-24 14:43:10 +02:00
Tankred Hase 18f658cbb8 [WO-511] Change set-credentials text for oauth 2014-07-24 14:15:34 +02:00
Felix Hammerl ed8ed07028 [WO-507] use intermediate certs for gmail and tonline 2014-07-24 13:24:01 +02:00
Tankred Hase 679d7987c4 Change wo-touch to work on new webview 2014-07-23 19:37:37 +02:00
Tankred Hase ad22d42720 Use ng-click in mail-list instead of wo-touch 2014-07-23 18:30:13 +02:00
Felix Hammerl 845af9b127 [WO-504] stop spinner if upload is not necessary 2014-07-23 17:20:57 +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 8617a4d0ed Add comments to emailDao 2014-07-23 13:57:39 +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 26f62668c6 Fix add-account styles on mobile 2014-07-21 22:49:15 +02:00
Tankred Hase a9c61a1fd1 Fix iframe width on first scrollable mail 2014-07-21 17:22:03 +02:00
Tankred Hase 17ff272d02 [WO-463] Use monospace font for keychain code 2014-07-21 16:24:50 +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 b4507b1bbc Change comment in PGP armor to whiteout 2014-07-18 16:58:33 +02:00
Tankred Hase 6f9d43a02d Relaxed CSP to work on iOS and Android 2014-07-17 21:43:07 +02:00
Tankred Hase c803caf1d3 Relax CSP for connect-src 2014-07-17 18:03:21 +02:00
Tankred Hase bfda677b1b Merge pull request #90 from whiteout-io/dev/WO-428
[WO-428] use integer to track busy state
2014-07-17 17:53:07 +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
Felix Hammerl 1d0a1f9a79 [WO-428] add missing busy() call to plain text sending and encryption 2014-07-11 15:22:34 +02:00
Felix Hammerl 6d2896a70c [WO-428] use integer to track busy state 2014-07-11 15:03:03 +02:00
Tankred Hase 66bd88c07f Make public key shareable via link 2014-07-10 20:02:35 +02:00
Tankred Hase 4e897d01ff Add CSP fallback to sandbox.html for non-chrome app runtimes 2014-07-09 22:00:18 +02:00
Tankred Hase 264e220b7c Add link to key sync blog post 2014-07-08 16:51:28 +02:00
Tankred Hase 1ead2d146d Change text 2014-07-07 17:26:16 +02:00
Tankred Hase 9e46f96a28 Release and use OpenPGP.js v0.7.1 2014-07-07 12:29:13 +02:00
Tankred Hase 6403b041e8 Signatures array must never be empty ... if so crash during development 2014-07-07 12:24:06 +02:00
Tankred Hase 1b8e662769 Use same signatures structure openpgp.js for clearSignedSignatures as detached 2014-07-07 11:58:41 +02:00
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
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 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 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 0cd4430103 Merge pull request #77 from whiteout-io/dev/WO-292
Added integration tests for Apple Mail and Thunderbird
2014-06-27 17:54:28 +02:00
Felix Hammerl a9cf763bed fix handling of clearsigned messages and missing signatures 2014-06-27 16:19:30 +02:00
Tankred Hase c1d9feb391 Make touchable areas of buttons larger 2014-06-27 14:28:22 +02:00
Tankred Hase 9373bee556 Add .active class for touchstart, Disable css transitions in mobile 2014-06-27 12:38:12 +02:00
Tankred Hase a479d5850e Use custom wo-touch directive rather than ng-click 2014-06-27 12:36:43 +02:00
Tankred Hase 7c65b48f34 Put reader body into GPU layer 2014-06-27 12:31:44 +02:00
Tankred Hase 7b87551404 Put mail-list wrapper into GPU layer 2014-06-27 12:24:48 +02:00
Tankred Hase 493c13eac6 Add key server url to grunt build config 2014-06-26 17:21:28 +02:00
Tankred Hase 636e6ffad9 Improve spacing between reader body and display images button 2014-06-26 16:32:58 +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
Felix Hammerl ded1e5f7ef [review] remove TODOs 2014-06-26 14:32:45 +02:00
Felix Hammerl 99bccefdba [review] Remove unneccesary markup 2014-06-26 14:30:32 +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 0d0b767b36 [WO-409] show images only on user request 2014-06-25 17:20:55 +02:00
Felix Hammerl 7a896a66d1 [WO-409] improve method to inline pictures 2014-06-25 16:05:14 +02:00
Felix Hammerl 3626b4d556 add test for inline images 2014-06-25 15:03:50 +02:00
Felix Hammerl f31bded060 [WO-409] embed images from attachments in the html content 2014-06-25 14:13:46 +02:00
Felix Hammerl fb1a20d2b0 [WO-409] render html in sandboxed iframe 2014-06-25 08:17:22 +02:00
Tankred Hase e720753779 Implement setDeviceName and generateDeviceSecret 2014-06-23 17:21:03 +02:00
Tankred Hase 18d1c39b0a Implement and test crypto module 2014-06-23 17:21:02 +02:00
Tankred Hase a7a562bef6 Upgrade to forge 0.5.5 2014-06-23 17:21:02 +02:00
Tankred Hase 7720097778 Start spec of functions in keychain dao
Upgrade to iScroll 5.1.2
2014-06-23 17:21:02 +02:00
Tankred Hase 27035c926c Remove pointer cursor for non-clickable online state label 2014-06-23 17:21:01 +02:00
Tankred Hase df8b74bfb6 Load bodies when changing folder without scrolling 2014-06-23 13:09:09 +02:00
Felix Hammerl fa1fbda11f [WO-429] minor refactoring to fix the tests 2014-06-23 13:03:56 +02:00
Tankred Hase 9465ce57ed [WO-429] Set account.online after setting imap cache to prevent race condition 2014-06-23 10:59:17 +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 77ad3613cf Fix attachment button clicked style 2014-06-17 19:49:28 +02:00
Tankred Hase 31d6d1e949 Merge pull request #74 from whiteout-io/dev/subject-box
refactored subject box
2014-06-17 19:43:32 +02:00
Tankred Hase e28c9a62ff Cleanup and fix keyboard event handling in editor headers 2014-06-17 19:41:04 +02:00
Mario Volke cdbdad0ba3 refactored subject box 2014-06-17 17:41:52 +02:00
Tankred Hase cb60995ce1 Fix editor input field and content-editable on iOS 2014-06-17 17:23:36 +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 5dfaca7d6e Fix search field on iOS 2014-06-17 16:03:21 +02:00
Mario Volke 2b18c905f6 fixed conflict 2014-06-17 15:51:38 +02:00
Mario Volke d1ff3f8624 changed input type=search to input type=text with new styling 2014-06-17 15:50:16 +02:00
Tankred Hase 00abb96dc2 Merge pull request #73 from whiteout-io/dev/WO-261
allow scrolling in login views, smaller margin of whiteout logo on mobil...
2014-06-17 15:36:35 +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 504062abe1 allow scrolling in login views, smaller margin of whiteout logo on mobile 2014-06-17 15:26:26 +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
Tankred Hase 237c03fa8d Merge branch 'dev/WO-419'
Conflicts:
	package.json
2014-06-17 14:42:22 +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 64fe6e9aa6 Use fastlick instead of ng-touch 2014-06-17 12:58:53 +02:00
Felix Hammerl 6124bd1a04 Add comment to email dao code for integration test 2014-06-17 12:56:31 +02:00
Andris Reinman 20f12f042b [WO-295] email-dao integration tests 2014-06-17 12:56:31 +02:00
Tankred Hase ec9a87d23a Make slide effect fast on chrome 2014-06-17 12:20:16 +02:00
Tankred Hase b9da151a54 Change grey shade of list seperators 2014-06-17 11:46:49 +02:00
Tankred Hase 3a59f79223 Fix bugs 2014-06-16 16:18:24 +02:00
Tankred Hase d23521312f Stop event propogation when pressing new mail button 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 d2d4cfa5df mail list optimized by removing box-shadow 2014-06-16 15:48:02 +02:00
Mario Volke f65e0f35b8 fix background flicker in mail list view when closing navigation 2014-06-16 15:33:23 +02:00
Mario Volke 159d1e04dd fix scrolling when lightbox is higher than viewport 2014-06-16 15:28:27 +02:00
Mario Volke 54f35cd370 Back arrow icon in subject read view on mobile 2014-06-16 15:25:52 +02:00
Mario Volke 2a1cb893d0 optimized login views for mobile 2014-06-16 15:04:06 +02:00
Mario Volke 234c0ca485 optimized contact popup for mobile 2014-06-16 14:20:01 +02:00
Mario Volke 181902d3a7 mail list redesign for mobile, flexbox for mail list layout 2014-06-16 13:59:40 +02:00
Mario Volke 4a78d228c3 Refactored icons in mail list view and bugfix in search input 2014-06-16 12:18:31 +02:00
Tankred Hase 746c4f3b2d Add revocation link to login screens 2014-06-10 14:30:19 +02:00
Tankred Hase 3dc2222050 Change updated flag message 2014-06-10 14:23:51 +02:00
Tankred Hase c89ae65bb7 Fix bug not displaying already decrypted mail 2014-06-04 18:33: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
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
Tankred Hase 811f35c048 Merge pull request #62 from whiteout-io/dev/WO-390
[WO-390] include attachments in forwarded message
2014-05-15 19:48:51 +02:00
Felix Hammerl eb685cf7f6 [WO-388] update links to privacy for app 2014-05-15 15:25:02 +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
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
Tankred Hase ea7a0ceb2a Allow opening links from html mails 2014-05-12 19:09:03 +02:00
Felix Hammerl 79f71d5185 [WO-284] delete mails to trash folder 2014-05-12 15:16:54 +02:00
Felix Hammerl c6a82b3442 [WO-290] Fix bug where plaintext mail body is not shown in outbox 2014-05-12 13:57:25 +02:00
Tankred Hase 99edcee93b Show decrypting/parsing errors in mail reader 2014-05-12 13:44:02 +02:00
Tankred Hase 2a1a92f907 Dont show error popup on pgp decrypt error 2014-05-12 13:26:11 +02:00
Tankred Hase a97c3a35e7 [WO-381] Fix bug that displayed ciphertext instead of plaintext 2014-05-12 13:18:51 +02:00