Petr Škoda
b33bf039f3
MDL-39915 cleanup core_weblib_testcase
2013-07-28 15:06:23 +02:00
Petr Škoda
f5700877ab
MDL-39915 cleanup core_upgradelib_testcase
2013-07-28 14:59:03 +02:00
Petr Škoda
2af73e22a0
MDL-39915 cleanup core_text_testcase
2013-07-28 14:58:07 +02:00
Petr Škoda
ad6df1bf33
MDL-39915 cleanup core_string_manager_testcase
2013-07-28 14:49:44 +02:00
Petr Škoda
20e561315c
MDL-39915 cleanup core_setuplib_testcase
2013-07-28 14:47:02 +02:00
Petr Škoda
be14898fb9
MDL-39915 cleanup core_rsslib_testcase
2013-07-28 14:44:43 +02:00
Petr Škoda
3faa26e556
MDL-39915 cleanup core_questionlib_testcase
2013-07-28 14:39:16 +02:00
Petr Škoda
0d123bd71d
MDL-39915 cleanup core_pluginlib testcases
2013-07-28 14:36:57 +02:00
Petr Škoda
e8875a86be
MDL-40900 do not use 32bit unsigned integers
...
32bit PHP and any Windows PHP breaks otherwise.
2013-07-28 13:10:57 +02:00
Marina Glancy
1171ad564b
MDL-40897 avoid extra DB queries in groups_get_activity_groupmode()
2013-07-28 18:47:57 +10:00
Petr Škoda
6125d61530
MDL-39915 cleanup core_outputrequirementslib_testcase
2013-07-27 23:57:33 +02:00
Petr Škoda
0ef084f858
MDL-39915 cleanup outputlib testcases
2013-07-27 23:56:05 +02:00
Petr Škoda
18c4323019
MDL-39915 cleanup core_outputcomponents_testcase
2013-07-27 23:47:54 +02:00
Petr Škoda
be6ce11cae
MDL-39915 cleanup core_moodlelib_testcase
2013-07-27 21:41:03 +02:00
Petr Škoda
e2262d70b0
MDL-39915 cleanup core_modinfolib_testcase
2013-07-27 20:28:37 +02:00
Petr Škoda
2988b725bc
MDL-39915 cleanup core_messagelib_testcase
2013-07-27 19:39:47 +02:00
Petr Škoda
8603c6008c
MDL-39915 cleanup core_medialib_testcase
2013-07-27 19:21:49 +02:00
Petr Škoda
8603082f64
MDL-39915 cleanup core_mathslib_testcase
2013-07-27 19:07:40 +02:00
Petr Škoda
ce14faf87e
MDL-39915 cleanup core_markdown_testcase
2013-07-27 18:56:25 +02:00
Petr Škoda
aa2432331c
MDL-39915 cleanup core_html_writer_testcase
2013-07-27 18:55:15 +02:00
Petr Škoda
cd51a94441
MDL-39915 cleanup core_htmlpurifier_testcase
2013-07-27 18:53:12 +02:00
Petr Škoda
c53adcaf46
MDL-39915 cleanup core_html2text_testcase
2013-07-27 18:50:42 +02:00
Petr Škoda
87288183a4
MDL-39915 cleanup core_grouplib_testcase
2013-07-27 18:48:18 +02:00
Petr Škoda
b8f26f4aa6
MDL-39915 cleanup core_gradelib_testcase
2013-07-27 18:39:33 +02:00
Petr Škoda
78d4a26004
MDL-39915 cleanup core_formslib_testcase
2013-07-27 18:38:34 +02:00
Petr Škoda
0e3f2732b2
MDL-39915 better not touch filter tests, just minor cleanup
2013-07-27 18:34:04 +02:00
Petr Škoda
1d987cb7d8
MDL-39915 cleanup core_filelib_testcase
2013-07-27 18:26:32 +02:00
Petr Škoda
474196f4a5
MDL-39915 cleanup core_externallib_testcase
2013-07-27 18:18:59 +02:00
Petr Škoda
e6e632ec6e
MDL-39915 cleanup core_eventslib_testcase
2013-07-27 18:11:58 +02:00
Petr Škoda
96deb95070
MDL-39915 cleanup core_event_testcase
2013-07-27 18:06:55 +02:00
Petr Škoda
5b0d1b815f
MDL-39915 cleanup core_environment_testcase
2013-07-27 18:01:17 +02:00
Petr Škoda
5c94af1496
MDL-39915 cleanup core_datalib_testcase
2013-07-27 18:00:15 +02:00
Petr Škoda
b8daadefb1
MDL-39915 cleanup core_csvclass_testcase
2013-07-27 14:04:13 +02:00
Petr Škoda
8bd5bfa220
MDL-39915 cleanup core_csslib_testcase
2013-07-27 13:59:56 +02:00
Petr Škoda
7db309f31b
MDL-39915 cleanup core_coursecatlib_testcase
2013-07-27 13:28:33 +02:00
Petr Škoda
66871ac4cb
MDL-39915 cleanup core_configonlylib_testcase
2013-07-27 13:14:41 +02:00
Petr Škoda
a2c8e7f423
MDL-39915 cleanup core_conditionlib_testcase
2013-07-27 13:11:36 +02:00
Petr Škoda
67846502de
MDL-39915 cleanup core_componentlib_testcase
2013-07-27 12:58:02 +02:00
Petr Škoda
2058e79707
MDL-39915 cleanup core_component_testcase
2013-07-27 12:52:37 +02:00
Petr Škoda
82ff8e2937
MDL-39915 cleanup core_completionlib_testcase
2013-07-27 12:50:21 +02:00
Petr Škoda
5b59bc29d4
MDL-39915 cleanup core_collator_testcase
2013-07-27 11:32:08 +02:00
Petr Škoda
96a58e7e24
MDL-39915 cleanup core_code_testcase
2013-07-27 11:23:36 +02:00
Petr Škoda
3e654ea242
MDL-39915 cleanup core_blocklib_testcase
2013-07-27 11:21:10 +02:00
Petr Škoda
14e6c1e9cc
MDL-39915 cleanup core_authlib_testcase
2013-07-27 11:13:28 +02:00
Petr Škoda
05fb92e9dd
MDL-39915 cleanup core_admintree_testcase
2013-07-27 11:11:09 +02:00
Petr Škoda
4c9be79acd
MDL-39915 cleanup core_accesslib_testcase
2013-07-27 11:10:58 +02:00
Petr Škoda
e7451fb5bd
MDL-40891 work around make_writable_directory() race condition
...
You will still get a "PHP Warning: mkdir(): File exists" but that should not cause any problems on production sites.
2013-07-26 20:27:36 +02:00
Tim Hunt
68d2f6a008
MDL-35053 questions: question files outside an attempt.
...
Now update all the places that display files outside attempts to use the
new API.
2013-07-26 13:10:11 +01:00
Tim Hunt
181393aad2
MDL-35053 questions: question files outside an attempt.
...
Sometimes it is necssary to display parts of a question outside of an
attempt. For example for staff review. When displaying the question, we
need to handle images in the question text. In the past there was a
mechanism for this that could only cope with the question text.
This commit introduces a new method that can handle displaying any
part of the question content.
This commit intentionally does not upgrade the parts of the system that
use the mecanism. That is so that this commit can be used to demonstrate
that backwards-compatibility works. The next commit will upgrade the
callers.
2013-07-26 13:10:08 +01:00
Tim Hunt
9e1fe42150
MDL-40854 fix mod/...:view capabilities
...
Prior to the fix, if you did not have a capability like mod/page:view,
then you woulds still see the link to the Page activity in the course
section, but when you clicked on it, you would run into a
require_capability error.
It is a principle that we never show users a link to a page they are not
allowed to access, therefore, when users do not have mod/...:view, they
should not see the link on the course page.
This patch implements this in the cm_info class, in a similar way to how
access restrictions by groups works.
It does not assume that the mod/...:view capability exists. If the
capability does not exist, then users are not prevented from seeing the
link.
2013-07-26 11:44:43 +01:00