Commit graph

9332 commits

Author SHA1 Message Date
Penny Leach
a6e9dafe4a mnet MDL-21473 add plugintype&name fields to new mnet_remote_rpc table 2010-01-29 01:05:24 +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
Dongsheng Cai
6c7c9d3976 "MDL-21170, fixed missing Y.Base module" 2010-01-28 08:08:47 +00:00
Sam Hemelryk
ebfb8f1371 ajaxlib MDL-21435 Fixed regression from recent updates: Notice of undefined variable 2010-01-28 06:47:07 +00:00
jerome mouneyrac
8138157c1a flashdetector MDL-20841 forgot the top licence documentation 2010-01-28 06:25:35 +00:00
Sam Hemelryk
505575293e output MDL-21235 Fixed table function to be xml strict with no data 2010-01-28 05:30:14 +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
6a2640d239 NOTABUG updated the portfolio plugin baseclass method signatures 2010-01-28 05:12:22 +00:00
Penny Leach
d61ffb0fca auth base class MDL-21457 make the base class user_exists method argument list match reality 2010-01-28 05:12:04 +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
Sam Hemelryk
4ac8345ff5 NOBUG: Updated the docs for the moodle_page class to cover the magic get functions 2010-01-28 03:19:21 +00:00
Petr Skoda
7d7a7e908f MDL-21404 RIP $PAGE->requires->*()->now() 2010-01-26 10:44:17 +00:00
Petr Skoda
88515081c8 MDL-21403 RIP $PAGE->requires->*()->asap() 2010-01-26 10:42:25 +00:00
Petr Skoda
10eaeca808 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead + improved ufo embedding 2010-01-26 10:35:13 +00:00
Petr Skoda
5668690321 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 10:22:58 +00:00
Petr Skoda
25b6fe050c MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 10:17:41 +00:00
Petr Skoda
5a197e9130 MDL-21400 maring data_for_js as deprecated because it encourages bad coding style 2010-01-26 10:12:10 +00:00
Petr Skoda
2d65597b6c MDL-21403 removing ->asap() used for flicker-lessremoval of go button, no use .hiddenifjs class instead 2010-01-26 09:32:21 +00:00
Petr Skoda
a62d5845ef MDL-21403 removing ->asap() from $PAGE->requires, legacy stuff has no place in new api, sorry 2010-01-26 09:01:57 +00:00
Petr Skoda
8ce04d51a1 MDL-21435 fixed regression 2010-01-26 09:00:50 +00:00
Petr Skoda
c66a13b2d8 MDL-21435 moje JS improvements 2010-01-26 08:58:51 +00:00
Petr Skoda
487e5d026b MDL-21435 fixed regression in BC code 2010-01-26 08:56:34 +00:00
Petr Skoda
e3f4e3cadf MDL-21400 yui3 lib includes from php are not necessary any more, removing from public API 2010-01-26 08:38:00 +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
Rossiani Wijaya
4eb95309f5 MDL-18774 - fixed fullname format label. 2010-01-25 09:08:22 +00:00
Dongsheng Cai
554cd8fc83 "MDL-21170, apply maxfiles limit to filemanager" 2010-01-25 06:12:01 +00:00
jerome mouneyrac
c05877e6be webservice MDL-21351 add IP Restriction field to the token list (otherwise no way to see it for the admin) 2010-01-25 02:43:23 +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
Petr Skoda
9786fbfac4 MDL-21400 migrated roles JS to YUI3 and new modular structure 2010-01-24 19:37:46 +00:00
Petr Skoda
1b4e41af17 MDL-21400 fixe null param in js funcion call 2010-01-24 19:34:44 +00:00
Petr Skoda
7e5f3db4d4 MDL-21400 global Y is evil 2010-01-24 10:41:15 +00:00
Petr Skoda
38224dcb60 MDL-21400 collapsible_region moved to M, using CamelCase for JS classes because it is otehrwise extremely hard to actually know what is instance and what is class + switched to js_init_call() 2010-01-24 10:34:02 +00:00
Petr Skoda
fc367afb6c MDL-21400 collapsible region fixed and converted to YUI3 2010-01-24 00:05:37 +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
Petr Skoda
549770fc7b MDL-21430 fixed forgotten filepicker coversion 2010-01-23 10:06:12 +00:00
Petr Skoda
bca0975478 MDL-21170 migrated code to new M.util.image_url() function that returns correct theme images 2010-01-22 10:34:09 +00:00
Petr Skoda
ef502357f4 MDL-21170 improved comments module, added new support for module parameter in js_function_call(), fixed bug in comments on frontpage - see tracker for more info 2010-01-22 10:10:27 +00:00
Dongsheng Cai
7e7d2e64f2 "MDL-21170, fixed form conflict" 2010-01-22 08:06:25 +00:00
Dongsheng Cai
adacb0fe71 "MDL-21170, comment system upgraded to yui3" 2010-01-22 07:35:56 +00:00
Dongsheng Cai
90aa722bee "MDL-21170, change namespacing of filepicker, use anonymous function initialize yui3 module" 2010-01-22 03:48:07 +00:00
Dongsheng Cai
840912d5cf "MDL-21170, rename filepicker to core_filepicker, upgrade filemanager to yui3 module" 2010-01-22 03:02:09 +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
Petr Skoda
1be3ec803b NOBUG fixed typo in comment 2010-01-21 22:21:40 +00:00
Petr Skoda
9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda
7b42e81a76 MDL-21170 migrated filepicker to new YUI3 loading, tested in editor only, the filemanager and picker elements still have some problems, sorry for that 2010-01-21 22:04:31 +00:00
Petr Skoda
e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Tim Hunt
cadc0d2805 theme/regions MDL-20204 un-spaghetti-fy martin's last commit. 2010-01-21 11:07:15 +00:00
Sam Hemelryk
9cf45d02c7 navigation MDL-14632 converted mb_substr calls to use textlib, cheers for spotting Petr 2010-01-21 08:51:13 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00