Commit Graph

161 Commits

Author SHA1 Message Date
Klaus Leithoff
582be7b147 harden folder-prefs of user defined accounts, against losing folder-pref settings accidentaly by misconfiguration of the imap account given 2011-11-04 09:20:18 +00:00
Klaus Leithoff
893bdb1524 avoid maximum allowed path length warning - triggered by autoload caused by php.5.3.7 is_a behavior 2011-11-03 15:25:41 +00:00
Klaus Leithoff
9e46f70711 fix problem reported in org-tracker#3067 folder info upon Exists Test not initialized by activesync 2011-11-03 11:20:01 +00:00
Klaus Leithoff
7eafc90307 * email: implementing basic server-side search for email 2011-11-03 08:31:25 +00:00
Klaus Leithoff
320711dca4 * email: fix for problems when trying to open attached messages twice; Solved by handling problems regarding the caching of message structures caused by problems with SessionHandler storing the structure-array 2011-11-03 08:28:56 +00:00
Klaus Leithoff
3978446168 check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img 2011-10-31 10:59:31 +00:00
Klaus Leithoff
571904dceb * eMail: import of VCARD; opening an already imported VCARD as addressbook-entry failed, and VCARD was offered for download; Fixed -> as the expectation was/is that the already imported vcard (found via uid) is opened as addressbook entry (data merged) 2011-10-27 16:18:41 +00:00
Klaus Leithoff
76d2c3ac3d * eMail: bug regarding the mimetype of uploaded files; FF701 reports wrong mime type; work around this, by always checking mimetype by suffix 2011-10-26 12:04:54 +00:00
Klaus Leithoff
9091c829ba introduce static quota to make the call for quota getQuotaRoot faster within one request. ToDo: Cache it for the session 2011-10-25 09:20:53 +00:00
Klaus Leithoff
8ded7d7394 * eMail: workaround for failed merge on signature retrieval, which was seen/reported as no signature on send (or compose) inserted 2011-10-21 10:13:22 +00:00
Klaus Leithoff
fb78a775a0 be more detailed on send errors; handle ContentType for smart forward when content type of message is text/html and of forwarded message content is text/plain 2011-10-19 14:14:40 +00:00
Klaus Leithoff
393dac8001 fix error reported with the stylite tracker(#2447) cannot print mail, as rare setup prevented the access of a drafted message for printing (wrong folder selected) 2011-10-17 15:36:34 +00:00
Klaus Leithoff
6634599014 silence warning regarding array_slice() expects parameter 1 to be array when no messages are found, or the retrieval of uids failed somehow 2011-10-14 07:00:46 +00:00
Klaus Leithoff
3c4ec5bab3 * email: being able to set labels now, as thunderbird supports by default: urgent (red), job (orange), personal (green), to do (blue) and later (purple). If labeled the lines text will be coloured. (If the mailserver does support labels, otherwise you will/should not see any difference) 2011-10-13 14:35:01 +00:00
Klaus Leithoff
db60005691 * email: handle folder status cache for active sync 2011-10-11 16:08:24 +00:00
Klaus Leithoff
014775ab14 try to catch an empty connection error object too, while trying to auto recover on errors; try to disconnect, when connect was successful, but no username for login is supplied 2011-10-10 10:17:07 +00:00
Klaus Leithoff
f444bb253d fix bug regarding caching of email structure by server and uid, as gmail seems to handle uid by folder, not unique for the whole box; now using serverid, folder and uid to work around this behavior 2011-10-10 09:46:27 +00:00
Klaus Leithoff
2b2de0cd8b * eMail: improve connection handling and recovery on problems regarded as minor. offer user the possibility to reset the connection on failure 2011-10-07 10:27:09 +00:00
Klaus Leithoff
42c25d5377 fix bug of lost foldersettings on saving personal email accounts 2011-10-06 15:16:58 +00:00
Klaus Leithoff
40708b49d1 fall back to default timeout (=20) on felamimail_bo->openConnection, as a timeout set to 5 seemed to trigger too many unwanted timeouts 2011-09-28 12:23:14 +00:00
Klaus Leithoff
4e0ae73a73 * email: improve connection handling (targeting failed connects), apply connection timeout on data retrieval as well. 2011-09-28 11:30:59 +00:00
Klaus Leithoff
2d7a2664dd * eMail/Sieve/Vacation: set default to 7 for days setting in vacation for new vacation setups 2011-09-26 14:39:00 +00:00
Klaus Leithoff
c6feba0985 silence error_log on failed connection: tell only on debug==true, as user should be told on ui in anycase 2011-09-21 11:08:41 +00:00
Klaus Leithoff
7ae0a2fda3 * email:caching structure information (per session by server and uid) and status (per server and folder per request) to reduce communication to imap-server with the goal of improved performance clientside and less querying the mailserver 2011-09-21 10:15:35 +00:00
Klaus Leithoff
1f10e743d4 * felamimail: improve connection handling regarding the validation of connections via expected responses 2011-09-21 09:33:04 +00:00
Klaus Leithoff
63a5682169 log an errormessage to error-log, if expunge fails, after moving to trash on deleteMessage 2011-09-13 11:29:57 +00:00
Klaus Leithoff
791590bb31 is_a compatibility vs. php5.3.8 resolving to instanceof operator 2011-09-12 14:06:30 +00:00
Klaus Leithoff
752c0cbb7f * eMail: search for attachments in multipart/alternative (as it is used this way by clients now) to indicate attachments; switch back to DATE for sorting and display (instead of INTERNALDATE and ARRIVAL); using UNDELETED as standard filter instead of ALL on search; search for UNDELETED and UNSEEN on notifications and UNDELETED for eSync; 2011-08-23 13:34:16 +00:00
Klaus Leithoff
cd774a6104 * email: fix for missing style color:red in notification messages 2011-08-17 13:15:28 +00:00
Klaus Leithoff
90f86b3504 * email: fix bug in MailMerge; Mail-Templates with text/html only were not processed as text/html but as text/plain; now this is handeled correctly/as expected 2011-08-16 13:20:46 +00:00
Klaus Leithoff
60f991ec21 * email: fix for ->starting the search with enter with IE opens a compose window<- 2011-08-15 15:52:07 +00:00
Nathan Gray
113f92cd39 Open links on home page in eMail tab 2011-08-04 18:14:19 +00:00
Klaus Leithoff
2b41a75944 if a profile has no signature assigned, return the defaultSig on setComposeSignature 2011-08-03 11:22:56 +00:00
Klaus Leithoff
6cde93b7aa fix bug regarding ->recent messages are not flagged as seen on preview<- 2011-08-03 10:07:37 +00:00
Klaus Leithoff
8009e30086 * eMail: fix refresh behavior, regarding the reading of an eMail in previewMessageArea; timed refresh of Message list, now only refreshes the messageList Area, not the preview area; fix reload behavior on MailDeletion in preview mode (click on delete Icon within previewArea) 2011-08-02 15:39:59 +00:00
Klaus Leithoff
d64bca0330 improving ProfileValidation 2011-08-02 09:00:37 +00:00
Klaus Leithoff
0d94e7f0d3 * eMail: fix bug regarding ->foldertype SENT not detected on preview of message <- 2011-08-01 14:23:45 +00:00
Klaus Leithoff
f4af168888 * eMail: enhancement of visual decoration of high_priority mails and messages that are flagged 2011-08-01 10:53:43 +00:00
Klaus Leithoff
1909213bcb * eSync: fix signature problem, when using emailadmin defined profile 2011-07-29 12:41:08 +00:00
Klaus Leithoff
f911749268 fix warning when there are no userdefined profiles 2011-07-29 09:40:57 +00:00
Klaus Leithoff
30f64cad47 * eMail: (backend) introduce validator for a given eMailProfile ID. A profileID is checked for existence for the active user. If the profileID given does not exist, the next possible valid profileID is returned. This should fix problems regarding the storing of no longer existing profileIDs with the activeProfileID preference. 2011-07-29 09:22:33 +00:00
Klaus Leithoff
2c070b63c9 better control of error_log messages regarding the use of non standard identities while sending 2011-07-28 11:23:32 +00:00
Klaus Leithoff
3e9fa46b21 only allow to fake the Sender with an Alias Identity, when an emailadmin defined profile is used 2011-07-28 10:49:14 +00:00
Klaus Leithoff
d638ba372a * eMail: if the identity used for sending is part of the users mainProfile Identities (provided with the mainProfile by ogServer->getAccountEmailAddress ->NOT USER DEFINED<-) then the sender information is set accordingly, as it is assumed that the emailaddresses fetched with getAccountEmailAdress are known to the SMTP Server, thus allowing to be used as Sender/Return-Path 2011-07-28 10:10:29 +00:00
Klaus Leithoff
8bdb4fdc30 wordwrap , dont break overlong words containing html entities; code formatting 2011-07-27 12:54:47 +00:00
Klaus Leithoff
a3f0a41780 * email: if you want to see eMails as text/plain, you may want to see embedded images, as they are commonly only displayed with html messages 2011-07-26 15:33:34 +00:00
Klaus Leithoff
b42eadf8c6 * eMail: fix for broken showHeader in Message Display window, code cleanup 2011-07-21 13:13:44 +00:00
Klaus Leithoff
7b35552e33 use the correct class for retrieving the message header of the saved draft mail (, on reopen) 2011-07-21 11:13:37 +00:00
Klaus Leithoff
7d955cf2e7 make sure we are connected, before trying to reopen a drafted Message (while/after saving) 2011-07-19 12:56:45 +00:00
Klaus Leithoff
a981c31afd quieten warning regarding foreach on POST->destination 2011-07-19 11:42:35 +00:00
Klaus Leithoff
97a91b82a5 fix bug ->could not parse MimeMessage<- on saving (and reopening) Templates 2011-07-19 11:39:56 +00:00
Klaus Leithoff
944a31e610 use new option to fetch the activeMailProfile by ProfileID 2011-07-18 13:41:13 +00:00
Klaus Leithoff
e9eb6154ff use new option to fetch the activeMailProfile by ProfileID 2011-07-18 13:40:58 +00:00
Klaus Leithoff
e93d0ca3ac * eMail: bugfix for 'identities are set as active profile': status is now checked for active 2011-07-11 11:19:25 +00:00
Klaus Leithoff
d82ce69d2b * eSync: Take care of serverside message flagging on reply and forward 2011-07-08 13:44:08 +00:00
Klaus Leithoff
41f41e698b if requesting UIDs, do not try to look for the set assuming we got ids 2011-07-08 09:37:44 +00:00
Klaus Leithoff
1bd609e940 on changeFolder, skipPrevious, skipForward, changeActiveAccount, etc.; better control on preview - do not try, when there is no preview area active 2011-07-06 10:10:54 +00:00
Klaus Leithoff
1128548a8e on move, remove previewMessage from session 2011-07-06 08:51:12 +00:00
Klaus Leithoff
95a24bbef7 on delete, remove previewMessage from session 2011-07-05 15:54:15 +00:00
Ralf Becker
9db4fa8625 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:12:55 +00:00
Ralf Becker
aee4ea4724 Creating branches/Stylite-EPL-11.1 2011-07-01 10:37:47 +00:00