moodle.git
12 years agoMDL-16263 A way for students to flag/bookmark, particular questions during a quiz...
tjhunt [Fri, 29 Aug 2008 10:08:27 +0000 (10:08 +0000)]
MDL-16263 A way for students to flag/bookmark, particular questions during a quiz attempt for later review.

This is an initial implementation that is now at a working state, but with a few things left to do. It seemed like a good idea to commit it before leaving work on Friday night.

12 years agoMake comment clearer.
tjhunt [Fri, 29 Aug 2008 10:04:15 +0000 (10:04 +0000)]
Make comment clearer.

12 years agoMDL-14741: clean up some old code. This needs to be confirmed backward-compatible.
scyrma [Fri, 29 Aug 2008 09:54:44 +0000 (09:54 +0000)]
MDL-14741: clean up some old code. This needs to be confirmed backward-compatible.

12 years agoMDL-15351: (work-in-progress) - better browsing of the local repository. Heaps more...
scyrma [Fri, 29 Aug 2008 09:50:11 +0000 (09:50 +0000)]
MDL-15351: (work-in-progress) - better browsing of the local repository. Heaps more to come.

12 years agoMDL-13766, add a lang string.
dongsheng [Fri, 29 Aug 2008 09:17:11 +0000 (09:17 +0000)]
MDL-13766, add a lang string.

12 years agoMDL-16265, add a preview link under each icon.
dongsheng [Fri, 29 Aug 2008 08:33:08 +0000 (08:33 +0000)]
MDL-16265, add a preview link under each icon.

12 years agoMDL-16266, add thumbnail on rename page.
dongsheng [Fri, 29 Aug 2008 08:26:38 +0000 (08:26 +0000)]
MDL-16266, add thumbnail on rename page.

12 years agoMDL-15666 MDL-16177
nicolasconnault [Fri, 29 Aug 2008 08:01:55 +0000 (08:01 +0000)]
MDL-15666 MDL-16177
Refactored the generator script into proper Object Oriented code. It can now be used as a CLI tool, as a web form or as an included library with a function call. Stub implementation is demonstrated in portfolio unit tests.

12 years agoMDL-15405: make it possible to specify a destination filearea for htmleditor forms...
scyrma [Fri, 29 Aug 2008 07:51:15 +0000 (07:51 +0000)]
MDL-15405: make it possible to specify a destination filearea for htmleditor forms element

12 years agoMDL-13766
dongsheng [Fri, 29 Aug 2008 07:45:35 +0000 (07:45 +0000)]
MDL-13766
1. attach seekey to ajax request
2. fix string

12 years agoMDL-16219 Fixing the passing of an array by reference (variable must be defined befor...
nicolasconnault [Fri, 29 Aug 2008 07:29:35 +0000 (07:29 +0000)]
MDL-16219 Fixing the passing of an array by reference (variable must be defined before function call). Also fixing whitespace.

12 years agoFIx fileareas being sent to mform for forum post
moodler [Fri, 29 Aug 2008 06:57:10 +0000 (06:57 +0000)]
FIx fileareas being sent to mform for forum post

12 years agoMDL-13766
dongsheng [Fri, 29 Aug 2008 06:31:19 +0000 (06:31 +0000)]
MDL-13766
1. click icon to download
2. display filename when downloading complete

12 years agoThis makes draft files appear inHTML editor etc
moodler [Fri, 29 Aug 2008 06:03:52 +0000 (06:03 +0000)]
This makes draft files appear inHTML editor etc

It's almost an exact copy of userfile.php

12 years agoMDL-16126 "Altering the number of students shown can lead to students being inadverte...
jamiesensei [Fri, 29 Aug 2008 06:03:02 +0000 (06:03 +0000)]
MDL-16126 "Altering the number of students shown can lead to students being inadvertently hidden" make sure that initials bar is shown if we are filtering by initials.

12 years agoXHTML strict!
tjhunt [Fri, 29 Aug 2008 05:48:09 +0000 (05:48 +0000)]
XHTML strict!

12 years agoUpdated tags file
moodler [Fri, 29 Aug 2008 05:42:44 +0000 (05:42 +0000)]
Updated tags file

12 years agoMDL-14589: typos corrections.
scyrma [Fri, 29 Aug 2008 05:32:10 +0000 (05:32 +0000)]
MDL-14589: typos corrections.

12 years agoMDL-14492 - Provide feedback to user about redirect delay in loadsco.php. Add sanity...
piers [Fri, 29 Aug 2008 04:10:20 +0000 (04:10 +0000)]
MDL-14492 - Provide feedback to user about redirect delay in loadsco.php.  Add sanity checking for scorm_resize() as it tries to set -ve heights if user specifies a small area. Thanks francois.

12 years agoMDL-16264 Make mnet courses affect course_list block
peterbulmer [Fri, 29 Aug 2008 04:09:27 +0000 (04:09 +0000)]
MDL-16264 Make mnet courses affect course_list block
If a user has mnet courses, these should affect block display in the same way as local courses do.

12 years agoMDL-16219 - followup - committing missing change in questionlib.php in head.
tjhunt [Fri, 29 Aug 2008 03:34:44 +0000 (03:34 +0000)]
MDL-16219 - followup - committing missing change in questionlib.php in head.

12 years agoUpdated the HEAD build version to 20080829
moodlerobot [Fri, 29 Aug 2008 01:43:36 +0000 (01:43 +0000)]
Updated the HEAD build version to 20080829

12 years agoAutomatic installer.php lang files by installer_builder (20080829)
moodlerobot [Fri, 29 Aug 2008 01:22:58 +0000 (01:22 +0000)]
installer.php lang files by installer_builder (20080829)

12 years agoAllowing category themes to be reverted to "none". MDL-16152. Credit goes to Caio...
stronk7 [Thu, 28 Aug 2008 23:15:37 +0000 (23:15 +0000)]
Allowing category themes to be reverted to "none". MDL-16152. Credit goes to Caio SBA. Merged from 19_STABLE

12 years agoFound another get_record() call when looking to MDL-16245. Fixed.
stronk7 [Thu, 28 Aug 2008 23:00:43 +0000 (23:00 +0000)]
Found another get_record() call when looking to MDL-16245. Fixed.

12 years agoMDL-15670 Database export/import library - by Andrei Bautu, minor tweaks only - big...
skodak [Thu, 28 Aug 2008 21:32:03 +0000 (21:32 +0000)]
MDL-15670 Database export/import library - by Andrei Bautu, minor tweaks only - big thanks!

12 years agoFix some problems with named parameters and improve
stronk7 [Thu, 28 Aug 2008 18:08:06 +0000 (18:08 +0000)]
Fix some problems with named parameters and improve
get_user_courses_bycap() queries. MDL-16209 ; merged from 19_STABLE

12 years agoAdd missing $DB
stronk7 [Thu, 28 Aug 2008 18:04:16 +0000 (18:04 +0000)]
Add missing $DB

12 years agoMDL-16238 improved SQL - see tracker for details, merged from MOODLE_19_STABLE +...
skodak [Thu, 28 Aug 2008 17:42:49 +0000 (17:42 +0000)]
MDL-16238 improved SQL - see tracker for details, merged from MOODLE_19_STABLE + DML conversion updates

12 years agoMDL-14826 Added missing string. Merged from 1.9
mudrd8mz [Thu, 28 Aug 2008 16:39:42 +0000 (16:39 +0000)]
MDL-14826 Added missing string. Merged from 1.9

12 years agoMDL-16198
thepurpleblob [Thu, 28 Aug 2008 13:49:25 +0000 (13:49 +0000)]
MDL-16198
Blackboard V6+ can now handle the .dat file directly as an option to the .zip file
Some changes needed to recover the original filename.

Merged from STABLE_19

12 years agoMDL-16221
thepurpleblob [Thu, 28 Aug 2008 12:46:31 +0000 (12:46 +0000)]
MDL-16221
Specify both width and height for user image

Merged from STABLE_19

12 years agoMDL-16252
thepurpleblob [Thu, 28 Aug 2008 10:59:22 +0000 (10:59 +0000)]
MDL-16252
Fixed some notices with essay questions when there is no feedback

Merged from STABLE_19

12 years agoMDL-16251
thepurpleblob [Thu, 28 Aug 2008 10:36:16 +0000 (10:36 +0000)]
MDL-16251
Changed tests to empty rather than isset to avoid notices when array is set but empty

Merged from STABLE_19

12 years agoMDL-16250
thepurpleblob [Thu, 28 Aug 2008 10:07:51 +0000 (10:07 +0000)]
MDL-16250
Added support for Essay type questions

Merged from STABLE_19

12 years agoMDL-16221
thepurpleblob [Thu, 28 Aug 2008 08:40:59 +0000 (08:40 +0000)]
MDL-16221
Fixed missing height/width in CSS

12 years agoMDL-16202 formslib show/hide advanced button does not work with strict XML headers
tjhunt [Thu, 28 Aug 2008 07:52:09 +0000 (07:52 +0000)]
MDL-16202 formslib show/hide advanced button does not work with strict XML headers

12 years agoMDL-15351: fix higher level of path information for local repository - begin testing.
scyrma [Thu, 28 Aug 2008 07:42:37 +0000 (07:42 +0000)]
MDL-15351: fix higher level of path information for local repository - begin testing.

12 years agoMDL-16245 fixed forgotten get_record()
skodak [Thu, 28 Aug 2008 07:26:24 +0000 (07:26 +0000)]
MDL-16245 fixed forgotten get_record()

12 years agoMDL-15420 fixed wrong show submission to others test; merged from MOODLE_19_STABLE
skodak [Thu, 28 Aug 2008 07:23:05 +0000 (07:23 +0000)]
MDL-15420 fixed wrong show submission to others test; merged from MOODLE_19_STABLE

12 years agoMDL-15876 I hope the multicheckbox now works 100% :-)
skodak [Thu, 28 Aug 2008 07:08:08 +0000 (07:08 +0000)]
MDL-15876 I hope the multicheckbox now works 100% :-)

12 years agoMDL-16242 "'Required' does nothing for select fields in customisable user profiles...
jamiesensei [Thu, 28 Aug 2008 06:44:49 +0000 (06:44 +0000)]
MDL-16242 "'Required' does nothing for select fields in customisable user profiles" added an extra option 'Choose...' which is the default if no other default is specified. If the user leaves the select field set to 'Choose...' then the required rule fails and the form does not submit.

12 years ago"MDL-13766, update comments"
dongsheng [Thu, 28 Aug 2008 06:39:09 +0000 (06:39 +0000)]
"MDL-13766, update comments"

12 years agoMDL-13766
dongsheng [Thu, 28 Aug 2008 06:23:23 +0000 (06:23 +0000)]
MDL-13766
1. Change location of cached and downloaded files
2. Clean up expired cache files
3. Remove downloaded files after completing moving

12 years agoMDL-13766: fix/add comments
jerome [Thu, 28 Aug 2008 06:15:19 +0000 (06:15 +0000)]
MDL-13766: fix/add comments

12 years agoMDL-13766: refactor all repository_instances() => repository_get_instances()
jerome [Thu, 28 Aug 2008 05:30:19 +0000 (05:30 +0000)]
MDL-13766: refactor all repository_instances() => repository_get_instances()

12 years agoMDL-13766: refactor all repository_instance() => repository_get_instance()
jerome [Thu, 28 Aug 2008 05:23:07 +0000 (05:23 +0000)]
MDL-13766: refactor all repository_instance() => repository_get_instance()

12 years agoMDL-13766: refactor all libary functions, they now all start with repository_
jerome [Thu, 28 Aug 2008 05:13:13 +0000 (05:13 +0000)]
MDL-13766: refactor all libary functions, they now all start with repository_

12 years agoMDL-16243 Implement a health-centre check that the question categories are arranged...
tjhunt [Thu, 28 Aug 2008 05:06:32 +0000 (05:06 +0000)]
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.

12 years agoMDL-14741:
scyrma [Thu, 28 Aug 2008 04:08:37 +0000 (04:08 +0000)]
MDL-14741:
 * Remove media plugin (which causes javascript error) until next upgrade from upstream
 * Fix onsubmit function to make it work - hopefully for good
 * Remove unused courseid parameter (which will make caching more effective)

12 years agoMDL-16204 - On an old site, there were question categories where category->parent...
tjhunt [Thu, 28 Aug 2008 03:23:59 +0000 (03:23 +0000)]
MDL-16204 - On an old site, there were question categories where category->parent went round in a loop. This crashed the upgrade. Change the upgrade code to make it more robust.

12 years agoMDL-13766, verify data before return to browser.
dongsheng [Thu, 28 Aug 2008 02:23:09 +0000 (02:23 +0000)]
MDL-13766, verify data before return to browser.

12 years agoMDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_con...
tjhunt [Thu, 28 Aug 2008 02:15:19 +0000 (02:15 +0000)]
MDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_contributions. This was missed when implementing MDL-6368.

12 years agoMDL-8475 - Better handling of blank answer - further changes to make it even more...
tjhunt [Thu, 28 Aug 2008 01:48:43 +0000 (01:48 +0000)]
MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type.

12 years agoUpdated the HEAD build version to 20080828
moodlerobot [Thu, 28 Aug 2008 01:46:41 +0000 (01:46 +0000)]
Updated the HEAD build version to 20080828

12 years agoAutomatic installer.php lang files by installer_builder (20080828)
moodlerobot [Thu, 28 Aug 2008 01:27:25 +0000 (01:27 +0000)]
installer.php lang files by installer_builder (20080828)

12 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. only set...
piers [Wed, 27 Aug 2008 23:24:38 +0000 (23:24 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  only set browsed status if the SCO hasn't set a status.

12 years agoMDL-16137 - clear scorm directory if it already exists
danmarsden [Wed, 27 Aug 2008 22:38:52 +0000 (22:38 +0000)]
MDL-16137 - clear scorm directory if it already exists

12 years agoMDL-10767 - set values of checkboxes correctly
danmarsden [Wed, 27 Aug 2008 22:02:16 +0000 (22:02 +0000)]
MDL-10767 - set values of checkboxes correctly

12 years agoMDL-16236 & operator is often not needed in PHP5 in method definition
skodak [Wed, 27 Aug 2008 20:52:48 +0000 (20:52 +0000)]
MDL-16236 & operator is often not needed in PHP5 in method definition

12 years agoMDL-16235 yet more ;-)
skodak [Wed, 27 Aug 2008 20:48:16 +0000 (20:48 +0000)]
MDL-16235 yet more ;-)

12 years agoMDL-16235 whitespace terror :-D
skodak [Wed, 27 Aug 2008 20:43:06 +0000 (20:43 +0000)]
MDL-16235 whitespace terror :-D

12 years agoMDL-16234 defaults support in plugin_supports()
skodak [Wed, 27 Aug 2008 20:22:33 +0000 (20:22 +0000)]
MDL-16234 defaults support in plugin_supports()

12 years agoMDL-16223, MDL-16222 - error string improvements
skodak [Wed, 27 Aug 2008 16:34:23 +0000 (16:34 +0000)]
MDL-16223, MDL-16222 - error string improvements

12 years agoMDL-16223, MDL-16222 - module context now available in xxx_add_instance() module...
skodak [Wed, 27 Aug 2008 16:33:50 +0000 (16:33 +0000)]
MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements

12 years agoMDL-15497 fixed notice when deleting forum
skodak [Wed, 27 Aug 2008 15:50:33 +0000 (15:50 +0000)]
MDL-15497 fixed notice when deleting forum

12 years agofixed whitespace
skodak [Wed, 27 Aug 2008 15:48:46 +0000 (15:48 +0000)]
fixed whitespace

12 years agoMDL-16226 coding style improvements, added deleting of module files
skodak [Wed, 27 Aug 2008 15:47:25 +0000 (15:47 +0000)]
MDL-16226 coding style improvements, added deleting of module files

12 years agoMDL-16226 coding style improvements, added deleting of module files, improved validat...
skodak [Wed, 27 Aug 2008 15:11:20 +0000 (15:11 +0000)]
MDL-16226 coding style improvements, added deleting of module files, improved validation of params

12 years agoMDL-16220 allow deleting of all files attached to context
skodak [Wed, 27 Aug 2008 11:46:48 +0000 (11:46 +0000)]
MDL-16220 allow deleting of all files attached to context

12 years agoMDL-16226 get_coursemodule_xx() improvements
skodak [Wed, 27 Aug 2008 11:31:37 +0000 (11:31 +0000)]
MDL-16226 get_coursemodule_xx() improvements

12 years agoCurse you CVS!!! Didn't notice strange merge error.
thepurpleblob [Wed, 27 Aug 2008 10:27:39 +0000 (10:27 +0000)]
Curse you CVS!!!  Didn't notice strange merge error.

12 years agoMDL-16221
thepurpleblob [Wed, 27 Aug 2008 10:24:48 +0000 (10:24 +0000)]
MDL-16221
The height and width are now included in the user's image.

12 years agoMDL-15405: Add missing quote in javascript code
scyrma [Wed, 27 Aug 2008 08:36:01 +0000 (08:36 +0000)]
MDL-15405: Add missing quote in javascript code

12 years agoMDL-16220 allow deleting of all files attached to context
skodak [Wed, 27 Aug 2008 08:23:07 +0000 (08:23 +0000)]
MDL-16220 allow deleting of all files attached to context

12 years agoMDL-15405: A first form (partly) converted to the new filepicker element.
scyrma [Wed, 27 Aug 2008 07:57:54 +0000 (07:57 +0000)]
MDL-15405: A first form (partly) converted to the new filepicker element.

12 years agoMDL-16043: manage case when administrator set enrol_remotecoursefield or enrol_remote...
jerome [Wed, 27 Aug 2008 07:27:13 +0000 (07:27 +0000)]
MDL-16043: manage case when administrator set enrol_remotecoursefield or enrol_remoteuserfield in UPPERCASE, merged from 19

12 years agoMDL-13766, fix lang strings and small bugs
dongsheng [Wed, 27 Aug 2008 06:23:01 +0000 (06:23 +0000)]
MDL-13766, fix lang strings and small bugs

12 years agoMDL-13766
dongsheng [Wed, 27 Aug 2008 04:17:35 +0000 (04:17 +0000)]
MDL-13766
1. click thumbnail to download or view target file
2. fix css issues
3. boxnet api url changed

12 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. gramatical...
piers [Wed, 27 Aug 2008 04:06:00 +0000 (04:06 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  gramatical error - thanks Dan.

12 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. Fix cmi.comme...
piers [Wed, 27 Aug 2008 02:41:13 +0000 (02:41 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  Fix cmi.comments, and mastery_score checking.

12 years ago"MDL-13413, chat transcripts donot include instructor when using separate groups"
dongsheng [Wed, 27 Aug 2008 02:21:11 +0000 (02:21 +0000)]
"MDL-13413, chat transcripts donot include instructor when using separate groups"

12 years agoUpdated the HEAD build version to 20080827
moodlerobot [Wed, 27 Aug 2008 01:42:10 +0000 (01:42 +0000)]
Updated the HEAD build version to 20080827

12 years agoMDL-16218 - Typo in lang file. Thanks to Mitsuhiro Yoshida for spotting it.
tjhunt [Wed, 27 Aug 2008 01:03:41 +0000 (01:03 +0000)]
MDL-16218 - Typo in lang file. Thanks to Mitsuhiro Yoshida for spotting it.

12 years agoPrevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE
stronk7 [Tue, 26 Aug 2008 23:02:58 +0000 (23:02 +0000)]
Prevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE

12 years agoMDL-13766 rerunning latest repo upgrade block, the 2008082600 was not correct in...
skodak [Tue, 26 Aug 2008 19:49:54 +0000 (19:49 +0000)]
MDL-13766 rerunning latest repo upgrade block, the 2008082600 was not correct in upgrade.php, should have been 2008082601

12 years agoMDL-13766 optimised upgrade - no need to create & modify repository table and delete...
skodak [Tue, 26 Aug 2008 19:44:04 +0000 (19:44 +0000)]
MDL-13766 optimised upgrade - no need to create & modify repository table and delete it afterwards

12 years agoMDL-16190: Completion icons don't show on IE6
sam_marshall [Tue, 26 Aug 2008 09:42:16 +0000 (09:42 +0000)]
MDL-16190: Completion icons don't show on IE6

12 years agoMDL-16132 "'Dry run' should be two separate words (OED)."
jamiesensei [Tue, 26 Aug 2008 09:01:41 +0000 (09:01 +0000)]
MDL-16132 "'Dry run' should be two separate words (OED)."

12 years agoMDL-16176
nicolasconnault [Tue, 26 Aug 2008 08:21:52 +0000 (08:21 +0000)]
MDL-16176

12 years agoMDL-13766, add a cancel button on file picker, fix bugs in repository administration...
dongsheng [Tue, 26 Aug 2008 08:00:47 +0000 (08:00 +0000)]
MDL-13766, add a cancel button on file picker, fix bugs in repository administration panel

12 years agoMDL-13766
dongsheng [Tue, 26 Aug 2008 07:20:56 +0000 (07:20 +0000)]
MDL-13766
1. Chanage database, create 2 more tables for repository
2. One-step download in file picker

12 years agothumbnails -> icons
moodler [Tue, 26 Aug 2008 06:58:22 +0000 (06:58 +0000)]
thumbnails -> icons

12 years agoSmall updates
moodler [Tue, 26 Aug 2008 06:57:04 +0000 (06:57 +0000)]
Small updates

12 years agoMDL-16208 fixed deleting of orphaned module tables
skodak [Tue, 26 Aug 2008 06:54:43 +0000 (06:54 +0000)]
MDL-16208 fixed deleting of orphaned module tables

12 years agoMDL-16115 strict fixes for admin settings unmask field too
skodak [Tue, 26 Aug 2008 06:41:37 +0000 (06:41 +0000)]
MDL-16115 strict fixes for admin settings unmask field too

12 years agoMDL-7010 - followup - delete file that is no longer required.
tjhunt [Tue, 26 Aug 2008 05:58:32 +0000 (05:58 +0000)]
MDL-7010 - followup - delete file that is no longer required.

12 years agoMDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup
skodak [Tue, 26 Aug 2008 05:45:07 +0000 (05:45 +0000)]
MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup

12 years agoSome improvements to strings - translators should probably wait because there
moodler [Tue, 26 Aug 2008 05:13:35 +0000 (05:13 +0000)]
Some improvements to strings - translators should probably wait because there
will be more changes

12 years agoUpdated the HEAD build version to 20080826
moodlerobot [Tue, 26 Aug 2008 01:47:45 +0000 (01:47 +0000)]
Updated the HEAD build version to 20080826