nicolasconnault
6dbcaceef1
MDL-19418 Replaced ereg* by preg*
2009-06-22 01:22:37 +00:00
tjhunt
25ddb7efc9
javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
...
This is the final batch.
2009-06-15 07:57:53 +00:00
mudrd8mz
488275fc71
Fixed missing ";" - spotted during upgrade
2009-06-13 20:56:14 +00:00
skodak
fc29e51b2d
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:34:43 +00:00
skodak
979425b584
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:04:21 +00:00
skodak
0bcf8b6f0d
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:55:51 +00:00
skodak
bb4b6010f3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:17:10 +00:00
tjhunt
cf6155226c
ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
...
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.
There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.
get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.
Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.
All that remains is to update all the places in core code that are
still using require_js.
(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
pichetp
0735b50962
MDL-17366 cleaning code ( space, indentation etc.)
2009-06-11 17:04:18 +00:00
stronk7
577ba35087
MDL-19350 upgrade blocks - adding missing savepoints to question types
2009-06-03 17:27:07 +00:00
stronk7
4ff9ba7d7c
towards 2.0 DML
2009-06-03 14:38:25 +00:00
pichetp
4328f8233d
MDL-17366 define CALCULATEDSIMPLE , used in xml/format.php
2009-06-03 03:04:04 +00:00
pichetp
1d1f5784f8
MDL-17366 detecting real number of data items in database and modifying lang strings
2009-06-03 03:01:37 +00:00
pichetp
acb85fd541
MDL-17366 a new "temporary" icon image
2009-06-01 20:11:13 +00:00
pichetp
f965e5fbfc
MDL-17366 removing echo debugging lines.
2009-06-01 03:14:51 +00:00
pichetp
a31697ba49
MDL-17366 adding control of number of values displayed and validation improvments.
2009-06-01 03:12:29 +00:00
pichetp
83a15d025c
MDL-17366 adding the calculatedsimple questiontype
2009-05-29 22:42:22 +00:00
pichetp
315efce701
MDL-19214 Adding category hidden element
2009-05-24 02:33:42 +00:00
pichetp
66d0a55c56
MDL-19210 using the get_database_dataset_items() function
2009-05-24 02:02:31 +00:00
pichetp
a2155a7b74
MDL-19210 adding get_database_dataset_items() function
2009-05-24 02:01:03 +00:00
pichetp
ad3a4aa67f
MDL-19210 eliminate the generation of multiple dataitems having the same item number
2009-05-21 12:10:42 +00:00
stronk7
74c288a100
MDL-18577 drop enums support - step2: enums out from install.xml files
2009-05-01 14:07:43 +00:00
tjhunt
f13b675702
shortanswer qtype: Add the problem case from http://moodle.org/mod/forum/discuss.php?d=120557 to the unit tests.
2009-04-06 02:03:10 +00:00
fmarier
316914bf6e
MDL-17037 ran all GIF images through gifsicle and PNG through optipng
2009-04-05 23:33:00 +00:00
tjhunt
50da63ebd9
qtypes: MDL-18711 Allow qtype plugins to have custom CSS and JavaScript on the editing page.
2009-03-30 09:15:46 +00:00
tjhunt
3240fd9609
questions: unit tests for default_questiontype::compare_responses.
2009-03-26 08:42:23 +00:00
tjhunt
5995f17f72
qtypes: MDL-18559 questions showing penalty information when they shouldn't.
...
We had a !== when it should have been !=, and our constants were defined as strings not ints. This problem has been there since forever, but no one had noticed before. Thanks to Alan Trick for finally spotting it!
2009-03-16 01:52:47 +00:00
tjhunt
26da840f6b
quiz and qtypes: Regressions from MDL-7308 since '0.0000000' is not empty() in PHP.
2009-03-11 06:36:25 +00:00
tjhunt
26574bbad7
quiz/questions: Improve documentation of database tables.
2009-03-05 11:24:41 +00:00
tjhunt
a5bc73aa74
Fix unit tests.
2009-03-03 07:44:30 +00:00
tjhunt
b974f94757
quiz editing: MDL-18355 Try to improve the discoverability of Description again.
2009-02-26 06:33:18 +00:00
tjhunt
63265f262f
question types: MDL-18350 oops missed a bit.
2009-02-25 07:16:57 +00:00
tjhunt
4995b9c19c
question types: API cleanup.
...
MDL-18350 remove backwards compatibility support for question types having their lang strings in the quiz language module.
MDL-16407 settings.php support for question types. Remove the old get_config_options from question types. I don't think anyone was using it.
2009-02-25 07:01:57 +00:00
tjhunt
3cac440b76
quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not.
2009-02-24 05:16:23 +00:00
pichetp
f7fa6874f7
MDL-18034 MDL-18035 correcting typo
...
saving answers data in $question->answerif they come from edit from.
2009-02-20 20:52:32 +00:00
tjhunt
4d41f4eee8
Add missing Id tags to all files under question, to help the unmerged files script.
2009-02-19 01:09:44 +00:00
tjhunt
2aef1fe52f
question editing: MDL-18035 Nice refactoring from Oleg Sychev that saves 50+ lines of code between the various editing forms.
2009-02-18 06:52:11 +00:00
tjhunt
5348b899c4
random question: MDL-18174 Fix notice when adding a random question to a quiz.
2009-02-17 06:14:54 +00:00
tjhunt
24e8b9b684
question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174
...
These are all to do with the combination of the $form->category, and $form->categorymoveto fields on the question editing forms since Moodle 1.9. These are now resolved to a single ->category value in question.php, which simplifies the logic for the individual question types.
MDL-15774 and MDL-12719 errors editing Cloze question
MDL-17105 problems with qustion saving logic.
MDL-18174 'Select from subcategories' option not preserved when editing a random question.
2009-02-13 06:11:42 +00:00
pichetp
9af77e9d17
MDL-18034 Rename answers field to answer in calculated qtype form to increase consistency
2009-02-03 00:40:40 +00:00
Francois Marier
6280ef3e58
Fix CVS-git drift (remove some files deleted in CVS)
2009-02-01 23:43:28 +00:00
pichetp
0a6555f854
MDL-18034 saving answers data in $question->answer if they come from edit from.
2009-01-27 15:00:19 +00:00
pichetp
103a800d67
MDL-17995 replacing is_null() by empty().
2009-01-26 01:21:58 +00:00
pichetp
8795a5ae25
MDL-17995 replacing $wrapped !='' by !is_null($wrapped)
...
MDL-17857 Allowing multianwer (Cloze) question to have a 0 default grade as other question types
2009-01-25 14:49:02 +00:00
tjhunt
bcda961144
matching qtype: MDL-17981 extra distractors feature was not working on MS SQL server, since MDL-14420 was fixed.
2009-01-23 02:19:30 +00:00
tjhunt
714aaf918a
shortanswer qtype: MDL-17800 Fix merge problem. Thanks to Oleg for spotting this.
2009-01-23 01:11:21 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
tjhunt
c599a68240
question bank: MDL-12787, MDL-17870 field in the question editing form to tag questions, and load and save the tags from the DB.
2009-01-16 08:00:06 +00:00
tjhunt
a18ba12ca6
quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.
...
Thanks to Ann Adamcik for noticing this. It was a regression from MDL-6085.
2009-01-16 04:47:23 +00:00
tjhunt
c795dc7843
questiontypes: MDL-17800
...
Fix another merge error.
2009-01-16 04:24:24 +00:00