]>
git.mjollnir.org Git - moodle.git/log
toyomoyo [Wed, 5 Dec 2007 06:13:17 +0000 (06:13 +0000)]
MDL-12439 database preset fixes
toyomoyo [Wed, 5 Dec 2007 02:59:44 +0000 (02:59 +0000)]
MDL-12435, cancel in preferences form doesn't work
toyomoyo [Wed, 5 Dec 2007 01:13:29 +0000 (01:13 +0000)]
MDL-12437, sorting by names adds teacher to gradebook list
skodak [Tue, 4 Dec 2007 23:53:39 +0000 (23:53 +0000)]
MDL-12133 fixed regression in user advanced edit, sorry; merged from MOODLE_19_STABLE
mudrd8mz [Tue, 4 Dec 2007 21:52:16 +0000 (21:52 +0000)]
Merged from MOODLE_19_STABLE. Do not produce PHP warnings in case string file does not define array $string[]
tjhunt [Tue, 4 Dec 2007 17:29:47 +0000 (17:29 +0000)]
MDL-12438 - Print a develoer debug message if you call get_records with a non-unique first column. Merged from MOODLE_19_STABLE.
poltawski [Tue, 4 Dec 2007 12:57:02 +0000 (12:57 +0000)]
MDL-12415 - When we have more than one category/lots of courses the course
block shows two links next to search other (Search Courses/All courses)
which point to the same place....
The all courses link is able to be switched off and the search courses is not,
for this reason i've gone for removing the search courses link.
Merged from MOODLE_19_STABLE
sam_marshall [Tue, 4 Dec 2007 11:47:28 +0000 (11:47 +0000)]
MDL-12431 Added ability for filters to contain lang files
nicolasconnault [Tue, 4 Dec 2007 10:35:25 +0000 (10:35 +0000)]
MDL-12389 Removed the selectallornone element in favour of a more generic submitlink element. The checkbox controller is now added to a form using moodleform::add_checkbox_controller.
martinlanghoff [Tue, 4 Dec 2007 06:26:10 +0000 (06:26 +0000)]
datalib: get_logs_user*() - fix invalid SQL - MDL-12426
Oracle does not accept column labels in the GROUP BY section -
get_logs_usercourse() and get_logs_userday() were computing the
day/hours column and using it in the GROUP BY. The compatible fix
is to reproduce the same computation in the GROUP BY section.
Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>.
martinlanghoff [Tue, 4 Dec 2007 06:25:56 +0000 (06:25 +0000)]
blocks/online_users: Remove SQL "id,id" which causes errors on Oracle - MDL-12425
Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>
martinlanghoff [Tue, 4 Dec 2007 06:25:42 +0000 (06:25 +0000)]
mod/assignment: Remove SQL "id,id" which causes errors on Oracle - MDL-12425
This loop also needs some rewriting - it is _very_ inefficient on
large courses.
martinlanghoff [Tue, 4 Dec 2007 06:25:25 +0000 (06:25 +0000)]
accesslib: build_context_path() remove $temptable for Oracle too
The removal of $temptable was incomplete - and so build_context_path()
was broken on Oracle. MDL-11347
toyomoyo [Tue, 4 Dec 2007 05:10:12 +0000 (05:10 +0000)]
MDL-12399, shorten_text() truncates all closing tags
moodler [Tue, 4 Dec 2007 05:09:30 +0000 (05:09 +0000)]
Automatic installer.php lang files by installer_builder (
20071204 )
toyomoyo [Tue, 4 Dec 2007 01:08:48 +0000 (01:08 +0000)]
MDL-12419, do not present course start date if start date is invalid
toyomoyo [Tue, 4 Dec 2007 01:04:03 +0000 (01:04 +0000)]
MDL-12419, do not present course start date if start date is invalid
fmarier [Mon, 3 Dec 2007 23:20:03 +0000 (23:20 +0000)]
ddllib: Mark table_column() as deprecated
Signed-off-by: Eloy Lafuente
stronk7 [Mon, 3 Dec 2007 20:44:03 +0000 (20:44 +0000)]
Adding some outer spaces to returned SQL to avoid wrong
sentences caused by concatenation.
Merged from MOODLE_19_STABLE
stronk7 [Mon, 3 Dec 2007 20:30:41 +0000 (20:30 +0000)]
Adding two new functions: sql_isempty() and sql_isnotempty() to perform
SQL comparisons to empties in a cross-db way. General solution for
problems like MDL-12084
Merged from MOODLE_19_STABLE
nicolasconnault [Mon, 3 Dec 2007 20:13:01 +0000 (20:13 +0000)]
MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form
nfreear [Mon, 3 Dec 2007 16:41:36 +0000 (16:41 +0000)]
Fixes bug MDL-12416, Help links - img ALT text should contain phrase "new window" to match link TITLE.
nicolasconnault [Mon, 3 Dec 2007 15:42:11 +0000 (15:42 +0000)]
MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form
poltawski [Mon, 3 Dec 2007 12:23:24 +0000 (12:23 +0000)]
MDL-12409 - stop access to editing 'site course' with course edit form.
Merged from MOODLE_19_STABLE
toyomoyo [Mon, 3 Dec 2007 06:27:21 +0000 (06:27 +0000)]
MDL-10915, additional setting for emoticons
toyomoyo [Mon, 3 Dec 2007 04:46:37 +0000 (04:46 +0000)]
wrap search/replace in a function so that it could be used in cron
toyomoyo [Mon, 3 Dec 2007 02:03:38 +0000 (02:03 +0000)]
MDL-12397, gradebook sort by names should start with ASC
iarenaza [Sun, 2 Dec 2007 22:19:53 +0000 (22:19 +0000)]
Fix MDL-12407: missing whitespace produces invalid XHTML syntax
iarenaza [Sun, 2 Dec 2007 16:14:13 +0000 (16:14 +0000)]
Remove accidentally revived files as part of MDL-11099 fix
tjhunt [Fri, 30 Nov 2007 12:08:01 +0000 (12:08 +0000)]
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message. Merged from MOODLE_19_STABLE.
tjhunt [Fri, 30 Nov 2007 11:00:48 +0000 (11:00 +0000)]
MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE.
scyrma [Fri, 30 Nov 2007 03:09:59 +0000 (03:09 +0000)]
Code style corrections.
toyomoyo [Fri, 30 Nov 2007 02:00:04 +0000 (02:00 +0000)]
adding support for customized cron
toyomoyo [Fri, 30 Nov 2007 01:16:26 +0000 (01:16 +0000)]
fixing duplicate header
moodler [Thu, 29 Nov 2007 16:59:26 +0000 (16:59 +0000)]
New installer files added - stronk7
skodak [Thu, 29 Nov 2007 14:43:04 +0000 (14:43 +0000)]
MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE
scyrma [Thu, 29 Nov 2007 07:20:13 +0000 (07:20 +0000)]
Possible fix to MDL-12093 : give window without heading and navigation special css classes.
scyrma [Thu, 29 Nov 2007 06:00:33 +0000 (06:00 +0000)]
MDL-12093 : new strings to get locale-aware popup windows.
scyrma [Thu, 29 Nov 2007 05:54:35 +0000 (05:54 +0000)]
MDL-12093 : cleanup & simplify code to get popup windows.
moodler [Thu, 29 Nov 2007 05:47:38 +0000 (05:47 +0000)]
Automatic installer.php lang files by installer_builder (
20071129 )
toyomoyo [Thu, 29 Nov 2007 04:31:57 +0000 (04:31 +0000)]
MDL-12346, lesson module GIFT import fails
stronk7 [Wed, 28 Nov 2007 18:14:38 +0000 (18:14 +0000)]
Adding new wraplevelXX class for easier containers identification. MDL-12339
Merged from MOODLE_19_STABLE
tjhunt [Wed, 28 Nov 2007 16:43:20 +0000 (16:43 +0000)]
MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE.
urs_hunkler [Wed, 28 Nov 2007 16:15:56 +0000 (16:15 +0000)]
added missing pix
urs_hunkler [Wed, 28 Nov 2007 14:22:38 +0000 (14:22 +0000)]
MDL-12370 :: added missing images
tjhunt [Wed, 28 Nov 2007 12:45:57 +0000 (12:45 +0000)]
MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE.
skodak [Wed, 28 Nov 2007 09:43:47 +0000 (09:43 +0000)]
MDL-7028 gradebook related changes for course reset; merged from MOODLE_19_STABLE
toyomoyo [Wed, 28 Nov 2007 07:53:44 +0000 (07:53 +0000)]
MDL-10263, enable forum search for multiple groups
nicolasconnault [Wed, 28 Nov 2007 05:16:09 +0000 (05:16 +0000)]
MDL-12356 CSS classes implemented
toyomoyo [Wed, 28 Nov 2007 05:08:51 +0000 (05:08 +0000)]
MDL-11818, single post forum descript = first post
toyomoyo [Wed, 28 Nov 2007 02:56:51 +0000 (02:56 +0000)]
MDL-11800, multilang support for category description
toyomoyo [Wed, 28 Nov 2007 01:25:29 +0000 (01:25 +0000)]
MDL-12326, adding a missing footer
toyomoyo [Wed, 28 Nov 2007 01:20:59 +0000 (01:20 +0000)]
MDL-12366, removing useless print_capabilities function
tjhunt [Tue, 27 Nov 2007 19:18:36 +0000 (19:18 +0000)]
MDL-12362 - Don't show scores for incomplete attempts on the quiz view page. Merged from MOODLE_19_STABLE.
nicolasconnault [Tue, 27 Nov 2007 15:40:04 +0000 (15:40 +0000)]
MDL-9506 Returning stdClass objects instead of grade_item objects: for security
nicolasconnault [Tue, 27 Nov 2007 13:30:57 +0000 (13:30 +0000)]
MDL-8863 Initial page field was disabled when there were no entries in the wiki, making it useless. It is now always enabled
nicolasconnault [Tue, 27 Nov 2007 10:31:50 +0000 (10:31 +0000)]
MDL-12098 Printing a closing div tag and the moodle footer
nicolasconnault [Tue, 27 Nov 2007 10:01:52 +0000 (10:01 +0000)]
MDL-12312 Reviewed and slightly improved Petr's great help file
nicolasconnault [Tue, 27 Nov 2007 10:00:45 +0000 (10:00 +0000)]
MDL-12312 Reviewed and slightly improved Petr's great help file
gbateson [Tue, 27 Nov 2007 08:46:40 +0000 (08:46 +0000)]
MDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javascript, so hotpot module now requires its own filter to mimic behavior of multimedia filter in Moodle 1.7
nicolasconnault [Tue, 27 Nov 2007 07:11:11 +0000 (07:11 +0000)]
MDL-9506 Added support for 'course' type in grade_get_grade_items() function, plus corrected a few typos
nicolasconnault [Tue, 27 Nov 2007 07:06:02 +0000 (07:06 +0000)]
MDL-12356 CSS classes implemented
moodler [Tue, 27 Nov 2007 05:59:45 +0000 (05:59 +0000)]
Merged docs fix about get_recordsets usage from 1.9 stable
toyomoyo [Tue, 27 Nov 2007 05:43:27 +0000 (05:43 +0000)]
MDL-12352, block/search fails to install on postgres
scyrma [Tue, 27 Nov 2007 05:02:27 +0000 (05:02 +0000)]
imagealt wasn't loaded in a list of the user's posts.
toyomoyo [Tue, 27 Nov 2007 03:26:06 +0000 (03:26 +0000)]
fixing a type, merged
toyomoyo [Tue, 27 Nov 2007 01:56:21 +0000 (01:56 +0000)]
MDL-11194, course role names not reflected in course description
skodak [Mon, 26 Nov 2007 17:45:56 +0000 (17:45 +0000)]
MDL-12350 do not set parent cat when updating; merged from MOODLE_19_STABLE
dwoolhead [Mon, 26 Nov 2007 14:43:28 +0000 (14:43 +0000)]
MDL-12313 basically rationalising getting calendar events function calls
jamiesensei [Mon, 26 Nov 2007 13:32:23 +0000 (13:32 +0000)]
fix for error message
toyomoyo [Mon, 26 Nov 2007 06:01:26 +0000 (06:01 +0000)]
MDL-12331, hidden teacher should not be displayed in choice results
scyrma [Mon, 26 Nov 2007 04:52:14 +0000 (04:52 +0000)]
MDL-12294 - another string fix
toyomoyo [Mon, 26 Nov 2007 04:22:10 +0000 (04:22 +0000)]
MDL-12175, forum reset should delete attachments
scyrma [Mon, 26 Nov 2007 04:10:08 +0000 (04:10 +0000)]
Fix for par of the missing strings, as reported in MDL-12294
toyomoyo [Mon, 26 Nov 2007 03:21:46 +0000 (03:21 +0000)]
expecting multiple groups from sql
toyomoyo [Mon, 26 Nov 2007 02:39:28 +0000 (02:39 +0000)]
MDL-12081, teacher with import capability can not import course
moodler [Sun, 25 Nov 2007 03:45:54 +0000 (03:45 +0000)]
Automatic installer.php lang files by installer_builder (
20071125 )
skodak [Sat, 24 Nov 2007 13:37:07 +0000 (13:37 +0000)]
MDL-12130 fixed regression - disabledIf did not work in dateselectors; merged from MOODLE_19_STABLE
skodak [Fri, 23 Nov 2007 22:15:07 +0000 (22:15 +0000)]
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
skodak [Fri, 23 Nov 2007 21:31:58 +0000 (21:31 +0000)]
MDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez Rufat; merged from MOODLE_19_STABLE
skodak [Fri, 23 Nov 2007 20:26:16 +0000 (20:26 +0000)]
MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE
skodak [Fri, 23 Nov 2007 16:49:51 +0000 (16:49 +0000)]
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
thepurpleblob [Fri, 23 Nov 2007 15:49:00 +0000 (15:49 +0000)]
MDL-12296:
Unenrol disable option now works in synchronisation script.
Merged from STABLE_19
moodler [Fri, 23 Nov 2007 04:50:46 +0000 (04:50 +0000)]
Automatic installer.php lang files by installer_builder (
20071123 )
martinlanghoff [Fri, 23 Nov 2007 00:23:39 +0000 (00:23 +0000)]
user/index: Add "enrolment details" view to Participants page - MDL-12311
With this patch, the additional roles/groups/groupings columns get moved
to a special "enrolment details" view. To support this, the handling of
the $mode is revamped to use $mode constants.
To keep performance issues at bay, the enrolment details view is only
available when viewing paginated resultsets, and will reset itself to
'brief' if the conditions aren't met. The $mode is sticky, so it is
quite possible to have a mismatched $mode -- so he handle the case
explicitly.
martinlanghoff [Fri, 23 Nov 2007 00:23:24 +0000 (00:23 +0000)]
user/index: More consistent handling of groups column - MDL-12311
martinlanghoff [Fri, 23 Nov 2007 00:23:10 +0000 (00:23 +0000)]
user/index: Fix Participants page for sitecourse - MDL-12311
Groups/groupings don't seem to map normally through enrolments
as you would expect with site. Disable for sitecourse.
martinlanghoff [Fri, 23 Nov 2007 00:22:56 +0000 (00:22 +0000)]
user/index: Show enrolment and group/grouping data in Participants page MDL-12311
The participants page will now show (to users that have
moodle/role:assign) the relevant enrolments for each participant.
This is done with a second SELECT using a WHERE id IN() so we are
limited to doing it with small datasets. This is for 2 reasons
- we cannot retrieve all teh data in the "main" SELECT because
the outer joins will bring dup rows, breaking LIMIT
- we cannot use the main SELECT as a subselect because we cannot
retrieve the LIMIT part of the statement with the current dmllib
- on large courses / sitecourse performance would be horrible
so it is limited to paginated datasets. It is doing 20 recs at a time,
the "extra" SELECT takes ~7ms on a some large Pg databases).
This will generate an extra DB query on Oracle (and any other DB that
cannot rewind the recordset) because we walk the main rs twice.
While at it, ensure we mark the unsortable columns thus...
stronk7 [Thu, 22 Nov 2007 22:47:49 +0000 (22:47 +0000)]
Deleting one ='' condition that isn't cross-db nor necessary. MDL-12186
Merged from MOODLE_19_STABLE
skodak [Thu, 22 Nov 2007 21:36:59 +0000 (21:36 +0000)]
MDL-12312 fixed outdated aggregation help, added examples; merged from MOODLE_19_STABLE
tjhunt [Thu, 22 Nov 2007 18:14:57 +0000 (18:14 +0000)]
MDL-12322 - Reference to incorrect language file
skodak [Thu, 22 Nov 2007 17:53:08 +0000 (17:53 +0000)]
MDL-12312 fixed outdated aggregation help; merged from MOODLE_19_STABLE
tjhunt [Thu, 22 Nov 2007 11:51:16 +0000 (11:51 +0000)]
MDL-12282 - fix typo in previous commit. Sorry.
nicolasconnault [Thu, 22 Nov 2007 08:47:34 +0000 (08:47 +0000)]
MDL-9506 Returning stdClass objects instead of grade_item objects: for security
moodler [Thu, 22 Nov 2007 07:05:30 +0000 (07:05 +0000)]
Merged string fix from stable 19
scyrma [Thu, 22 Nov 2007 06:28:58 +0000 (06:28 +0000)]
Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164.
nicolasconnault [Thu, 22 Nov 2007 06:17:01 +0000 (06:17 +0000)]
MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead
nicolasconnault [Thu, 22 Nov 2007 05:42:46 +0000 (05:42 +0000)]
MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead
nicolasconnault [Thu, 22 Nov 2007 05:37:49 +0000 (05:37 +0000)]
MDL-12182 More grade_item unit tests
toyomoyo [Thu, 22 Nov 2007 05:17:26 +0000 (05:17 +0000)]
MDL-12309, gradebook can not sort by names while in group mode