Commit Graph

867 Commits

Author SHA1 Message Date
nathangray
c7d84ff9f0 Fix mail merge into mail template excluded BCC 2018-04-23 08:51:31 -06:00
Ralf Becker
e828d0564c * EMail: fix searching in email gives an error
reverting commit 5bd63482ea as the implemented __isset and ArrayAccess interface hide the one implemented by parent Horde_Imap_Client
2018-04-20 10:41:44 +02:00
nathangray
59483c4b79 * Api - Fix references to sub-fields of custom field entries only merged for the first entry of each type 2018-04-17 09:36:12 -06:00
Ralf Becker
cb3de8cf91 implement __isset and ArrayAccess for Imap, to allow eg. to use empty($imap->attribute) 2018-04-17 10:34:12 +02:00
Ralf Becker
3d449c6a33 fix PHP 7.2 Warning: The each() function is deprecated 2018-04-13 16:09:44 +02:00
Ralf Becker
8275f3401e * Setup: updates from old versions (eg. 1.4 or 1.8) no longer require to update to 14.x and 16.1 first 2018-04-13 13:49:30 +02:00
Ralf Becker
56d60ed64f fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:14:29 +02:00
Ralf Becker
1495a8b0b2 * Setup/Restore: restore from a other charsets then utf-8 failed 2018-04-12 18:01:46 +02:00
Ralf Becker
e613c59dc3 * All apps: fixed moving attachments to new entries (without attachments) lost moved file 2018-04-12 15:14:26 +02:00
Ralf Becker
298a2041ab * CalDAV/resources: fix wrong ACL/rights send to clients (PHP warning in log) 2018-04-12 13:05:14 +02:00
Ralf Becker
e6ccdba871 run fastcgi_finish_request also for non-compat install 2018-04-11 15:07:01 +02:00
Ralf Becker
8cd1707736 fix shutdown functions did not have $GLOBALS[egw] set, caused by session created by MServer 2018-04-11 15:07:01 +02:00
Ralf Becker
0bac07f1ba fixing function and test 2018-04-11 14:06:54 +02:00
Ralf Becker
188865566b limit filesystem depth for managed attachments to gard against infinit recursion 2018-04-11 11:26:26 +02:00
Ralf Becker
c795f13f81 remove 4-byte unicode when cleaning subjects 2018-04-11 11:24:53 +02:00
Ralf Becker
d647c197a7 fix smime key got immediatly deleted again 2018-04-10 15:22:42 +02:00
Ralf Becker
b968f65b4a fixing not working links stream-wrapper 2018-04-10 08:56:20 +02:00
Ralf Becker
4c99e0bf99 fix Scrutinizer issue (seems to be some left over old code) 2018-04-09 17:36:35 +02:00
Ralf Becker
0d984589ff * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 17:36:35 +02:00
Hadi Nategh
53a4130722 Fix move/copy actions in link_to widget vfsSelect try to create not unwanted new symlink 2018-04-04 17:55:14 +02:00
Hadi Nategh
7ac0e33fbb Make sure mail_bo object is there before using it, fixes error "can not call undefined function reopen()" 2018-04-03 10:34:52 +02:00
Hadi Nategh
5c19bbfd2c Implement new feature for vfs-select widget to accept extra buttons action. Additionally, add extra "copy" and "move" actions to link-to vfs dialog. 2018-03-28 11:13:26 +02:00
Hadi Nategh
a0ac4ed927 Fix merge replace placeholders causes huge performance issue. Additionally, fixes the extra $ sign shown up in replaced placeholders. 2018-03-23 16:48:02 +01:00
Ralf Becker
442da1e381 * Sharing/Collabora: fix not working cleanup of temp. files and shares
- 14.x installs had the job created with old class-name egw_sharing
- Wopi shares where never cleaned up, they are now after 3 month
2018-03-22 13:12:50 +01:00
Ralf Becker
762c60a61f new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:40:59 +01:00
Ralf Becker
8c23fca35e do NOT use hostname configured in setup, if it is the default localhost
stick with HTTP Host header in that case
2018-03-21 11:45:25 +01:00
nathangray
e7df918794 Re-init static streamwrapper, as some of them look at permissions or preferences 2018-03-20 15:22:50 +01:00
Hadi Nategh
796f485117 Remove not used csp method 2018-03-20 15:04:28 +01:00
Ralf Becker
d426394685 correctly propagate readonly for sharing and Collabora 2018-03-20 11:54:33 +01:00
Hadi Nategh
be4696b857 Get Collabora+Sharing into latest stable version 2018-03-19 16:05:43 +01:00
Ralf Becker
13c564e6a6 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:55:40 +01:00
stefanwerfling
1fe5478761 Update autoload.php
- add interface exist check for interface loading by vendor classes
2018-03-13 17:04:56 +01:00
Ralf Becker
0984cb7d8e * AD/LDAP migration: change favorites and index states too 2018-03-12 21:23:49 +01:00
nathangray
183ee014c6 API - Avoid issue with incompatable types by forcing to array, even if no account found 2018-03-12 09:02:52 -06:00
Ralf Becker
c4c57acf3d * EMail/Tracker/InfoLog: fix error converting mails by replacing 4-byte utf8 chars
MySQL and MariaDB before 10.1 need 4-byte utf8 chars replaced with our default utf8 charset
(MariaDB 10.1 does the replacement automatic, 10.0 cuts everything off behind and MySQL gives an error)
Changing charset to utf8mb4 requires schema update, shortening of some indexes and probably have negative impact on performace!
		if (substr($this->Type, 0, 5) == 'mysql' && $this->ServerInfo['version'] < 10.1)
		{
			$value = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value);
		}
2018-03-12 14:03:52 +01:00
Ralf Becker
9ce0feaf9b * Api: use proxy configuration when downloading available tutorial videos 2018-03-12 11:19:10 +01:00
Hadi Nategh
569c7d2218 Fix tutorials.json url to use https 2018-03-12 11:08:38 +01:00
Ralf Becker
181747d006 Fix not working textbox validators containing backslashes
PHP xml parser reads backslashes literal from attributes, 
while JavaScript ones need them escaped (eg. like PHP strings)
-> replace \\ with \ to get following XML working: validator="/^\\d+$"
2018-03-10 17:57:12 +01:00
nathangray
b475edc7a2 Silence warning about time in array format by passing it to constructor 2018-03-09 15:15:36 -07:00
Ralf Becker
09b6d37a04 * ActiveDirectory: additional allow accountExpires=0 for never expires
(beside attribute is not set or has value 9223372036854775807)
2018-03-09 19:57:09 +01:00
nathangray
45c7aa7c9c * Api - Check if email address is known before offering 'Add as contact' button 2018-03-07 11:46:58 -07:00
Hadi Nategh
f97c18c108 * Mail: Fix "tel:" href links wrongly get denied by mail compose 2018-03-05 18:21:06 +01:00
Hadi Nategh
d7ce6af567 Fix mail with a bold digits gets removed from text part 2018-03-05 17:32:16 +01:00
Hadi Nategh
bba57a254b Fix broken sharing caused by commit 89a8e6f448 2018-03-05 11:15:35 +01:00
Hadi Nategh
a987ddbe85 Make sure replace only and only VT char (Vertical Tab) 2018-03-02 12:14:17 +01:00
Ralf Becker
4ada67ee81 if we can not store failed login attempts in database, store it in cache 2018-02-28 18:02:53 +01:00
Ralf Becker
e4a5d599a2 * All apps: multiselect custom-field switches to single select after submit 2018-02-28 13:42:36 +01:00
Ralf Becker
ec9cc20c11 Switching consistent hashing (Libketama) off by default
as for just 2 Memcached servers it creates an extrem unbalanced 
distribution favoring the 2. server and has no benefits,
as requests to the failed node can only go to the other one anyway.
2018-02-28 10:47:35 +01:00
nathangray
5807fd0f43 * InfoLog/PHP7.1: fix fatal error stalling merge-print of some InfoLog templates under PHP 7.1+
Make prefix argument optional
2018-02-28 10:15:51 +01:00
Ralf Becker
64aba9cbb9 * Admin: new config to generate no or lowercase email addresses for new users 2018-02-20 09:17:17 +01:00