43642 Commits

Author SHA1 Message Date
Petr Skoda
428540d174 MDL-19774 fixed incorrect session init in cron - credit goes to Jay Knight 2010-08-09 07:40:26 +00:00
Petr Skoda
6aae37125d MDL-23708 removing ENrol cohort button when no cohort visible by user or user not allowed to use it 2010-08-09 07:35:35 +00:00
Dongsheng Cai
5513379ae6 "MDL-23326, fixed undefined index" 2010-08-09 06:26:14 +00:00
Andrew Davis
9f76d281af glossary MDL-23717 fixed random quote block add entry link 2010-08-09 03:55:55 +00:00
Andrew Davis
fe020fb64b email MDL-23240 added change comments to READEME_MOODLE.txt 2010-08-09 01:33:49 +00:00
Andrew Davis
4bcb406b54 email MDL-23240 added change comments to READEME_MOODLE.txt 2010-08-09 01:33:01 +00:00
Moodle Robot
1d64b87afa Updated the HEAD build version to 20100809 2010-08-09 00:45:21 +00:00
David Mudrak
4378e6a2ff MDL-23600 MNet: do not rely on existing user record with ID 1 2010-08-08 10:58:38 +00:00
David Mudrak
50e798c8a4 MDL-23625 Fixed support for local customization of the English pack in non-core plugins 2010-08-08 09:32:23 +00:00
Andrew Davis
4aebb58ded email MDL-23240 commented out the use of php's quoted_printable_encode() 2010-08-08 04:34:03 +00:00
Moodle Robot
3e1752ccb9 Updated the HEAD build version to 20100808 2010-08-08 00:45:58 +00:00
jerome mouneyrac
2ed993a645 registration MDL-21810 cron registration update 2010-08-07 09:49:57 +00:00
Moodle Robot
6e2ec56693 Updated the HEAD build version to 20100807 2010-08-07 00:46:04 +00:00
john St
9d34160dd0 Fix of nonzero dock issue, MDL-23702 2010-08-07 00:45:38 +00:00
Inaki
3e5f4b870e auth/ldap MDL-23652 Error in auth_ldap_sync_users.php
We need to specify a valid user id in the call to role_assign(). And we only
have to make the call if the user has been added successfully, not
otherwise.

Also make sure we lowercase the memberuser and group distinguished names
before comparing them. Depending on the LDAP server we can get mixed case
values for the DNs, and the user may have specified the creators group/ou
name in a different case.

By the way, this has been broken for ages (since the auth cleanup in 1.8, in
2007!). It's a bit strange nobody noticed before :-O

Credit goes to Joe Chryst.
2010-08-07 00:40:16 +00:00
Eloy Lafuente
a789ac6f6b MDL-21432 backup - my fault, fixing wrong var 2010-08-06 22:23:18 +00:00
Eloy Lafuente
9a1cfcbc92 MDL-21432 backup - restore of activity grade items added. Blame MDL-23701 for the delay! 2010-08-06 22:22:02 +00:00
Inaki
6328442a73 auth/cas MDL-23645 CAS single sign-on module needs updating due to security issues
Upgraded phpCAS to 1.1.2 and fixed https://issues.jasig.org/browse/PHPCAS-73 ,
as reported by Fred Woolard in MDL-23126 (the fix will be in upstream in the
next release)

Credit goes to Johan Reinalda.
2010-08-06 21:22:54 +00:00
Tim Hunt
d39ba35c34 quiz overview report MDL-17569 you should be see essay questions that need grading in the report. 2010-08-06 18:09:48 +00:00
Tim Hunt
8b7d4fb70e quiz editing MDL-19766 fixed page load flicker of things revealed later by JavaScript. 2010-08-06 17:55:33 +00:00
Eloy Lafuente
8b494c68d3 MDL-19936 backup - added restore of eval->best and form->accumulative 2010-08-06 16:13:58 +00:00
Eloy Lafuente
a713e27db0 MDL-19936 backup - added missing "scale" annotation in accumulative subplugin 2010-08-06 16:12:59 +00:00
Tim Hunt
633c0843b3 navigation NOBUG clone the URL passed to override_active_url
Grrr! just spent ages debugging a really subtle bugs because moodle_urls can
change, and override_active_url was keeping a reference to the caller's URL
rathern than taking a private copy.
2010-08-06 16:12:31 +00:00
Eloy Lafuente
9ee45db967 MDL-23479 backup - restore of workshop activity. MDL-19936 2010-08-06 16:11:42 +00:00
Eloy Lafuente
bb41dadd29 MDL-22164 backup - clean important parts of old code. Leaving rest for reference 2010-08-06 16:09:28 +00:00
Eloy Lafuente
f2745cbe67 MDL-21432 backup - allow restore of only one itemid (instead of the whole itemname) 2010-08-06 16:08:29 +00:00
Eloy Lafuente
329e67fbde MDL-21432 backup - inform about missing restore subpluggins to developers 2010-08-06 16:07:06 +00:00
Eloy Lafuente
4d6743f777 MDL-19936 backup - tiny problem on encoding of workshop interlinks 2010-08-06 16:05:03 +00:00
Tim Hunt
e044ebb46e question navigation MDL-20276 make sure the current node is hilighted. 2010-08-06 15:46:19 +00:00
jerome mouneyrac
6bb31e404e webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses 2010-08-06 15:22:27 +00:00
Tim Hunt
207d145dda quiz delays MDL-20956 don't let overdue attempts + delays block students.
Suppose a quiz has a 60 min time limit, and an enforced delay of 60 mins between attempts.

Suppose a sudent starts an attempt, and then closes their browser, and then comes back 2 hours later. When they try to restart the quiz, it is submitted immediately by the timer.

Now they are blocked out for the next hour.

After this change, they would no longer be blocked, becuse if their attemtp had been submitted at the end of the first hour, then they would already have waited an hour.

That is, we compare the current time with both $lastattempt->timefinish + $delay and $lastattempt->timestart + $timelimit + $delay.
2010-08-06 11:41:50 +00:00
Dongsheng Cai
afba32ddd5 "MDL-23690, fixed set_context error, credits to Penny" 2010-08-06 09:38:36 +00:00
Dongsheng Cai
fdfb9cbe1a MDL-23477, flickr_public repository plugin, click search button go back to search screen 2010-08-06 08:49:01 +00:00
Aparup Banerjee
1112c9ed4e lesson MDL-23525 more bugs fixed to pagetypes. 2010-08-06 08:16:08 +00:00
Aparup Banerjee
59e2121e16 theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed 2010-08-06 06:20:28 +00:00
Sam Hemelryk
73eba4be68 navigation MDL-20276 Fixed use of override_active_url. 2010-08-06 05:49:47 +00:00
Dongsheng Cai
bf1873c60b "MDL-23065, non javascript filepicker, fixed maxfiles condition, improve ui" 2010-08-06 05:44:16 +00:00
Dongsheng Cai
b13842891f MDL-23196, fixed html block data structure problem 2010-08-06 05:22:08 +00:00
Aparup Banerjee
b5e1ffe456 assignment MDL-23684 renamed a variable causing confusion 2010-08-06 03:49:11 +00:00
Aparup Banerjee
8efd9deb32 assignment MDL-23680 fixed upload single not displaying response file to student. 2010-08-06 03:32:11 +00:00
Eloy Lafuente
51ea278bf0 MDL-23479 backup - example assignment offline subplugin support 2010-08-06 02:29:43 +00:00
Eloy Lafuente
1e7dc21300 MDL-23479 backup - assignment revised & old code deleted (but restore logs). Support for subpluggins added 2010-08-06 02:27:36 +00:00
Andrew Davis
5196df589b survey MDL-23324 survey form generation was assuming that subquestions would always have the same type as their parent question. this lead to data being put in the wrong columns 2010-08-06 02:23:53 +00:00
Eloy Lafuente
91d1105756 MDL-22245 backup - added support for subplugins in activities 2010-08-06 02:20:21 +00:00
Sam Hemelryk
9f49935eff enrol MDL-23688 added missing argument to table::set_fields 2010-08-06 02:11:01 +00:00
Moodle Robot
b05a5e741a Updated the HEAD build version to 20100806 2010-08-06 00:45:09 +00:00
Petr Skoda
0e8205ae28 fixed fatal errors 2010-08-05 20:14:55 +00:00
Tim Hunt
c68287a928 mod_quiz / navigation MDL-20276 replace make_active with override_active_url
It doesn't work, but I am committing it, so Sam H can take a look.
2010-08-05 18:15:17 +00:00
Tim Hunt
1724eb719d quiz navigation: NOBUG link should be imperative, edit quiz, not editing quiz. 2010-08-05 17:38:21 +00:00
Tim Hunt
2a1516f224 question moving MDL-21195 add missing error message strings. 2010-08-05 17:33:11 +00:00