Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Stöckel
b2d782dcd9 Fixed usage of stripslashes in xajax.php 2010-06-10 10:48:39 +00:00
Ralf Becker
8b2fe41fe0 refractored our exception handler a bit, to allow using part of it from ajax too. Ajax logs now the exception to the error_log and only shows a trace to the user if enabled in the config, like the rest of EGroupware 2010-01-14 23:50:06 +00:00
Ralf Becker
89311a8e7f printOutput need no echoing and no headers, does it by itself 2010-01-14 22:35:13 +00:00
Klaus Leithoff
a8062e0975 changes from ralf regarding the Object of class xajaxResponse could not be converted to string error, introduced with the new ajax version 2010-01-14 08:25:02 +00:00
Ralf Becker
583a4b91d7 register doXMLHTTPsync as an alias to call doXMLHTTP synchronious 2010-01-08 01:16:29 +00:00
Ralf Becker
65aa5f8740 using new xajax version 0.5, thought automatically defining all pre 0.5 response functions, so no changes in EGroupware callbacks necessary, everything should work as before 2010-01-07 23:39:17 +00:00
Ralf Becker
6d78b5ce58 "PHP5.3 fix: call_user_func_array($callback,null) 2. parameter has to be array
If called in php5.2, $callback is called with no argument, in php5.3 above warning is issued and $callback is NOT called
--> stoping some xajax calls from fmail in 1.6.002"
2009-08-22 16:42:11 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
302b6ae7e1 "fixed not working xajax call, if no handler given and PHP runs with error_reporting E_ALL (undefined index ...)" 2009-03-20 11:59:18 +00:00
Ralf Becker
4db172a6c2 - dont update the session dla, for the xajax notifications query, as it
stops sessions from timing out
- hook to be called when sessions get terminated
2008-08-05 11:36:06 +00:00
Ralf Becker
2e7d0b551b "quitend error_log on each xajax request" 2008-07-28 09:22:52 +00:00
Ralf Becker
dc287964f7 "phpDoc header and more docu" 2008-07-27 12:56:50 +00:00
Ralf Becker
b40382df80 exception handler for xajax and ability to use static methods as ajax callbacks eg. filemanager_ui::ajax_check_something 2008-07-27 12:48:39 +00:00
Ralf Becker
d85ed846fe "allow ajax calls from classes ending with ajax, as starting with ajax does not conform with naming schema" 2008-06-07 16:55:50 +00:00
Ralf Becker
91068e438f allow to call etemplate widgets via xajax:
- "etemplate" handler replaces the appname with etemplate
- uietemplate::js_pseudo_funcs() replace xajax_doXMLHTTP('etemplate.xyz_widget.method', with xajax_doXMLHTTP('currentapp.xyz_widget.method.etemplate',
--> fixes the not working new link-widgets in trunc (not working for non-admins / no etemplate run rights)
2006-04-06 05:09:48 +00:00
Ralf Becker
f7887c6dc3 always initialising $GLOBALS['egw_info'] 2006-10-03 15:18:03 +00:00
Ralf Becker
91d28f8945 handler for ajax requests 2006-10-02 05:13:19 +00:00
Cornelius Weiß
6667cca4de New notificaion module
/**
 * Notifies users according to their preferences.
 * 
 * @abstract NOTE:Notifications are small messages. No subject and no attechments. 
 * If you need this kind of elements you probably want to send a mail, don't you :-)
 * @abstract NOTE: This is for instant notifications. If you need time dependend notifications use the 
 * asyncservices wrapper!
 * 
 * The classes doing the notifications are called notification_<method> and should only be 
 * called from this class.
 *
 */
2006-03-06 17:11:45 +00:00
Ralf Becker
2229fae121 setting the correct charset for the new xajax version 2006-08-24 11:14:25 +00:00
Ralf Becker
e53b4f7b17 setting the correct charset for the new xajax version 2006-08-24 10:53:09 +00:00
Lars Kneschke
f45b9edc35 strip slashes if needed 2006-08-23 13:50:27 +00:00
Ralf Becker
f970ef346f send the redirect to login,if the session can not be verified, via xajax 2006-07-14 18:05:58 +00:00
Ralf Becker
0f4f456d89 allow method-names starting with ajax 2006-04-16 12:24:15 +00:00
Cornelius Weiß
d79ed4aa96 allow etemplate to use xajax 2006-03-29 19:25:00 +00:00
Ralf Becker
75524e8142 translating xajax requests in utf-8 to the system-charset 2006-03-01 13:31:07 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00