Commit graph

1713 commits

Author SHA1 Message Date
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
Moodle Robot
d8b29f5c2f Updated the HEAD build version to 20100128 2010-01-28 00:36:43 +00:00
Moodle Robot
853838daa0 Updated the HEAD build version to 20100127 2010-01-27 00:36:40 +00:00
Moodle Robot
4ada1010be Updated the HEAD build version to 20100126 2010-01-26 00:36:38 +00:00
Penny Leach
7062a798f2 mnet MDL-17629 upgrade to fix referntial integrity in mnet hostids for localhost and all hosts records
merged from MOODLE_19_STABLE
2010-01-25 00:59:22 +00:00
Moodle Robot
cc36919f53 Updated the HEAD build version to 20100125 2010-01-25 00:36:33 +00:00
Moodle Robot
0503954afd Updated the HEAD build version to 20100124 2010-01-24 00:36:44 +00:00
Moodle Robot
e834ebb593 Updated the HEAD build version to 20100123 2010-01-23 00:36:06 +00:00
Moodle Robot
e9117aa933 Updated the HEAD build version to 20100122 2010-01-22 00:36:59 +00:00
Moodle Robot
ee7c44194e Updated the HEAD build version to 20100121 2010-01-21 00:36:55 +00:00
Moodle Robot
474c608ec1 Updated the HEAD build version to 20100120 2010-01-20 00:36:34 +00:00
Moodle Robot
22dd0e9bca Updated the HEAD build version to 20100119 2010-01-19 00:36:50 +00:00
Moodle Robot
39013471e7 Updated the HEAD build version to 20100118 2010-01-18 00:36:32 +00:00
Moodle Robot
f99e919e85 Updated the HEAD build version to 20100117 2010-01-17 00:36:33 +00:00
Moodle Robot
5192a212f8 Updated the HEAD build version to 20100116 2010-01-16 00:36:47 +00:00
Moodle Robot
5e280bb784 Updated the HEAD build version to 20100115 2010-01-15 00:36:40 +00:00
Sam Hemelryk
1edad604b0 javascript-dock MDL-21329 Forgot to bumb the version after new setting added 2010-01-14 07:10:14 +00:00
Moodle Robot
fc285d748e Updated the HEAD build version to 20100114 2010-01-14 00:36:56 +00:00
Moodle Robot
e0395520c2 Updated the HEAD build version to 20100113 2010-01-13 00:36:55 +00:00
jerome mouneyrac
5eacbd4be4 webservice MDL-20805 added token creation page in user profil (with service required capability check and moodle/webservice:createtoken capibility check) 2010-01-12 10:34:52 +00:00
Andrew Davis
c95002a23c grader report MDL-19704 Fixed a problem with my version/upgrade changes 2010-01-12 03:01:40 +00:00
Moodle Robot
935ab45cc5 Updated the HEAD build version to 20100112 2010-01-12 00:36:31 +00:00
Andrew Davis
a25bb902f0 grader report MDL-19704 Added ability to hide course and category totals without hiding anything else 2010-01-11 07:35:40 +00:00
Moodle Robot
0fec4fa441 Updated the HEAD build version to 20100111 2010-01-11 00:36:58 +00:00
Moodle Robot
7ffdf8a006 Updated the HEAD build version to 20100110 2010-01-10 00:36:20 +00:00
Moodle Robot
cd9561767b Updated the HEAD build version to 20100109 2010-01-09 00:36:52 +00:00
Moodle Robot
b137aad15e Updated the HEAD build version to 20100108 2010-01-08 00:36:48 +00:00
Moodle Robot
c6ad591a91 Updated the HEAD build version to 20100107 2010-01-07 00:36:19 +00:00
jerome mouneyrac
5ae9f53976 webservice MDL-20805 add admin token page. To do: create and delete operation + context support 2010-01-06 09:33:05 +00:00
Moodle Robot
041a90f4dd Updated the HEAD build version to 20100106 2010-01-06 00:36:49 +00:00
Petr Skoda
db4e1a3c70 MDL-21243 added theme reset after any core or plugin upgrade 2010-01-05 22:03:21 +00:00
Moodle Robot
9b96dd1cb3 Updated the HEAD build version to 20100105 2010-01-05 00:36:15 +00:00
Petr Skoda
2574fae6ef MDL-21123 moved javascript for navigation bar - testing of themes JS and it may need to use different tricks in other themes with CSS column layouts 2010-01-04 23:51:48 +00:00
Moodle Robot
d4a4caf409 Updated the HEAD build version to 20100104 2010-01-04 00:33:27 +00:00
Petr Skoda
8a13809318 MDL-21198 one more single_button + version bump to the new year (could not resit it) 2010-01-03 20:54:36 +00:00
Moodle Robot
87653d4027 Updated the HEAD build version to 20100103 2010-01-03 00:33:51 +00:00
Moodle Robot
cb26af1d9d Updated the HEAD build version to 20100102 2010-01-02 00:33:17 +00:00
Moodle Robot
47c53ffa6a Updated the HEAD build version to 20100101 2010-01-01 00:33:49 +00:00
Moodle Robot
173bb44e00 Updated the HEAD build version to 20091231 2009-12-31 00:34:17 +00:00
Eloy Lafuente
5e934890c9 MDL-16658 restore - new restore:createuser cap + pre-check users before restoring; merged from 19_STABLE 2009-12-30 17:35:36 +00:00
Moodle Robot
e5239652b0 Updated the HEAD build version to 20091230 2009-12-30 00:33:39 +00:00
Moodle Robot
c86fb07fcd Updated the HEAD build version to 20091229 2009-12-29 00:33:16 +00:00
Moodle Robot
f1fdacdc65 Updated the HEAD build version to 20091228 2009-12-28 00:34:42 +00:00
Moodle Robot
e29e464c12 Updated the HEAD build version to 20091227 2009-12-27 00:33:13 +00:00
Moodle Robot
8c8caf2666 Updated the HEAD build version to 20091226 2009-12-26 00:33:27 +00:00
Petr Skoda
84d6e8323d MDL-21189 yui combined file loading admin setting 2009-12-25 22:47:41 +00:00
Moodle Robot
968123311f Updated the HEAD build version to 20091225 2009-12-25 00:33:15 +00:00
Moodle Robot
d193b8729b Updated the HEAD build version to 20091224 2009-12-24 00:33:57 +00:00
Moodle Robot
7e1de3f0f3 Updated the HEAD build version to 20091223 2009-12-23 00:33:43 +00:00
Moodle Robot
1bf97e20e1 Updated the HEAD build version to 20091222 2009-12-22 00:34:04 +00:00