Klaus Leithoff
9bb5ddfdf4
upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik
2012-07-31 15:14:44 +00:00
Ralf Becker
0d84fdd087
jQuery 1.6 (used in Trunk) needs to use prop() instead of attr() to access DOM attributes
2012-07-31 13:35:29 +00:00
Ralf Becker
56c1ef67cb
* LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations
2012-07-31 12:28:28 +00:00
Ralf Becker
42563b8d1a
* LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations
2012-07-31 12:28:05 +00:00
Klaus Leithoff
eafb5f8730
take care of php-warning on str_repeat (second param has to be greater or equal to 0)
2012-07-31 11:06:55 +00:00
Klaus Leithoff
44d80c2476
take care of php-warning on str_repeat (second param has to be greater or equal to 0)
2012-07-31 11:03:17 +00:00
Klaus Leithoff
b140ea5093
simple balancing on throwaway divs
2012-07-31 11:00:54 +00:00
Klaus Leithoff
af782d1fc7
simple balancing on throwaway divs
2012-07-31 10:59:56 +00:00
Ralf Becker
66e9ef08b3
fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration
2012-07-31 09:56:57 +00:00
Ralf Becker
b0267b6744
fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration
2012-07-31 09:56:25 +00:00
Klaus Leithoff
1fb2198422
throwing away excess div elements, that carry no style or class or id info
2012-07-30 15:09:57 +00:00
Klaus Leithoff
9526746694
throwing away excess div elements, that carry no style or class or id info
2012-07-30 15:07:56 +00:00
Klaus Leithoff
1d928dd98c
small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags)
2012-07-27 10:21:00 +00:00
Klaus Leithoff
0904fb74b6
small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags)
2012-07-27 10:17:06 +00:00
Ralf Becker
aa6a4bbc36
fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix
2012-07-20 16:30:56 +00:00
Ralf Becker
13bcf73178
fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix
2012-07-20 16:30:26 +00:00
Ralf Becker
55c704a2b3
* Admin/Setup: fixing high memory usage in registering all hooks
2012-07-18 10:34:54 +00:00
Ralf Becker
44dd8e92e9
* Admin/Setup: fixing high memory usage in registering all hooks
2012-07-18 10:34:31 +00:00
Ralf Becker
bff9f76f64
slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified
2012-07-17 15:17:53 +00:00
Ralf Becker
bf9efd2acc
slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified
2012-07-17 15:17:22 +00:00
Ralf Becker
54a2a21a4f
fixed 5.4 PHP Warning: Illegal offset type
2012-07-17 13:59:56 +00:00
Ralf Becker
493bf3bcd0
fixed 5.4 PHP Warning: Illegal offset type
2012-07-17 13:59:37 +00:00
Ralf Becker
cc4280b184
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:37:51 +00:00
Ralf Becker
6699e26062
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:36:53 +00:00
Ralf Becker
6b06546565
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:27:28 +00:00
Ralf Becker
dea7e46a2d
accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory
2012-07-16 12:27:01 +00:00
Ralf Becker
891fece61a
using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs
2012-07-16 12:05:46 +00:00
Ralf Becker
04f732e653
using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs
2012-07-16 12:05:21 +00:00
Ralf Becker
727bd06868
fix returned xml for correct expansion is empty
2012-07-15 09:55:46 +00:00
Ralf Becker
1b29c4cea0
fix returned xml for correct expansion is empty
2012-07-15 09:54:55 +00:00
Ralf Becker
476dc6ad93
* CalDAV: expand-property reports queried by iCal from OS X 10.7.4
...
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, which is now also handled correct.
2012-07-15 09:15:57 +00:00
Ralf Becker
b4f087e41e
correctly returning multiple expanded properties as eg. calendar-proxy-(read|write)_for example
2012-07-15 09:12:28 +00:00
Ralf Becker
b690d98fc4
* CalDAV: expand-property reports queried by iCal from OS X 10.7.4
...
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, this is NOT yet handled correct!
2012-07-14 19:41:43 +00:00
Ralf Becker
cd65835d47
fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!)
2012-07-14 08:57:29 +00:00
Ralf Becker
588950ae29
fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!)
2012-07-14 08:53:44 +00:00
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
49a90413e4
fixed PROPFIND did not return additional properties if path contained special chars like ? or #
2012-07-13 15:55:29 +00:00
Ralf Becker
f4724ee3d4
xcache caching provider
2012-07-12 13:18:22 +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
371ebda9b0
only create a temporary mount for ownCloud clients on /clientsync, thought admin can create a different permanent one
2012-07-12 08:48:13 +00:00
Nathan Gray
417c1aa27f
Use creator if file modifier is null
2012-07-10 15:51:14 +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
d97111833c
* PostgreSQL: fixed SQL error using egw_db::unix_timestamp(): No function matches the given name and argument types
2012-07-10 13:50:45 +00:00
Ralf Becker
ee03023401
allow to use default host, but give a dn and pw
2012-07-05 07:24:59 +00:00
Ralf Becker
86df4ba58b
allow to use default host, but give a dn and pw
2012-07-05 07:23:06 +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
3459a34a9f
limit IE hack (no attachment in Content-disposition header) to IE < 9
2012-07-03 09:33:26 +00:00
Ralf Becker
487770bc32
invalidate categories cache after DB restore
2012-07-03 08:17:11 +00:00
Ralf Becker
dc7259a59c
invalidate categories cache after DB restore
2012-07-03 08:16:52 +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
d0f097e1ec
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:05:55 +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
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
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
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
8a3f253076
docu update
2012-06-29 09:05:53 +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
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
2674b43532
create valid SQL, even if account has for whaterver reason no group-memberships
2012-06-28 16:39:36 +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
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
a274709e55
* Admin: global categories showed private categories of other users
2012-06-27 16:05:12 +00:00
Ralf Becker
52d7d6bbcf
* Admin: global categories showed private categories of other users
2012-06-27 16:04:51 +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
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
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
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
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
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
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
c3e0a2ab15
* Setup/Admin: restoring 10 rows per sql statement to speed up restore
2012-06-10 12:38:35 +00:00
Ralf Becker
be1ab363a5
allow apps to implement further fsck methods
2012-06-08 16:28:44 +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
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
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
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
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
fda576c01f
* email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog)
2012-06-04 11:31:39 +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
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
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
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
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
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
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
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
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
28de768d68
fixed PHP 5.4 Warning: Illegal string offset
2012-05-21 10:57:16 +00:00
Ralf Becker
3e8501a139
fixed PHP 5.4 Warning: Illegal string offset
2012-05-21 10:56:14 +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
d9142cca30
allow to specify a custom filter for egw_session::session_(list|count)()
2012-05-19 18:19:43 +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
Ralf Becker
7548d5c1e2
missing ms office 2007/10 mime types
2012-05-16 06:04:35 +00:00
Klaus Leithoff
e8f83bede0
work around a problem with balance tags removing content
2012-05-15 15:19:32 +00:00
Klaus Leithoff
6d650d6abf
work around a problem with balance tags removing content
2012-05-15 15:17:27 +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
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
9c193f3608
fixed since r39109 (merge for filemanager) not working install
2012-05-11 08:36:21 +00:00
Ralf Becker
5cafed6381
fixed since r39109 (merge for filemanager) not working install
2012-05-11 08:35:32 +00:00
Ralf Becker
0ea6a47304
return success or error if called via HTTP as HTTP status
2012-05-08 21:48:30 +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
5b2b8ea37d
Point account links to addressbook view
2012-05-04 14:16:31 +00:00
Nathan Gray
065fd1a772
Point account links to addressbook view
2012-05-03 15:23:30 +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
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
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
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
0976a3f918
* CalDAV: fixed PHP Fatal Error when iCal contains invalid participant url like Lighttnings "invalid:noemail"
2012-04-19 12:51:29 +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
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
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
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
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
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
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
ed6cf6d158
have to use schema from backup itself, not (autoloaded) current schema
2012-04-13 06:10:13 +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
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
Ralf Becker
407570090d
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:05:22 +00:00
Ralf Becker
3eb021ff20
load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip)
2012-04-04 13:58:30 +00:00
Ralf Becker
3e4ef81080
load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip)
2012-04-04 13:05:58 +00:00
Ralf Becker
82e4093f1c
* ProjectManager: fixed not working editing of projectelement via context-menu (also check registed sub-types of apps user has access to)
2012-04-03 13:30:44 +00:00
Ralf Becker
a8f0ca11f8
* ProjectManager: fixed not working editing of projectelement via context-menu (also check registed sub-types of apps user has access to)
2012-04-03 13:29:51 +00:00
Ralf Becker
1af08e72e8
* Admin/ImportExport: fixed import of already hashed passwords
2012-03-29 18:34:24 +00:00
Ralf Becker
a3ada52adf
* Admin/ImportExport: fixed import of already hashed passwords
2012-03-29 18:33:33 +00:00
Ralf Becker
2f62d7e3b5
allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager
2012-03-28 13:01:37 +00:00
Ralf Becker
629b9bb393
* CalDAV/CardDAV: fixed typo preventing sync, if logging to Apache error-log was switched on
2012-03-28 07:03:40 +00:00
Ralf Becker
2faeb247a8
* CalDAV/CardDAV: fixed typo preventing sync, if logging to Apache error-log was switched on
2012-03-28 07:01:38 +00:00
Ralf Becker
5f57d69c70
removed menuaction check completly, as only missuse was setting currentapp from it, which get now checked
...
improved _check_script_tag and added a lot of tests, thought not all tests really apply here, so low count of ~50% are not as bad
2012-03-27 08:31:24 +00:00
Ralf Becker
b747f99fc6
removed menuaction check completly, as only missuse was setting currentapp from it, which get now checked
...
improved _check_script_tag and added a lot of tests, thought not all tests really apply here, so low count of ~50% are not as bad
2012-03-27 08:29:52 +00:00
Ralf Becker
02cb2fe24a
allow static calls in menuaction again
2012-03-26 12:59:11 +00:00
Ralf Becker
82417edbe9
fix to get menuaction proxys (eg. used when creating a link) working again
2012-03-26 11:15:00 +00:00
Ralf Becker
a6fe9b04bc
fix to get menuaction proxys (eg. used when creating a link) working again
2012-03-26 11:12:41 +00:00
Ralf Becker
a4727231c5
allow dash in app-name like in "sitemgr-site"
2012-03-26 08:05:11 +00:00
Ralf Becker
43b81be2ff
allow dash in app-name like in "sitemgr-site"
2012-03-26 08:03:11 +00:00
Ralf Becker
5e7638194d
Upps, forgot argument
2012-03-26 07:24:21 +00:00
Ralf Becker
650da27fac
Upps, forgot argument
2012-03-26 07:23:52 +00:00
Ralf Becker
ea91eaa9ba
propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp]
2012-03-26 07:18:29 +00:00
Ralf Becker
ef9734c402
propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp]
2012-03-26 07:18:00 +00:00
Andreas Stöckel
c525cadcdb
Reverted accidently made commit for class.egw_framework.inc.php
2012-03-23 13:43:20 +00:00
Andreas Stöckel
eadeb57f28
Fixed problem with registered data callbacks, when the window the callback belongs to is closed
2012-03-23 13:39:27 +00:00
Ralf Becker
9f6ffba9f0
keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server
2012-03-23 11:27:24 +00:00
Ralf Becker
8bd0e2865d
keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server
2012-03-23 11:26:58 +00:00
Ralf Becker
e52efa0ed6
only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access
2012-03-22 13:04:58 +00:00
Ralf Becker
d3cd7ea65b
only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access
2012-03-22 12:59:34 +00:00
Ralf Becker
b9335d6cfb
only return mime-information of apps the user has access to
2012-03-22 12:44:18 +00:00
Ralf Becker
d8c9a194da
only return mime-information of apps the user has access to
2012-03-22 12:43:47 +00:00
Ralf Becker
b5adc21ff6
register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!)
2012-03-21 10:28:48 +00:00
Ralf Becker
3141cf1c54
* API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups)
2012-03-21 09:24:30 +00:00
Ralf Becker
f62b4784a0
* API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups)
2012-03-21 09:24:04 +00:00
Klaus Leithoff
f5fdf4b1d3
add onbeforeunload as action
2012-03-21 08:26:41 +00:00
Klaus Leithoff
3abeb7c464
add onbeforeunload as action
2012-03-21 08:25:17 +00:00
Ralf Becker
0f181dc42e
* LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails
2012-03-21 07:56:30 +00:00
Ralf Becker
61474e73c4
* LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails
2012-03-21 07:55:51 +00:00
Ralf Becker
c7b52a8928
remove not necessary mime_(type|size|name)
2012-03-20 16:02:00 +00:00
Ralf Becker
200cad46a8
remove not necessary mime_(type|size|name)
2012-03-20 16:01:00 +00:00
Ralf Becker
cd2cc35b73
* InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too
2012-03-20 11:18:33 +00:00
Ralf Becker
ff4152dd42
if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh)
2012-03-17 10:54:59 +00:00
Ralf Becker
96796f5edb
if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh)
2012-03-17 10:54:36 +00:00
Ralf Becker
9ae6cdfcd6
check and reset cookie configuration, if it does not match current enviroment
2012-03-15 12:56:29 +00:00
Ralf Becker
b28a0ced08
check and reset cookie configuration, if it does not match current enviroment
2012-03-15 12:55:59 +00:00
Ralf Becker
7d4b32f5af
deprecating common::show_date($time,$format,$adjust_for_usertime=true) in favor of new egw_time::to($time,$format) or egw_time::server2user($time,$format), also using that two now for common::show_date()
2012-03-14 15:37:25 +00:00
Ralf Becker
903f96998a
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:23:56 +00:00
Ralf Becker
a1ffcd08e4
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Andreas Stöckel
d486e50a57
phpgwapi:
...
* Changed way of how "webserverUrl" gets set - any type of data can now be
injected into the egw object by creating an object with the data and an
entry "prefsOnly" set to true. This allows to ensure, that "webserverUrl"
is the first thing that is being set in the egw object (as needed when
including new JS/CSS files at runtime)
jsapi:
* Fixed including JS/CSS files at runtime in other windows than the root
window
* Added "ready" function/module, which provides an alternative to the
$j("ready") function. The ready module provides the functionality to
postpone calling the "ready" until certain events happened.
* using jQuery calendar object instead of jscalendar in the calendar
function.
* added "jquery" module which takes care of including all jQuery modules
in all windows
* added possibility for modules to update constants using the "constant"
function.
* added possibility for modules to access certain other modules using
the "module" function
etemplate:
* Using new egw(window).ready function to build the template first if
loading has finished.
2012-03-09 15:32:29 +00:00
Ralf Becker
6e6aacb5a0
using mime-registry for link-widget "link-list" and "link-string" too
2012-03-09 07:45:31 +00:00
Ralf Becker
f467572bd4
using mime-registry for link-widget "link-list" and "link-string" too
2012-03-09 07:39:36 +00:00
Ralf Becker
f41d998e54
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:45:18 +00:00
Ralf Becker
dd8a5cf29e
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:43:40 +00:00
Andreas Stöckel
df06f6657c
Now always including egw and etemplate2 javascript code if we are in the top window
2012-03-08 14:05:00 +00:00
Ralf Becker
dc62656385
fix bug regarding the rate (view/edit/search)Limit for mysql -> not set active as this fix breaks postgres; see lines 954 to 959 in wiki_so. Problem is caused by postgres behavior of recognizing columnnames, ... still to investigate
...
r38303: always quote for postgreSQL, as this is the only way to support mixed case names
r38307: fixing wiki rate code / mixed case column names for PostgreSQL
2012-03-08 06:23:07 +00:00
Ralf Becker
ea079a6803
fixing wiki rate code / mixed case column names for PostgreSQL
2012-03-08 06:20:21 +00:00
Ralf Becker
ebe229e885
always quote for postgreSQL, as this is the only way to support mixed case names
2012-03-07 21:33:59 +00:00
Ralf Becker
000b74bded
framework->isTop($consider_navbar_not_yet_called_as_true=true): true if we are rendering the top-level EGroupware window
2012-03-07 08:45:57 +00:00
Ralf Becker
77928955f0
fixed download of log, in case output buffering could not be switched off (got into endless loop)
2012-03-06 13:07:03 +00:00
Ralf Becker
261f807c46
fixed download of log, in case output buffering could not be switched off (got into endless loop)
2012-03-06 13:06:35 +00:00
Ralf Becker
4a88a9558c
egw_json plugin "html" replacing document content with send html
2012-03-06 09:50:43 +00:00
Ralf Becker
1fef159630
send direct output of json / etemplate callback back to client via addGeneric('output',...) or alert, in case there's already some JSON response, make sure content-type header is only send once
2012-03-06 07:32:51 +00:00
Ralf Becker
f676a23821
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-03-04 13:33:10 +00:00
Ralf Becker
898290e798
fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format
2012-03-02 09:54:31 +00:00
Ralf Becker
bd273c1b45
fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format
2012-03-02 09:53:41 +00:00
Ralf Becker
94544812c9
new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences
2012-03-01 20:59:16 +00:00
Ralf Becker
1c386e2d6b
new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences
2012-03-01 18:03:13 +00:00
Ralf Becker
68b5c2d204
allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host"
2012-03-01 13:09:35 +00:00
Ralf Becker
b2a6e59b09
allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host"
2012-03-01 13:08:58 +00:00
Ralf Becker
19f1721839
add own agent for dmfs.org, to not recognice it as dataaccessd/iOS
2012-02-29 16:46:42 +00:00
Ralf Becker
706fd46d5a
add own agent for dmfs.org, to not recognice it as dataaccessd/iOS
2012-02-29 16:24:49 +00:00
Ralf Becker
00222443c0
fixed SQL error under PostgreSQL with new filesystem check
2012-02-29 13:48:44 +00:00
Ralf Becker
12f34cd307
fixed SQL error under PostgreSQL with new filesystem check
2012-02-29 13:47:52 +00:00
Ralf Becker
618ff70e73
some fixes for sqlfs fsck: caseinsensitive GROUP BY for MySQL, deleting files direct in DB, as self::unlink() fails if fs_active=0, and some more
2012-02-27 14:34:18 +00:00
Ralf Becker
2553ad1bcc
some fixes for sqlfs fsck: caseinsensitive GROUP BY for MySQL, deleting files direct in DB, as self::unlink() fails if fs_active=0, and some more
2012-02-27 14:33:42 +00:00
Ralf Becker
c603e3a1a6
* Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories
2012-02-27 13:20:16 +00:00
Ralf Becker
fd19c672c8
* Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories
2012-02-27 13:18:52 +00:00
Ralf Becker
820df063ef
* Admin/Setup: fixed custom translations got lost during update
2012-02-27 08:03:30 +00:00
Ralf Becker
d7a7d105fa
* Admin/Setup: fixed custom translations got lost during update
2012-02-27 08:02:28 +00:00
Ralf Becker
587c2cf595
use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants
2012-02-21 20:05:35 +00:00
Ralf Becker
2bc821f428
use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants
2012-02-21 20:04:45 +00:00
Ralf Becker
5b12fe97dc
* CalDAV/CardDAV/GroupDAV: as all clients dislike not getting an ETag for a PUT, we sending it again even not storing byte-by-byte
2012-02-20 11:34:15 +00:00
Ralf Becker
c70a93e7c1
* CalDAV/CardDAV/GroupDAV: as all clients dislike not getting an ETag for a PUT, we sending it again even not storing byte-by-byte
2012-02-20 11:33:43 +00:00
Ralf Becker
9635091c75
log request in case of exceptions too by installing a custom exeception handler
2012-02-20 09:07:02 +00:00
Ralf Becker
baf8999392
log request in case of exceptions too by installing a custom exeception handler
2012-02-20 09:06:24 +00:00
Ralf Becker
20fe3e458d
improved working in CalDAV/CardDAV prefs
2012-02-19 12:42:09 +00:00
Ralf Becker
e97b390573
improved working in CalDAV/CardDAV prefs
2012-02-19 12:39:04 +00:00
Ralf Becker
fa2c15e8c4
add empty line in log between request body and response
2012-02-18 10:50:20 +00:00
Ralf Becker
dea5bfef24
add empty line in log between request body and response
2012-02-18 10:49:24 +00:00
Ralf Becker
164b0c73b7
logging whole requests, to be able to lock the log-file, as some clients (eg. SOGO) use multiple threads to request resources, which messes up the log otherwise
2012-02-17 09:14:33 +00:00
Ralf Becker
27cd6350bb
logging whole requests, to be able to lock the log-file, as some clients (eg. SOGO) use multiple threads to request resources, which messes up the log otherwise
2012-02-17 09:12:23 +00:00
Ralf Becker
effb755417
fixed PHP Warning, if log-dir is not yet created
2012-02-17 08:14:29 +00:00
Ralf Becker
f0fef47688
fixed PHP Warning, if log-dir is not yet created
2012-02-17 08:13:50 +00:00