]> git.mjollnir.org Git - moodle.git/log
moodle.git
17 years agoFix for MDL-10996 : prevent course name from being displayed twice.
scyrma [Thu, 15 Nov 2007 04:04:21 +0000 (04:04 +0000)]
Fix for MDL-10996 : prevent course name from being displayed twice.

17 years agoMDL-11401, merged from 19_STABLE
scyrma [Thu, 15 Nov 2007 02:39:43 +0000 (02:39 +0000)]
MDL-11401, merged from 19_STABLE

17 years agoMDL-8330, adding a warning to translators about updating of lang packs
toyomoyo [Thu, 15 Nov 2007 01:18:47 +0000 (01:18 +0000)]
MDL-8330, adding a warning to translators about updating of lang packs

17 years agoMDL-9399 - auth/ldap: Strings for NTLM SSO - forgot one
martinlanghoff [Wed, 14 Nov 2007 22:47:30 +0000 (22:47 +0000)]
MDL-9399 - auth/ldap: Strings for NTLM SSO - forgot one

17 years agoMDL-9399 auth/ldap: Strings for NTLM SSO
martinlanghoff [Wed, 14 Nov 2007 22:43:56 +0000 (22:43 +0000)]
MDL-9399 auth/ldap: Strings for NTLM SSO
cvs: ----------------------------------------------------------------------

17 years agoMDL-12178 auth/ldap: "creators" role assignment now also supports contexts
martinlanghoff [Wed, 14 Nov 2007 22:23:45 +0000 (22:23 +0000)]
MDL-12178 auth/ldap: "creators" role assignment now also supports contexts

Now the DNs that indicate a course-creator role can also be contexts.
This way we support one more widely used practice in the weird and
wonderful LDAP world...

17 years agoMDL-9399 - auth/ldap NTLM SSO - fix missing global
martinlanghoff [Wed, 14 Nov 2007 22:17:58 +0000 (22:17 +0000)]
MDL-9399 - auth/ldap NTLM SSO - fix missing global

17 years agoMDL-9399 auth/ldap: NTLM temp sessions now use cache_flags
martinlanghoff [Wed, 14 Nov 2007 22:12:57 +0000 (22:12 +0000)]
MDL-9399 auth/ldap: NTLM temp sessions now use cache_flags

cache_flags is now the apropriate way to manage this kind of temp
data. It gives us time expiry and GC for free, so it's a perfect fit
for the job, as it simplifies the code a bit.

17 years agoMDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings
martinlanghoff [Wed, 14 Nov 2007 22:12:25 +0000 (22:12 +0000)]
MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings

From Iñaki Arenaza
And here is a little patch with the last remaining non-traslated
strings (unless I missed something).

17 years agoMDL-9399 auth/ldap: NTLM SSO - move textlib conversion earlier
martinlanghoff [Wed, 14 Nov 2007 22:12:07 +0000 (22:12 +0000)]
MDL-9399 auth/ldap: NTLM SSO - move textlib conversion earlier

From Iñaki Arenaza - fix for

... I forgot to put the textlib conversion
call before the block of code that uses $extusername, so it
completely breaks the user validation process.

17 years agoMDL-9399 auth/ldap: NTLM SSO - cleanup of sesskey handling
martinlanghoff [Wed, 14 Nov 2007 22:11:48 +0000 (22:11 +0000)]
MDL-9399 auth/ldap: NTLM SSO - cleanup of sesskey handling

Fix a bug in ntlmsso_finish(), and tighten up user_login() to avoid a
pointless DB lookup if the password doesn't match the sesskey.

Hopefully this makes things work again...
(thanks I~naki for the testing!)

17 years agoMDL-9399 auth/ldap: NTLM SSO - use sesskey and other tidyups
martinlanghoff [Wed, 14 Nov 2007 22:11:35 +0000 (22:11 +0000)]
MDL-9399 auth/ldap: NTLM SSO - use sesskey and other tidyups

Several tidyups:

- use moodle_strtolower() for utf-8 correctness

 - use sesskey as the key instead of IP addr to support
   proxied users

 - clean the sesskey after success!

 - pull timeout out to a constant: AUTH_NTLMTIMEOUT

17 years agoMDL-9399 moodlelib: set_config() deletes config entries if the value is NULL
martinlanghoff [Wed, 14 Nov 2007 22:10:21 +0000 (22:10 +0000)]
MDL-9399 moodlelib: set_config() deletes config entries if the value is NULL

New! Improved! If you pass NULL as the value, it will delete the
config entry for you.

17 years agoMDL-9399 auth/ldap: Tighten NTLM AD checks to the appropriate OU
martinlanghoff [Wed, 14 Nov 2007 22:09:59 +0000 (22:09 +0000)]
MDL-9399 auth/ldap: Tighten NTLM AD checks to the appropriate OU

From Iñaki Arenaza...

Right now, if someone logs in via NTLM magic, we don't check if that
user is inside the contexts specified in the LDAP settings. I mean,
if I want to restrict my Moodle site to those users inside a given OU
or subtree of my LDAP directory, with the current code any valid user
in my whole AD domain (and if we are using a GC as the LDAP server,
the whole forest) can log in. We should check that the user is inside
one of the configured contexts before allowing his/her to log in.

Something along the lines of the attached patch could do it.

17 years agoMDL-9399 auth/ldap: ntlmsso_finish() now completes the user session setup
martinlanghoff [Wed, 14 Nov 2007 22:09:45 +0000 (22:09 +0000)]
MDL-9399 auth/ldap: ntlmsso_finish() now completes the user session setup

As Iñaki points out, ntlmsso_finish() needs to do all the setup that
login/index.php would do for a user once auth succeeds. With this
patch, the session setup is complete so the logon is usable.

17 years agoMDL-9399 auth/ldap: NTLM redirect only on initial GET
martinlanghoff [Wed, 14 Nov 2007 22:09:29 +0000 (22:09 +0000)]
MDL-9399 auth/ldap: NTLM redirect only on initial GET

We only want to redirect when users are being shown the login page (on
GET) but not when users are POSTing to it, actually trying to login.

17 years agoMDL-9399 auth/ldap: NTLM SSO - lots of fixes from Iñaki
martinlanghoff [Wed, 14 Nov 2007 22:09:15 +0000 (22:09 +0000)]
MDL-9399 auth/ldap: NTLM SSO - lots of fixes from Iñaki

Lots of typos and minor errors fixed by Iñaki. Thanks!

17 years agoMDL-9399 auth/ldap: NTLM SSO - Resolve Moodle cookies issue, tighten config.php requi...
martinlanghoff [Wed, 14 Nov 2007 22:08:55 +0000 (22:08 +0000)]
MDL-9399 auth/ldap: NTLM SSO - Resolve Moodle cookies issue, tighten config.php require()s

Use $nomoodlecookie global to avoid session troubles. Also

 * Ensure we load the appropriate config.php, even if we are executing
   under a strange environment (ie: with a user's credentials!)

 * Test we have a spacer gif to open before we open it

17 years agoMDL-9399 auth/ldap: Add NTLM SSO pages
martinlanghoff [Wed, 14 Nov 2007 22:08:38 +0000 (22:08 +0000)]
MDL-9399 auth/ldap: Add NTLM SSO pages

These pages control the process of attempting an NTLM SSO login
safely. This is very draft and needs real-world testing and polish.

And string localisation too ;-)

  * If NTLM SSO is enabled, and the user's IP addr is in the right
    subnet, the loginpage_hook() of auth/ldap redirects to
    ntlmsso_attempt.php

  * ntlmsso_attempt.php will display a "redirect" msg with an img tag
    pointing to ntlmsso_magic.php, a 3s wait, and a redirect to
    ntlmsso_finish.php

  * ntlmsso_magic.php should be configured to have "Integrated
    Windows Authentication". If it does, it will serve a spacer gif
    and call ntlmsso_magic()

  * ntlmsso_finish.php calls ntlmsso_finish() to complete the SSO
    and handles failures.

17 years agoMDL-9399 auth/ldap: flesh out ntlmsso_* functions
martinlanghoff [Wed, 14 Nov 2007 22:08:11 +0000 (22:08 +0000)]
MDL-9399 auth/ldap: flesh out ntlmsso_* functions

Flesh out the functions that get the job done. These will be triggered
by PHP files sitting under auth/ldap/ ...

ntlmsso_magic() - here is where the magic happens. Call it serving
something harmless, like a space GIF, from a URL that is blessed with
Integrated Windows Authentication. If the IWA is successful, it will
set a special session cookie in config_plugins table.

It won't complete the job because when we are under IWA magic we
cannot change (even read!) the session data, as the execution happens
under the OS privileges of the actual user acct being logged in (!!!)

ntlmsso_finish() - if it finds the session set by ntlmsso_magic() and
it hasn't expired, it will finish the job of logging in the user, by
calling authenticate_user_login() and exercising the whole auth
machinery.

user_login() - when called by authenticate_user_login() it will check
to see if there's a session setup by ntlmsso_magic() and OK the login
without really asking the AD backend to proof a password we don't have
anyway.

17 years agoMDL-9399 auth/ldap: Introducing loginpage_hook(), ntlmsso_attempt(), ntlmsso_finish()
martinlanghoff [Wed, 14 Nov 2007 22:07:53 +0000 (22:07 +0000)]
MDL-9399 auth/ldap: Introducing loginpage_hook(), ntlmsso_attempt(), ntlmsso_finish()

A work in progress -- initial loginpage_hook() and headers for the
remaining functions. One thing to consider here is that this won't
work if there's a proxy in the middle.

Does NTLM auth thingy support proxies?

17 years agoMDL-9399 auth/ldap: Manage 2 new config settings for NTLM SSO
martinlanghoff [Wed, 14 Nov 2007 22:07:16 +0000 (22:07 +0000)]
MDL-9399 auth/ldap: Manage 2 new config settings for NTLM SSO

Changes in the forms and forms handling to set and edit NTLM SSO
related config options.

17 years agoMDL-9399 - auth/shibboleth: ensure we load enrolments
martinlanghoff [Wed, 14 Nov 2007 22:06:17 +0000 (22:06 +0000)]
MDL-9399 - auth/shibboleth: ensure we load enrolments

Most of this code should be replaced with complete_user_login() but it
does a few odd things, so we'll play it safe for now, specially since
I don't have a Shib setup to test...

17 years agologinas: call check_enrolment_plugins()
martinlanghoff [Wed, 14 Nov 2007 22:04:37 +0000 (22:04 +0000)]
loginas: call check_enrolment_plugins()

Admins will want to see an update of the user's enrolments when
they do a login-as.

17 years agoauth/mnet: when landing, user complete_user_login()
martinlanghoff [Wed, 14 Nov 2007 22:04:23 +0000 (22:04 +0000)]
auth/mnet: when landing, user complete_user_login()

By using complete_user_login() we ensure that the session is fully
setup, and that enrolment plugins are called correctly.

17 years agoaccesslib: Move check_enrolment_plugins() to complete_user_login()
martinlanghoff [Wed, 14 Nov 2007 22:04:05 +0000 (22:04 +0000)]
accesslib: Move check_enrolment_plugins() to complete_user_login()

... where it belongs ;-)

load_all_capabiloties() gets called at several points where we don't
want to be re-querying the enrolment backends. It needs to  be called
before load_all_capabilities() and only by callers that are setting up
a logon session.

Those callers need to be calling complete_user_login() anyway, as they
need to set the Moodle cookie, log the logon action, etc. In fact,
those callers duplicate a lot of that code already.

The callers that don't duplicate code for the login are actually the
cases where the backend enrolment plugins should not be queried.

To be followed by callers cleanup...

17 years agologin/index, moodlelib: move session setup logic to complete_user_login()
martinlanghoff [Wed, 14 Nov 2007 22:03:46 +0000 (22:03 +0000)]
login/index, moodlelib: move session setup logic to complete_user_login()

Move most of the user session setup logic from login/index.php to
complete_user_login().

17 years agoMerged MDL-11332 from stable.
mudrd8mz [Wed, 14 Nov 2007 21:36:16 +0000 (21:36 +0000)]
Merged MDL-11332 from stable.

17 years agoMDL-12066 - Links in the HTML block are not recoded on backup and restore.
tjhunt [Wed, 14 Nov 2007 17:03:32 +0000 (17:03 +0000)]
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.

17 years agoMDL-12172 - print_continue should create a method="get" button, not post. Merged...
tjhunt [Wed, 14 Nov 2007 16:34:26 +0000 (16:34 +0000)]
MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE.

17 years agomerged from 1.9 :: added 2 CSS definitions to dimm the summary and the course no...
urs_hunkler [Wed, 14 Nov 2007 16:06:58 +0000 (16:06 +0000)]
merged from 1.9 :: added 2 CSS definitions to dimm the summary and the course no. in a hidden course topic.

17 years agoDelete commented-out code that was actually not commented out properly, and so caused...
tjhunt [Wed, 14 Nov 2007 14:48:50 +0000 (14:48 +0000)]
Delete commented-out code that was actually not commented out properly, and so caused warnings. Merged from MOODLE_18_STABLE.

17 years agoMDL-12118 Fixed learner_response report. It was changed by SCORM2004 3rd Ed. specific...
bobopinna [Wed, 14 Nov 2007 13:10:34 +0000 (13:10 +0000)]
MDL-12118 Fixed learner_response report. It was changed by SCORM2004 3rd Ed. specification

17 years agoMDL-12146 grade category defaults, forced settings and advanced options, merged from...
skodak [Wed, 14 Nov 2007 11:52:21 +0000 (11:52 +0000)]
MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE

17 years agoFixed MDL-11914
bobopinna [Wed, 14 Nov 2007 09:52:16 +0000 (09:52 +0000)]
Fixed MDL-11914

17 years agoremoving duplicate entries in grade_grades prior to adding unique key
toyomoyo [Wed, 14 Nov 2007 05:07:33 +0000 (05:07 +0000)]
removing duplicate entries in grade_grades prior to adding unique key

17 years agoMDL-12140, making most common non-weighted and weighted settings easy for teachers
toyomoyo [Wed, 14 Nov 2007 02:12:40 +0000 (02:12 +0000)]
MDL-12140, making most common non-weighted and weighted settings easy for teachers

17 years agohtmlarea: fix in FF - MDL-11242
martinlanghoff [Wed, 14 Nov 2007 01:25:20 +0000 (01:25 +0000)]
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...

17 years agomod/quiz: Revert commit which added the "go back to course" link
fmarier [Wed, 14 Nov 2007 01:13:37 +0000 (01:13 +0000)]
mod/quiz: Revert commit which added the "go back to course" link

17 years agoAdding a comment pointing to MDL-3964 which explains why we leave the
poltawski [Tue, 13 Nov 2007 20:03:27 +0000 (20:03 +0000)]
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)

17 years agoFixing a few bugs identified by Petr and attacking grade_item unit tests
nicolasconnault [Tue, 13 Nov 2007 19:12:37 +0000 (19:12 +0000)]
Fixing a few bugs identified by Petr and attacking grade_item unit tests

17 years agoMDL-11991 Fixing error on undefined method while using the manual plug-in.
mchurch [Tue, 13 Nov 2007 18:07:23 +0000 (18:07 +0000)]
MDL-11991 Fixing error on undefined method while using the manual plug-in.

17 years agoFollow up fix for MDL-7878 "Link identification and skipping" (and MDL-9306 "Replaced...
nfreear [Tue, 13 Nov 2007 17:16:54 +0000 (17:16 +0000)]
Follow up fix for MDL-7878 "Link identification and skipping" (and MDL-9306 "Replaced weeks..") - duplicate skip_main_destination().

17 years agoMDL-12149 Added code to check for selected group as well, so that privileged users...
mchurch [Tue, 13 Nov 2007 17:02:53 +0000 (17:02 +0000)]
MDL-12149 Added code to check for selected group as well, so that privileged users get correct count when changing groups.

17 years agoMDL-12154 used proper cast to float before !== comparison merged from MOODLE_19_STABLE
skodak [Tue, 13 Nov 2007 16:47:33 +0000 (16:47 +0000)]
MDL-12154 used proper cast to float before !== comparison merged from MOODLE_19_STABLE

17 years agoMDL-12154 used proper cast to float before !== comparison
skodak [Tue, 13 Nov 2007 16:08:39 +0000 (16:08 +0000)]
MDL-12154 used proper cast to float before !== comparison

17 years agoMDL-12114 Fixed typo in elements array.
mchurch [Tue, 13 Nov 2007 16:01:44 +0000 (16:01 +0000)]
MDL-12114 Fixed typo in elements array.

17 years agoMDL-10901 new SUM aggregation type
skodak [Tue, 13 Nov 2007 15:32:16 +0000 (15:32 +0000)]
MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison

part 2

17 years agoMDL-10901 new SUM aggregation type
skodak [Tue, 13 Nov 2007 15:08:59 +0000 (15:08 +0000)]
MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison

17 years agoMDL-12153, "Validome - moodle.org invalid - require Content-Script-Type".
nfreear [Tue, 13 Nov 2007 14:46:44 +0000 (14:46 +0000)]
MDL-12153, "Validome - moodle.org invalid - require Content-Script-Type".

17 years agoRestoring some of the static calls which were converted unnecessarily
nicolasconnault [Tue, 13 Nov 2007 13:44:27 +0000 (13:44 +0000)]
Restoring some of the static calls which were converted unnecessarily

17 years agomerged from 1.9 :: removed CSSEdit reference line.
urs_hunkler [Tue, 13 Nov 2007 10:33:04 +0000 (10:33 +0000)]
merged from 1.9 :: removed CSSEdit reference line.

17 years agoMore fine-tuning of gradebook classes
nicolasconnault [Tue, 13 Nov 2007 10:31:08 +0000 (10:31 +0000)]
More fine-tuning of gradebook classes

17 years agoManaged to remove static calls from the core gradebook classes without removing suppo...
nicolasconnault [Tue, 13 Nov 2007 09:08:43 +0000 (09:08 +0000)]
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).

17 years agoMerged fixes from 1.9 MDL-12145
moodler [Tue, 13 Nov 2007 08:46:52 +0000 (08:46 +0000)]
Merged fixes from 1.9   MDL-12145

17 years agoMDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing
skodak [Tue, 13 Nov 2007 08:43:20 +0000 (08:43 +0000)]
MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing

17 years agoManaged to remove static calls from the core gradebook classes without removing suppo...
nicolasconnault [Tue, 13 Nov 2007 07:36:00 +0000 (07:36 +0000)]
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).

17 years agomerged, adding vertical and horizontal highlight
toyomoyo [Tue, 13 Nov 2007 06:55:37 +0000 (06:55 +0000)]
merged, adding vertical and horizontal highlight

17 years agoMDL-12124, fixing styles for grader report
toyomoyo [Tue, 13 Nov 2007 03:19:12 +0000 (03:19 +0000)]
MDL-12124, fixing styles for grader report

17 years agoMDL-12138, set aggregate graded only as default
toyomoyo [Tue, 13 Nov 2007 03:07:48 +0000 (03:07 +0000)]
MDL-12138, set aggregate graded only as default

17 years agoMDL-12141, category names should be mandatory
toyomoyo [Tue, 13 Nov 2007 02:53:18 +0000 (02:53 +0000)]
MDL-12141, category names should be mandatory

17 years agoadmin: Introducing the mailout-debugger
martinlanghoff [Tue, 13 Nov 2007 00:34:47 +0000 (00:34 +0000)]
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

17 years agomerged from 1.9 :: The XHTML of the actual tab has been changed. Therefor the actual...
urs_hunkler [Mon, 12 Nov 2007 20:22:04 +0000 (20:22 +0000)]
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.

17 years agosome tidy up on theme OceanBlue.
mits [Mon, 12 Nov 2007 17:56:07 +0000 (17:56 +0000)]
some tidy up on theme OceanBlue.

17 years agoMDL-12131 db debug messages now quoted properly
skodak [Mon, 12 Nov 2007 17:21:00 +0000 (17:21 +0000)]
MDL-12131 db debug messages now quoted properly

17 years agoMDL-12130 and MDL-12129 - fixed advanced status of elements when header not closed...
skodak [Mon, 12 Nov 2007 17:12:35 +0000 (17:12 +0000)]
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()

17 years agoFixes MDL-12125, Call to a member function FetchRow on a non-object in get_user_acces...
nfreear [Mon, 12 Nov 2007 16:53:53 +0000 (16:53 +0000)]
Fixes MDL-12125, Call to a member function FetchRow on a non-object in get_user_access_sitewide.

17 years agomerged from 1.9 :: MDL-12093 :: changed function call from get_in_popup to is_in_popup.
urs_hunkler [Mon, 12 Nov 2007 11:40:52 +0000 (11:40 +0000)]
merged from 1.9 :: MDL-12093 :: changed function call from get_in_popup to is_in_popup.

17 years agomerged from 1.9 :: MDL-12093
urs_hunkler [Mon, 12 Nov 2007 11:17:24 +0000 (11:17 +0000)]
merged from 1.9 :: MDL-12093

17 years agofix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql...
gbateson [Mon, 12 Nov 2007 08:54:35 +0000 (08:54 +0000)]
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)

17 years agoMDL-9059, when teacher creates group event on calendar, they can not see it
toyomoyo [Mon, 12 Nov 2007 06:27:42 +0000 (06:27 +0000)]
MDL-9059, when teacher creates group event on calendar, they can not see it

17 years agohtmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242
martinlanghoff [Mon, 12 Nov 2007 04:13:24 +0000 (04:13 +0000)]
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.

17 years agoMDL-12104, gradebook is showing 2 scales together
toyomoyo [Mon, 12 Nov 2007 03:14:47 +0000 (03:14 +0000)]
MDL-12104, gradebook is showing 2 scales together

17 years agomerged from 1.9 :: MDL-10683 :: added as Eric proposed:
urs_hunkler [Sun, 11 Nov 2007 19:34:37 +0000 (19:34 +0000)]
merged from 1.9 :: MDL-10683 :: added as Eric proposed:

.mform .ftextarea #id_alltext {
    width: 100%;
}

17 years agomerged from 1.9 :: moved the sideblock accessibility property to the sidblocks section.
urs_hunkler [Sun, 11 Nov 2007 19:26:20 +0000 (19:26 +0000)]
merged from 1.9 :: moved the sideblock accessibility property to the sidblocks section.

17 years agomerged from 1.9 :: added the clearfix option to the custom_corners call for admin...
urs_hunkler [Sun, 11 Nov 2007 17:30:52 +0000 (17:30 +0000)]
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.

17 years agomerged from 1.9 :: Some theme enhancements while working on MDL-12098 and MDL-11154...
urs_hunkler [Sun, 11 Nov 2007 16:04:08 +0000 (16:04 +0000)]
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.

17 years agomerged from 1.9 :: Added the check, if all opend custom_corners are closed. This...
urs_hunkler [Sun, 11 Nov 2007 15:04:34 +0000 (15:04 +0000)]
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.

17 years agomerged form 1.9 and corrected a CSS bug :: MDL-12045 :: the extra "clearer" div broke...
urs_hunkler [Sun, 11 Nov 2007 11:22:54 +0000 (11:22 +0000)]
merged form 1.9 and corrected a CSS bug :: MDL-12045 :: the extra "clearer" div broke the custom_corners theme on IE7. I removed the "clearer" div and added the class "clerafix" to the surrounding coursebox.
In FF and Safari floating is a mess now. I removed float:left for "coursebox" to get the page working in all browsers. It is a single element and should not need floating.

17 years agomerged from 1.9 :: added missing "if ($heading)" to suppress empty page header.
urs_hunkler [Sun, 11 Nov 2007 09:31:41 +0000 (09:31 +0000)]
merged from 1.9 :: added missing  "if ($heading)" to suppress empty page header.

17 years agoMerging fix for MDL-12088 from MOODLE_19_STABLE
mark-nielsen [Sun, 11 Nov 2007 01:26:46 +0000 (01:26 +0000)]
Merging fix for MDL-12088 from MOODLE_19_STABLE

17 years agoMDL-12079 fixed use of clean_param()
skodak [Sat, 10 Nov 2007 14:54:39 +0000 (14:54 +0000)]
MDL-12079 fixed use of clean_param()

17 years agomerged from 1.9 :: MDL-12093 :: added function get_in_popup()
urs_hunkler [Sat, 10 Nov 2007 14:53:54 +0000 (14:53 +0000)]
merged from 1.9 :: MDL-12093 :: added function get_in_popup()

17 years agoMDL-12079 fixed use of clean_param()
skodak [Sat, 10 Nov 2007 14:49:56 +0000 (14:49 +0000)]
MDL-12079 fixed use of clean_param()

17 years agoMDL-12092 removed newline chars, we do not know the admin's platform, one line should...
skodak [Sat, 10 Nov 2007 14:35:26 +0000 (14:35 +0000)]
MDL-12092 removed newline chars, we do not know the admin's platform, one line should be ok IMHO.

17 years agoNew profilefield_ lang files are now supported with
stronk7 [Fri, 9 Nov 2007 20:11:43 +0000 (20:11 +0000)]
New profilefield_ lang files are now supported with
safe fallback to the "old" ones (stored in admin.php)

Merged from MOODLE_19_STABLE

17 years agoAdding lang support within profile fields to make them selfcontained.
stronk7 [Fri, 9 Nov 2007 19:11:40 +0000 (19:11 +0000)]
Adding lang support within profile fields to make them selfcontained.

Merged from MOODLE_19_STABLE

17 years agoMDL-12044, adding missing string
toyomoyo [Fri, 9 Nov 2007 02:57:05 +0000 (02:57 +0000)]
MDL-12044, adding missing string

17 years agoMDL-12065, do not force parents to enrol in student courses
toyomoyo [Fri, 9 Nov 2007 01:39:34 +0000 (01:39 +0000)]
MDL-12065, do not force parents to enrol in student courses

17 years agoAdd missing fields when upgrading/installing on Postgres
fmarier [Fri, 9 Nov 2007 01:25:28 +0000 (01:25 +0000)]
Add missing fields when upgrading/installing on Postgres
mod/exercise, mod/scorm and question/type/rqp
MDL-12023

17 years agomod/quiz: Add a link back to the course page after a quiz is completed
fmarier [Fri, 9 Nov 2007 01:17:48 +0000 (01:17 +0000)]
mod/quiz: Add a link back to the course page after a quiz is completed

17 years agoMDL-12070 - PARAM_CLEANHTML strips magic quotes..
poltawski [Thu, 8 Nov 2007 22:19:47 +0000 (22:19 +0000)]
MDL-12070 - PARAM_CLEANHTML strips magic quotes..

17 years agoMDL-12070 - re-enable the use of HTML in choice options
poltawski [Thu, 8 Nov 2007 18:32:09 +0000 (18:32 +0000)]
MDL-12070 - re-enable the use of HTML in choice options

Merged from MOODLE_18_STABLE

17 years agoMDL-12072 Added heading tag for calendar 'blocks'
sam_marshall [Thu, 8 Nov 2007 17:01:35 +0000 (17:01 +0000)]
MDL-12072 Added heading tag for calendar 'blocks'

17 years agoMDL-12069 Make calendar events key labels and link titles consistent (also tidy up...
sam_marshall [Thu, 8 Nov 2007 15:16:16 +0000 (15:16 +0000)]
MDL-12069 Make calendar events key labels and link titles consistent (also tidy up one bit of duplicated code)

17 years agoMDL-10365 grade history can be turned off + lifetime
skodak [Thu, 8 Nov 2007 08:59:26 +0000 (08:59 +0000)]
MDL-10365 grade history can be turned off + lifetime

17 years agokeeping version number in sync
toyomoyo [Thu, 8 Nov 2007 05:52:47 +0000 (05:52 +0000)]
keeping version number in sync

17 years agoMDL-9306 upgrade.php set to upgrade course whose format is weekscss to weeks
nicolasconnault [Thu, 8 Nov 2007 05:43:15 +0000 (05:43 +0000)]
MDL-9306 upgrade.php set to upgrade course whose format is weekscss to weeks

17 years agoMDL-12061, <p> in html editor breaks xhtml strict
toyomoyo [Thu, 8 Nov 2007 05:38:01 +0000 (05:38 +0000)]
MDL-12061, <p> in html editor breaks xhtml strict

17 years ago1.9 Beta 2 should not be read as 1.9.2 in environment page
toyomoyo [Thu, 8 Nov 2007 05:13:18 +0000 (05:13 +0000)]
1.9 Beta 2 should not be read as 1.9.2 in environment page