37778 Commits

Author SHA1 Message Date
mudrd8mz
ed996ede96 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.
2009-08-31 15:23:02 +00:00
stronk7
896a2a916c MDL-17969 mssql (freetds/odbtp) native driver. Both import_record and reset_sequence implemented.
Only session locking support pending.
2009-08-31 14:25:51 +00:00
stronk7
b1ca138716 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.
2009-08-31 14:23:40 +00:00
samhemelryk
576ace3245 navigation MDL-14632 Fixed Javascript scrolling bug in FF3 2009-08-31 08:27:26 +00:00
jerome
a0a268d5c4 MDL-19763 PHP Fatal Error fix on undefined plain_page() 2009-08-31 07:13:41 +00:00
samhemelryk
b3b3eaced7 navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on 2009-08-31 04:07:51 +00:00
samhemelryk
9da1ec271f 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
2009-08-31 03:58:17 +00:00
samhemelryk
65bd8c4cda navigation MDL-14632 Fixed regression in action_icon conversion 2009-08-31 02:27:40 +00:00
gbateson
eb01b2e976 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 2009-08-31 02:08:00 +00:00
gbateson
489a7b243f MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:36:01 +00:00
moodlerobot
bb4cf7770f Updated the HEAD build version to 20090831 2009-08-31 00:37:32 +00:00
stronk7
be127d7922 MDL-17969 Now defaulting to new mssql native driver instead of adodb one. Yay! 2009-08-30 23:26:23 +00:00
stronk7
18672a3e22 MDL-17969 mssql sql generator. Now works with temptables store and facilities 2009-08-30 23:24:08 +00:00
stronk7
c6ea7fc24e Clean-up some conflicts introduced in my prev commit. 2009-08-30 23:18:24 +00:00
stronk7
f78c21037e MDL-19057 adding some pending bits 2009-08-30 23:04:35 +00:00
stronk7
520b730c56 MDL-17969 mssql (freetds/odbtp) native driver. Passes all the tests but:
- import record
- reset sequence
... so it's a good moment to add it.
2009-08-30 23:00:25 +00:00
stronk7
7a3ade00cd MDL-15181 cross-db temporary tables support. First-cut. 2009-08-30 22:55:45 +00:00
stronk7
38d0db9f31 Concatenating NULLs with anything returns NULL 2009-08-30 20:53:12 +00:00
stronk7
71a71d591b Added more sql_concat tests. MySQL and PG broken :-( Fix coming soon. 2009-08-30 16:01:31 +00:00
moodlerobot
0ea704d54b Updated the HEAD build version to 20090830 2009-08-30 00:36:51 +00:00
skodak
459e384ef2 MDL-14632 fixed forbidden use of Call-time pass-by-reference 2009-08-29 11:15:27 +00:00
stronk7
f906838a4e Added some more tests to temp tables to show current implementation problems in mysql and mssql. Fix coming soon. 2009-08-29 01:17:57 +00:00
moodlerobot
9dd735f721 Updated the HEAD build version to 20090829 2009-08-29 00:36:45 +00:00
stronk7
e4a16bdc88 Delegate prefix subtitution to each db driver to enforce calls to fix_sql_params() everywhere 2009-08-29 00:08:55 +00:00
stronk7
0f887b881e Delete the tweakTempTable() thing used to support temp tables in mssql.
Was hacky and incomplete. Proper solution must be mssql exclusive.
2009-08-28 17:30:18 +00:00
nicolasconnault
21237187fb MDL-19756 Removing badly merged line :p 2009-08-28 12:45:50 +00:00
nicolasconnault
a019627a1a MDL-19756 Fixed bug in output of fields with a label 2009-08-28 11:38:33 +00:00
mudrd8mz
46c6731707 NOBUG: fixed incorect use of $output variable
I propose to use $output variable name for renderer instance only. Also,
this did not work at all as $output was not returned.
2009-08-28 11:34:01 +00:00
stronk7
77abbc47f6 Enforce strict mode in mysqli session in order to get consistent behaviour
in various operations (casting, altering columns...)
2009-08-28 11:17:47 +00:00
nicolasconnault
c1c0cecf3a MDL-14632 Improved the output code of the settings block and fixed typo of toogle to toggle. 2009-08-28 10:28:16 +00:00
jerome
5000d34e8e webservices MDL-12886 update xmlrpc server/client to work with new web service description 2009-08-28 10:06:14 +00:00
samhemelryk
7d2a049292 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
2009-08-28 08:47:31 +00:00
gbateson
4460e25d2b 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 2009-08-28 08:04:48 +00:00
nicolasconnault
1f1aa44525 MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog 2009-08-28 08:00:15 +00:00
moodler
7689a0f34b 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.
2009-08-28 07:34:39 +00:00
jerome
ebcc6bd3b5 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 2009-08-28 07:03:03 +00:00
nicolasconnault
c9c6c624f4 MDL-20179 Replaced incompatible code with something cross-browser compatible. Merged from MOODLE_19_STABLE 2009-08-28 06:57:06 +00:00
nicolasconnault
319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
stronk7
c402af03a8 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! :-)
2009-08-28 01:19:49 +00:00
stronk7
eb8f775d97 Fix one wrong test. To get defaults applied, new column must be not null. 2009-08-28 01:14:32 +00:00
moodlerobot
e39db1af04 Updated the HEAD build version to 20090828 2009-08-28 00:38:01 +00:00
skodak
53e8c830fb MDL-20176 param types mandatory - temporary hacks, needs to be fixed properly 2009-08-27 20:54:52 +00:00
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +00:00
skodak
92ebcabeb3 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:14:45 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
stronk7
76b6daf2b2 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.
2009-08-27 14:01:28 +00:00
nicolasconnault
5529f787bd MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method 2009-08-27 10:12:44 +00:00
nicolasconnault
eef00ade8f MDL-19797 Optimising output code in gradebook, and fixed bugs in export key management 2009-08-27 09:39:50 +00:00
dongsheng
a906afa36f "MDL-13766, remove debug code" 2009-08-27 09:31:20 +00:00
skodak
ebdd9fed4b MDL-20169 fixed coding style, parameter type required 2009-08-27 08:49:54 +00:00