14 Commits

Author SHA1 Message Date
Petr Skoda
6ad1100fe4 MDL-22102 killing all CRLFs, sorry for introducing them, we need to do search replace before each commit of 3rd party lib 2010-04-19 14:42:19 +00:00
Petr Skoda
0a27866d58 MDL-22102 trying to fix line endings 2010-04-16 08:45:05 +00:00
Penny Leach
de260e0f7b mnet MDL-21261 large overhaul. This commit changes:
- The way that mnet rpc functions are registered.  Plugins must now
  create db/mnet.php which is an array, similar to services.php.  This
  *replaces* the old mnet_publishes() functions.  version.php must be
  bumped to trigger this.

- More information about each rpc-available function is stored in the
  database, including the class it belongs to, the file it is found in,
  and whether or not it is static.  Methods that are not static must be
  in a class with a constructor that takes no arguments (this can easily
  be achieved with a small wrapper if necessary)

- The xmlrpc dispatcher has been rewritten to remove all the
  dependencies on hardcoded information about auth,mnet,portfolio and
  repository, and just use the information in the database.

- The old hardcoded hidden mnet/testclient.php has been moved to the
  Admin menu under "Development" and rewritten.

- The xmlrpc introspection method profiling is now using php and zend
  reflection - which is a lot nicer than the old way, which was using a
  php-based php parser.  This fixes some inconsistent handling of
  methods without arguments that were advertising their return value as
  the only method parameter.  While this is a *fix*, it breaks BC
  slightly - the old 1.9 broken mnet/testclient.php will now not work
  properly with 2.0

- Dangerous mode is still supported, but old mod/*/rpclib.php is
  now unsupported, due to the fact that any plugin can export mnet
  functions with db/mnet.php.  This is a slight BC break.

Still TODO:

- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +00:00
Penny Leach
fbac726b5e MDL-21461 Temporary fix for ZF-6996 until Zend 1.10 is released 2010-01-28 05:11:30 +00:00
Penny Leach
9d51b4c531 lib/zend: MDL-21460 Zend Reflection - give a nicer error message when the phpdocs don't match the function signature. Bug filed upstream: http://framework.zend.com/issues/browse/ZF-8980 2010-01-28 05:06:53 +00:00
jerome mouneyrac
64906d348c webservice MDL-17135 Add some Zend library needed for Amf + add one line in order to set amf server in development mode 2009-11-11 15:15:24 +00:00
Petr Skoda
76b3838adb MDL-20632 crippling the Zend framework, only stuff needed for our /webservice/* kept :-( 2009-10-25 17:58:57 +00:00
Petr Skoda
1e18b6fe65 MDL-20632 import notes 2009-10-25 09:57:22 +00:00
Petr Skoda
63b1164049 MDL-20632 latest zend framework lib import 2009-10-24 19:49:26 +00:00
Petr Skoda
2b271c7bc3 MDL-20632 latest zend framework lib import 2009-10-24 19:48:22 +00:00
jerome
06e7fadc43 web serviceMDL-12886 refactor servers into object + add Zend_soap and Zend_xmlrpc server 2009-02-11 06:57:30 +00:00
jerome
58e6c593f4 web service MDL-12886 Add a new REST server implemented with Zend library + AMF server + cleaning of wsdl generator + return exception into the REST server 2009-01-29 08:24:40 +00:00
nicolasconnault
8470c13829 MDL-17091 Removing superfluous Zend framework files 2008-10-31 21:36:57 +00:00
nicolasconnault
5ab88978b9 MDL-17091 Adding part of GoogleData API from the Zend Framework, in order to support portfolio and repository functions. Also completed basic portfolio plugin. 2008-10-31 15:33:45 +00:00