1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
Commit Graph

943 Commits

Author SHA1 Message Date
Tankred Hase
2f25557747 Use angular events to broadcast status updates 2014-11-26 21:12:40 +01:00
Tankred Hase
32d3ea1801 Fix unit tests 2014-11-26 19:51:15 +01:00
Tankred Hase
b3b947f6e5 Fix several minor runtime bugs in the app 2014-11-26 17:57:14 +01:00
Tankred Hase
2b6da522c6 Fix last unit tests 2014-11-26 13:43:10 +01:00
Tankred Hase
03b2e10bc3 Fix mail-list-ctrl unit test and move functions to services 2014-11-26 12:59:44 +01:00
Tankred Hase
1c1a5a4d54 Remove unnecessary bind in dialog service 2014-11-26 12:50:16 +01:00
Tankred Hase
eb099d9bfe Update lawnchair.js 2014-11-26 09:14:03 +01:00
Felix Hammerl
2764c6e230 Multiple minor fixes
* Fix dialog service instance binding
* Fix service/factory handling
* Inject userStorage lawnchair adapter to keychain service
2014-11-25 17:46:33 +01:00
Tankred Hase
2a2058c167 Finish testing account service 2014-11-25 12:07:26 +01:00
Tankred Hase
c8980f6f51 Start writing account test 2014-11-21 17:25:55 +01:00
Tankred Hase
f2fee61d3b Fix unit tests for existing angular services 2014-11-21 15:06:29 +01:00
Tankred Hase
881afbff40 Fis all util service tests 2014-11-21 13:33:22 +01:00
Tankred Hase
cb5431dc16 Write dialog unit test 2014-11-21 12:13:06 +01:00
Tankred Hase
198118571f Fix angular bootstrap errors 2014-11-20 22:53:30 +01:00
Tankred Hase
7eeff8ec75 Fix build errors... still runtime errors though 2014-11-20 15:51:55 +01:00
Tankred Hase
da5a9e2c17 Refactor app controller to use new services 2014-11-20 15:14:39 +01:00
Mario Volke
1e752885d4 fix whitelisting of lightbox for ngAnimate 2014-11-20 14:12:08 +01:00
Tankred Hase
4c04ba4e74 Refactor login controllers and delete AppController 2014-11-19 20:54:59 +01:00
Tankred Hase
e6b22bd0a0 Expose angular/common.js modules for util, app-config 2014-11-19 17:19:55 +01:00
Tankred Hase
1f5fa4ca41 Move controllers into subfolders 2014-11-19 15:53:05 +01:00
Tankred Hase
da416f4329 Add TODO comments to controllers 2014-11-19 15:46:20 +01:00
Tankred Hase
c221372ed4 Restructure architecture into angular modules and services 2014-11-19 15:23:10 +01:00
Tankred Hase
95ad15b0dd Export account service as common.js module 2014-11-19 15:15:57 +01:00
Tankred Hase
41879bf5b3 Refactor outbox to be an angular service 2014-11-18 20:28:10 +01:00
Tankred Hase
a5da52c8a6 Move outbox to services 2014-11-18 20:22:51 +01:00
Tankred Hase
38d908995a Refactor BOs and utils to services 2014-11-18 20:19:29 +01:00
Tankred Hase
ac09c7d91f Move auth, oauth, connection-doctor to service dir 2014-11-18 19:18:57 +01:00
Tankred Hase
c8d56b4bd1 Expose previous DAOs as angular services and as common.js modules 2014-11-18 18:44:00 +01:00
Tankred Hase
f7b7e174b0 Rename DAOs to services 2014-11-18 18:13:34 +01:00
Tankred Hase
628beb02e8 WIP: start new service architecture 2014-11-18 16:56:55 +01:00
Felix Hammerl
eabdeaf888 Fix corner case where email does not have modseq attribute 2014-11-18 16:33:59 +01:00
Tankred Hase
c85b6344fc Add beta ta to version 2014-11-14 13:19:06 +01:00
Andris Reinman
eb775525f5 [WO-731] Treat modseq values as numbers 2014-11-13 12:55:12 +02:00
Tankred Hase
9c5bb31d66 Remove unneeded fingerprint scope var in contacts 2014-11-12 20:29:27 +01:00
Mario Volke
6e284dfd7e refactored focusMe directive into common directives as woFocusMe 2014-11-12 17:46:33 +01:00
Mario Volke
aff3854cb9 activate ngAnimate for whitelisted classes only 2014-11-12 17:36:14 +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
1d22231e8a Move directives to directive folder 2014-11-11 21:48:46 +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
4bfeb99b7b Fix formvalidation, integrate wmail account creation UI 2014-11-10 14:40:53 +01:00
Tankred Hase
93bd548b46 Use promise api for 2014-11-10 14:40:52 +01:00
Tankred Hase
074914044d Add faq links and rework google/password login workflow 2014-11-10 14:40:52 +01:00
Tankred Hase
069628c62b WIP: start implementing add-account controller 2014-11-10 14:40:52 +01:00
Mario Volke
915db579c4 Refactoring login screens and lightboxes,
added general form styling
2014-11-10 14:40:51 +01:00
Tankred Hase
eb3a266725 Merge pull request #160 from whiteout-io/dev/WO-710
Close dropdown after selection has been made
2014-11-10 13:58:52 +01:00
Mario Volke
da872daa7d fix dropdown toggle with touchstart 2014-11-10 13:51:20 +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
Mario Volke
fc66df8894 Close dropdown after selection has been made 2014-11-06 17:34:59 +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
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
5efa410d7d Adjust dummy mail body during development 2014-10-27 17:30:42 +01:00
Tankred Hase
bd19135472 Convert common.js directive to common.js module 2014-10-27 15:19:24 +01:00
Mario Volke
2594ff515b added dropdowns for mobile toolbar
Conflicts:
	src/js/directives/common.js
2014-10-27 15:19:24 +01:00
Mario Volke
4ef2b834b6 Implement desktop UI 2014-10-27 15:19:23 +01:00
Felix Hammerl
b96ae1dd89 [WO-627] Expose all IMAP folders to account.folders 2014-10-27 15:14:32 +01:00
Tankred Hase
f938b3b83c [WO-659] fix scrolling to the top of the writer textarea 2014-10-23 13:11:37 +02:00
Tankred Hase
eb81028123 Use regex to parse key server urls from manifest 2014-10-22 19:42:56 +02:00
Tankred Hase
c6b50d04f6 Use manifest config for webmail 2014-10-22 19:12:18 +02:00
Tankred Hase
f380db4e1d [WO-656] fix logout in chrome app 2014-10-22 17:22:18 +02:00
Tankred Hase
f9b1c66932 Fix bug when trying to open undefined folder before initial sync 2014-10-22 17:21:28 +02:00
Felix Hammerl
5f9132ab5f [WO-651] Do not error if imap upload fails after send 2014-10-22 12:25:27 +02:00
Felix Hammerl
d6b842b0f4 [WO-654] Update T-Systems Trust Center intermediate certficate 2014-10-22 12:14:00 +02:00
Tankred Hase
a610440b5a Merge pull request #142 from whiteout-io/dev/WO-639
[WO-639] Use 5s timeout for incoming mail
2014-10-21 15:13:43 +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
Felix Hammerl
1995836736 [WO-639] Use 5s timeout for incoming mail 2014-10-17 11:17:40 +02:00
Felix Hammerl
3a6e0463fb [WO-567] fix TLS worker handling 2014-10-15 19:58:26 +02:00
Felix Hammerl
7be6c63060 Use worker thread in connection doctor 2014-10-15 19:16:20 +02:00
Felix Hammerl
c120818792 [WO-567] use multithreaded tls 2014-10-15 19:16:20 +02:00
Felix Hammerl
033df2dea8 [WO-567] browserify mailreader worker 2014-10-15 19:16:20 +02:00
Tankred Hase
7e09add0f4 Dao and crypto unit tests work 2014-10-15 19:16:19 +02:00
Tankred Hase
b0a186884a Fix jshint self errors 2014-10-15 19:16:19 +02:00
Tankred Hase
fc613ce501 Correct worker paths 2014-10-15 19:16:18 +02:00
Tankred Hase
0bfef4a710 Browserify runtime dependencies work 2014-10-15 19:16:18 +02:00
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
cf20672735 Merge pull request #134 from whiteout-io/dev/WO-588
[WO-588] add options to get update notifications in batches
2014-10-02 18:17:01 +02:00
Felix Hammerl
b02989e766 [WO-588] move maxUpdateSize assignment 2014-10-02 18:15:52 +02:00
Felix Hammerl
9521d6b990 [WO-588] use 25 messages update batches 2014-10-02 17:58:35 +02:00
Felix Hammerl
38d760364d [WO-588] add options to get update notifications in batches 2014-09-30 17:54:35 +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
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
Tankred Hase
7b99682299 [WO-608] Pin wmail ssl cert 2014-09-22 17:45:15 +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
Tankred Hase
14294a5579 Focus window after clicking on notification 2014-09-17 14:43:53 +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
Mario Volke
ad5617dc7d added lib ngTagsInput to the app 2014-09-15 12:01:13 +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
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
54c9ca3a73 [WO-526] Fix key activation race condition
Add imported flag to public key to avoid unnecessary check
for deletion/update of personal public key, same behavior
as imported public keys
2014-09-02 14:38:17 +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
8a737788e7 [WO-555] Remove cleartext prefix to encrypted messages 2014-08-26 15:47:37 +02:00
Tankred Hase
e229e106dd Add mobile homescreen icons and cca build scripts 2014-08-13 13:37:55 +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
fc4bd0054f Review faq link 2014-08-12 17:44:10 +02:00
Felix Hammerl
f417a09b8d [WO-489] add FAQ link option to error message 2014-08-12 17:20:29 +02:00
Tankred Hase
14624c877e Add server.js for potential selfhosting 2014-08-12 17:09:18 +02:00
Tankred Hase
57c7027832 [WO-404] Change download link for app 2014-08-05 20:05:59 +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
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