2808 Commits

Author SHA1 Message Date
jerome mouneyrac
bdf40a4c63 webservice MDL-21466 add information about setting the debug mode to NORMAL for using the web service test client 2010-01-29 07:27:07 +00:00
Penny Leach
8509b7c431 mnet MDL-21473 fixed a small bug in the mnet installer and updated the testclient 2010-01-29 04:09:05 +00:00
jerome mouneyrac
f54dfa54b7 webservice MDL-21466 add few comments about test client 2010-01-29 03:50:06 +00:00
jerome mouneyrac
220e5a767a webservice MDL-21463 trivial change of test client title 2010-01-29 02:57:51 +00:00
Penny Leach
e5b01c032f mnet MDL-21473 fixing up the disabling of remoted rpc methods 2010-01-29 02:57:35 +00:00
jerome mouneyrac
75537cbfee webservice MDL-21463 add our web service test client into the admin tree development section 2010-01-29 02:40:42 +00:00
Penny Leach
b740b3590f mnet MDL-21473 detect services we subscribe to, as well as publish at install/upgrade as well
and add upgrades for all mnet enabled plugins
2010-01-29 02:31:44 +00:00
Penny Leach
8586dbe2a5 mnet MDL-21473 make new tables for remote functions that don't exist locally
I also fixed up two columns in the existing table that had underscores in them
2010-01-28 22:46:34 +00:00
Penny Leach
d2ac37c1ab mnet MDL-21261 mnet overhaul - adding and removing files I missed in the last big commit 2010-01-28 20:17:12 +00:00
jerome mouneyrac
df94bb99eb mnet MDL-21260 transform single_button first param into new moodle_url 2010-01-28 07:25:42 +00:00
jerome mouneyrac
8b21f949cf mnet MDL-21260 sesskey is not displayed when delete a peer 2010-01-28 07:13:47 +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
72bb7e3236 mnet/enrolment MDL-21459 fixed a few small issues in admin/mnet/enrolment 2010-01-28 05:01:05 +00:00
Rossiani Wijaya
8fed14f4d8 MDL-21440 - replacing hardcoded string with language string. 2010-01-28 02:12:30 +00:00
Petr Skoda
2b8c3f8c1a MDL-21435 api changes and simplification needed for JS caching and compression 2010-01-26 08:33:21 +00:00
Eloy Lafuente
193caa7f5b MDL-21438 xmldb editor - add missing sesskey to the save option 2010-01-25 16:11:20 +00:00
David Mudrak
852a1f66cf MDL-20717 GPL version 3 at the Copyright notice during the installation
The new string 'gpl3' replaces the legacy string 'gpl'. Once we have
proper lang branching, 'gpl' string should be removed from 2.0/HEAD.
2010-01-25 09:40:05 +00:00
Rossiani Wijaya
740128d6e2 MDL-20402 - update bulk user action messages from regular textarea to HTML editor. 2010-01-25 09:23:02 +00:00
Petr Skoda
9786fbfac4 MDL-21400 migrated roles JS to YUI3 and new modular structure 2010-01-24 19:37:46 +00:00
Petr Skoda
4222342283 MDL-21400 improved coding style 2010-01-24 18:24:18 +00:00
Petr Skoda
81bd56ad4f MDL-21400 improved coding style 2010-01-24 18:11:25 +00:00
Petr Skoda
f104d38212 MDL-21400 removed unnecessary yui2 includes 2010-01-24 10:59:10 +00:00
Petr Skoda
d825355a76 MDL-21400 fixed whitespace, sorrry 2010-01-23 18:30:16 +00:00
Petr Skoda
9edea336a7 MDL-21400 spamcleaner converted to YUI3 2010-01-23 18:09:54 +00:00
Petr Skoda
3b01539ccc MDL-21400 global Y revisited, I really think it is better to pass it around properly, this could help a lot in future if we have multiple versions of YUI installed; reverted js_function_call() and added new js_init_call() instead which should be hopefully easier to use and in theory could replace all other $PAGE->requires->js_*; finished implemenetation of js_module() 2010-01-23 17:08:18 +00:00
jerome mouneyrac
a7e2d6fef9 webservice MDL-21351 add a help icon to required capability option (when create/edit a service) 2010-01-22 03:39:30 +00:00
jerome mouneyrac
3e6161fb1c webservice MDL-21351 add an overview page to facilitate the web service administration 2010-01-22 02:04:12 +00:00
Rossiani Wijaya
24fadf0d4a MDL-21300 - remove filename validation for invalid character. 2010-01-22 02:02:10 +00:00
Petr Skoda
7beccff9a1 MDL-21422 migration to YUI3 2010-01-21 22:36:44 +00:00
Petr Skoda
6e9bad56e8 MDL-21422 migration to YUI3 2010-01-21 22:29:28 +00:00
Petr Skoda
9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Eloy Lafuente
054d3924f2 NOBUG: On upgrade, cli must not override current config. Just set undefined (new) ones 2010-01-21 10:04:03 +00:00
Petr Skoda
543f54d3e5 MDL-21401 eliminating last uses of WHEN_TOP_OF_BODY 2010-01-20 18:07:49 +00:00
jerome mouneyrac
3f77607874 administration MDL-21351 revert changes 2010-01-20 10:16:41 +00:00
jerome mouneyrac
8399c714d7 webservice MDL-21351 remove Save Changes button from token/service/protocol page, relabel some Save Changes button into more explicit label, add help text to service page 2010-01-20 10:01:03 +00:00
jerome mouneyrac
721312bd2c administration MDL-21392 add hidesavebutton() for admin_settingpage class 2010-01-20 09:58:17 +00:00
jerome mouneyrac
a3103a10b3 webservice MDL-21351 fix navigation bar (add link to make the navigation easier) 2010-01-20 07:20:03 +00:00
jerome mouneyrac
3a17a7a352 webservice MDL-21351 add function page: use multiple searchable selector 2010-01-20 02:44:19 +00:00
jerome mouneyrac
c59a67ab40 webservice MDL-21351 function page: remove back button and change add button for a link 2010-01-20 01:29:12 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
6ea66ff36c MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api 2010-01-17 09:06:55 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
3ff163c597 MDL-21235 html_writer now supports select form elements 2010-01-16 17:00:22 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
jerome mouneyrac
1768ae5b8e webservice MDL-20805 fix sql column naming 2010-01-14 08:43:08 +00:00
jerome mouneyrac
d69f5012c9 webservice MDL-20805 fix sql column naming 2010-01-14 08:40:32 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +00:00
jerome mouneyrac
42f5012075 webservice MDL-20805 change NOT IN for NOT EXISTS 2010-01-13 11:17:21 +00:00