Commit Graph

1163 Commits

Author SHA1 Message Date
Ralf Becker
6a4c89d61a * Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons 2016-08-23 17:22:55 +02:00
Hadi Nategh
628ac046fe Implement mail integration check entry for mail compose 2016-08-18 17:31:27 +02:00
Hadi Nategh
e1aa951ecf Fix email with .ics attachment does not display email body 2016-08-18 10:17:22 +02:00
Hadi Nategh
5c42f4254e Do not let empty string as email alias in vacation dialog 2016-08-15 11:44:13 +02:00
leithoff
00ce2295be implement DeleteFolder in Mail-Backend 2016-08-12 15:04:52 +02:00
leithoff
8677289954 fix for ChangeFolder to, finally work as expected. tested move,rename and create. more exessive tests with specialchars in foldernames, and so on, may be needed 2016-08-12 13:02:29 +02:00
Ralf Becker
39c2e399d4 WIP implementing ChangeFolder (rename or create folder) for mail 2016-08-11 16:20:30 +02:00
leithoff
955ba34599 implement ChangeFolder 2016-08-11 15:33:02 +02:00
leithoff
a41896f802 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:12:21 +02:00
leithoff
5f25a87766 fix problem with missing folders from other and user namespace caused by wrong (calculated under different assumptions) parent-id 2016-08-04 13:38:10 +02:00
Hadi Nategh
5b8f161d1d * Mail: Fix set vacation via admin does not work anymore 2016-08-02 16:44:14 +02:00
Hadi Nategh
e192ed4bbd Fix mail sidebox does not show mail tree and Mail Menu items 2016-08-02 16:03:56 +02:00
Hadi Nategh
b96a40f49f Avoid collision of template ids for mail splitter templates 2016-08-02 12:33:12 +02:00
Hadi Nategh
0dce66e4a0 Fix error while reading mail hooks 2016-08-02 10:41:43 +02:00
leithoff
fa7bd97801 apply integer as type to maximum-sync-range in days pref in preferences->activesync->mail 2016-07-29 15:50:34 +02:00
Hadi Nategh
196176ff9c Restructuring of sidebox menus in mail 2016-07-29 12:08:36 +02:00
leithoff
0e93274657 * eSync/Mail: allow to override the settingregarding the date range for syncing mail when no limit is set clientside (preventing client crash that may be caused by too many mails/too much data (default is half a year)). If you want to sync way-back into the past: set a large number 2016-07-28 15:48:43 +02:00
leithoff
e3132b7775 * eSync/Mail: make sure From is set correctly to the identity used, when sending by iOS 2016-07-21 13:36:43 +02:00
leithoff
106a1b588f change translation for Detail / short Preview in List, as it confuses Details lables in other apps when transforming mail to entries (infolog, tracker, calendar) 2016-07-15 09:58:14 +02:00
Ralf Becker
c1e43f3324 * Mail: mailing attachments failed in minimal install caused by using deprecate path-separator constant "SEP" 2016-07-11 10:08:11 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
f89142629a * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:34:33 +02:00
leithoff
5f7e13adaa fix bug with visible broken css stuff in outlook when answering to html-mails (with style-definitions) to outlook 2016-07-07 12:04:47 +02:00
Ralf Becker
36005d8189 * Mail/Sieve: fix PHP Fatal error on minimal install when trying to edit rules or vacation notice 2016-07-07 10:22:18 +02:00
nathangray
a2d1131aa5 Add an Abort / Retry / Skip prompt for long task when one fails 2016-06-30 15:47:32 -06:00
Hadi Nategh
83948cc750 * Mail: Fix mail unsubscribe does not refresh mail tree anymore 2016-06-24 10:05:21 +02:00
Ralf Becker
39288e5e89 only cache last headers of last call to GetMessageList, to keep within memory_limit if OL wants to sync a huge number of folders 2016-06-23 23:16:12 +02:00
Ralf Becker
6c88354494 remove *CloseStream objects, now that z-push WBXMLEncode closes all streams 2016-06-23 17:51:03 +02:00
Ralf Becker
5b7e27c275 reduce memmory consumption by closing stream on destruction of Sync objects containing streams 2016-06-23 14:45:06 +02:00
Ralf Becker
1b4bef13f5 return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook 2016-06-21 09:33:44 +02:00
leithoff
c173de3935 fix for functional folders showing up multiple times 2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
Hadi Nategh
e4371fd344 Add icon for folder management in mail tree 2016-06-16 16:39:17 +02:00
leithoff
4363e7289a use one function to get the data reqired on ItemOperationsGetAttachmentData AND/ot GetAttachmentData calls 2016-06-14 16:41:50 +02:00
leithoff
4d7360856a fix call by reference issues 2016-06-14 11:28:03 +02:00
leithoff
17c195a19e handle fatal error on NO mail account available for current user on mail-app-call. call the wizard 2016-06-14 10:50:04 +02:00
Hadi Nategh
2db301ac7a Fix delete and revert icons 2016-06-13 10:10:10 +02:00
Ralf Becker
0f7ca734e3 remove call to no longer existing method Api\Mailer::AddCustomHeader 2016-06-10 12:11:56 +02:00
Ralf Becker
c193325f4c remove call to no longer existing method Api\Mailer::EncodeHeader 2016-06-10 12:01:10 +02:00
Ralf Becker
17e8473e6e store folder-hashes via state-maschine in db 2016-06-10 08:31:09 +02:00
leithoff
caafb0b84b improved handling of authentication/connection failed errors 2016-06-09 15:48:01 +02:00
Ralf Becker
5858523c53 z-push 2.3 requires all SyncBaseBody->data to be streams, using StringStreamWrapper::Open and stream_get_contents to convert from and to strings 2016-06-08 11:59:11 +02:00
Hadi Nategh
5c803e9c43 Fix fatal error in mail 2016-06-08 10:08:20 +02:00
leithoff
0bd975927f attempt to handle connection failed errors more convieniently 2016-06-07 15:31:34 +02:00
Ralf Becker
e9f854a074 replace under zpush 2.3 removed global debugLog() function with ZLog::Write(LOGLEVEL_DEBUG, ...) 2016-06-07 13:02:41 +02:00
Ralf Becker
e03c84f948 * Mail: fix PHP Fatal when switching identities 2016-06-06 15:08:57 +02:00
Hadi Nategh
d5aab5ca50 Fix broken mail tree caused by commit 9b99ce5339 2016-06-03 10:33:38 +02:00
Hadi Nategh
9b99ce5339 Fix mail tree throws xml error when tries to call wizard popup 2016-06-02 12:33:50 +02:00
Hadi Nategh
60bc400313 Fix modified view templates are not getting updated because of no cache-buster modification timestamp 2016-05-25 16:44:36 +02:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
57803951c5 fix PHP Fatal cause by use of old common class 2016-05-06 14:10:26 +00:00
Hadi Nategh
35790eabec Change look and feel for mail filter edit dialog
- Make ruleID available on client-side to represent it as id in dialog
- Use tabs instead of long list dialog
2016-05-06 10:47:06 +00:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
7cc923bf41 fix not able to send mail 2016-05-03 13:33:26 +00:00
Klaus Leithoff
202ba250b2 use old fav_filter icon for current sieve-filter icon 2016-05-02 11:00:13 +00:00
Klaus Leithoff
7514dadce1 fix for: VCARD not opening in popup 2016-05-02 10:22:58 +00:00
Klaus Leithoff
2a03cc7ca9 fix remainig issues with moving mail 2 archive; fix issue when using quick-move-actions (target folder not set) 2016-04-29 13:19:32 +00:00
Klaus Leithoff
e0aea9cf39 change shortcut controlsequence for move-messages-to-configured-archive-folder 2016-04-29 12:10:13 +00:00
Klaus Leithoff
8e02180904 * Mail: allow to define an existing folder as archive folder and allow to move messages to the specified folder with either right-click action or EGW-shortcut 2016-04-29 11:23:05 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Klaus Leithoff
bd26e2aeaf reenable filter2 (short-preview in list trigger) 2016-04-26 10:13:59 +00:00
Ralf Becker
893f449992 use new et2 site config 2016-04-25 07:57:40 +00:00
Nathan Gray
863d4b9724 Fix some more nm settings lost on reload 2016-04-12 23:45:36 +00:00
Nathan Gray
d2894cdf65 Fix lost cat_is_select setting on reload 2016-04-12 23:36:58 +00:00
Klaus Leithoff
467421a0c7 handle date-range Filters on mass-actions like flagging, moving/copying and deleting messages 2016-04-12 15:17:57 +00:00
Klaus Leithoff
1a885f29e5 first step to allow for a date-range-filter on ui, allows quicksearch too; not yet available on selected-mail-operations 2016-04-12 12:53:50 +00:00
Ralf Becker
fd2bc6d7b7 fix problems with autoloading of etemplate_widget_tree 2016-04-04 08:48:04 +00:00
Ralf Becker
a7b6fb5baf need full namespace to specify a static method of a namespaced class 2016-04-01 11:58:55 +00:00
Ralf Becker
4f3eb21e84 remove since 14.3 no longer necessary workaround for submiting mail compose to a different url, which was causing now problems (Application echoed something), and fixed not always instanciate $contacts_objs from previous commit 2016-03-29 10:13:32 +00:00
Ralf Becker
02d0f3a801 fix not working account change 2016-03-29 09:56:21 +00:00
Ralf Becker
8a90d2cb65 fix warning about contacts::read($contact_id) should be compatible with EGroupware\\Api\\Contacts::read($contact_id, $ignore_acl = false) by using Api\Contacts direct 2016-03-29 08:46:09 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Klaus Leithoff
7403f9100b fix for not correctly store last selected search-type 2016-03-24 15:16:10 +00:00
Klaus Leithoff
919c646ad4 silence error-log statements 2016-03-24 10:50:05 +00:00
Klaus Leithoff
99193029da add some new searchTypes; remember last SearchType used with user-pref 2016-03-24 10:38:35 +00:00
Klaus Leithoff
d315939ea5 when fetching headerdata/envelope gather size as well 2016-03-22 08:41:58 +00:00
Ralf Becker
fc2c4dae29 replace egw_sharing with Api\Vfs\Sharing 2016-03-21 10:30:48 +00:00
Ralf Becker
cebdc5c7ab fix not working folderClose(d) image 2016-03-18 17:23:56 +00:00
Ralf Becker
f2b2879df1 different forward as attachment icon 2016-03-18 17:15:55 +00:00
Ralf Becker
02bf09aaae move egw_htmLawed to api/src/Html/HtmLawed, @Klaus: does mail really need to call that class, cant it use Html::purify? 2016-03-13 11:56:00 +00:00
Ralf Becker
85695f0d41 split html class to Api\Html, Api\Header\Content, Api\Header\UserAgent and translation 2016-03-13 11:22:44 +00:00
Klaus Leithoff
0810011d0f fix for (sometimes) not attached attachment when composing as new, when triggered from message with attachments present 2016-03-10 11:15:45 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Klaus Leithoff
eec9fa33ac * Mail: fix for problem when retrieving and displaying an event from winmail.dat attachment 2016-03-03 14:27:05 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +00:00
Klaus Leithoff
de8d48cc20 try to handle text/calendar attachments that are NO ical-file; seems its of no use to try to show the gibberish to the user 2016-03-03 13:36:42 +00:00
Klaus Leithoff
352640e2b2 try to handle text/calendar attachments that are NO ical-file 2016-03-03 13:29:29 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Hadi Nategh
2355f5edf5 Mobile theme W.I.P:
- Implement view mode for mail
- Improve performance for reading mails
2016-03-01 17:00:28 +00:00
Ralf Becker
c59442a576 detect which type (gif, png or svg) of tree images are available by template 2016-02-29 13:45:44 +00:00
Klaus Leithoff
ecb2da3fa6 support daterangefilter on serversidesearch 2016-02-26 14:19:11 +00:00
Klaus Leithoff
78d2bc33a9 support SINCE, BEFORE, BETWEEN and ON as (range) date filters; use it in mail_zpush and add example usage to get_rows 2016-02-26 13:04:35 +00:00
Ralf Becker
63f1e7100c tree uses now png or svg images, still some do not yet exist as png or svg 2016-02-26 10:59:23 +00:00
Hadi Nategh
2e33972631 Make default actions for compose toolbar less than 7 2016-02-26 10:08:07 +00:00
Klaus Leithoff
20a27ad0fe reflect change in filters (additional details/no details) in app.js refreshFilter2Options refreshCatIdOptions 2016-02-25 12:26:50 +00:00
Klaus Leithoff
4bcfd7f428 default css for preview, triggered by details/no details; remember selection with implicit pref 2016-02-19 12:23:06 +00:00
Klaus Leithoff
33be0555bb first sketch preview, triggered by details/no details 2016-02-18 15:46:02 +00:00
Hadi Nategh
304d1b0f68 Mobile theme W.I.P.:
- Add subscription dialog
- Re-arrange mail actions in context menu
2016-02-16 18:02:49 +00:00
Klaus Leithoff
5f1dc422f2 handle crippled messageID passed to loadEmailBody 2016-02-11 13:03:28 +00:00
Hadi Nategh
413b5f4280 Mobile theme W.I.P.:
- Fix not able to select the first mail on list
- Disable link_to upload file for view mode
- Fix dialog UI
2016-02-05 11:43:00 +00:00
Klaus Leithoff
215baf7497 fix for some untranslated messages in ajax - calls 2016-01-29 14:24:12 +00:00
Klaus Leithoff
64006d366a fix typo from previous r54863 2016-01-28 11:24:24 +00:00
Klaus Leithoff
7d1782ecc0 correctly set Vacation Cache when acting on behalf of another user 2016-01-28 10:51:51 +00:00
Ralf Becker
d9759cced8 replacing Net_Sieve with Horde\ManageSieve, thought we need some fixes not yet accepted in Horde, therefore we include a copy of fixed package 2016-01-28 09:52:05 +00:00
Hadi Nategh
96bcb4f9e8 Mobile theme W.I.P.:
-Change style for mail index and display
-Add upload file as default action in compose
2016-01-26 16:25:18 +00:00
Hadi Nategh
c8bc389d87 Mobile theme W.I.P.:
- Implement standard header for mail compose
- Fix toolbar style
2016-01-26 11:51:56 +00:00
Hadi Nategh
c0c4099e29 Mobile theme W.I.P.:
- Add mail display dialog
- Style details widget for mobile theme
- Implement fixed actions for mail display
2016-01-21 10:19:10 +00:00
Klaus Leithoff
535d0db435 fix problem on single file download to vfs 2016-01-12 15:11:41 +00:00
Klaus Leithoff
8588e08692 fix fatal error cannot access self:: when no class scope is active, when calling save attachment to vfs 2016-01-12 13:37:36 +00:00
Klaus Leithoff
ed32bd4c01 fix warning regarding PEAT::isError 2016-01-08 14:47:31 +00:00
Klaus Leithoff
8c3b2b9d5b silence warning on changed function call signature of function identities 2016-01-07 14:35:41 +00:00
Klaus Leithoff
68eb20424c give more details about failure on sending when available 2015-12-15 16:13:01 +00:00
Klaus Leithoff
862a848043 ActiveSync/Mail/MeetingRequests: HandlingMeetingRequests on MobileDevice has serious issues within our/zpush2 implementation. thus we overwrite the globalobjId from calendar object, as: if you delete the mail, that is the meeting-request its using the globalobjid as reference and deletes both: mail AND meeting. we dont want this. since accepting meeting requests with the mobile does nothing we see no further drawbacks with that. TODO: Look into MeetingRequestHandling 2015-12-15 13:39:10 +00:00
Klaus Leithoff
afcb47bc46 fix problem output->nativebodytype is set too early, as it is used as marker that the original message was of type ... but is now converted to (, as type 2 is requested) 2015-12-04 13:58:57 +00:00
Hadi Nategh
b9c1ed72ce W.I.P. of new approach for mail winmail.dat attachment handling
- Adopt download_zip to new winmail.dat handling
2015-12-02 14:00:34 +00:00
Hadi Nategh
97d240fcab W.I.P. of new approach for mail winmail.dat attachment handling
- Restructure save attachments to vfs, and try to read the winmail.dat only once and store them all, as fetching content of winmail.dat is very expensive operation
- Fix failure of save all embedded attachments into filemanager
2015-12-02 11:10:26 +00:00
Hadi Nategh
e1f4574b9a W.I.P. of new approach for mail winmail.data attachment handling
- Fix mail list is loading super slow if there are mails with winmail.data attachments
- Performance improvement for reading mails in preview pane with winmail.data
2015-11-27 16:17:59 +00:00
Hadi Nategh
ac16d1fb95 Mobile theme W.I.P.:
- Introduce mobile template-set
- Change loading mail index mobile template according to mobile template-set
2015-11-25 15:17:59 +00:00
Hadi Nategh
1bbf423c1e Do not use tidy extension by default
- Fix reply to some emails do no open compose dialog
2015-11-24 15:35:43 +00:00
Klaus Leithoff
ecbb564dfe avoid using tidy as it seems to trigger segmentation faults quite regular with modern style html-mails. 2015-11-20 15:16:37 +00:00
Klaus Leithoff
dafbe6f9b5 fix for not working as intended deny access on group feature 2015-11-17 12:14:23 +00:00
Hadi Nategh
e5ee34c006 Mobile theme W.I.P.:
- Set right-header for mail index only for mobile theme
2015-11-17 09:07:01 +00:00
Hadi Nategh
7c944b5aeb Mobile theme W.I.P.:
- Sidebar acts based on device size
- Remove portrait top header (sidebar toggle menu will be positioned next to nm header)
- Remove collapsed sidebar application navigator, only for devices
2015-11-16 15:45:04 +00:00
Ralf Becker
3d85ca9db6 no need to fetch mail again 2015-11-11 12:26:14 +00:00
Ralf Becker
6969120d8b z-push requires text-parts to be in utf-8, not eg. iso-8859-1 2015-11-11 12:25:43 +00:00
Ralf Becker
aa7666baac remove old zpush (1) support and refactored backend (autoloadable name, moved interfaced to separate file 2015-11-05 13:23:00 +00:00
Klaus Leithoff
0a70638205 respect the mimeType request/specification for PRESET and application method fetch 2015-11-05 12:03:03 +00:00
Klaus Leithoff
bb466cd20d * Mail: fix for cascading forward problem (problem when forwarding mails with forwarded messages attached in inline mode) 2015-11-03 13:06:47 +00:00
Klaus Leithoff
714c75ef6d reintroduce tidy in calls from egw-mail-app when only getCleanHTML is called, as it is correcting html structure issues for us 2015-10-27 09:16:37 +00:00
Nathan Gray
1f2c9e641a Handle multiple attachments with the same name when linking attachments from an email into an entry for another application 2015-10-26 19:57:07 +00:00
Nathan Gray
5aaadfd00d Handle multiple attachments with the same name when downloading attachments from an email into vfs 2015-10-26 19:25:01 +00:00
Klaus Leithoff
704dd397d4 fix accidently removed body 2015-10-23 10:44:12 +00:00
Klaus Leithoff
294b3c2ea8 disable the use of tidy when using zpush/activesync 2015-10-23 10:02:18 +00:00
Ralf Becker
6886b0a3b1 meeting requests and responses were send twice in spite of esync preferences 2015-10-22 17:24:14 +00:00
Ralf Becker
2f33904af0 moving blocking of device on connection failure / exception from mail code to EGroupware pluging, to cate for failures everywhere in plugins, not just connect method of mail plugin, which does not fail because Horde defers IMAP login until it realy needs to connect 2015-10-20 17:03:36 +00:00
Ralf Becker
28577e8fb4 moving blocking of device on connection failure / exception from mail code to EGroupware pluging, to cate for failures everywhere in plugins, not just connect method of mail plugin, which does not fail because Horde defers IMAP login until it realy needs to connect 2015-10-20 16:26:55 +00:00
Nathan Gray
bb880a6c67 Handle multiple attachments with the same name when downloading attachments from an email as a zip 2015-10-19 23:45:38 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Ralf Becker
7fb9d4d15f fixes around calendar sync and meeting-requests, also fixed all IDE warnings in calendar_zpush 2015-10-14 16:42:04 +00:00
Ralf Becker
375cf22ba6 fix flags to only contain AS supported flags analog to Zimbra code and seek stream of attachments to beginning, as z-push requires that 2015-10-13 21:12:02 +00:00
Ralf Becker
ea0f039a37 fix PHP Fatal error, replace utf8_truncate --> Utils::Utf8_truncate 2015-10-13 16:15:32 +00:00
Klaus Leithoff
258846103a supplement flagsstring to mod, to represent flag changes 2015-10-13 15:06:04 +00:00
Ralf Becker
52dd6bd3d7 documented and reimplemented failure handling of connect method 2015-10-13 14:47:18 +00:00
Ralf Becker
33e15ea3f4 fix PHP Fatal error this->mail->getErrorMessage() and using Request::GetDeviceID() 2015-10-13 12:45:18 +00:00
Klaus Leithoff
ab4b0e1e17 only do the sorting when we do a topLevel Query or a retrieval of ALL. ; give extracare on the retrieval of folders in shared and others on subscription, and when folders subscribed in such namespaces are deeply nested within without rights of list on the branches leading to the leaf 2015-10-06 15:09:10 +00:00
Hadi Nategh
fe9dcbcc12 Get folders status asynchronously as it is an expensive operation to be called in initial load 2015-10-06 10:51:35 +00:00
Hadi Nategh
3bc2e1077c WIP EGroupware tutorial:
- Implement a hook for application specific video tutorials
- Allow iframe widget to cooperate with fullscreen video play mode
2015-09-25 15:18:35 +00:00
Klaus Leithoff
397d5a6d36 fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward 2015-09-24 10:06:22 +00:00
Nathan Gray
0f6c23a5e0 If business email cannot be parsed, continue to home email.
Fixes bug where contacts with only personal email address were not shown in taglist-email
2015-09-21 20:03:33 +00:00
Hadi Nategh
220d5b8ed4 Fix mail actions update for nm context menu, preview and display toolbar 2015-09-21 14:04:48 +00:00
Hadi Nategh
a4c7d64a4c Add another action into mail toolbar 2015-09-18 13:39:53 +00:00
Hadi Nategh
1ed0befddf Add some new actions into mail preview and display toolbars 2015-09-16 16:00:35 +00:00
Ralf Becker
4757b67af0 using new z-push 2 / hashed device directory for folder hashes, falling back to old directory/file for reading it 2015-09-15 07:45:58 +00:00
Klaus Leithoff
a93187ec74 fix problem with empty/faulty attachments when saving to infolog on sending when starting from a drafted message 2015-09-11 13:45:45 +00:00
Ralf Becker
a67b3c24df sending whole mail for bodypreference 4, not parsing and reconstruction it first, which has problems around inline images in html mails 2015-09-10 16:00:16 +00:00
Ralf Becker
ded1a651d9 fix handling of inline attachments, still open is that inline attachments are one byte short when send to device and therefore dont display! 2015-09-07 12:59:19 +00:00
Ralf Becker
ac8f68cd29 * Mail: fix PHP Fatal error under 5.3 when displaying mails containing inline-images 2015-09-05 12:25:41 +00:00
Ralf Becker
8b6ba73c79 using calendar_zpush not calendar_activesync 2015-09-04 15:27:41 +00:00
Hadi Nategh
c7b5094d16 Mail preview pane preference:
- Add some translation
- Move the preference into configuration settings
2015-09-02 12:57:23 +00:00
Hadi Nategh
a44e9a6f9e * Mail/preferences: Add Preview Pane option into mail preferences in order to be able to show/hide mail preview pane (split panel) 2015-09-02 09:31:47 +00:00
Hadi Nategh
d721de7ee9 Mailvelope backup/restore integration WIP:
- Add PGP Encryption menu into sidebox of mail and infolog
- Create Backup/Restore operation dialog
2015-08-31 16:40:33 +00:00
Hadi Nategh
944d00c1cb Fix mail tree not showing not subscribed folders if the show all folders is switched on in preferences 2015-08-25 09:36:43 +00:00
Klaus Leithoff
427ba66dfe allow 10, instead of 4 folders for menuaction copy 2015-08-25 08:11:27 +00:00
Ralf Becker
3748005f8b fix not opened tree with new tree-code, if you have only one account and fix state-handling to also store ActiveProfileID pref for a single account 2015-08-21 08:01:42 +00:00
Hadi Nategh
3b4864df7c Mail folder management dialog:
- Add some translation
- Add hints for multiple selection action
- Some styling
2015-08-13 17:34:12 +00:00
Hadi Nategh
fb6d06e322 Mail folder management dialog:
- Fix folder refresh on both index and folderMgmt trees
2015-08-13 10:29:51 +00:00
Hadi Nategh
40e0a2b705 Mail tree phase2:
- Fix mail tree gets stalled after adding new account
2015-08-13 08:55:11 +00:00
Hadi Nategh
c7cc902e1a WIP mail folder management dialog:
- Use long task dialog
- Fix multiple selection and highlighting
- Update index tree after delete operation
2015-08-11 16:28:59 +00:00
Klaus Leithoff
11b2918d47 fix problem on mailsearch. ToDo: Respect range, when given 2015-08-11 08:46:19 +00:00
Hadi Nategh
85286a70da WIP of mail folder management dialog (multiple folders delete action) 2015-08-10 15:45:22 +00:00
Hadi Nategh
a9a246c727 Mail tree phase 2 WIP: Fix checkedSubscribed checkboxes 2015-08-10 14:54:38 +00:00
Hadi Nategh
1cf308411f Mail tree phase 2 W.I.P: Do not open initially other folders but INBOX 2015-08-07 07:47:28 +00:00
Hadi Nategh
1d264a8b64 Mail tree phase2 W.I.P.: Set the initial counters for opened folders 2015-08-05 10:22:29 +00:00
Hadi Nategh
bee933496d Mail tree phase2 W.I.P.:
Make sure node id is string because client-side tree expected to be. Fixes context menu not working after refresh tree
2015-08-05 08:37:22 +00:00
Hadi Nategh
372d82b063 Mail tree phase2 W.I.P.: Fix sieve rules and vacation context menus are not enabled on mail index tree 2015-08-05 07:43:09 +00:00
Hadi Nategh
6e440bd0ba Mail tree phase2 W.I.P.:
-Fix displaying wrong icon for user defined folders
-Fix sorting autofolders
2015-08-04 15:50:28 +00:00
Hadi Nategh
0bde40fac5 Mail tree phase2 W.I.P.:
-Fix translation not working for the first load
-Get all children of active accounts in one go
2015-08-04 08:21:23 +00:00
Hadi Nategh
8096304c6a Mail tree phase 2 W.I.P:
-Remove depricated getFolderTree method and replace it with getTree from mail_tree class
-Fix sorting folders in new folder arrays method
-Fix subscription refresh
2015-08-03 14:33:18 +00:00
Hadi Nategh
d044e75c9c Mail tree phase 2 W.I.P.:
Add functionality to autoload index tree 
Some optimization
2015-07-31 14:21:31 +00:00
Hadi Nategh
033ab7f65d Mail tree phase2 W.I.P.: missing commit from 53261 2015-07-29 14:31:59 +00:00
Hadi Nategh
af491c92b3 Mail tree phase2 W.I.P.: Fix lack of documentation 2015-07-29 13:34:56 +00:00
Hadi Nategh
5011e8153e Disable getFolderstatus in getTreeFolder method as it causes performance issue and some wierd error
- Note: after re-implementing mail tree, getFolderStatus needs to be re-implemented and being used again via new approach
2015-07-29 12:38:10 +00:00
Hadi Nategh
41127ab765 Fix call to not existed static function 2015-07-29 10:26:47 +00:00
Hadi Nategh
c36449cd6e Mail tree W.I.P.: some code cleanup 2015-07-28 13:50:12 +00:00
Hadi Nategh
0c7e104027 More work in progress of mail tree:
-Initiate first level of mailboxes in subscription dialog, and let autoloading do the rest of expensive operation
-Save last state of tree in subscription dialog
-Uses new approach for comparing subscribed and unsubscribed folders
2015-07-27 17:46:45 +00:00
Hadi Nategh
01391055dc W.I.P mail tree: fix wrong profileID 2015-07-23 13:45:57 +00:00
Hadi Nategh
47239b3d23 More W.I.P of mail tree 2015-07-23 13:26:43 +00:00
Hadi Nategh
95123cd89c W.I.P mail tree
-Fix wrong children items from the autoloading
2015-07-22 16:02:44 +00:00
Hadi Nategh
28057d583a W.I.P. mail tree
-Add Checked option to mail tree structure
2015-07-22 12:43:10 +00:00
Klaus Leithoff
d9723648fd adapt SendMail, and getSearchResultsMailbox 2015-07-21 15:23:18 +00:00
Hadi Nategh
27634fd18d Some more W.I.P. of mail tree 2015-07-21 13:24:25 +00:00
Hadi Nategh
51134e581e Mail tree re-structuring W.I.P. 2015-07-20 16:41:50 +00:00
Ralf Becker
696dd8d6a7 also strip personal part from vacation notice addresses, cleaning up code and IDE warnings 2015-07-20 13:00:48 +00:00
Klaus Leithoff
8f63d7e737 adapt GAL and Mailbox search to meet zpush2 expectations on result 2015-07-17 08:41:26 +00:00
Ralf Becker
9ef2cbd98a * Mail/Kalendar: remove iCal from alarms and correctly display canceled events in mail 2015-07-16 09:34:55 +00:00
Klaus Leithoff
3ada72ef2f upon save, reduce possible rfc-addresses to email-address only for forwards on rules and vacationnotices 2015-07-07 13:26:58 +00:00
Klaus Leithoff
69a36ad4e1 fix warning in mail_compose::ajax_searchAddress 2015-07-07 11:44:02 +00:00
Ralf Becker
a639f2a8fb fixed not show attachments by using mimesupport and not bodypreference, also removed wrong Change FOUND! message 2015-07-02 15:42:22 +00:00
Klaus Leithoff
f1c7fc9656 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 13:29:11 +00:00
Klaus Leithoff
299f66cce0 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 12:09:19 +00:00
Klaus Leithoff
cec90fe064 * Mail/ActiveSync: fix priority issue on retrieval of messages 2015-06-30 15:24:06 +00:00
Klaus Leithoff
ee02151c3a attempt to get Sendmail working in zpush implementation 2015-06-23 15:36:12 +00:00
Ralf Becker
666bdd82df * Mail: fix sieve rules for moving mails into folder containing non-ascii chars (Dovecot requires sieve rules in utf8, while Cyrus needs utf7-imap) 2015-06-22 18:49:20 +00:00
Hadi Nategh
cc979c563e * Mail/copmose: Fix mail compose d-n-d for emails and distribution lists 2015-06-16 12:19:57 +00:00
Klaus Leithoff
657e387526 changes to better handle attachments 2015-06-16 11:57:25 +00:00
Ralf Becker
78293e8939 fix wrong class name 2015-06-16 08:24:05 +00:00
Ralf Becker
583ce92b99 work in progress zpush2: to enable see comment in index.php 2015-06-16 06:37:16 +00:00
Hadi Nategh
6258f77a18 Do not add attahcment if it is an inline image attachment 2015-06-12 14:52:22 +00:00
Hadi Nategh
5ba5b0fb45 Do not add inline attachment images again on draft 2015-06-11 17:43:17 +00:00
Ralf Becker
d2eee09ff2 fix for imap_rfc822_write_address from imap extension 2015-06-09 08:54:23 +00:00
Ralf Becker
f4decee1b9 * Mail: correctly quote name / personal part containing German umlauts or special chars when searching for email addresses in compose 2015-06-08 14:26:25 +00:00
Hadi Nategh
a7043964bb Fix translation and appIcon issue in mail integration 2015-06-03 13:24:51 +00:00
Hadi Nategh
8f7a05544e Add mail integration calendar action into preview toolbar 2015-06-03 08:44:44 +00:00
Nathan Gray
c365c386e9 Make sure get_rows is always set, fixes error when setting forced/default columns 2015-06-01 19:18:15 +00:00
Hadi Nategh
ddfaa8202d Fix mail inline images does not work when compose from draft 2015-06-01 09:27:09 +00:00
Nathan Gray
69f1fc4696 Fix some problems with merging into email files:
- Use correct merge sub-class when merging multiple entries
- Accept merge placeholders in to/cc/bcc fields (displayed as invalid, but still accepted)
- Use merge placeholders to pull addresses from associated entry
2015-05-19 19:24:02 +00:00
Ralf Becker
a480dfc022 Encrypt toggle-button in compose to switch PGP encrypted mail on and off 2015-05-19 18:56:12 +00:00
Klaus Leithoff
77c2b3d9af fix for missing mail_bo::replaceEmailAdresses call. Fix for not supported FromName Attribute in compose/egw_mailer 2015-05-19 14:44:30 +00:00
Hadi Nategh
f2793cad97 Always display html for openned drafted message 2015-05-19 14:34:35 +00:00
Klaus Leithoff
50aaafe293 src:cid url its likely to be urlencoded. so decode, before using it 2015-05-19 09:26:08 +00:00
Ralf Becker
38b3122bb8 send OpenPGP/Mime message according to rfc3156, section 4 2015-05-18 19:23:05 +00:00
Hadi Nategh
09fdc8d0fe W.I.P. mail inline images: Include inline images as inline attachments before send 2015-05-18 11:36:11 +00:00
Klaus Leithoff
38bf42b5db use static function emailadmin_imapbase::merge instead of ->mail->merge 2015-05-15 14:07:36 +00:00
Hadi Nategh
73499db1c7 WIP mail inline image
- Define static methods for resolving inline images from CID, based on types
- Fix not showing inline images on reply
2015-05-15 14:00:37 +00:00
Klaus Leithoff
ebd36ab82e simplyfy attachment loops, as we do not have to distinguish between attachments and attached message/rfc anymore 2015-05-12 12:23:36 +00:00
Klaus Leithoff
b6235ba024 reenabling the observance of the preference setting for forward as attachments; add notice to body that forwarded messagebody is found in attachments; add folder info in getAttachment calls when available 2015-05-12 09:06:08 +00:00
Hadi Nategh
facd345880 Check if the mail integration hook is registered, if not, try to register it, otherwise throws an exception with useful information. 2015-05-08 14:36:47 +00:00
Klaus Leithoff
110954de73 improve html / plain handling on message reply and message forward 2015-05-08 14:03:19 +00:00
Klaus Leithoff
bfe0cb3490 more finetunig and debug, as of garbled content / contenttypes; try different emailaddress transform 2015-04-30 13:53:46 +00:00
Klaus Leithoff
e2ee8b9771 more finetunig and debug, as of garbled content / contenttypes 2015-04-30 13:37:20 +00:00
Klaus Leithoff
9ce25811e5 more finetunig and debug, as of garbled content / contenttypes 2015-04-30 13:19:54 +00:00
Klaus Leithoff
995da997c6 * Mail/Activesync: Handle problem when forward / reply on mails original message was not included 2015-04-30 12:20:07 +00:00
Hadi Nategh
5efd6c7787 Remove some left over error_logs and clear the code from IDE warnings 2015-04-28 15:45:10 +00:00
Hadi Nategh
f94610e6df Fix a typo 2015-04-27 13:42:45 +00:00
Hadi Nategh
a3f2dc1488 Fix htmlarea editor always wrap border around editing text in IE 2015-04-27 13:39:27 +00:00
Ralf Becker
86bd575a74 fix PHP Warning array_value expects first parameter to be array 2015-04-22 14:27:49 +00:00
Klaus Leithoff
a238407182 * Mail/Sieve: require a vacation notice text on vacationnotice edit and save. 2015-04-21 11:17:49 +00:00
Hadi Nategh
53363be626 Implement mail integration to an existing ticket 2015-04-20 14:31:21 +00:00
Ralf Becker
ded2c74681 only clean up temp-files, if we dont need them for mail_integration::integrate 2015-04-17 14:40:43 +00:00
Hadi Nategh
aa7edce3b4 Some fixes on mail integration:
- Fix save as raw eml file and send it as attachment
- Fix mail_import in infolog,tracker and calendar does not include raw mail eml attachment as link
- Some IDE clean up for mail and tracker
2015-04-17 09:39:22 +00:00
Ralf Becker
24478fe0d5 cant store a resource in egw_link::set_data() 2015-04-16 07:03:53 +00:00
Hadi Nategh
c0097b3860 More WIP mail message integration:
- Make integrate function a static function
- Implement infolog, tracker and calendar save as buttons in mail compose with open popup
- Fix Date and Max_line_Chars in mail_integration
2015-04-15 15:55:18 +00:00
Hadi Nategh
23000b1ff7 Fix calendar item's group in mail context menu 2015-04-15 12:28:43 +00:00
Hadi Nategh
daafaab2eb Missing file from commit #52506 2015-04-15 12:26:05 +00:00
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Hadi Nategh
7e7f22731a Mail/mimeDecode.php library is no longer used, it's already replaced with horde_mimedecode 2015-04-13 15:45:47 +00:00
Hadi Nategh
c58b950a71 Fix not working forwarding multiple addresses in sieve edit dialog 2015-04-08 16:28:48 +00:00
Klaus Leithoff
e3d4a685af use ENT_SUBSTITUTE on htmlspecialchars to harden display of message as source 2015-04-02 08:48:34 +00:00
Ralf Becker
9fc67020cc * Mail: setting default font-face and -size reliable and remove space in front of cursor 2015-03-31 17:01:25 +00:00
Klaus Leithoff
9bfe86633c make sure we are talking to the correct server when importing messages 2015-03-27 14:51:41 +00:00
Klaus Leithoff
0dca52bc3f on importMessage, beware of serverID:: that is preceeding the folder of the importdestination 2015-03-27 12:59:03 +00:00
Hadi Nategh
caffcee09d Fix eml attached files not getting opened in popup 2015-03-26 10:15:36 +00:00
Ralf Becker
5887bc4313 * Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme 2015-03-25 17:48:24 +00:00
Hadi Nategh
89a9ea4bb1 Some more WIP of attachment mime handling 2015-03-24 11:40:06 +00:00
Ralf Becker
ffceb37973 WIP attachment handling via mime-registry 2015-03-24 09:43:38 +00:00
Nathan Gray
5687471b1c Include group emails in email search results 2015-03-23 22:18:38 +00:00
Klaus Leithoff
b72aef8cc2 remove config option for how2displayIdentities; defaults to show all available now; Remove possible Organization header as it might hold UTF-8 chars and is not sufficiently handled (encoded) by horde 2015-03-20 12:10:53 +00:00
Klaus Leithoff
f7f5662e10 fix for function identity_name to use the same logic on missing identity values (like ident_realname and ident_email) as iterator on identities; if no ident_email is present use the users email-address, if still empty use acc_imap_username if it passes a simple test on qualifying as email address 2015-03-20 11:01:29 +00:00
Klaus Leithoff
1b184f4063 offer additional option for search to search whole message (TEXT); up til now only Message (BODY) was selectable 2015-03-19 14:47:43 +00:00
Hadi Nategh
dcccc2ef7e Make sure distributionlist is resolved in mail compose after submit action 2015-03-19 13:04:37 +00:00
Ralf Becker
6bd503ef4e * Mail: if user never send a mail from an account select first identity with an non-empty signature, not default identity 2015-03-18 16:31:30 +00:00
Klaus Leithoff
2bd096f6e2 handle problem with broken/already set TransferEncoding when replacing Body text/plain or text/html for supplementing the signature 2015-03-17 14:06:44 +00:00
Klaus Leithoff
109b10f5b1 * Mail: deal with folderstructure issues when working with shared folders (others or shared) on constructing the mail foldertree 2015-03-10 14:08:11 +00:00
Klaus Leithoff
c8df7ad0ab disable thread-topic handling, as horde does not support encoding it (thus avoiding utf-8 header field errors); Better handling of drafts with attachments to make sure possible attachments of the original draft are available on send 2015-03-06 09:23:13 +00:00
Hadi Nategh
9ae9ae7274 Implement mobile template for mail index:
- Do not create Splitter for mobile template
- Fix extra_iframe for displaying sieve rules covers mail tree when it is display:none (eg.happens in idots)
- Improve mail app performance browsing with mobile device
2015-02-27 14:47:27 +00:00
Klaus Leithoff
3ef17e277f add missing translations for emptying spam/junk folder; fix setting folder status after voiding spam/junk folder content 2015-02-19 13:41:40 +00:00
Klaus Leithoff
c67ab8744a remove probably wrong assumption on missing ident_id of mailaccount object (as it should not be missing at all) 2015-02-19 12:26:44 +00:00
Klaus Leithoff
acb4f11d24 * Mail: feature to allow to void the (configured) spam/junk folder on right-click action on foldertree 2015-02-19 12:01:18 +00:00
Klaus Leithoff
52b4856a18 when dealing with defaults and identities: retrieve the default identity associated with the current imap-account, rather than the default 2015-02-19 11:37:42 +00:00
Ralf Becker
4078a48fb8 fixed send mail does not contain attachments 2015-02-18 11:17:28 +00:00
Ralf Becker
0413898ce4 * Mail: composed mails saved as draft contains again attachments, drafts created by autosaving every 2 minutes do not for performance reasons 2015-02-18 10:10:10 +00:00
Ralf Becker
9a633cab48 fix PHP Fatal error: Cannot pass parameter 3 by reference 2015-02-16 08:30:50 +00:00
Ralf Becker
2eb5b6f097 read attachment data from etemplate request, use tmpname only to identify it 2015-02-14 20:10:26 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Klaus Leithoff
d15d01a8b4 fix problem(s) with display of attachments on forward when either forwarding inline with several attachments to the forwarded message or forwarding multiple messages as attachment 2015-02-12 15:19:24 +00:00
Ralf Becker
e94c57d6b1 * Mail: fixed exception when opening vacation notice or sieve-rules for an account with a changed standard identity or later created account
emailadmin_account::read_identity() needs ident_id NOT acc_id as 1. parameter
2015-02-09 09:18:05 +00:00
Klaus Leithoff
2e02b05d4e * Mail/Sieve: check capability if VACATION is supported by SIEVE Server before trying to set an serverside vacation absent notice
code clean up in hooks and conditional debug for sendMDN
2015-02-06 12:35:51 +00:00
Klaus Leithoff
062b62f730 mail add anf fix missing translations in mail-prefs 2015-02-03 12:29:02 +00:00
Ralf Becker
7c4bc31306 removing an other unnecessary egw_info[flags][js_link_registry]=true 2015-02-02 19:50:20 +00:00
Ralf Becker
ea60497448 * Mail/IE: fixed compose popup did not open again after it was closed eg. mail was send 2015-02-02 17:06:11 +00:00
Ralf Becker
21d52f5cee fixed warning of calling createRowID static with incompatible $this, it work before because mail_ui as well as mail_compose define $this->mail_bo 2015-01-26 15:04:15 +00:00
Klaus Leithoff
47110d3735 fix for problem preventing async-vacation to be run properly 2015-01-20 14:28:46 +00:00
Hadi Nategh
94ea53a688 * Mail/Sieve: Fix sieve save into folder with wrong namespace 2015-01-19 12:12:18 +00:00
Klaus Leithoff
736eb6a329 bind some errorlog debug output to mail_bo:: variable 2015-01-15 11:03:07 +00:00
Hadi Nategh
df76d33437 Fix mail compose toggle buttons set values 2015-01-13 15:52:00 +00:00
Hadi Nategh
5129750d2e Fix priority toolbar action loses its selected label after submit in compose dialog 2015-01-13 12:14:41 +00:00
Hadi Nategh
e590809211 Set icons for the toolbar priority action in compose dialog 2015-01-09 14:49:56 +00:00
Klaus Leithoff
f384ac50a7 revert accidently ALWAYS looking up the mimeType with mime_magic 2015-01-09 14:11:57 +00:00
Klaus Leithoff
74a6cf6794 * Mail: fix problem on SentCopy ending up with the wrong mailaccount. Should be copied to chosen mailaccount on sending. If none is configured for folder; respect that setting. Ability to choose destination folders from starting mailaccount AND from selected mailaccount (only the original and the final selected mailaccount folders are checked and used for storing copies of the sent mail) 2015-01-09 13:56:14 +00:00
Hadi Nategh
9cac913e33 Fix taking wrong value for priority in compose dialog 2015-01-09 12:58:06 +00:00
Hadi Nategh
bc1578693c Implement save into VFS for mail compose toolbar 2015-01-08 17:06:56 +00:00
Hadi Nategh
f9c1883713 Change compose toolbar default actions and view_range 2015-01-08 15:56:45 +00:00
Hadi Nategh
7134da86b3 Fix compose toolbar ids 2015-01-07 17:37:56 +00:00
Hadi Nategh
7009ba1de0 Fix mail compose issues:
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF 
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
d3d84782a5 Implement mail compose toolbar with toolbar widget which makes actions draggable 2015-01-07 11:57:34 +00:00
Hadi Nategh
8b5bc60235 Consider only vaction by date, missing condition from commit #51139 2015-01-07 08:15:39 +00:00
Hadi Nategh
26c6a96894 Do not show out dated vacation in vacation notice 2015-01-06 16:41:55 +00:00
Ralf Becker
cbf4051ef3 checking sieve enabled on imap-server object not account, so imap plugins can overwrite eg. always set this 2014-12-18 10:04:41 +00:00
Hadi Nategh
66bbe734d8 Set vacation addresses with all aliases if there's nothing set for the first time 2014-12-16 15:24:47 +00:00
Hadi Nategh
f529a4fae6 Clear intervals assigned to window after submit compose dialog 2014-12-16 10:26:44 +00:00