Commit Graph

6681 Commits

Author SHA1 Message Date
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
Ralf Becker
2b1ad4de7a fixed since r38811 not working restore of backups 2012-04-12 13:26:00 +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
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
06e213194f docu update: added accounts-addressbooks accessible via CardDAV 2012-04-11 20:33:54 +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
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
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
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
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
1af08e72e8 * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:34:24 +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
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
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
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
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
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
b9335d6cfb only return mime-information of apps the user has access to 2012-03-22 12:44:18 +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
Klaus Leithoff
f5fdf4b1d3 add onbeforeunload as action 2012-03-21 08:26:41 +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
Klaus Leithoff
fdc48b3a4c giving selected bg-coloring precedence over other bg-color classes usingimportant 2012-03-20 17:11:13 +00:00
Ralf Becker
c7b52a8928 remove not necessary mime_(type|size|name) 2012-03-20 16:02:00 +00:00
Ralf Becker
8a5d64301c * 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:59:41 +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
0f838df1b9 switch zlib.output_compression off, as we cant calculate Content-Length header, if its on, doing our own Content-Encoding: gzip now (wont be necessary for Apache2.2 which fixes false Content-Length headers silently, but eg. Lighttpd cuts off content, if wrong Content-Length header specified
using md5 of real content for instance specific translations, cant use lang_ctimes for them
2012-03-19 08:35:47 +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
Klaus Leithoff
988373b6c4 fix bug regarding the positioning of the drag n drop context menu popup 2012-03-16 12:30:52 +00:00
Klaus Leithoff
8f6c0adcf4 * translations: Italian translation improvements for admin and API; provided by Ilias Chasapakis, Webtrain Services 2012-03-16 11:59:53 +00:00
Klaus Leithoff
5954d668d0 * translations: Italian translation improvements for admin and API; provided by Ilias Chasapakis, Webtrain Services 2012-03-16 11:43:03 +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
f74b8264a2 propset svn:keywords Id 2012-03-15 08:38:01 +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