1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 10:22:18 -05:00
Commit Graph

450 Commits

Author SHA1 Message Date
Tankred Hase
881afbff40 Fis all util service tests 2014-11-21 13:33:22 +01:00
Tankred Hase
3342b91d3f Move unit tests to subdirectories 2014-11-21 12:14:28 +01:00
Tankred Hase
cb5431dc16 Write dialog unit test 2014-11-21 12:13:06 +01:00
Felix Hammerl
f11d4e8df3 disarm socket timeout in integration tests 2014-11-18 16:33:59 +01:00
Andris Reinman
eb775525f5 [WO-731] Treat modseq values as numbers 2014-11-13 12:55:12 +02:00
Tankred Hase
3e54f66cb9 Fix contacts unit test 2014-11-12 20:56:28 +01:00
Tankred Hase
31a6091b25 Merge pull request #182 from whiteout-io/dev/form-cleanup
[WO-649] clean up login pages
2014-11-12 17:17:26 +01:00
Felix Hammerl
16308232ce Move ignoreUploadOnSent check to emailDao 2014-11-12 16:41:40 +01:00
Tankred Hase
cf1f60fbf9 [WO-649] clean up login pages
* add spinners to all login pages
* use inline error messages in all form instead of scope.onError
* create newsletter service
2014-11-12 16:12:26 +01:00
Tankred Hase
082cbf192b Refactore services code style 2014-11-11 21:50:01 +01:00
Tankred Hase
510f147b97 Use only mail-config service for imap/smtp config
* remove 'pinned' attribute from imap/smtp config
* remove 'provider' attribute from auth module
* add 'oauthDomains' to app-config
* remove all static server config from the app-config
2014-11-11 19:30:58 +01:00
Tankred Hase
11d7a26c31 Fix tests 2014-11-10 18:36:26 +01:00
Tankred Hase
e8964cde39 [WO-629] implement move, delete, mark unread for desktop and mobile ui 2014-11-10 13:37:57 +01:00
Tankred Hase
8cc84ef8c6 Merge pull request #157 from whiteout-io/dev/WO-660
[WO-660] Add \Flagged to message flags
2014-11-06 16:13:54 +01:00
Felix Hammerl
7959be55a7 [WO-643] Refactor initialization workflow
* Move initialization pre-flight checks to app-controller
* Refresh cached public keys for user during incomplete setups
* Reorder redirect checks in login ctrl from most specific (pubkey + privkey) to most generic (no keys)
* Add overridePermission flag to KeychainDAO.refreshKeyForUserId to refresh w/o asking for user permission
2014-11-06 15:36:59 +01:00
Felix Hammerl
40a4b33748 Use chai 1.9.x 2014-11-05 14:27:34 +01:00
Felix Hammerl
fe62759613 Disable logging during tests 2014-11-05 14:27:21 +01:00
Felix Hammerl
d67f2a5d53 [WO-660] Add \Flagged to message flags 2014-11-05 14:25:23 +01:00
Felix Hammerl
14dc80ec3c [WO-696] List trash before flagged in wellknown folders 2014-11-05 11:36:42 +01:00
Felix Hammerl
8f1fd2de5f [WO-696] Order wellknown folders first, others alphabetically 2014-11-05 10:55:26 +01:00
Tankred Hase
5253680f86 Merge pull request #154 from whiteout-io/dev/WO-661
[WO-661] Introduce API to move message
2014-11-04 20:59:38 +01:00
Tankred Hase
b10c0896e9 [WO-629] Fix online status in desktop nav 2014-11-04 20:49:21 +01:00
Felix Hammerl
541b35818b [WO-661] Introduce API to move message 2014-11-04 20:31:09 +01:00
Tankred Hase
8e737474f5 Merge pull request #148 from whiteout-io/dev/WO-651
[WO-651] Do not error if imap upload fails after send
2014-11-04 11:33:24 +01:00
Tankred Hase
4760ddf314 Merge branch 'release/v0.19.x' 2014-10-29 18:51:41 +01:00
Tankred Hase
168a794708 Fix RSA keygen on Android 2014-10-29 18:36:32 +01:00
Felix Hammerl
b96ae1dd89 [WO-627] Expose all IMAP folders to account.folders 2014-10-27 15:14:32 +01:00
Felix Hammerl
5f9132ab5f [WO-651] Do not error if imap upload fails after send 2014-10-22 12:25:27 +02:00
Tankred Hase
d7c1718a1c Merge pull request #145 from whiteout-io/dev/WO-645
[WO-645] Fix: Credentials are not stored after logout
2014-10-21 15:01:48 +02:00
Tankred Hase
b556334407 Integrate OpenPGP.js 0.8.1 with promises support 2014-10-20 18:44:39 +02:00
Felix Hammerl
7a986fc60a [WO-645] Fix: Credentials are not stored after logout 2014-10-20 17:43:26 +02:00
Tankred Hase
d971969b5f Stub GET requests to key server in integration test 2014-10-16 12:02:22 +02:00
Felix Hammerl
3a6e0463fb [WO-567] fix TLS worker handling 2014-10-15 19:58:26 +02:00
Tankred Hase
c6fb31fd49 Fix phantom mocha tests 2014-10-15 19:16:19 +02:00
Tankred Hase
84d5bd8124 Integration test works again 2014-10-15 19:16:19 +02:00
Tankred Hase
85afb0be01 Fix angulat mocks for unit tests 2014-10-15 19:16:19 +02:00
Tankred Hase
7e09add0f4 Dao and crypto unit tests work 2014-10-15 19:16:19 +02:00
Felix Hammerl
9bfda73969 WIP add unit tests 2014-10-15 19:16:18 +02:00
Felix Hammerl
297f7c493f [WO-625] Catch exception on socket.oncert
Mozilla's socket is not extensible via Object.preventExtensions(obj)
and throws exceptions when non-prototype function .oncert is added.
The callback function is needed for the other shims.
2014-09-30 12:30:18 +02:00
Tankred Hase
bedb69973c [WO-587] implement user logout 2014-09-26 19:14:53 +02:00
Tankred Hase
0613016581 Remove chrome.filesystem and use only standard apis 2014-09-24 12:46:19 +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
Tankred Hase
74f6b3312e [WO-598] Replace contentEditable in writer with textarea 2014-09-22 15:28:22 +02:00
Tankred Hase
8199ee741d Fix tests 2014-09-22 13:59:05 +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
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
34b3bee520 Add test for lookupAddressBook 2014-09-16 00:11:44 +02:00
Mario Volke
7e8d88e5a8 updated tests for write ctrl 2014-09-15 17:19:36 +02:00
Tankred Hase
50f0bf951e Skip setting passphrase in setup 2014-09-15 14:26:12 +02:00
Felix Hammerl
15710f4602 [WO-531] use query parameter instead of JSON parameter 2014-09-12 19:23:02 +02:00
Felix Hammerl
ad2b6d1237 [WO-587] Explicitly include arbitrary headers in clearsigned regex 2014-09-12 17:02:03 +02:00
Felix Hammerl
04b6c8b033 [WO-491] Add Web.de 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
30f0029907 [WO-493] Speed up tests 2014-09-11 10:50:07 +02:00
Felix Hammerl
ec5edff626 [WO-531] introduce option to query key w/o starting recovery 2014-09-02 13:26:51 +02:00
Felix Hammerl
c75e365c65 [WO-554] Fix tests 2014-09-02 13:26:03 +02:00
Felix Hammerl
8a737788e7 [WO-555] Remove cleartext prefix to encrypted messages 2014-08-26 15:47:37 +02:00
Tankred Hase
14624c877e Add server.js for potential selfhosting 2014-08-12 17:09:18 +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
c4337fba30 Remove cached OAuth token before reconnect 2014-08-05 17:53:11 +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
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
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
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
a137bf5bfd Merge pull request #94 from whiteout-io/dev/WO-421
Dev/wo 421
2014-07-23 13:55:36 +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
1c2f00cddd Fix tests 2014-07-21 15:18:23 +02:00
Tankred Hase
7e4f8f1c80 Fix test 2014-07-18 17:06:36 +02:00
Tankred Hase
b4507b1bbc Change comment in PGP armor to whiteout 2014-07-18 16:58:33 +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
6d2896a70c [WO-428] use integer to track busy state 2014-07-11 15:03:03 +02:00
Felix Hammerl
63980eb7ac [WO-455] add test to provoque openpgp clearsigned message bug
https://github.com/openpgpjs/openpgpjs/issues/243
2014-07-08 19:17:57 +02:00
Tankred Hase
9e46f96a28 Release and use OpenPGP.js v0.7.1 2014-07-07 12:29:13 +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
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