Commit Graph

4695 Commits

Author SHA1 Message Date
Ralf Becker
97a02b5236 * Backup: fix sometimes not working restore (seems like an internal error in preg_match, causing Apache to run at 100% CPU never finishing) for php 5.3+ 2012-06-17 10:11:24 +00:00
Klaus Leithoff
c02fb484f4 removing old kses and replaced htmlpurifier, as both are replaced by htmLawed 2012-06-13 14:58:20 +00:00
Klaus Leithoff
78d4c235c5 mangle @ in blockquote cite attribute 2012-06-13 11:11:29 +00:00
Ralf Becker
191ed55bf9 * eSync/API: update access-log action for eSync, run maintenance only on logout and other changes to speed up access/update to huge access-logs, thought indexes on session_php, (account_id,ip,li), (account_id,loginid,li) will help alot, but are postponed for next version 2012-06-12 06:33:36 +00:00
Ralf Becker
13ae5355ac * Setup/Admin: restoring 10 rows per sql statement to speed up restore 2012-06-10 12:39:08 +00:00
Ralf Becker
be1ab363a5 allow apps to implement further fsck methods 2012-06-08 16:28:44 +00:00
Klaus Leithoff
920729a0bc replace ctype_digit with is_numeric, as ctype_digit returns false on integers 2012-06-06 10:48:21 +00:00
Klaus Leithoff
1c63b3a936 * API: upgrade htmLawed from 1.1.10 to 1.1.11 2012-06-06 08:56:12 +00:00
Klaus Leithoff
8abb10c5ed when converting HTML 2 Text remove style,head and comment style browser-switch 2012-06-04 14:54:08 +00:00
Ralf Becker
30f8a711e3 * API: support windows-1256 via iconv and prefer iconv for windows-1252 too 2012-06-04 11:58:44 +00:00
Klaus Leithoff
fda576c01f * email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog) 2012-06-04 11:31:39 +00:00
Ralf Becker
f926ab9c1c * LDAP: allow to specify multiple (space-separated) ldap URLs (eg. "ldap1 tls://ldap2")
added parameter to constructor to throw exceptions instead of echoing error-messages and returning false on ldapConnect
2012-06-04 08:02:02 +00:00
Klaus Leithoff
e579a54013 handling of multibyte chars in attribute values of tags in mbstring.func_overload enviroments,
as substr_replace does not have a multibyte func overload function associated.
Thus substr_replace(, '', 0, strlen()) will fall short in the above mentioned enviroments; we use our own bytes-function now introduced into htmLawed
2012-05-30 14:49:21 +00:00
Klaus Leithoff
33633cd7a5 attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step 2012-05-30 14:47:03 +00:00
Ralf Becker
668d517a39 * Admin: remove session timeout from EGroupware config and read it via ini_get("session.gc_maxlifetime") as config fails for many reasons, if different from php.ini setting 2012-05-29 14:46:44 +00:00
Ralf Becker
f0b977c11d * Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes 2012-05-22 13:54:45 +00:00
Ralf Becker
28de768d68 fixed PHP 5.4 Warning: Illegal string offset 2012-05-21 10:57:16 +00:00
Ralf Becker
1df0ef843a allow to specify a custom filter for egw_session::session_(list|count)() 2012-05-19 18:20:14 +00:00
Ralf Becker
0f42a2f916 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-05-16 12:39:52 +00:00
Ralf Becker
aed30a9370 missing ms office 2007/10 mime types, thanks to frank.vanbrussel-at-de8.be 2012-05-16 06:06:38 +00:00
Klaus Leithoff
e8f83bede0 work around a problem with balance tags removing content 2012-05-15 15:19:32 +00:00
Ralf Becker
31914b14f3 * AsyncServices/Calendar: when multiple alarms / async jobs run at same time, they send mail with from address of first alarm/job
caused by ExecMethod re-using objects instanciated in $GLOBALS, which get now unset when user-context needs to change because async job runs under different user
2012-05-15 12:16:25 +00:00
Ralf Becker
9c193f3608 fixed since r39109 (merge for filemanager) not working install 2012-05-11 08:36:21 +00:00
Ralf Becker
0ea6a47304 return success or error if called via HTTP as HTTP status 2012-05-08 21:48:30 +00:00
Nathan Gray
5b2b8ea37d Point account links to addressbook view 2012-05-04 14:16:31 +00:00
Klaus Leithoff
154b8ac761 * API/eMail: catching failure to attach files, or fail on attaching empty files, or failure to encode files 2012-05-02 08:33:09 +00:00
Ralf Becker
d5972cd30c call notification hook for unlink/rmdir only after successful removal, but with (not longer existing) stat data 2012-04-19 13:18:19 +00:00
Ralf Becker
0976a3f918 * CalDAV: fixed PHP Fatal Error when iCal contains invalid participant url like Lighttnings "invalid:noemail" 2012-04-19 12:51:29 +00:00
Nathan Gray
2ed67861bd - Allow adding a child category to a restricted category
- Show filter for application global categories

r38832: Default owner to same as parent category when adding a child category
r38891: Fix missing parent category when adding a child when parent has acl
r38939: Apply no_acl_check to global categories too
2012-04-17 14:46:56 +00:00
Ralf Becker
1b4702524a fix not working update from 1.6 by running register-all-hooks after restore (old 1.6 wiki_bo::search_link hook can not run in setup, so we need the new hook) 2012-04-13 14:32:35 +00:00
Ralf Becker
239624ad56 fixed bug in memcache extension < 3.1.1 with memcache > 1.4.3, eg. Debian 6, causing delete of cache items to fail 2012-04-13 10:57:53 +00:00
Ralf Becker
db729eac41 tests for egw_cache_provider and not using APC for cli, if apc.enable_cli is not set
Also did some benchmarking on my Macbook (with a SSD and memcached running on localhost):
Checking egw_cache_memcache:
0 checks failed, 100 iterations took 0.480 sec

Checking egw_cache_apc:
0 checks failed, 100 iterations took 0.025 sec

Checking egw_cache_files:
0 checks failed, 100 iterations took 0.826 sec
--> APC is by a factor of 20 faster then memcached, which is double as fast compared to files on a SSD
2012-04-13 10:22:38 +00:00
Ralf Becker
ed6cf6d158 have to use schema from backup itself, not (autoloaded) current schema 2012-04-13 06:10:13 +00:00
Klaus Leithoff
9503984a4b * API: introduce htmLawed by Santosh Patnaik into EGroupware. Its planned to replace htmlPurifier with htmLawed as htmLawed provides better configurability, needs less resources and is a lot faster; 2012-04-12 13:35:28 +00:00
Ralf Becker
2b1ad4de7a fixed since r38811 not working restore of backups 2012-04-12 13:26:00 +00:00
Ralf Becker
d85cffb5e8 fixed since r38811 not working restore of backups 2012-04-12 13:25:27 +00:00
Ralf Becker
2f1981372a * CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible 2012-04-12 10:44:37 +00:00
Ralf Becker
15c9fd0d32 * CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible 2012-04-12 10:44:00 +00:00
Ralf Becker
ffee79b8ea * Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns) 2012-04-12 08:08:06 +00:00
Ralf Becker
18d74430ea * Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns) 2012-04-12 08:04:35 +00:00
Ralf Becker
06e213194f docu update: added accounts-addressbooks accessible via CardDAV 2012-04-11 20:33:54 +00:00
Ralf Becker
5e66d1a2ce docu update: added accounts-addressbooks accessible via CardDAV 2012-04-11 20:33:24 +00:00
Ralf Becker
7b393d6ab9 disable encoding as entities, as it is unnecessary in EGroupware, because we are using utf-8 everywhere 2012-04-11 14:57:00 +00:00
Ralf Becker
195f3dd64b * most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source) 2012-04-11 14:52:30 +00:00
Ralf Becker
18e2ba28fc * most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source) 2012-04-11 14:52:08 +00:00
Ralf Becker
bcb9b2f5c9 fixing the fix: api version is not yet read, therefore use modifiction time of phpgwapi/inc/setup.inc.php instead 2012-04-10 07:53:08 +00:00
Ralf Becker
16e41660c6 fixing the fix: api version is not yet read, therefore use modifiction time of phpgwapi/inc/setup.inc.php instead 2012-04-10 07:52:31 +00:00
Ralf Becker
7e2fd95d9e * CalDAV/CardDAV: add API version to pseudo session-id used to invalidate all sessions from the previous version (which eg. give database errors, because using old schema) 2012-04-07 06:53:38 +00:00
Ralf Becker
a3eac1712c * CalDAV/CardDAV: add API version to pseudo session-id used to invalidate all sessions from the previous version (which eg. give database errors, because using old schema) 2012-04-07 06:53:04 +00:00
Ralf Becker
ffc4a60bec store already read table-defintions no longer in session (in ['egw_info']['apps'][]['table_defs']) but in a static variable only within the request:
--> keeps session smaller
--> php file with table-defintion get stored by accelerator anyway, so nothing to gain
--> if schema get's updated long running sessions like CalDAV not getting fatal errors
2012-04-05 07:15:26 +00:00