29239 Commits

Author SHA1 Message Date
tjhunt
43457dc87c MDL-12066 - Links in the HTML block are not recoded on backup and restore.
This is messy because the links are hidden in the configdata column, which is serialized and base64encoded. So we have to untangle that, then ask the block whether there are any bits of $config that need to be fixed, then re-encode it before backup up. And reverse that on restore. It needs to remain base64 encoded in the backup file, so that the file format is backwards compatible.

I disucssed this with Eloy before doing it.

Merged from MOODLE_19_STABLE.
2007-11-14 17:03:32 +00:00
tjhunt
9cb69c1910 MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE. 2007-11-14 16:34:26 +00:00
urs_hunkler
f72d4df82e merged from 1.9 :: added 2 CSS definitions to dimm the summary and the course no. in a hidden course topic. 2007-11-14 16:06:58 +00:00
tjhunt
4932ccc776 Delete commented-out code that was actually not commented out properly, and so caused warnings. Merged from MOODLE_18_STABLE. 2007-11-14 14:48:50 +00:00
bobopinna
48466ed9a7 MDL-12118 Fixed learner_response report. It was changed by SCORM2004 3rd Ed. specification 2007-11-14 13:10:34 +00:00
skodak
190af29fef MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
bobopinna
f652028012 Fixed MDL-11914 2007-11-14 09:52:16 +00:00
toyomoyo
5e900da1ce removing duplicate entries in grade_grades prior to adding unique key 2007-11-14 05:07:33 +00:00
toyomoyo
cccade627d MDL-12140, making most common non-weighted and weighted settings easy for teachers 2007-11-14 02:12:40 +00:00
martinlanghoff
8c80cc1738 htmlarea: fix in FF - MDL-11242
The previous fix for IE left some problems in the FF side of
things because we were trying additions/substractions on
width once its had turned to a string of value + unit.

Do the math before we attach 'px' to it...
2007-11-14 01:25:20 +00:00
fmarier
af5dd7c547 mod/quiz: Revert commit which added the "go back to course" link 2007-11-14 01:13:37 +00:00
poltawski
4b991ddd18 Adding a comment pointing to MDL-3964 which explains why we leave the
badword in the filter span title (as I almost 'fixed it' so it couldn't
be hovered over)
2007-11-13 20:03:27 +00:00
nicolasconnault
b7cf8eac52 Fixing a few bugs identified by Petr and attacking grade_item unit tests 2007-11-13 19:12:37 +00:00
mchurch
5e983a9a2f MDL-11991 Fixing error on undefined method while using the manual plug-in. 2007-11-13 18:07:23 +00:00
nfreear
ab9ad21d0b Follow up fix for MDL-7878 "Link identification and skipping" (and MDL-9306 "Replaced weeks..") - duplicate skip_main_destination(). 2007-11-13 17:16:54 +00:00
mchurch
57b6a704b7 MDL-12149 Added code to check for selected group as well, so that privileged users get correct count when changing groups. 2007-11-13 17:02:53 +00:00
skodak
717f432f2d MDL-12154 used proper cast to float before !== comparison merged from MOODLE_19_STABLE 2007-11-13 16:47:33 +00:00
skodak
4ac209d5bd MDL-12154 used proper cast to float before !== comparison 2007-11-13 16:08:39 +00:00
mchurch
232f2c1d35 MDL-12114 Fixed typo in elements array. 2007-11-13 16:01:44 +00:00
skodak
f1ad9e042a MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison

part 2
2007-11-13 15:32:16 +00:00
skodak
0758a08e2a MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison
2007-11-13 15:08:59 +00:00
nfreear
bc1bbaf477 MDL-12153, "Validome - moodle.org invalid - require Content-Script-Type". 2007-11-13 14:46:44 +00:00
nicolasconnault
9a68cffcbb Restoring some of the static calls which were converted unnecessarily 2007-11-13 13:44:27 +00:00
urs_hunkler
7506339261 merged from 1.9 :: removed CSSEdit reference line. 2007-11-13 10:33:04 +00:00
nicolasconnault
aaefeda438 More fine-tuning of gradebook classes 2007-11-13 10:31:08 +00:00
nicolasconnault
795bee3460 Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 09:08:43 +00:00
moodler
9e47906cb5 Merged fixes from 1.9 MDL-12145 2007-11-13 08:46:52 +00:00
skodak
cd1edf9e8a MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing 2007-11-13 08:43:20 +00:00
nicolasconnault
4fc9ec1ec0 Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 07:36:00 +00:00
toyomoyo
af781346e8 merged, adding vertical and horizontal highlight 2007-11-13 06:55:37 +00:00
toyomoyo
088860cad0 MDL-12124, fixing styles for grader report 2007-11-13 03:19:12 +00:00
toyomoyo
cee037c660 MDL-12138, set aggregate graded only as default 2007-11-13 03:07:48 +00:00
toyomoyo
99eb95fd33 MDL-12141, category names should be mandatory 2007-11-13 02:53:18 +00:00
martinlanghoff
86a0b80d88 admin: Introducing the mailout-debugger
A stand-in for sendmail that will log all emails instead of sending
them out. Use when debugging cron performance and output.

References:
  MDL-12142
  http://moodle.org/mod/forum/post.php?reply=349457
2007-11-13 00:34:47 +00:00
urs_hunkler
e4063e7d97 merged from 1.9 :: The XHTML of the actual tab has been changed. Therefor the actual tab was not shown in front of the line any more. I changed the CSS to correct this introduced bug. 2007-11-12 20:22:04 +00:00
mits
9ccdfd109b some tidy up on theme OceanBlue. 2007-11-12 17:56:07 +00:00
skodak
a258f25619 MDL-12131 db debug messages now quoted properly 2007-11-12 17:21:00 +00:00
skodak
46f3921edd MDL-12130 and MDL-12129 - fixed advanced status of elements when header not closed; disableIf now works inside grouped elements too; code cleanup in focus() and _getElNamesRecursive() 2007-11-12 17:12:35 +00:00
nfreear
0dbb2191fb Fixes MDL-12125, Call to a member function FetchRow on a non-object in get_user_access_sitewide. 2007-11-12 16:53:53 +00:00
urs_hunkler
f632d9f161 merged from 1.9 :: MDL-12093 :: changed function call from get_in_popup to is_in_popup. 2007-11-12 11:40:52 +00:00
urs_hunkler
f7c926ee9f merged from 1.9 :: MDL-12093 2007-11-12 11:17:24 +00:00
gbateson
8f95eff2ca fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later) 2007-11-12 08:54:35 +00:00
toyomoyo
d12e3ff27f MDL-9059, when teacher creates group event on calendar, they can not see it 2007-11-12 06:27:42 +00:00
martinlanghoff
755a625d95 htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242
Only say px if the width is a pure number. Under IE we
get the "100%" for the width of the editor, so blindly
appending "px" results in a JS execution error.

With this patch we only attach px if it's a pure int.

Also tested the sizing of HTMLArea in the messaging
window. So both should be working now.
2007-11-12 04:13:24 +00:00
toyomoyo
914ea0028a MDL-12104, gradebook is showing 2 scales together 2007-11-12 03:14:47 +00:00
urs_hunkler
82e74e90cc merged from 1.9 :: MDL-10683 :: added as Eric proposed:
.mform .ftextarea #id_alltext {
    width: 100%;
}
2007-11-11 19:34:37 +00:00
urs_hunkler
e09c7b223f merged from 1.9 :: moved the sideblock accessibility property to the sidblocks section. 2007-11-11 19:26:20 +00:00
urs_hunkler
60a94e79c3 merged from 1.9 :: added the clearfix option to the custom_corners call for admin pages to keep the "Save Changes" button within the area. 2007-11-11 17:30:52 +00:00
urs_hunkler
95014662db merged from 1.9 :: Some theme enhancements while working on MDL-12098 and MDL-11154.Some theme enhancements while working on MDL-12098 and MDL-11154. 2007-11-11 16:04:08 +00:00
urs_hunkler
8e501a45f0 merged from 1.9 :: Added the check, if all opend custom_corners are closed. This way it's possible to add the close call in the footer which closes eventually open ccs. 2007-11-11 15:04:34 +00:00