Commit Graph

4711 Commits

Author SHA1 Message Date
Ralf Becker
d82e3c9d34 fixed PROPFIND did not return additional properties if path contained special chars like ? or # 2012-07-13 15:55:52 +00:00
Ralf Becker
e74f40b451 only create a temporary mount for ownCloud clients on /clientsync, thought admin can create a different permanent one 2012-07-12 08:48:37 +00:00
Ralf Becker
e5fe9bc578 * PostgreSQL: fixed SQL error using egw_db::unix_timestamp(): No function matches the given name and argument types 2012-07-10 13:51:16 +00:00
Ralf Becker
ee03023401 allow to use default host, but give a dn and pw 2012-07-05 07:24:59 +00:00
Klaus Leithoff
3a9762bddd fix problem occurred caused by faulty merge: causing the unwanted html encoding of entities 2012-07-03 15:13:10 +00:00
Ralf Becker
67379b1104 limit IE hack (no attachment in Content-disposition header) to IE < 9 2012-07-03 09:33:45 +00:00
Ralf Becker
487770bc32 invalidate categories cache after DB restore 2012-07-03 08:17:11 +00:00
Ralf Becker
99cf7fd81f chunk size for number of rows to query was far to low for huge tables like egw_history_log which can be a couple of million rows, backup took far to long 2012-07-03 07:06:15 +00:00
Ralf Becker
fd6a7ea790 * Admin/DB-Backup: querying only chunks for 100 rows, to not run into memory limit on huge tables 2012-06-30 15:19:22 +00:00
Klaus Leithoff
e36b712421 * 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 14:03:41 +00:00
Ralf Becker
8a3f253076 docu update 2012-06-29 09:05:53 +00:00
Ralf Becker
55f7f8d681 * 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:11:57 +00:00
Ralf Becker
5cbc182ac4 create valid SQL, even if account has for whaterver reason no group-memberships 2012-06-28 16:37:43 +00:00
Ralf Becker
a274709e55 * Admin: global categories showed private categories of other users 2012-06-27 16:05:12 +00:00
Klaus Leithoff
93d83f319d * API: HTML Editor-> disable encoding of html entities in output (this needs to set the ckeditor config value to false, since the default is true with the current ckeditor version) 2012-06-26 12:42:52 +00:00
Ralf Becker
99150590c6 * 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:05:31 +00:00
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