Commit Graph

4549 Commits

Author SHA1 Message Date
Ralf Becker
f88aa3738b * Admin/DB-Backup: querying only chunks for 100 rows, to not run into memory limit on huge tables 2012-06-30 15:18:49 +00:00
Klaus Leithoff
45fe6d9fea for new (autocreated) accounts, set ->can change password<- appropriately, move section before processing of hooks 2012-06-29 13:54:13 +00:00
Klaus Leithoff
fa90c1066c * API: for new (autocreated) accounts, set ->can change password<- flag only if admin requires his users to change their passwords regularily (admin->site configuration->set recurrent forced password change) 2012-06-29 11:38:58 +00:00
Ralf Becker
09997309ab docu update 2012-06-29 09:05:22 +00:00
Ralf Becker
5100dfcc71 * Password: fixed not working check, if user has right to change password, causing password link in topmenu to be displayed when not in preferences app 2012-06-29 07:14:46 +00:00
Ralf Becker
2674b43532 create valid SQL, even if account has for whaterver reason no group-memberships 2012-06-28 16:39:36 +00:00
Nathan Gray
3d4b28ae15 Add changes in linked files into history log (et2) 2012-06-27 20:32:45 +00:00
Ralf Becker
b025809df1 * CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7 2012-06-27 20:08:56 +00:00
Ralf Becker
52d7d6bbcf * Admin: global categories showed private categories of other users 2012-06-27 16:04:51 +00:00
Klaus Leithoff
fafb8947d3 * API: HTML Editor-> disable encoding as entities needs to set the config value to false, as the default is true with the current ckeditor version 2012-06-26 12:37:42 +00:00
Ralf Becker
ab086e10a2 * Filemanager/API: automatically decrement and store subquery depth limit, to work around different limits in different MySQL versions and configurations causing SQL error 2012-06-26 12:07:37 +00:00
Ralf Becker
3418c5284e * 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:10:46 +00:00
Klaus Leithoff
502a00e17f mangle @ in blockquote cite attribute 2012-06-13 11:10:12 +00:00
Ralf Becker
fb00481043 * 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 2012-06-12 06:37:58 +00:00
Ralf Becker
c3e0a2ab15 * Setup/Admin: restoring 10 rows per sql statement to speed up restore 2012-06-10 12:38:35 +00:00
Ralf Becker
27748e4f50 allow apps to implement further fsck methods 2012-06-08 16:19:21 +00:00
Klaus Leithoff
c0dcb66ebc replace ctype_digit with is_numeric, as ctype_digit returns false on integers 2012-06-06 10:48:58 +00:00
Klaus Leithoff
fdfcdfc387 * API: upgrade htmLawed from 1.1.10 to 1.1.11 2012-06-06 08:54:35 +00:00
Nathan Gray
09937c410d Fix history logging of removed links when removing by link_id - need to read values before they are deleted 2012-06-05 16:44:48 +00:00
Klaus Leithoff
c00e9756eb when converting HTML 2 Text remove style,head and comment style browser-switch 2012-06-04 14:56:45 +00:00
Ralf Becker
dc17cfbb47 * API: support windows-1256 via iconv and prefer iconv for windows-1252 too 2012-06-04 11:58:08 +00:00
Klaus Leithoff
6fcc4455e4 * email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog) 2012-06-04 11:26:40 +00:00
Ralf Becker
e1cb2efa1b moved uri parsing into _connect, to allow multiple uri not just multiple hosts and added parameter to constructor to throw exceptions instead of echoing error-messages and returning false on ldapConnect 2012-06-04 07:59:07 +00:00
Ralf Becker
0c6d80d778 * API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history 2012-06-01 13:13:06 +00:00
Klaus Leithoff
d4c0a892cb remove kses and htmlpurifier, as they are replaced by htmLawed now 2012-06-01 12:46:59 +00:00
Klaus Leithoff
b6638adc24 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 09:22:27 +00:00
Nathan Gray
41cf864a73 Respect group filter, if passed 2012-05-29 22:24:15 +00:00
Ralf Becker
a1f6f70330 * 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:43:33 +00:00
Klaus Leithoff
2509d7783f 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-25 12:23:11 +00:00
Nathan Gray
efbb743cc6 Log removal of link in history 2012-05-24 17:33:16 +00:00
Ralf Becker
6ff1db3534 * 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:51:30 +00:00
Ralf Becker
3e8501a139 fixed PHP 5.4 Warning: Illegal string offset 2012-05-21 10:56:14 +00:00
Ralf Becker
d9142cca30 allow to specify a custom filter for egw_session::session_(list|count)() 2012-05-19 18:19:43 +00:00
Ralf Becker
7548d5c1e2 missing ms office 2007/10 mime types 2012-05-16 06:04:35 +00:00
Klaus Leithoff
6d650d6abf work around a problem with balance tags removing content 2012-05-15 15:17:27 +00:00
Ralf Becker
d2a667c040 * 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:15:18 +00:00
Nathan Gray
2764e9529c Add function to get integer/byte filesize from human readable 2012-05-14 19:10:45 +00:00
Ralf Becker
5cafed6381 fixed since r39109 (merge for filemanager) not working install 2012-05-11 08:35:32 +00:00
Ralf Becker
30e86a8195 return success or error if called via HTTP as HTTP status 2012-05-08 21:47:49 +00:00
Nathan Gray
065fd1a772 Point account links to addressbook view 2012-05-03 15:23:30 +00:00
Klaus Leithoff
1f6c3b2df7 * API/eMail: catching failure to attach files, or fail on attaching empty files, or failure to encode files 2012-05-02 08:31:59 +00:00
Ralf Becker
1e4c845aab call notification hook for unlink/rmdir only after successful removal, but with (not longer existing) stat data 2012-04-19 13:18:00 +00:00
Ralf Becker
c3c785de0b * CalDAV: fixed PHP Fatal Error when iCal contains invalid participant url like Lighttnings "invalid:noemail" 2012-04-19 12:51:04 +00:00
Nathan Gray
ebdc207ff5 Apply no_acl_check to global categories too 2012-04-16 16:37:18 +00:00
Ralf Becker
797a412ec8 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:33:43 +00:00
Ralf Becker
747b403973 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:27 +00:00
Ralf Becker
189d89be1b 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:21:58 +00:00
Ralf Becker
a548f444e1 have to use schema from backup itself, not (autoloaded) current schema 2012-04-13 06:09:51 +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
d85cffb5e8 fixed since r38811 not working restore of backups 2012-04-12 13:25:27 +00:00