David Monllao
3dd89357d4
Merge branch 'MDL-53772-master' of git://github.com/damyon/moodle
...
Conflicts:
lib/upgrade.txt
2016-04-14 14:01:16 +08:00
Damyon Wiese
56fa860ead
MDL-53772 externallib: Fix busted webservices context handling
...
Fix:
$PAGE->context must be reset when calling validate_context
Improve:
Provide wrapper for calling an external function
The wrapper correctly checks the function parameters and return type against
the description of the external function, and stores the PAGE and COURSE global
state variables, restoring them before the function returns.
Fix: buggy unit tests.
These tests are expecting debugging from a bug that was fixed, and calling web
service functions with no user or session.
2016-04-14 13:58:23 +08:00
Andrew Nicols
c0e3c8ae0d
MDL-52942 forum: Allow posting to multiple groups in eachuser forums
2016-04-11 12:23:47 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Matteo Scaramuccia
2e385e9c57
MDL-53622 mod_forum: Added the file_rewrite_pluginfile_urls() call.
2016-04-01 22:41:25 +02:00
Dan Poltawski
868e5ef0d5
Merge branch 'MDL-53515-master' of git://github.com/merrill-oakland/moodle
2016-03-29 14:39:53 +08:00
Eric Merrill
091973dbd7
MDL-53515 search: Extend search API to allow file indexing
2016-03-24 15:44:27 -04:00
Brendan Heywood
318e5cb302
MDL-53562 forum: Fixed missing forum subject Re: prefix
2016-03-21 19:41:40 +11:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Eloy Lafuente (stronk7)
ce878562f3
Merge branch 'MDL-52136-master' of git://github.com/andrewnicols/moodle
2016-03-02 05:25:57 +01:00
Andrew Nicols
ca0227dd18
MDL-52136 mod_forum: Correctly quote get_string vars in mustache
2016-03-02 09:00:28 +08:00
Dan Poltawski
340d35a902
Merge branch 'MDL-53166' of https://github.com/eugeneventer/moodle-fixes
2016-03-01 13:03:06 +08:00
Andrew Nicols
d954b54f9e
MDL-30811 forum: Update use of redirect to include message and type
2016-02-29 09:05:57 +08:00
David Monllao
69d66020ce
MDL-31989 search: get_config method to search areas
...
Also content_to_text moved to weblib.
2016-02-23 10:47:59 +00:00
David Monllao
e2be996171
MDL-31989 search: New search areas
...
Some search areas have been introduced as part of the initial search API
and search engine API implementation.
- Forum posts
- Glossary enties
- All moodle activities
2016-02-23 10:47:57 +00:00
Eugene Venter
d01cdc5172
MDL-53166 mod_forum: fix fatal error in backup phpunit test
...
when running mod_forum_testsuite mod_forum_testsuite
2016-02-19 11:14:08 +13:00
Dan Poltawski
0b14d8612b
Merge branch 'MDL-51214-master' of git://github.com/andrewnicols/moodle
2016-02-17 07:58:15 +00:00
Eloy Lafuente (stronk7)
45cb6145fb
Merge branch 'MDL-51852-master' of git://github.com/andrewnicols/moodle
2016-02-17 02:03:48 +01:00
Andrew Nicols
a6fc917168
MDL-51852 mod_forum: Respect timed discussions in emails
2016-02-17 07:57:57 +08:00
Andrew Nicols
265a9bf769
MDL-51214 mod_forum: Update News forum => Announcements
2016-02-16 10:05:24 +08:00
Andrew Nicols
66a70b97ea
MDL-29506 forum: Add tests for encode_content_links
2016-02-15 08:08:29 +08:00
Andrew Nicols
985dca606f
MDL-52930 forum: Fix random test failure caused by passing of time
2016-02-10 12:24:09 +08:00
David Monllao
098650d8e2
Merge branch 'MDL-52930-master' of git://github.com/andrewnicols/moodle
2016-02-09 18:06:10 +08:00
Andrew Nicols
0099960560
MDL-44087 mod_forum: Move forum digest to new processor
2016-02-08 07:54:14 +08:00
Andrew Nicols
d6ffb0277a
MDL-52930 mod_forum: Add get_unmailed_posts tests
2016-02-05 14:33:17 +08:00
Ryan Wyllie
f9621c56c4
MDL-372 forum: tests for pinned discussions
2016-01-13 02:01:27 +00:00
Ben Kelada
5f219cf181
MDL-372 forum: Improve pinning and update for Moodle 3.0
2016-01-13 02:01:26 +00:00
Dan Poltawski
7931245f95
Merge branch 'wip-mdl-52656' of https://github.com/rajeshtaneja/moodle
2016-01-12 10:39:46 +00:00
Rajesh Taneja
faea241337
MDL-52656 unittest: Reset original session while setting user
2016-01-08 09:41:28 +10:00
Andrew Nicols
6667ebb98e
MDL-52000 mod_forum: Respect timed posts in course overview block
2016-01-07 16:57:27 +08:00
Andrew Nicols
4aaa38e8fa
MDL-52000 mod_forum: Respect timed posts in course overview block
2016-01-06 16:20:48 +08:00
Andrew Nicols
23079c2941
Merge branch 'MDL-49566_master' of git://github.com/markn86/moodle
2016-01-04 13:53:40 +08:00
Mark Nelson
be5e0110ff
MDL-49566 core: used reflection in unit tests
...
Also split the tests into multiple functions for each scenario.
2015-12-29 17:42:43 +08:00
David Monllao
c7d394676e
Merge branch 'wip-mdl-52347' of git://github.com/rajeshtaneja/moodle
2015-12-29 14:03:10 +08:00
Ankit Agarwal
bef0d6b052
MDL-49566 core: Write unittests for MDL-45898
2015-12-29 11:22:42 +08:00
David Monllao
9787b9e02f
MDL-52597 mod_forum: Remove duplicated query
2015-12-29 10:03:59 +08:00
Marina Glancy
a4269b45bc
MDL-52347 behat: fix random failures on fast computer
2015-12-24 14:14:58 +08:00
Andrew Nicols
6ec766069c
MDL-52597 mod_forum: Remove sleep from tests
2015-12-23 14:24:35 +08:00
Dan Poltawski
c7bba4e5af
Merge branch 'MDL-52165-master' of git://github.com/jleyva/moodle
2015-12-08 08:51:34 +00:00
Juan Leyva
04cd8ae3c0
MDL-52165 mod_forum: New Web Service mod_forum_can_add_discussion
2015-12-04 15:30:16 +01:00
Dan Poltawski
aa306e7bc8
MDL-52219 behat: remove steps which turn on avaibility/completion
...
Now its the default, we can reduce test time by relying on the default
state rather than going around turning it on
2015-11-26 14:07:17 +00:00
Eloy Lafuente (stronk7)
9dbbdcb40a
MDL-52126 forum: Verify forum mailout contents
...
New unit test able to verify mail contents
configured by provider do match all expectations defined.
2015-11-15 13:29:31 +01:00
John Okely
616dd1b594
MDL-52054 forum: Prevent error when clicking move without a destination
2015-11-10 16:43:19 +08:00
John Okely
d7f95392ac
MDL-52054 forum: Revert MDL-46321. Add the "move" button back.
...
This reverts commit 5a699f25a2
.
2015-11-10 10:46:37 +08:00
John Okely
cb658a4d04
MDL-52063 forum: Display message when moving forum
2015-11-10 10:24:06 +08:00
Eloy Lafuente (stronk7)
1f0f002e1d
MDL-51939 mod_forum: all participants discussions are viewed by students
...
Added scenario to verify that "all participants" discussions, under
separate-groups mode are, by default, visible for students.
2015-10-29 21:10:20 +08:00
Mark Nelson
e7be37b1c2
MDL-51782 mod_forum: fixed unit test failing on certain DBs
2015-10-20 14:44:58 +08:00
Andrew Nicols
579b72a227
Merge branch 'MDL-51782_master' of git://github.com/markn86/moodle
2015-10-20 11:50:57 +08:00
Adam Olley
1e36665719
MDL-50993 forum: Display timed posts/discussions in a logical order
...
Users that don't have permission to view timed posts outside of the release
time frame will have discussions that have entered the visible frame appear
in an odd order from their point of view on the discussion list.
Example:
Discussion 1, modified 2015-01-01, hidden till 2015-01-03
Discussion 2, modified 2015-01-02, not hidden
The standard 'modified descending' order means that D2 is listed at the top
even after D1 becomes visible. When scanning the list of discussions for new
posts, the user could be tricked into thinking they'd already read it.
This fix instead takes into account the release time of the discussion when
timed forum posts are enabled.
I opted to use CASE statements to handle this instead of GREATEST as the
latter is not supported by MSSQL.
2015-10-19 04:04:58 +00:00
Mark Nelson
fcb30f64f9
MDL-51782 mod_forum: altered unit tests for the post_deleted event
...
This was done to ensure we are actually testing the API, and not
just creating and triggering the event manually.
2015-10-14 18:54:29 -07:00