Commit Graph

1301 Commits

Author SHA1 Message Date
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
Ralf Becker
6b2c47a98e remove checks for not longer used PEAR Mail_Mime and Mail_mimeDecode classes 2014-12-15 08:26:24 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Ralf Becker
8548f08947 fixed wrong order of arguments to setVacationUser() 2014-12-09 08:41:03 +00:00
Ralf Becker
2feacbecb8 fixed sometimes not working download of all attachments via zip (name instead of filename set) and changed it to use streams 2014-12-08 18:24:08 +00:00
Ralf Becker
65a9f8e584 fixed not working download/sharing links after signature change yesterday 2014-12-05 11:25:09 +00:00
Klaus Leithoff
3102bf88fa fix problem regarding: uploaded eml files where not handled as message/rfc 2014-12-05 11:14:42 +00:00
Klaus Leithoff
35deef9672 handle new signature preference 2014-12-04 13:48:43 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Ralf Becker
03ea6d9294 next (little) step for sharing files 2014-12-02 19:18:37 +00:00
Klaus Leithoff
1a890a90f3 trying to clean up some code regarding our new send backend 2014-12-02 13:33:16 +00:00
Ralf Becker
63a6ac9a6d first version of linked attachments 2014-12-01 20:14:18 +00:00
Ralf Becker
2e5fcbda4e fixing the fix, we dont want whole mails in memory 2014-11-26 15:05:59 +00:00
Klaus Leithoff
d411dd0658 fix failed attachment of eml file after compose on to_infolog/tracker action 2014-11-26 14:20:18 +00:00
Ralf Becker
dd89cf84f7 parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer 2014-11-26 14:08:52 +00:00
Klaus Leithoff
6502901629 restore activesync stuff after introduction of horde-smtp-mailer 2014-11-26 13:05:10 +00:00
Klaus Leithoff
9c534850be fix broken mail_activesync send after changes how identity is seeded 2014-11-25 14:16:40 +00:00
Ralf Becker
2a0889bcf6 set sender/return-path and from, if empty in identity, setting send/return-path from account, prefering smtp user-name and from from identity 2014-11-25 11:32:25 +00:00
Ralf Becker
3e559d2fda replacing PHPMailer with Horde_Mime_Mail and Horde_Mail_Transport_Smtphorde to overcome memory limit when sending mails 2014-11-24 23:38:37 +00:00
Nathan Gray
a55da7afc6 Change grouping for tree actions to move auto added copy+paste actions up 2014-11-24 15:35:02 +00:00
Ralf Becker
691e28487e further cleanup, identity == signature 2014-11-22 13:17:41 +00:00
Klaus Leithoff
533f13faf8 make sure (or at least try) there is an emailaddress set for ident_email when fetching identities for the current user 2014-11-21 13:45:49 +00:00
Ralf Becker
46b4758dac use a wrapper on a different url for sending mail to be able to select a different fpm pool 2014-11-21 13:37:30 +00:00
Ralf Becker
f5769333da fix compose ID and random string generation to use API auth::randomstring() method 2014-11-21 09:33:34 +00:00
Ralf Becker
0d5fa9615e combined mail account and identity/signature selection, allows now to send with a different identity, also fixed tons of IDE warnings 2014-11-20 17:53:52 +00:00
Klaus Leithoff
8ed0cc2314 fix broken disposition-notification request 2014-11-20 15:51:36 +00:00
Ralf Becker
d3ff144685 first step for a combined account and identity/signature selector 2014-11-20 15:05:25 +00:00
Klaus Leithoff
827caf674f handle error and error-messages on folder-creation. Special handling when having flat folderstructure (no prefix present) 2014-11-20 14:57:34 +00:00
Nathan Gray
a885057213 Support moving from different folders 2014-11-19 19:12:50 +00:00
Klaus Leithoff
06f8a7c829 take the extra time on failure on folderExists, when the folder seems to be not to be there 2014-11-18 15:53:53 +00:00
Ralf Becker
90a70f237f only display "Vacation notice is active" message, if it is active or by a date in future 2014-11-18 14:46:24 +00:00
Klaus Leithoff
9aeae3185a some little additional stuff regarding the signature-selector-placeholder issue in compose 2014-11-11 14:12:34 +00:00
Ralf Becker
df7025f879 allow app to specify "availHeight" for its popup height and keep that height in automatic resize, for OS (eg. Linux) does not report an availHeight < height, we subtract 100px 2014-11-10 10:41:23 +00:00
Klaus Leithoff
4f2219908f make sure preview/display/saveAttachments etc. is using the ImapServer whose Id is passed on with the ID of the mail to be processed 2014-11-06 13:11:44 +00:00
Klaus Leithoff
1d48bf67d5 * Mail: on save as zip: always fetch all attachments, even inline (images); do not fatally fail on empty attachments 2014-11-06 11:42:44 +00:00
Ralf Becker
a37c884969 * Mail: fixed icons for special use folders did not use folders set in mail account 2014-11-05 16:51:55 +00:00
Ralf Becker
e47d4e1dd0 * eSync: fixed not working sending of mails after 14.1.20141021 package 2014-10-29 12:27:44 +00:00
Hadi Nategh
a373f0f458 Fix IDE warnings 2014-10-23 13:59:12 +00:00
Hadi Nategh
050c91225a Fix IDE warning 2014-10-23 11:28:36 +00:00
Hadi Nategh
39091af4e5 Fix compose showing an extra span tag on body when switch from html to plain/text via preferences 2014-10-23 10:27:58 +00:00
Ralf Becker
0f8015e2b8 entry name for mail app 2014-10-21 14:38:20 +00:00
Ralf Becker
dec861fb3e do not use full path of attachments in compose popup 2014-10-20 18:08:03 +00:00
Ralf Becker
8a827671b8 sending mail was failing after r49065 2014-10-20 06:49:23 +00:00
Ralf Becker
64aa838e9d * Mail: import and display of mails failed, if personal part of addresses contains valid encoded utf-8 characters
- using now Horde_Mime_Headers::parseHeaders() for headers instead of Mail_mimeDecode, which should be completly replaced with Horde_Mime_Part::parseMessage()
- replaced imap_rfc822_parse_adrlist with Horde_Mail_Rfc822::parseAddressList() using static wrapper emailadmin_imapbase::parseAddressList()
2014-10-18 16:30:39 +00:00
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +00:00
Nathan Gray
9481dab570 Drag & drop support for mail into filemanager 2014-10-16 22:41:39 +00:00
Ralf Becker
4f59ab7d81 resize import popup to regular compose size 2014-10-15 15:49:41 +00:00
Klaus Leithoff
b3441cb29b * Mail: fix copy/move of mails between accounts by making sure source and target are distinctively defined when performing the move 2014-10-14 08:51:01 +00:00
Hadi Nategh
889c8b88e8 Unset action "moveto" from display toolbar actions 2014-10-10 15:03:00 +00:00
Ralf Becker
418578dc2f remove not used attachmentsPresent value 2014-10-07 07:13:37 +00:00
Hadi Nategh
e68d5c19c6 Fix trash folder label get set by not translated trash folder name after trying to empty the trash 2014-10-06 14:59:13 +00:00
Klaus Leithoff
7f3c3e5613 cope with not set DATE from retrieved headers 2014-10-02 08:44:48 +00:00
Ralf Becker
648649e03f remove calls to removed htmlspecialchars method 2014-09-30 12:36:46 +00:00
Ralf Becker
32a6066156 * Mail: vaction notice indicator in mail showed result of other users
cache-key was identical for all uses due to a typo
2014-09-27 15:27:54 +00:00
Ralf Becker
a6d60cdfba showing buttons by default 2014-09-26 15:32:42 +00:00
Ralf Becker
c557f10bee using getSubFolder as autocomplete for admin usage 2014-09-26 14:18:30 +00:00
Hadi Nategh
d537853c54 Get the mail acl recursive folder working again 2014-09-26 11:24:43 +00:00
Ralf Becker
007b632017 explicitly fetching structure in get_load_email_data, to supply it to getMessageBody and getMessageAtacchemnts, so they dont get fetcheds twice from imap-server 2014-09-25 12:43:06 +00:00
Ralf Becker
756b31ce9f remove html::purify call 2014-09-25 08:47:47 +00:00
Ralf Becker
62b523beac to ease upgrade, as hook is removed 2014-09-25 07:15:30 +00:00
Ralf Becker
3ed259f85f get folder ACL and vacation mostly working for admin usage 2014-09-24 17:25:18 +00:00
Hadi Nategh
695e78c455 * Mail: Make switching between different folders of an mail account available in ACL dialog
-Style mail ACL dialog
2014-09-24 12:02:35 +00:00
Ralf Becker
a0ba88621c first stage of allowing mail app to display further actions in emailadmin edit: Folder ACL and Vacation notice for now 2014-09-24 10:03:00 +00:00
Klaus Leithoff
f9e775c549 * Mail: resolve distributionlists upon saving as draft, infolog, tracker and storing sent message in designated send-folder 2014-09-23 08:23:10 +00:00
Hadi Nategh
3e7b572f16 Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 09:07:48 +00:00
Klaus Leithoff
3b54e4e39a disable non functional readall action on mail display popup actionmenu 2014-09-18 12:33:33 +00:00
Hadi Nategh
7ca9e5c6bf Restructure compose save as draft functionality and implement it as an ajax function 2014-09-12 11:52:38 +00:00
Klaus Leithoff
985398ccbd ensure Message-Id is the same for outgoing mail AND message saved in send-folder 2014-09-11 14:10:01 +00:00
Klaus Leithoff
bb58848939 * Mail: support the propagation of Thread-Topic, Thread-Index and List-Id on reply too 2014-09-11 11:51:07 +00:00
Klaus Leithoff
f1894d64fb * Mail: Respect References AND In-Reply-To Headers, and set them on reply if available 2014-09-11 09:21:07 +00:00
Klaus Leithoff
bc9ee4170d fix for rare problem on toggle html2text resulting in empty content; preparation for REFERENCES and IN-REPLY-TO 2014-09-09 14:04:40 +00:00
Hadi Nategh
bdcda95930 Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 12:08:08 +00:00
Ralf Becker
f157e4f56c using standard emailadmin_account methods for account list and account-name 2014-09-08 14:12:14 +00:00
Klaus Leithoff
29ca1beb5b * Mail: fix for failed zip-download when users startfolder is not writeable
Reason: get_home_dir may fetch the users startfolder if set; if not writeable, action will fail
2014-08-26 12:37:27 +00:00
Klaus Leithoff
814f0b705c fixing assumed typo regarding:preg_match(): No ending delimiter '^' found in class.mail_ui.inc.php on line 144 2014-08-21 14:11:35 +00:00
Ralf Becker
af1bf17228 reverted accidently commited permanent error_log 2014-08-20 16:13:45 +00:00
Ralf Becker
6b243800c4 do not cache, if we dont find selectedFolder in query_context, as looking it up in tree causes mails to be cached for wrong folder 2014-08-20 16:12:19 +00:00
Ralf Becker
c670d879d5 do NOT connect to previous imap server, if user triggers a change of server 2014-08-20 14:58:12 +00:00
Ralf Becker
947f6b1551 fixed PHP Fatal error " Call to undefined method emailadmin_imapbase::subscribe" since r48090 2014-08-18 10:33:22 +00:00
Ralf Becker
e47db95be7 * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:22:43 +00:00
Klaus Leithoff
1f3bb33fd8 implement some >mark all messages in folder as read< action 2014-08-14 15:38:32 +00:00
Klaus Leithoff
2df89703ca * Mail: fix problem on not applied but possibly set status filter on all message actions for flagging 2014-08-14 13:49:14 +00:00
Hadi Nategh
176c1247dc Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder 2014-08-14 11:28:55 +00:00
Ralf Becker
589d2c9dae * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:45:55 +00:00
Nathan Gray
694a63d1f4 Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-12 16:58:07 +00:00
Hadi Nategh
c60b7ae328 Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-12 08:23:54 +00:00
Nathan Gray
91eabea294 Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-11 19:26:50 +00:00
Nathan Gray
82db8343bd Some more speed improvements for initial load:
- Avoid expensive connect in constructor for all AJAX calls (reconnect/cache used instead)
- Don't verify that special folders exist for folder tree
- Only fetch folder counts when fetchCounters flag is set, instead of always
- Avoid some et2 warnings about not existing attributes (no speed improvement, but less annoying)
2014-08-11 16:24:11 +00:00
Ralf Becker
217a2a8a11 fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:16:26 +00:00
Hadi Nategh
cb093e7266 Avoid to call mail constructor (openConnection is an expensive operation) when client-side ask for vacationNotice.
-Check if there's no vacation cached then create mail object (try openConnection) and ask for vacation
-Add account_lid to cached vacations to distinguished them in case if the mail account was a shared profile
2014-08-11 12:14:27 +00:00
Hadi Nategh
f22b156f21 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 13:36:33 +00:00
Hadi Nategh
6b015a9448 Refresh the nm and lock the tree if current active folder is the Trash Folder, when calling "Empty Trash" action, otherwise no need to refresh or lock the tree 2014-08-08 10:04:49 +00:00
Nathan Gray
f19666096e Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough. 2014-08-06 20:53:37 +00:00
Hadi Nategh
4830bcf784 Try to cache vacation for each account to avoid to connect to IMAP server if vacation rules are not changed 2014-08-06 10:56:01 +00:00
Klaus Leithoff
98cd4bbe28 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 11:59:06 +00:00
Hadi Nategh
19ff0d23cc Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-05 09:26:28 +00:00
Klaus Leithoff
1bb1d18997 introduce some stuff to increase inital speed of mail-list by asyncronously calling gatherVacation and getQuotaRoot; increase cache-time on folderExists cache, trust a folder to be existant (or at least fot force the check with IMAP-Server) in get_rows 2014-08-05 08:51:26 +00:00
Hadi Nategh
22d6d80aae Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-04 14:02:05 +00:00
Klaus Leithoff
7967387e3a unlock tree immediately after fetching the rows 2014-08-04 12:59:13 +00:00
Hadi Nategh
9694a4c9f8 Add email addresses of "all my aliases" in mail vacation, not account imap_username 2014-08-01 14:46:36 +00:00
Klaus Leithoff
3358da94e5 alter condion on not calling openConnection; as the refresh of quota was not working after changing a profile after rev47954 and not relyable after rev47956 2014-07-31 10:47:55 +00:00
Klaus Leithoff
14711b891f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; as the refresh of quota was not working after changing a profile after rev47954 2014-07-31 10:42:56 +00:00
Hadi Nategh
8ccef246b4 Do not openConnection an extra time to imap server on constructor for changeProfile, refreshQuotaDisplay 2014-07-31 10:18:41 +00:00
Klaus Leithoff
c1c90c2621 cache subscribedFolders Call to be used in getfolderStatus; control param if to fetch subscribed Info on getFolderStatus at all; own getMailboxCounters wrapper, instead of getFolderStatus, if one needs the counters only 2014-07-31 10:10:07 +00:00
Klaus Leithoff
af749e891e * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:13:34 +00:00
Nathan Gray
73c1f064b9 Don't send mail rows when opening mail app, but use client side cache instead.
Gives large speed improvements when changing to previously opened folders.
2014-07-28 21:21:23 +00:00
Klaus Leithoff
c013b68772 add missing flags parameter on reopening exported messages 2014-07-24 12:00:17 +00:00
Ralf Becker
19651fcb9b remove wrong settings definition, causing an illegal string offset in preferences 2014-07-24 09:53:04 +00:00
Hadi Nategh
0e5747deb0 Make mail ACL account owner row readonly as the owner should not be able to delete/change his rights, he always has full-rights 2014-07-23 11:59:46 +00:00
Ralf Becker
c07599aa27 fixed async job was not removed, if facations was deactivated and only try to reschedule with increasing intervals for 2 days 2014-07-22 12:52:10 +00:00
Klaus Leithoff
cd702481af allow to call getAllIdentities for other users; used for Admin Calling eSync Prefs on Mail for other users 2014-07-22 10:07:30 +00:00
Hadi Nategh
ea6eb12cd4 Fix mail ACL popup dialog does not make delete button readonly for account owner 2014-07-22 08:05:42 +00:00
Hadi Nategh
3055fe6875 Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception 2014-07-18 17:18:29 +00:00
Klaus Leithoff
4e0480054b avoid php-warning regarding missing 4th argument on mail_ui::createAttachmentBlock() 2014-07-17 14:56:37 +00:00
Klaus Leithoff
24606be582 handle all text string for move and delete action success message 2014-07-17 09:59:14 +00:00
Hadi Nategh
07a036b5f4 Fix IDE warnings in mail_ui 2014-07-16 16:34:15 +00:00
Hadi Nategh
2b07a387c6 Remove Mail_ui class out commented statements, in order to make the code easier to read 2014-07-16 13:42:36 +00:00
Hadi Nategh
ae062b12c5 Mail_ui::__construct() free of out commented statements 2014-07-16 12:15:11 +00:00
Hadi Nategh
1d0db1e05b Fix mail import message dialog 2014-07-16 11:37:02 +00:00
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Klaus Leithoff
a0d6257d1e handle message/rfc822 attachments as display when opened from drafted message; properly restore message/rfc822 attachments stored with .eml files 2014-07-11 13:49:27 +00:00
Klaus Leithoff
096f753a59 different approach on calling bulk-download (all attachments in one archive) 2014-07-08 12:01:29 +00:00
Ralf Becker
579e0da787 new method to check if mail account is an imap account: Checks if an imap host, username and NOT deliveryMode="forwardOnly" is set 2014-07-08 11:09:31 +00:00
Klaus Leithoff
05b2773391 fix warning invalid-argument-supplied in notification_check_mailbox 2014-07-08 10:36:04 +00:00
Klaus Leithoff
5b1ed6a756 fix for failed bulk-download of attachments; bo functions for retrieving mail attachments (and header info for subject) NEED the folder information 2014-07-08 10:20:19 +00:00
Klaus Leithoff
07d1ba39a6 handle problems with select-all on flag, move and delete 2014-07-08 08:50:43 +00:00
Nathan Gray
99e28b96b3 Add save all attachments as zip to mail display popup 2014-07-03 17:17:54 +00:00
Nathan Gray
ed6d15098a Add save all attachments as zip to mail preview 2014-07-03 16:57:14 +00:00
Klaus Leithoff
e0b9fadfdd * Mail/Infolog/Tracker: fix problem with converting mail to infolog/tracker entries, when forwarded messages are attached (message/rfc822 attachments) 2014-07-03 10:16:23 +00:00
Hadi Nategh
d67745ce4e Fix mail profile change failure pops up XML error. Instead, make sure if there is an exception then pops up the emailadminWizard or shows up a message via tree node 2014-06-30 15:48:49 +00:00
Hadi Nategh
d23723244d Disable "Set this as default" option for vacation notice if the user is not an admin user 2014-06-30 12:03:09 +00:00
Hadi Nategh
c5ac80225b Add default vacation notice message to vacation notice text if there is no custom message 2014-06-27 14:49:24 +00:00
Ralf Becker
2244d6fc63 remove not implemented "prevent managing forwards", if we want to implement it we will do so on per account basis 2014-06-26 10:14:12 +00:00
Ralf Becker
87d961b8e8 allways give admins or emailadmins all rights, even if they are in a denied group 2014-06-26 09:53:21 +00:00
Klaus Leithoff
3c7a04f903 try to cope with not set content-transfer-encoding 2014-06-24 12:36:16 +00:00
Hadi Nategh
0217c2ebaa Set an empty sidebox if there is json response, and for regular request like idots template render the framework to get header and navbar shown 2014-06-23 11:38:42 +00:00
Klaus Leithoff
0ab34ccfe5 basic implementation on Strg+A for copy/move mails; not working as of now, as this.mail_checkAllSelected(_action,true) seems not to produce the desiredv result on dragndrop 2014-06-20 13:37:20 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
2babf41119 Use popup method to call emailadminWizard when there is no JSON request 2014-06-20 09:28:45 +00:00
Hadi Nategh
c0d85eb33e Make sure to not popup the emailadminWizard if getfoldertree is called via tree interaction 2014-06-18 11:23:54 +00:00
Hadi Nategh
94950729ab Popup the emailadminWizard if there is authentication failure 2014-06-18 09:56:11 +00:00
Klaus Leithoff
9ad4dc5f98 * Mail: if we use a different Identity on sending AND the identity email is different but not empty from the account email; then use identity information for From and FromName; Do not touch Sender;
ToDo: discuss to set replyto accordingly
2014-06-10 14:44:25 +00:00
Klaus Leithoff
48d3f93fa3 always test if there are attachments listed with the header information, as we gather that info anyhow in getHeaders 2014-06-03 07:51:39 +00:00
Klaus Leithoff
324a599ae2 remove egw_refresh and egw_message calls and replace them with (this.)egw.message and (this.)egw.refresh 2014-05-27 13:31:37 +00:00
Klaus Leithoff
30ae5f1b81 * Mail: detect and handle actions on ALL-messages for setting and removing flags and lables for the mailbox we operate on 2014-05-27 12:05:23 +00:00
Klaus Leithoff
8f30c7c25e * Mail: when changing account on compose, we no longer fake the sender, but we use the outgoing Server settings of that account AND copy the sent message to that accounts sentfolder (if set and prefs suggest we should store a copy in the selected accounts sentfolder) 2014-05-23 12:21:17 +00:00
Ralf Becker
f5c186c384 use observer in mail to overwrite refresh for Sieve rules in iframe (like app_refresh) 2014-05-23 09:21:59 +00:00
Hadi Nategh
0209a59252 Remove not used variable 2014-05-23 08:01:56 +00:00
Hadi Nategh
7aa00f7217 Avoid a server round trip for delete a sieve rule via edit dialog 2014-05-23 08:00:41 +00:00
Klaus Leithoff
4ba4ba0545 replace serialize calls with json_encode; 2014-05-23 07:39:52 +00:00
Hadi Nategh
78a461b120 * Mail/Sieve: Show mail sieve rules list in mail index with sidebox mailTree available 2014-05-22 14:46:50 +00:00
Hadi Nategh
6ed0d09212 Fix more warnings (e.g., remove unsed varaibles, and fix miss documentation) 2014-05-22 07:47:49 +00:00
Klaus Leithoff
fa3029a59e fix empty needle warning on compose change profile/signature 2014-05-22 07:45:21 +00:00
Ralf Becker
7a305bdf95 enable/disable Sieve and ACL actions on tree account-specific, also added a couple more icons to tree icons 2014-05-22 07:36:02 +00:00
Ralf Becker
38419b2abe fixed typo causing vacation stored on an other account 2014-05-21 18:16:39 +00:00
Hadi Nategh
f820209a6a Set account object based on acc_id. Additionally, disable acc_id selectbox if not is_admin_vac 2014-05-21 17:44:10 +00:00
Ralf Becker
b0800a1697 make optional $_scriptName last parameter and other cleanups 2014-05-21 15:26:12 +00:00
Hadi Nategh
6b0b8b35fb Fix error of "$this->debug" in async_vacation, and warning regarding retriveRules 2014-05-21 12:23:09 +00:00
Ralf Becker
f98642df20 fixed not existing Sieve script gives now an exception 2014-05-21 11:24:34 +00:00
Ralf Becker
6c1ac892fb moving async job stuff to mail app and storing mail and user account in async job 2014-05-21 08:08:02 +00:00
Hadi Nategh
8bbba434c2 Remove scriptName which is no longer neccessary to be set, as we set it in emailadmin_seive anyway 2014-05-20 17:22:52 +00:00
Ralf Becker
467c715ddc need to use initialised smtp object from mail account 2014-05-20 17:15:37 +00:00
Ralf Becker
c707a25b5a need to check timed Sieve available on icServer object not mail account, to allow plugins to overwrite it 2014-05-20 16:48:44 +00:00