Hadi Nategh
85286a70da
WIP of mail folder management dialog (multiple folders delete action)
2015-08-10 15:45:22 +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
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
51134e581e
Mail tree re-structuring W.I.P.
2015-07-20 16:41:50 +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
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
Klaus Leithoff
50aaafe293
src:cid url its likely to be urlencoded. so decode, before using it
2015-05-19 09:26:08 +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
Hadi Nategh
f94610e6df
Fix a typo
2015-04-27 13:42:45 +00:00
Hadi Nategh
53363be626
Implement mail integration to an existing ticket
2015-04-20 14:31:21 +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
Hadi Nategh
23000b1ff7
Fix calendar item's group in mail context menu
2015-04-15 12:28:43 +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
Klaus Leithoff
e3d4a685af
use ENT_SUBSTITUTE on htmlspecialchars to harden display of message as source
2015-04-02 08:48:34 +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
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
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
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
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
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
Ralf Becker
9a633cab48
fix PHP Fatal error: Cannot pass parameter 3 by reference
2015-02-16 08:30:50 +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
7c4bc31306
removing an other unnecessary egw_info[flags][js_link_registry]=true
2015-02-02 19:50:20 +00:00
Klaus Leithoff
736eb6a329
bind some errorlog debug output to mail_bo:: variable
2015-01-15 11:03:07 +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
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
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
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
dd89cf84f7
parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer
2014-11-26 14:08:52 +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
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
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
Hadi Nategh
a373f0f458
Fix IDE warnings
2014-10-23 13:59:12 +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
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
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
Klaus Leithoff
3b54e4e39a
disable non functional readall action on mail display popup actionmenu
2014-09-18 12:33:33 +00:00
Hadi Nategh
bdcda95930
Make the saveAsDraft and print functionality working in mail compose dialog
2014-09-09 12:08:08 +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
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
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
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