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
Klaus Leithoff
93304cf57a
fix broken translation string for italian language
2012-05-22 08:44:37 +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
30318ee8d2
check if categories are already updated to global == cat_owner=0, has to run as API update, before apps (tracker) creates new global cats with cat_owner=0 stopping the update
2012-04-13 14:34:27 +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
Ralf Becker
04e39e4132
fixed not working update from 1.8.004
2012-04-12 14:14:37 +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
Nathan Gray
22cb0667eb
Handle Firefox vs Chrome File API
2012-04-05 22:31:01 +00:00
Ralf Becker
dd410d49fb
fixed javascript error stalling everything: et2_csvSplit is not yet defined, thought I dont understand why this is needed here anyway: using _name.split("/",2)
2012-04-05 07:38:07 +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
Nathan Gray
df2ba7ddd6
Get images named like appname/imagename working again for images outside current app
2012-04-04 19:37:17 +00:00
Nathan Gray
08cb4581ee
egw_open wants the whole registry
2012-04-04 19:17:07 +00:00
Nathan Gray
6e103c4c1b
Get images named like appname/imagename working again
2012-04-04 19:16:19 +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
b45891091d
update from 1.8.004
2012-03-31 14:18:42 +00:00
Ralf Becker
504d405fae
update from 1.8.004
2012-03-31 14:18:14 +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
Andreas Stöckel
cfa9c190bb
Implemented keyboard navigation and data retrival for uids
2012-03-29 14:11:22 +00:00
Nathan Gray
bc25b917d4
Fix namespace events - it's event.namespace
2012-03-28 21:01:51 +00:00
Andreas Stöckel
0ae151e638
Got selection working; only problem left with popup menus is, that entries don't get focused on rightclick
2012-03-28 15:36:17 +00:00
Ralf Becker
b55250b81a
encoding and decoding of vfs special characters
2012-03-28 13:58:18 +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
2630a39651
moved egw_links.js window contect specific parts to egw_open.js: egw().open() and egw().open_link() renamed from egw().call_link()
2012-03-28 12:37:03 +00:00
Ralf Becker
fbdb8f3c55
mime_icon method for vfs-mime widget
2012-03-28 08:10:57 +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
Andreas Stöckel
3a23d4bb21
Fixed bug with Ctrl-Key no longer working
2012-03-27 13:44: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
Nathan Gray
257f823773
Fix handling of file url for vfs
2012-03-26 23:27:09 +00:00
Nathan Gray
3aa8e64f73
Give a warning & return if you try to translate an object
2012-03-26 23:24:56 +00:00
Andreas Stöckel
34a43e8869
Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification
2012-03-26 15:28:02 +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
7f57f28f38
Deactivated last commit (slow because pending requests are ignored), lastModification is now set per app in the model
2012-03-23 16:38:08 +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
Andreas Stöckel
b134b36678
fixed some issues with egw_data, improved egw_json exception handling
2012-03-23 12:45:13 +00:00
Andreas Stöckel
23f221456f
Fixed problem with IE, adapted egw_data.js to specification changes
2012-03-23 12:06:52 +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
2e8d60d5a0
reorganized egw.link methods to call each other (and not dublicate code), using mime-registry to open files, todo: special download url of eg. filesystem stream wrapper
2012-03-21 16:02:50 +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
4a261802e4
giving selected bg-coloring precedence over other bg-color classes using important
2012-03-21 09:11:46 +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
Klaus Leithoff
fdc48b3a4c
giving selected bg-coloring precedence over other bg-color classes usingimportant
2012-03-20 17:11:13 +00:00