Tim Hunt
016a651578
MDL-37431 question preview: cron performance problem.
...
This query was performing badly. The solution seems to be to add a
redundant JOIN and WHERE to the subquery.
I renamed the table aliases in the subquery to avoid name collisions
elsewhere. I am afraid that makes the diff rather unhelpful. The
AND subq_qu.component = :qubacomponent2
line is new. The other lines have just had subq_ added.
2013-01-11 13:18:21 +00:00
Tim Hunt
816138b4f2
MDL-37378 quiz restore: timecheckstate not in old backups.
...
We need to avoid a notice. If the value is missing, setting it to 0 is
fine. It will get sorted out the next time cron is run.
2013-01-11 13:17:13 +00:00
Tim Hunt
8d54191d7a
MDL-37374 questions: use property_exists rather than isset
...
$a->field = null; isset($a->field) returns false, which is typical PHP.
I also improve the error handling a bit.
2013-01-11 13:15:51 +00:00
Tim Hunt
1c2bf99eb9
MDL-37485 plugins overview: require_login before _capability.
2013-01-11 12:51:53 +00:00
Eloy Lafuente (stronk7)
ca48fe5f97
NOBUG: Bumping version to test auto-packaging
2013-01-11 13:42:08 +01:00
Andrew Robert Nicols
8743aabca0
MDL-37397 Test for a valid select in formautosubmit
...
Ideally we shouldn't get into this situation, but in cases where the
generated select element is incorrectly configured, we should try and
handle it gracefully with a warning.
2013-01-11 11:49:44 +00:00
Eloy Lafuente (stronk7)
2e5d013417
weekly release 2.5dev
2013-01-11 12:36:05 +01:00
Eloy Lafuente (stronk7)
b64a33bade
fix permissions
2013-01-11 12:23:22 +01:00
Eloy Lafuente (stronk7)
d0942f0744
Merge branch 'install_master' of git://git.moodle.cz/moodle-install
2013-01-11 12:15:57 +01:00
Michael Aherne
d6af3d847f
MDL-27164 groups Do not show multiple instances of the same role as multiple
2013-01-11 11:12:33 +00:00
Dan Marsden
7b63805531
MDL-37394 SCORM: Aicc direct url fails with new nav as it has a single sco with no children - allow these to be navigated correctly.
2013-01-11 23:45:23 +13:00
Andrew Robert Nicols
f96ec5ad96
MDL-37413 Use correct variable in chooserdialogue
2013-01-11 08:18:47 +00:00
Ashley Holman
cd2b223dc7
MDL-36616 repository: Fix direct linking to images in Flickr Public.
2013-01-11 15:32:30 +08:00
Jason Fowler
beff3a9dd5
MDL-35885 - Wiki - add a legend element to the search wikis form
2013-01-11 15:29:35 +08:00
Dan Marsden
3c44304276
MDL-36853 SCORM: get first valid sco instead of array of scos - thanks to Jamie Smith for the fix - fixes PHP warnings when returning to an existing attempt.
2013-01-11 19:47:55 +13:00
David Monllao
f16e1af28e
MDL-36457 testing Relocating classes
2013-01-11 14:08:50 +08:00
Damyon Wiese
798a060b04
MDL-32341 calendar: get_file_by_hash() expects a hash
2013-01-11 11:55:55 +08:00
Sam Hemelryk
f1ac8520ae
MDL-36035 course: renamed new functions and cleaned up docs
2013-01-11 15:03:49 +13:00
Brian King
e226a86d76
MDL-36035 course: reduce database queries when calling print_whole_category_list
...
On a Moodle with 1252 course categories, this reduces the database
reads from 1313 to 62 for course/index.php
2013-01-11 15:03:32 +13:00
Aaron Barnes
3b461a0801
MDL-37473 completion: Add missing cap checks to tracked users functions
...
Namely get_num_tracked_users and is_tracked_user()
2013-01-11 14:41:05 +13:00
Rajesh Taneja
96214a49ec
MDL-35780 Administration: email display on user profile view page will respect user capability
2013-01-11 09:33:28 +08:00
Petr Škoda
92b00c32a7
MDL-37420 rework pg schema testing
2013-01-11 02:12:38 +01:00
David Mudrák
fe7e411e7c
MDL-37467 Do not provide blog posts via RSS when blogging is disabled
2013-01-10 18:22:56 +01:00
Colin Chambers
5d5895f21a
MDL-36529 Quiz: Shorten 'Settings for multiple tries'
2013-01-10 16:03:25 +00:00
Colin Chambers
086cced749
MDL-31726 Pre-fill question type combined feedback
2013-01-10 15:57:36 +00:00
Eloy Lafuente (stronk7)
72a504dc2a
Merge branch 'MDL-36741_master' of git://github.com/markn86/moodle
2013-01-10 11:13:13 +01:00
Mark Nelson
941294ef43
MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists
2013-01-10 17:59:40 +08:00
Dan Poltawski
2008facf40
MDL-37456 - lang: remove unused zip strings
2013-01-10 15:55:54 +08:00
Frederic Massart
95d1d0373b
MDL-34435 reports: Log category actions
2013-01-10 15:10:22 +08:00
Rajesh Taneja
9309a8fe9a
MDL-35873 Blocks: Made alt-text on block control icons more descriptive
2013-01-10 14:20:12 +08:00
Mark Nelson
faf3016f35
MDL-37247 mod_forum: removing unnecessary variable in the get_forums web service
2013-01-10 13:45:45 +08:00
Mark Nelson
0c246ae5d9
MDL-37247 mod_forum: perform conditional checks before returning forums via web service
2013-01-10 12:47:23 +08:00
Dan Poltawski
319d937602
Revert "Merge branch 'wip-MDL-31750-master' of git://github.com/abgreeve/moodle"
...
This reverts commit 8361f557a1
,
2b9e957a27
and
fae51910bf
2013-01-10 11:17:33 +08:00
Andrew Robert Nicols
632f3effdb
MDL-36600 Add missing sesskey check when previewing the message
2013-01-10 10:18:56 +08:00
Rajesh Taneja
a7a1e05ff9
MDL-29534 Forum: if forum_replytouser is not set then send forum email using noreplyaddress.
2013-01-09 14:50:32 +08:00
Jerome Mouneyrac
fb695f6e3d
MDL-37354 clean return value for each externallib PHPUnit tests
2013-01-09 13:47:01 +08:00
Frederic Massart
1017426c26
MDL-32639 phpunit: Hack not to fail on debugging
2013-01-09 11:48:44 +08:00
Aaron Barnes
16d89d6604
MDL-36511 course: Save "completion starts on enrolment" disabled state
2013-01-09 15:29:57 +13:00
Sam Hemelryk
a0af8cb8c3
Merge branch 'wip-MDL-37404-master' of git://github.com/marinaglancy/moodle
2013-01-09 14:35:09 +13:00
Eloy Lafuente (stronk7)
f9f750cecc
Merge branch 'w51_MDL-37420_m25_pgschema' of git://github.com/skodak/moodle
2013-01-09 01:32:09 +01:00
Eloy Lafuente (stronk7)
8361f557a1
Merge branch 'wip-MDL-31750-master' of git://github.com/abgreeve/moodle
...
Conflicts:
course/tests/courselib_test.php
2013-01-09 01:31:50 +01:00
Sam Hemelryk
7316589831
MDL-36904 mod_assign: Fixed whitespace issue
2013-01-09 12:33:29 +13:00
Sam Hemelryk
6f51092fbe
Merge branch 'MDL-35413-master' of git://github.com/damyon/moodle
...
Conflicts:
mod/assign/locallib.php
2013-01-09 11:59:43 +13:00
Paul Nicholls
0d47afe69d
MDL-37162: Use CSS to make mod show/hide icons not look "clickable" in hidden sections
...
Previously, the resource toolbox initialiser was using JS to find the show/hide icon, then find its section ancestor, then check if the section was hidden - only to pointlessly set pointer:auto if it was. That didn't meet the aim stated in the comments ("Disable" show/hide icons (change cursor to not look clickable) if section is hidden), but this patch meets that goal with a single CSS rule.
2013-01-09 11:44:15 +13:00
Eloy Lafuente (stronk7)
e801c74c54
Merge branch 'w51_MDL-37183_m25_excelcleanup' of git://github.com/skodak/moodle
2013-01-08 23:30:19 +01:00
Eloy Lafuente (stronk7)
c68f339e5e
Merge branch 'wip-MDL-37203-m25' of git://github.com/samhemelryk/moodle
2013-01-08 23:25:34 +01:00
Eloy Lafuente (stronk7)
ac4c7aed68
Merge branch 'w51_MDL-35356_m25_excel' of git://github.com/skodak/moodle
...
Conflicts:
lib/odslib.class.php
2013-01-08 23:11:54 +01:00
Sam Hemelryk
3913743aa3
Merge branch 'MDL-35443-wip' of git://github.com/mouneyrac/moodle
2013-01-09 10:20:46 +13:00
Sam Hemelryk
5ba45e34bb
Merge branch 'wip-MDL-35842-master' of git://github.com/phalacee/moodle
2013-01-09 10:07:16 +13:00
Sam Hemelryk
21117c9d17
Merge branch 'wip-MDL-35891-master' of git://github.com/phalacee/moodle
2013-01-09 09:41:00 +13:00