51169 Commits

Author SHA1 Message Date
Petr Skoda
5f0456ef27 MDL-31165 fix InnoDB conversion query to use ENGINE parameter instead of legacy TYPE 2012-01-15 10:32:08 +01:00
AMOS bot
1b677b8647 Automatically generated installer lang files 2012-01-15 00:31:08 +00:00
Mary Evans
3922c906b9 MDL-31164-Fixes Sky High theme truncates report-Part2 2012-01-15 00:09:20 +00:00
Petr Skoda
ecc2897c85 MDL-31109 fix maintenance link value in get_string() 2012-01-15 00:56:01 +01:00
Petr Skoda
c5eeccbec9 MDL-31117 delete obsolete TODO
This TODO was added when we were still using moodledata folder for group images, it is not relevant any more because group images are in new file API which supports DB transaction rollbacks.
2012-01-15 00:43:28 +01:00
Petr Skoda
843ca76111 MDL-31127 init USER->access when switching roles
Only admins were affected by this problem because has_capability() does not init USER->access for them.
2012-01-15 00:14:44 +01:00
Petr Skoda
a019ffcd23 MDL-27165 fix broken confirmed user filtering 2012-01-14 22:14:26 +01:00
Petr Skoda
1fbbf89349 MDL-30891 fix invalid hardcoded capability check when disable legacy files repo 2012-01-14 21:57:47 +01:00
Petr Skoda
8ab5c8ec0a MDL-31053 fix invalid context preloading in get_user_capability_course() 2012-01-14 21:36:02 +01:00
Petr Skoda
ad8c5aee72 MDL-31124 reinstroduce accidentally removed restore code for 1.9 backups 2012-01-14 21:24:15 +01:00
Mary Evans
08be319445 MDL-31144-fixes hidden Navigation block menu items when docked 2012-01-14 01:16:29 +00:00
Dan Poltawski
a530d4a93b MDL-29091 quiz - switch to use moodle_url::out_as_local_url 2012-01-13 10:16:52 +00:00
Dan Poltawski
48ddc9bfd6 MDL-29091 weblib - Introduce out_as_local_url() method to moodle_url
This can be used for passing around PARAM_LOCALURL's where necessary
stripping the wwwroot
2012-01-13 10:16:52 +00:00
Marina Glancy
91331b6b96 MDL-31072: Added indexes to table role_assignments to speed up work in many-users-many-contexts environments 2012-01-13 10:12:17 +08:00
Marina Glancy
3c2ed2d7ce MDL-31072: Fixed bug causing memory overflow for many-user systems:
when function find_users was supposed to be used for user validation but no userids were passed to it, it retrieved all users in the system.
This caused memory overflow on systems with too many users (like moodle.org).
Now we make sure that find_users is not called for validation if there is nobody to validate.

Also improved query inside find_users to make it work faster
2012-01-13 10:12:17 +08:00
Marina Glancy
96ef951d5f MDL-31060: removed unnecessary fields from query which also caused problems in MSSQL 2012-01-13 10:12:10 +08:00
Sam Hemelryk
1580cfdbf7 MDL-31025 navigation: When calling load_section_activities you must provide an array of activities not course_modinfo 2012-01-13 13:00:54 +13:00
sam marshall
5813c7f7dc MDL-30408 Allow modules the choice to not appear on 'Add a...' lists
This is useful for modules which are created by the system and are not supposed to be created by users. There are various reasons for doing this in third-party modules.
2012-01-12 17:29:54 +00:00
Charles Fulton
5db8294940 MDL-3054 record the current page of a quiz attempt 2012-01-12 09:15:37 -08:00
Tim Hunt
1be875b877 MDL-31143 quiz reports: average grade of null causes php error. 2012-01-12 16:42:19 +00:00
Tim Hunt
574a5e53f5 MDL-31135 question instances report: 'All' option broken 2012-01-12 12:43:22 +00:00
Jonathon Fowler
2902edb4ec MDL-31130 question bank: toggling show all / 20 per page broken. 2012-01-12 12:41:25 +00:00
Tim Hunt
079caafc16 MDL-31102 question preview: fix HTML validation errors. 2012-01-12 12:10:54 +00:00
Tim Hunt
aad1b6ee64 MDL-31100 unit tests: don't mangle UTF-8 in failure messages. 2012-01-12 12:10:33 +00:00
Tim Hunt
18dff75754 MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.
2012-01-12 12:10:08 +00:00
Tim Hunt
389cb58948 MDL-31095 quiz: fix bug in quiz::has_questions. 2012-01-12 12:10:06 +00:00
Tim Hunt
068384ce65 MDL-31080 quiz editing, must be able to see and delete missing questions 2012-01-12 12:09:45 +00:00
Eloy Lafuente (stronk7)
60e99097e4 weekly release 2.3dev (blame stronk7 for 0202 mistake)
On 20120102 version was incorrectly bumped to 2012-02-02. So,
until then (< 1mo) we are going to be incrementing decimal digits
only and not date ones (first 8).
2012-01-12 11:34:20 +01:00
Eloy Lafuente (stronk7)
96f32207b6 Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-01-12 11:24:39 +01:00
Eloy Lafuente (stronk7)
bdbe8f278e Merge branch 'w02_MDL-29684_m23_metaenrol' of git://github.com/skodak/moodle 2012-01-11 23:48:06 +01:00
Tim Hunt
ff05bb3166 MDL-26469 upgrade: cope with modules that do not set $module->cron. 2012-01-11 15:42:23 +00:00
Tim Hunt
3412cb4386 MDL-26469 upgrade: module cron setting not updated. 2012-01-11 14:04:09 +00:00
Tim Hunt
26756d9c6f MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron 2012-01-11 14:02:57 +00:00
Andrew Robert Nicols
6dc5908ef7 MDL-31040 Correct LTR language issue and inconsistency in display 2012-01-11 10:58:23 +00:00
AMOS bot
d7a6956444 Automatically generated installer lang files 2012-01-11 00:31:15 +00:00
Eloy Lafuente (stronk7)
4cd2b394ac Merge branch 'MDL-31101' of git://github.com/timhunt/moodle 2012-01-10 23:34:56 +01:00
Tim Hunt
d07f7be890 MDL-31101 format_string: Don't mangle < and > in strings like x < 1. 2012-01-10 14:52:19 +00:00
Rajesh Taneja
246c2cb8e5 MDL-30452 Repositories: Changed default capability on repos - Thanks Michael 2012-01-10 11:10:43 +01:00
Sam Hemelryk
7dd813b948 Merge branch 'MDL-24394' of git://github.com/timhunt/moodle 2012-01-10 14:30:32 +13:00
Sam Hemelryk
44577c96d0 Merge branch 'MDL-31019' of git://github.com/timhunt/moodle 2012-01-10 14:26:08 +13:00
Sam Hemelryk
6b37c2b093 MDL-31000 Added comment about the importance of repository array keys and hardened new dnd repository lookup 2012-01-10 12:21:24 +13:00
Sam Hemelryk
b098581488 Revert "MDL-31000 Respect sortorder of repositories when displaying the filepicker"
This change was reverted because the array keys need to be the id, existing code relies on this.
This reverts commit ef72c7942e69b41296989bbbd51a0d84ee4f636b.
2012-01-10 12:18:34 +13:00
Sam Hemelryk
7d1655a580 Merge branch 'dragdrop-for-master' of git://git.luns.net.uk/moodle 2012-01-10 11:52:09 +13:00
Eloy Lafuente (stronk7)
0a87f07a9b Merge branch 'wip-mdl-30608' of git://github.com/rajeshtaneja/moodle 2012-01-09 22:18:50 +01:00
Eloy Lafuente (stronk7)
528dbf2f7d Merge branch 'MDL-6102-master' of git://github.com/sammarshallou/moodle 2012-01-09 22:02:10 +01:00
Eloy Lafuente (stronk7)
fb051bf072 Merge branch 'MDL-30783_t2' of git://github.com/kiklop74/moodle 2012-01-09 21:47:16 +01:00
Tim Hunt
e73af46d4c MDL-24394 qtype_match: should be able to use multilang for the choices. 2012-01-09 18:05:06 +00:00
Davo Smith
f08fac7c89 MDL-29766 Add drag and drop upload to filemanager / filepicker elements 2012-01-09 17:27:32 +00:00
Tim Hunt
d89eb938fd MDL-31019 quiz secure mode. Fix typo that breaks submit. 2012-01-09 17:09:11 +00:00
sam marshall
487de67c48 MDL-6102 Default time format incorrectly has leading zeros on 12-hour times (e.g. 03:57 PM) 2012-01-09 11:38:59 +00:00