Commit graph

9255 commits

Author SHA1 Message Date
Andrew Davis
13a3ebca7a gradebook MDL-21513 navigation dropdown in gradebook wasnt working correctly 2010-02-05 05:45:02 +00:00
jerome mouneyrac
559a5dbd1d webservice MDL-21511 add webservice_parameter_exception to indicate which external parameter is invalid 2010-02-05 04:10:36 +00:00
jerome mouneyrac
382b9ceab3 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
jerome mouneyrac
f05d219353 webservice MDL-21351 fix some wording in the overview and some links 2010-02-04 07:06:27 +00:00
Petr Skoda
db09524d89 MDL-20204 fixed HTML_ATTR_EMPTY regression 2010-02-03 17:20:01 +00:00
Petr Skoda
aa2dea707f MDL-20204 minor improvement 2010-02-03 16:49:40 +00:00
Petr Skoda
97c100999a MDL-20204 removed problematic HTML_ATTR_EMPTY, simply use null instead + removed incorrect trimming of values (yes, leading/trailing spaces are sometimes valid attribute values too!) 2010-02-03 16:27:52 +00:00
Petr Skoda
4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00
Petr Skoda
5f81eeeaca MDL-21503 fixed regression 2010-02-03 13:44:34 +00:00
Petr Skoda
384ab39a62 MDL-21503 eliminating global Y 2010-02-03 09:32:02 +00:00
Petr Skoda
76418c143b MDL-21400 fixedsloppy regression, sorry 2010-02-03 09:26:38 +00:00
Eloy Lafuente
073d380425 MDL-21407 tex filter - trim leading whitespace from latex preamble. Merged from 19_STABLE 2010-02-03 09:23:37 +00:00
Rossiani Wijaya
d3d393ab37 MDL-21226 - add 'timecreated' column to user table. During an update, the column will copy the value from 'firstaccess' column. if the account never been access, it will be set to current time of the update.
also, modified the files for signup, add new user, and upload user to initialize the value of timecreated field.
2010-02-03 04:25:20 +00:00
Andrew Davis
d90aa63419 grader report MDL-21367 when an item is unhidden its category should unhide to 2010-02-03 02:31:46 +00:00
Penny Leach
c71ade2f41 mnet MDL-21261 moving upgrade functions to lib/upgrade.php 2010-02-02 21:16:56 +00:00
Penny Leach
287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
Martin Dougiamas
ce8f4155fa admin/webservices MDL-12886 Fixed a hard-coded string 2010-02-02 02:45:32 +00:00
Penny Leach
f6852f02d6 mnet MDL-17863 increase length of portno field in the host table (so 443 works)
merged from MOODLE_19_STABLE
2010-02-01 04:19:20 +00:00
jerome mouneyrac
52dd27bfbc webservice MDL-17135 remove old webserviceuse capability. It is now controlled by protocol capabilities. Add warning to protocol capabilities. 2010-02-01 03:23:35 +00:00
Sam Hemelryk
126590b781 javascript MDL-21400 Revised CollapsibleRegion code 2010-01-29 08:30:13 +00:00
jerome mouneyrac
f54dfa54b7 webservice MDL-21466 add few comments about test client 2010-01-29 03:50:06 +00:00
Penny Leach
5b7984a57a mnet MDL-21473 add enabled flag on to remote_rpc mnet table 2010-01-29 01:38:47 +00:00
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