Commit Graph

1026 Commits

Author SHA1 Message Date
Hadi Nategh
23aea3864c Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains 2016-12-02 10:09:56 +01:00
Klaus Leithoff
22c63665fc make sure changeFolder (and delete) actions are not cached either in class-var or in cache-object by explizitly calling getFolderObjects reinitializing cache 2016-11-30 15:11:42 +00:00
Hadi Nategh
5fb70c77ab Work in progress of mail external image handler 2016-11-23 18:52:43 +01:00
Hadi Nategh
4b6293cfe1 Fix inline forward an email from draft folder does not include attachments 2016-11-23 12:23:11 +01:00
Klaus Leithoff
e9155a000b * Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature 2016-11-10 12:50:51 +00:00
Klaus Leithoff
dbc31d5ccb fix problem with AlterPingChanges with non selectable folders 2016-10-25 11:39:23 +00:00
Klaus Leithoff
910b92acca catch errors/exceÃptions on fetchMessages in GetMessageList (e.g. on not existing folders) 2016-10-24 16:46:45 +00:00
Klaus Leithoff
7588c9a493 rework of fix for problem regarding send with bcc when using esync 2016-10-19 10:01:38 +00:00
Klaus Leithoff
c47d8a26c3 * Mail: fix problem regarding send with bcc when using esync 2016-10-18 13:59:32 +00:00
Ralf Becker
a41f78381c Stylite AG --> EGroupware GmbH 2016-10-08 14:32:58 +02:00
Hadi Nategh
3130f9df52 Run HTMLawed on compose body 2016-10-05 16:31:58 +02:00
Hadi Nategh
83de4986c8 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-21 15:52:50 +02:00
Hadi Nategh
be629154af * Mail: Fix save button in image view mode (expose) does not work for mails attachments 2016-08-30 11:27:13 +02:00
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