]>
git.mjollnir.org Git - moodle.git/log
tjhunt [Wed, 18 Mar 2009 08:30:13 +0000 (08:30 +0000)]
XHTML strict! If you must write inline JavaScript, please at least remember the CDATA tags.
tjhunt [Wed, 18 Mar 2009 07:33:56 +0000 (07:33 +0000)]
quiz settings: MDL-18583 When a quiz has no grade, make it clear that you can only enter one lot of overall feedback.
When the maximum grade for the quiz is 0, we disable all the overall feedback form controls except for the first, and display an explanitory message.
tjhunt [Wed, 18 Mar 2009 07:08:18 +0000 (07:08 +0000)]
formslib: MDL-15827 disabledif option to repeat_elements did not work if you depend on another repeated element.
Patch thanks to Matthieu Nué.
tjhunt [Wed, 18 Mar 2009 05:33:56 +0000 (05:33 +0000)]
question bank: MDL-18531 Sorry, capability name typo.
tjhunt [Wed, 18 Mar 2009 05:16:49 +0000 (05:16 +0000)]
quiz outline report: MDL-18285 Show regrade date, not last attempt date.
I also took the opportunity to clean up the code a bit.
tjhunt [Wed, 18 Mar 2009 05:02:27 +0000 (05:02 +0000)]
question bank: MDL-18531 if someone can use questions in the quiz context, but not the course context, choose a more sensible default category in the question bank. Merged from MOODLE_19_STABLE.
moodlerobot [Tue, 17 Mar 2009 23:37:36 +0000 (23:37 +0000)]
Updated the HEAD build version to
20090318
mark-nielsen [Tue, 17 Mar 2009 16:27:40 +0000 (16:27 +0000)]
shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No, merged from 19
sam_marshall [Tue, 17 Mar 2009 10:52:27 +0000 (10:52 +0000)]
MDL-18582: Made config.php consistently require_once
tjhunt [Tue, 17 Mar 2009 09:51:34 +0000 (09:51 +0000)]
quiz editing: MDL-17454 first attemtp, and MDL-18554
This is a minimal fix for MDL-18554, I have just added a cancel button and made it work.
The more substantial part of this is MDL-17454, trying to make the quiz editing screen behave appropriately when shuffle questions is on. I am sure Olli will have opinions about this and want to change it further. Rought summary:
* When shufflequestions is off, never restrict manual paging, even if questionsperpage is set.
* When shuffle questions is on:
** Always display the quiz with the defined number of questions per page.
** Remove controls to add things except at the end of the quiz.
** Disable most of the order and paging tab, but still allow the question list to be reordered, in case that helps teachers track which questions they have added.
** Still allow questions to be reordered on the edit tab, but when moving the top question on a page up, reorder with the previous question, rather than moving to the previous page.
* Change the status bar, so that the yellow highlight is reserved for alert information. The more informative stuff is now plain, and moved to under the title. To my mind that associates it more closely with the quiz name. Also it moves Total of grades and Maximum grade closer together.
* JavaScript cleaned up. I learn more about YUI every day.
* Some PHP code clean ups that I forgot to commit separately before making substantive changes.
tjhunt [Tue, 17 Mar 2009 08:34:56 +0000 (08:34 +0000)]
Minor coding style cleanup.
tjhunt [Tue, 17 Mar 2009 08:21:37 +0000 (08:21 +0000)]
quiz editing: unindent entire file.
tjhunt [Tue, 17 Mar 2009 07:15:51 +0000 (07:15 +0000)]
formslib dates: MDL-16592 Forgot to commit these stylesheet changes.
tjhunt [Tue, 17 Mar 2009 07:14:14 +0000 (07:14 +0000)]
Whitespace fix.
tjhunt [Tue, 17 Mar 2009 07:10:45 +0000 (07:10 +0000)]
quiz settings: MDL-17333 drat, missed one lang string.
tjhunt [Tue, 17 Mar 2009 07:08:33 +0000 (07:08 +0000)]
quiz settings: MDL-17333 Resolve the interrelations between shufflequestions and questionsperpage.
* change the wording of the settings.
* add a repaginate now checkbox (disabled if shuffle is on).
* JavaScript to automatically check the checkbox when qpp changes.
* (remove some irrelevant return value checks now we use exceptions.)
dongsheng [Tue, 17 Mar 2009 05:21:03 +0000 (05:21 +0000)]
"REPOSITORY/MDL-18520, hard-coded block list in file system plugin"
tjhunt [Tue, 17 Mar 2009 04:28:47 +0000 (04:28 +0000)]
database mod: XHTML strict!
tjhunt [Tue, 17 Mar 2009 04:22:48 +0000 (04:22 +0000)]
database mod: XHTML strict!
moodlerobot [Mon, 16 Mar 2009 23:34:25 +0000 (23:34 +0000)]
Updated the HEAD build version to
20090317
stronk7 [Mon, 16 Mar 2009 17:55:26 +0000 (17:55 +0000)]
MDL-18576 timezones - info updated to tzdata2009c ; merged from 19_STABLE
thepurpleblob [Mon, 16 Mar 2009 16:37:31 +0000 (16:37 +0000)]
MDL-18567:
Check for (boolean) false coming back from database instead of real data
Merged from STABLE_19
thepurpleblob [Mon, 16 Mar 2009 15:38:06 +0000 (15:38 +0000)]
MDL-18542
Can now uncheck checkboxes and have them stored correctly.
Merged from STABLE_19
thepurpleblob [Mon, 16 Mar 2009 14:25:30 +0000 (14:25 +0000)]
MDL-18555:
Adding better handling for unsupported question types.
Merged from STABLE_19
jerome [Mon, 16 Mar 2009 07:58:30 +0000 (07:58 +0000)]
web service MDL-12886 remove tmp prefix
tjhunt [Mon, 16 Mar 2009 07:47:01 +0000 (07:47 +0000)]
formslib dates: MDL-16592 Take out copy-and-paste snafu
tjhunt [Mon, 16 Mar 2009 07:38:27 +0000 (07:38 +0000)]
formslib dates: MDL-16592 by popular demand, a close icon on the popup.
tjhunt [Mon, 16 Mar 2009 06:09:43 +0000 (06:09 +0000)]
course settings: use the optional option on date selectors, rather than a manua disabled checkbox. Also use new duration element.
tjhunt [Mon, 16 Mar 2009 06:09:05 +0000 (06:09 +0000)]
formslib disabledif: MDL-18522 make it work if either end of a disabledif relationship is a set of radio buttons.
tjhunt [Mon, 16 Mar 2009 05:57:25 +0000 (05:57 +0000)]
formslib durations: MDL-18500 Let the form control the default unit.
jerome [Mon, 16 Mar 2009 05:54:28 +0000 (05:54 +0000)]
web service MDL-12886 restrict return type for get_groupmembers
tjhunt [Mon, 16 Mar 2009 03:42:14 +0000 (03:42 +0000)]
formslib dates: MDL-16592 fix a couple of remaining niggles.
* Hide when focus leaves in almost all cases.
* Reposition the calendar after a delay after changing to a month with a different number of weeks.
tjhunt [Mon, 16 Mar 2009 02:27:08 +0000 (02:27 +0000)]
formslib dates: MDL-16592 Fix problem when trying to select a time when the calendar is not visible.
dongsheng [Mon, 16 Mar 2009 02:16:50 +0000 (02:16 +0000)]
"REPOSITORY/MDL-13766, create prepare_file function, it will prepare temp file for repository api"
tjhunt [Mon, 16 Mar 2009 02:11:15 +0000 (02:11 +0000)]
javascript: MDL-18568 We don't need a function called uncheckall, as well as one called checknone!
Also, clean up coding style in the popupchecker function.
jerome [Mon, 16 Mar 2009 02:08:12 +0000 (02:08 +0000)]
web service MDL-12886 specify params for update and delete user ws functions. Check that the user exists into update_user core function.
tjhunt [Mon, 16 Mar 2009 01:52:47 +0000 (01:52 +0000)]
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!
gbateson [Mon, 16 Mar 2009 01:52:15 +0000 (01:52 +0000)]
recalcualte grades when HotPot grading method changes
dongsheng [Mon, 16 Mar 2009 01:41:26 +0000 (01:41 +0000)]
"REPOSITORY/MDL-18546, use require_js to include javascript files, see tracker for more details"
moodlerobot [Sun, 15 Mar 2009 23:32:23 +0000 (23:32 +0000)]
Updated the HEAD build version to
20090316
skodak [Sun, 15 Mar 2009 13:44:28 +0000 (13:44 +0000)]
MDL-18265 fixed regression in menu field - discovered and patched by Vlas Voloshin, thanks!; merged from MOODLE_19_STABLE
skodak [Sun, 15 Mar 2009 13:29:40 +0000 (13:29 +0000)]
MDL-18550 fixed DML typo and bad coding style - yes sam, whitespace is part of the official coding style! thanks nigel daley for spotting of the typo
moodlerobot [Sat, 14 Mar 2009 23:36:47 +0000 (23:36 +0000)]
Updated the HEAD build version to
20090315
moodlerobot [Fri, 13 Mar 2009 23:32:47 +0000 (23:32 +0000)]
Updated the HEAD build version to
20090314
pilpi [Fri, 13 Mar 2009 15:47:08 +0000 (15:47 +0000)]
quiz editing: MDL-18556 In quiz reordering tab, eye fails to group questions/pages correctly
Changed the coloring, margins and paddings slightly to enhance grouping.
agrabs [Fri, 13 Mar 2009 14:35:25 +0000 (14:35 +0000)]
MDL-17721 - feedback items now have a label which is printed on analysing and excel
export
tjhunt [Fri, 13 Mar 2009 09:56:53 +0000 (09:56 +0000)]
formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
tjhunt [Fri, 13 Mar 2009 09:19:01 +0000 (09:19 +0000)]
gift import: MDL-18390 better way to get the question type name.
jerome [Fri, 13 Mar 2009 06:51:30 +0000 (06:51 +0000)]
web service MDL-12886 check that a user is a course participant before to add it to a group
dongsheng [Fri, 13 Mar 2009 02:59:45 +0000 (02:59 +0000)]
"REPOSITORY, SMB/MDL-16907, remove smb plugin from core"
dongsheng [Fri, 13 Mar 2009 02:54:28 +0000 (02:54 +0000)]
"REPOSITORY/MDL-18520, file system plugin added"
danmarsden [Fri, 13 Mar 2009 02:52:53 +0000 (02:52 +0000)]
MDL-18517 Stats - Course Overview Weighted report returning incorrect information
dongsheng [Fri, 13 Mar 2009 02:52:12 +0000 (02:52 +0000)]
"REPOSITORY/MDL-13766, 1. don't remove file if repository_no_delete is set 2. remove a useless function"
moodlerobot [Thu, 12 Mar 2009 23:33:29 +0000 (23:33 +0000)]
Updated the HEAD build version to
20090313
stronk7 [Thu, 12 Mar 2009 23:16:21 +0000 (23:16 +0000)]
MDL-18482 restore skipping non selected activities. Merged from 19_STABLE
Francois Marier [Thu, 12 Mar 2009 22:21:57 +0000 (22:21 +0000)]
Fix drift between CVS and git
stronk7 [Thu, 12 Mar 2009 22:21:57 +0000 (22:21 +0000)]
MDL-18543 restore of role assignments / overrides - skip non-restored contexts. Merged from 19_STABLE
stronk7 [Thu, 12 Mar 2009 19:04:53 +0000 (19:04 +0000)]
MDL-18541 replace script - now also replaces within well known html blocks. Merged from 19_STABLE
exe-cutor [Thu, 12 Mar 2009 15:11:39 +0000 (15:11 +0000)]
Shibboleth authentication: Merging fix MDL-18538 and changes from MDL-18116
thepurpleblob [Thu, 12 Mar 2009 14:45:13 +0000 (14:45 +0000)]
MDL-18535:
Adding checks for field name mismatches and "proper" error messages.
Merged from STABLE19
thepurpleblob [Thu, 12 Mar 2009 14:40:32 +0000 (14:40 +0000)]
MDL-18535:
Adding checks for field name mismatches and "proper" error messages.
Merged from STABLE_19
agrabs [Thu, 12 Mar 2009 11:04:21 +0000 (11:04 +0000)]
MDL-18529 - the editing textbox of questions now has a with of 80 chars.
additionally I added the item information from feedback for 1.9
jamiesensei [Thu, 12 Mar 2009 09:03:47 +0000 (09:03 +0000)]
Fixed "PHP Notice: Use of undefined constant classpath - assumed 'classpath'"
dongsheng [Thu, 12 Mar 2009 08:44:23 +0000 (08:44 +0000)]
"REPOSITORY/MDL-13766, sometimes element id is missing, fixed"
dongsheng [Thu, 12 Mar 2009 08:02:51 +0000 (08:02 +0000)]
"REPOSITORY/MDL-13766, return unknown type icon for repository api"
tjhunt [Thu, 12 Mar 2009 06:00:55 +0000 (06:00 +0000)]
gift import: MDL-18390 better way to get the question type name.
moodlerobot [Wed, 11 Mar 2009 23:33:46 +0000 (23:33 +0000)]
Updated the HEAD build version to
20090312
Francois Marier [Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)]
Fix drift with CVS
thepurpleblob [Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)]
MDL-18390 - now correctly looks up name of questiontype from language pack
Merged from STABLE19
stronk7 [Wed, 11 Mar 2009 11:22:55 +0000 (11:22 +0000)]
MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow!
Merged from 19_STABLE
tjhunt [Wed, 11 Mar 2009 07:10:57 +0000 (07:10 +0000)]
MDL-18521 Countdown timer should be visible on the summary page
tjhunt [Wed, 11 Mar 2009 07:00:36 +0000 (07:00 +0000)]
quiz timer js: Fix typo (that was not causing problems)
tjhunt [Wed, 11 Mar 2009 06:36:25 +0000 (06:36 +0000)]
quiz and qtypes: Regressions from MDL-7308 since '0.
0000000 ' is not empty() in PHP.
tjhunt [Wed, 11 Mar 2009 06:07:33 +0000 (06:07 +0000)]
MDL-18500 New formslib element type duration for periods of time.
dongsheng [Wed, 11 Mar 2009 06:03:33 +0000 (06:03 +0000)]
"REPOSITORY, FILEPICKER/MDL-13766, plugin developers can define login button label."
dongsheng [Wed, 11 Mar 2009 05:43:54 +0000 (05:43 +0000)]
"REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only"
tjhunt [Wed, 11 Mar 2009 05:37:22 +0000 (05:37 +0000)]
sort lang file.
dongsheng [Wed, 11 Mar 2009 05:33:55 +0000 (05:33 +0000)]
"DATA/MDL-18024, use rid instead page to comment a record, merged from 1.9"
jerome [Wed, 11 Mar 2009 04:28:04 +0000 (04:28 +0000)]
web service MDL-12886 documentation: manage no return value into the description array
dongsheng [Wed, 11 Mar 2009 04:22:40 +0000 (04:22 +0000)]
"DATA/MDL-18136, fix pagination in data mod, merged from 1.9"
dongsheng [Wed, 11 Mar 2009 02:42:28 +0000 (02:42 +0000)]
"ADMINLIB/MDL-17966, display changes saved in admin page, merged from 1.9"
dongsheng [Wed, 11 Mar 2009 02:34:20 +0000 (02:34 +0000)]
"CHAT/MDL-14949, remove mod/chat:talk capability and check chat and readlog capabilities respectively, merged and modified from 1.9"
moodlerobot [Tue, 10 Mar 2009 23:32:59 +0000 (23:32 +0000)]
Updated the HEAD build version to
20090311
moodlerobot [Tue, 10 Mar 2009 23:23:10 +0000 (23:23 +0000)]
Automatic installer.php lang files by installer_builder (
20090311 )
nicolasconnault [Tue, 10 Mar 2009 14:03:37 +0000 (14:03 +0000)]
MDL-14961 Merged from MOODLE_19_STABLE
tjhunt [Tue, 10 Mar 2009 08:39:51 +0000 (08:39 +0000)]
quiz settings: MDL-18485 Improve quiz settings form
* Reorder form fields to group things more logically.
** and on the corresponding admin page too.
* Set some options to be 'Advanced' by default:
** Apply penalties.
** Each attempt builds on the last.
** Decimal places for question grades.
** The five 'Extra restrictions on attempts' settings. (password, etc.)
* Admins can still change this to suit their institiution at Administration > Plugins > Activity modules > Quiz.
* These new defaults are applied if the admin had not previously set any fields to be advanced.
* Disable some filds when they are not applicable:
** Grading method, if num attempts = 1
** Penaly scheme, if adaptive mode = no
** Each attempt builds of last, if num attempts = 1
** Review after quiz closed options, if no close date.
** Delay between 1st and 2nd attempts, if num attempts = 1
** Delay between later attempts, if num attempts < 3
* Convert quiz.timelimit to be in seconds, for consistency, and ready for the new duration field type (MDL 18500).
** Including ensuring that backup and restore is backwards compatible.
* MDL-5537 New setting, questiondecimalpoints, so, for example, you can show the quiz grade as an integer, but have fractional question grades.
** There is a 'Same as overall decimal points' option, which is the default.
* Improve some field labels.
* Make corresponding changes in the help files.
tjhunt [Tue, 10 Mar 2009 08:01:57 +0000 (08:01 +0000)]
ajaxlib: fix unit tests.
tjhunt [Tue, 10 Mar 2009 07:54:57 +0000 (07:54 +0000)]
repostiory: remove blank unit tests file that otherwise registers as a fail.
tjhunt [Tue, 10 Mar 2009 07:54:15 +0000 (07:54 +0000)]
Unit tests: Override xmlstrictheaders for unit tests, it causes unnecessary grief here.
tjhunt [Tue, 10 Mar 2009 07:53:42 +0000 (07:53 +0000)]
Unit tests: in recurseFolders, skip files/folders whose names begnis with '.'/
tjhunt [Tue, 10 Mar 2009 07:48:29 +0000 (07:48 +0000)]
ajaxlib: fix unit tests.
dongsheng [Tue, 10 Mar 2009 07:31:14 +0000 (07:31 +0000)]
"FILE_MANAGER, REPOSITORY/MDL-16597, remove padding in file listing"
tjhunt [Tue, 10 Mar 2009 06:46:34 +0000 (06:46 +0000)]
duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes
This will be a formslib element for entering a time duration, like a quiz time limit. A better version to follow.
tjhunt [Tue, 10 Mar 2009 06:44:05 +0000 (06:44 +0000)]
date form fields: MDL-18502 Change the optional 'disabled' checkbox to an 'enabled' on
Better for usability to avoid a double-negative.
tjhunt [Tue, 10 Mar 2009 06:43:07 +0000 (06:43 +0000)]
admin setting: MDL-18485 Improve the display of defaults for admin_setting_text_with_advanced
tjhunt [Tue, 10 Mar 2009 05:00:16 +0000 (05:00 +0000)]
tablelib: Fix typo.
dongsheng [Tue, 10 Mar 2009 02:09:06 +0000 (02:09 +0000)]
"MESSAGING, INSTALLATION/MDL-17457, change installation hook to meet moodle 2.0"
dongsheng [Tue, 10 Mar 2009 02:01:24 +0000 (02:01 +0000)]
"REPOSITORY, UPGRADE/MDL-18354, upgrade/install repository plugins using moodle hook"
danmarsden [Tue, 10 Mar 2009 01:17:42 +0000 (01:17 +0000)]
MDL-18460 - SCORM Report - remove duplicated header - thanks Vlas Voloshin for the report.
stronk7 [Mon, 9 Mar 2009 23:43:39 +0000 (23:43 +0000)]
MDL-18468 Adding admin experimental option to enable split on restore. Thanks for string cleanup, Helen.
Merged from 19_STABLE (more or less)