Commit Graph

4521 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
650da27fac Upps, forgot argument 2012-03-26 07:23:52 +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
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
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
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
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
3abeb7c464 add onbeforeunload as action 2012-03-21 08:25:17 +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
200cad46a8 remove not necessary mime_(type|size|name) 2012-03-20 16:01:00 +00:00