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