web services MDL-12886 ws params: when the algo cleans a list of param, only the first element of the list is cleaned (fixed) + web service description includes service name
NOBUG: Fixed confirm() - two buttons "Yes" were displayed
Also, I change the default labels to Continue/Cancel. It is not good for
UI consistency to have Yes/No is string URL is passed and
Continue/Cancel if moodle_url is passed.
Removing the check against empty button->text as it has always the
default value "Yes".
navigation MDL-14632 Fixed minor regressions for recent patches
* Search field now takes input again
* Javascript event propogration is stopped to prevent refreshing when switch block position
MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module
MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module
mudrd8mz [Mon, 31 Aug 2009 15:23:02 +0000 (15:23 +0000)]
MDL-20191 Subplugins are uninstalled together with the parent plugin
This is a first working implementation I have. I need to so I can
continue with the Workshop development. I think the performance can be
significantly improved here as the location of the subplugins is
evaluated atr least twice, I guess.
stronk7 [Mon, 31 Aug 2009 14:23:40 +0000 (14:23 +0000)]
SQL generators must not execute changes in DB. Just provide the needed SQL
in order to make database_manager to execute it. reset_sequence reimplemented.
samhemelryk [Mon, 31 Aug 2009 03:58:17 +0000 (03:58 +0000)]
navigation MDL-14632 Minor tweaking as suggested on this issue.
* Fixed focus on search closing tab
* Added spacing to refresh/moveto icons
* Made all text in navigation tree's expandable
* Final element on navbar no longer a link
gbateson [Mon, 31 Aug 2009 02:08:00 +0000 (02:08 +0000)]
MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file
samhemelryk [Fri, 28 Aug 2009 08:47:31 +0000 (08:47 +0000)]
navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
gbateson [Fri, 28 Aug 2009 08:04:48 +0000 (08:04 +0000)]
HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images
moodler [Fri, 28 Aug 2009 07:34:39 +0000 (07:34 +0000)]
admin/settings MDL-20180 Moved "Debugging" from the Server menu to the Development menu where it makes more sense.
Also moved some things around a bit to make them look a little better. Ideally Experimental would be last but this is not easy to do because unit tests adds items to the end later.
jerome [Fri, 28 Aug 2009 07:03:03 +0000 (07:03 +0000)]
webservices MDL-12886 "params" parameter has been changed into an object (conform with the web description structure) + clean_params() function filters parameters and throws an exception for any unexpected parameters/malformed parameters
stronk7 [Fri, 28 Aug 2009 01:19:49 +0000 (01:19 +0000)]
To alter columns back and forth between numeric types and text,
we need upto 3 intermediate alters.
Corolary: MSSQL implicit conversions aren't transitive at all! :-)
stronk7 [Thu, 27 Aug 2009 14:01:28 +0000 (14:01 +0000)]
NOBUG. Add 2 missing fix_sql_params() calls in insert/update_record_raw()
causing named and qm parameters to be mixed in the same query. Curiously,
due to the ordered nature of the qms it wasn't breaking, but was incorrect.
poltawski [Thu, 27 Aug 2009 07:52:11 +0000 (07:52 +0000)]
lib/setuplib MDL-20166 - Don't abort install on nginx webserver
Thanks to Jordan for the patch. Jordan has done testing and found nginx
seems to work and is planning to do more extensive testing to alert us of
other problems along the way.