Commit graph

47784 commits

Author SHA1 Message Date
Petr Skoda
5f01417372 MDL-26007 fix error message when can not found env data 2011-01-16 20:47:22 +01:00
David Mudrak
241e58e44b MDL-25982 Workshop: users from the same group may be excluded from allocation in visible group mode
If the Workshop is in the visible group mode, members of the same group
can be now optionally excluded from random allocation for a given user.
2011-01-16 19:38:56 +01:00
David Mudrak
a1dc301ed5 MDL-25523 Workshop: not-grouped users are excluded from allocation in visible group mode
There was a bug as these users were ignored only as squares but not as
circles. This patch makes sure that no new allocation are added to
not-grouped users in visible group mode. However, the options 'Remove current
allocations' and 'Add self-assessments' apply to them intentionally.

Also, the user is warned if there are some not-grouped users found in a
workshop in visible groups mode or separate groups mode.
2011-01-16 19:38:37 +01:00
Dan Poltawski
3b9a74ce53 course reports MDL-25881 - incorrect string 2011-01-16 14:58:41 +00:00
John Stabinger
defbd5b0f5 MDL-25723 fix for all course listing in IE 2011-01-14 14:23:10 -05:00
Tim Hunt
04bbc70631 MDL-20636 qtype admin MDL-25987 also allow question type settings to be on an admin_externalpage. 2011-01-14 19:13:45 +00:00
Tim Hunt
1650a33cb4 qtype admin MDL-25987 also allow question type settings to be on an admin_externalpage. 2011-01-14 19:10:47 +00:00
Tim Hunt
2086d94077 MDL-20636 work-in-progress on converting the Opaque question type. 2011-01-14 19:06:52 +00:00
Petr Skoda
3093ce8021 MDL-25988 fixed overriding of roles variable
credit goes to Michael Landis
2011-01-14 19:04:55 +01:00
Tim Hunt
24ef491d8f MDL-20636 qtype admin MDL-25987 use get_plugin_list, rather than including questionlib.php.
This should be a small be significant performance win for people who are logged in as admin.
2011-01-14 17:38:11 +00:00
Tim Hunt
63b5318e86 qtype admin MDL-25987 use get_plugin_list, rather than including questionlib.php.
This should be a small be significant performance win for people who are logged in as admin.
2011-01-14 17:26:31 +00:00
Tim Hunt
2ac0843f4b MDL-20636 Fix behaviour unit tests. (all but opaque) 2011-01-14 16:30:27 +00:00
David Mudrak
47ce9385e8 MDL-25526 Workshop: fixed random allocation of reviews
The patch wraps that foreach ($circles as $circleid => $circle)
loop by yet another one for() loop. Reviews are allocated iteratively
now. During the first iteration, we try to make sure that at least one
circle link exists. During the second iteration, we try to allocate two,
etc. Circles are shuffled at the beginning of each iteration.
This is supposed to improve the randomness of the allocation.

The patch also fixes shuffle_assoc() implementation. The previous
implementation actually did not work at all. Also, that removed called
to shuffle_assoc() was redundant here.
2011-01-14 14:20:41 +01:00
John Stabinger
217947351b MDL-25786 fix for magazine theme 2011-01-14 06:57:44 -05:00
David Mudrak
538dcf896c NOMDL MNet remote enrolment client: display a button to go back to the course selection
Without this button, the user has to go through the admin menu again,
selecting the same host. This improves the usability when enrolling
local users to multiple remote courses.
2011-01-14 12:53:01 +01:00
Petr Skoda
3c1293fe97 MDL-25910 custom socket location for postgresql driver, improved config-dist.php info 2011-01-14 12:11:49 +01:00
David Mudrak
34685a5992 MDL-25980 MNet: missing remotecourseid parameter in SQL clearing stale cache records
Because the remotecourseid parameter was missing in SQL, all cache
records for other courses from that host were cleared.
2011-01-14 11:31:57 +01:00
David Mudrak
4841fda1bc NOMDL MNet: Fixed incorrect remote course ID passed
The param is deprecated anyway, it had to be blindly copied from a
legacy code.
2011-01-14 11:31:26 +01:00
Sam Hemelryk
e4e19a65f9 mod-quiz MDL-25791 bumped version number, rebased patch, and removed unwanted phpdoc global 2011-01-14 17:49:12 +08:00
Sam Hemelryk
b3abfc46e3 mod-quiz MDL-25791 Added conditions around upgrade code so that it is only executed if needed 2011-01-14 17:44:10 +08:00
Sam Hemelryk
0022ea3669 mod-quiz MDL-25791 Fixed database discrepancies between a fresh install and an upgraded site within the Quiz module 2011-01-14 17:44:06 +08:00
Petr Skoda
7c725a24b3 MDL-25860 adding missing blocks to groupings page 2011-01-14 10:41:12 +01:00
Petr Skoda
79ac5a8cf2 MDL-25910 add support for custom mysql socket location 2011-01-14 10:20:04 +01:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Sam Hemelryk
6d02316093 lib-db MDL-25790 Added missing rating indexs on existing 2.0 sites 2011-01-14 16:19:12 +08:00
Sam Hemelryk
ffec817ed3 lib-db MDL-25789 Corrected discrepancies in old upgrade code and install.xml 2011-01-14 15:36:59 +08:00
Sam Hemelryk
15257dd181 lib-db MDL-25790 Added code to drop adodb_logsql if it exists 2011-01-14 15:26:48 +08:00
Rossiani Wijaya
2d572444e1 MDL-17884: Add test_download_file_content and componentlib to unittest. Credit goes to Tomasz Muras 2011-01-14 14:52:24 +08:00
Sam Hemelryk
43c984578a lib-db MDL-25790 Fixed up version numbers now that 2.0.1 has been released 2011-01-14 14:22:46 +08:00
Dongsheng Cai
79f0bac62e WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-14 14:17:24 +08:00
Sam Hemelryk
39f0ceb2cb lib-db MDL-25790 Added conditional checks around upgrade code so that it is only executed if needed. See MDL-25789 2011-01-14 11:52:52 +08:00
Sam Hemelryk
2bddef731a lib-db MDL-25790 Added upgrade code to fix database discrepancies between a fresh install and an upgrade 2011-01-14 11:52:52 +08:00
Rossiani Wijaya
5419885ff8 MDL-25729_m20: fix invalid string in splash theme 2011-01-14 11:20:55 +08:00
Sam Hemelryk
631cefc35f mod-scorm MDL-25792 Changed forcecompleted to have lenght 1 and bumbed version number 2011-01-14 11:09:59 +08:00
Sam Hemelryk
b964171cbf mod-scorm MDL-25792 Fixed database discrepancies between a fresh install and an upgraded site within the SCORM module 2011-01-14 11:01:30 +08:00
Sam Hemelryk
5dd7e903ff lib-db-access MDL-25672 editingteacher can no longer delete courses by default. 2011-01-14 10:23:37 +08:00
Sam Hemelryk
3e82d63328 theme-overlay MDL-25750 Fixed overflow problem with report layout. 2011-01-14 10:15:24 +08:00
Petr Skoda
34b93e39a6 MDL-25754 improved tag sanitisation and fixed tag autocomplete 2011-01-13 23:40:43 +01:00
Tim Hunt
93cadb1ede MDL-20636 Conversion of the match question type. 2011-01-13 20:24:33 +00:00
Tim Hunt
22f24ca87c MDL-20636 html_writer MDL-25971 Support disabled => boolean, as well as disabled => disabled in html_writer::select. 2011-01-13 19:36:30 +00:00
Tim Hunt
1a09fa6dfa html_writer MDL-25971 Support disabled => boolean, as well as disabled => disabled in html_writer::select. 2011-01-13 19:28:54 +00:00
Tim Hunt
8b9dfc2bf6 MDL-20636 Fix editing of multichoice questions. 2011-01-13 18:36:13 +00:00
Tim Hunt
ce5e4fb620 MDL-20636 Better icon for missing qtype. 2011-01-13 18:36:11 +00:00
Tim Hunt
c9c989a09a MDL-20636 Mostly working conversion of the multichoice question type.
Currently, you get an error on saving the editing form.
2011-01-13 18:36:08 +00:00
Tim Hunt
9481434019 MDL-20636 Conversion of the missingtype question type. 2011-01-13 18:36:05 +00:00
Tim Hunt
ec3d4ef543 MDL-20636 Actually, passing to get_question summary is silly. Revert. 2011-01-13 18:36:03 +00:00
Tim Hunt
6d03299dec MDL-20636 Conversion of the essay question type. 2011-01-13 18:36:00 +00:00
Tim Hunt
7a7197482d MDL-20636 Fix if the use of the File API so images work in questions. 2011-01-13 18:35:57 +00:00
Tim Hunt
32d8935c8d MDL-20636 Conversion of the description question type. 2011-01-13 18:35:54 +00:00
Tim Hunt
481dc639b3 MDL-20636 Add all the new styles to the base theme.
Later, some of these should be moved to canvas, or something, but this is good enough for now.
2011-01-13 18:35:52 +00:00