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
Shamim Rezaie
e83bcc1050
MDL-52380 mod_forum: Non-Gregorian dates in forum advance search
...
Convert the fromdate and todate date parts to Gregorian before passing them to make_timestamp
2015-12-17 18:00:57 -06: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
50901a53bc
Merge branch 'MDL-51664-master' of git://github.com/FMCorz/moodle
2015-12-03 11:16:30 +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)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01: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
Eloy Lafuente (stronk7)
593aaa5366
MDL-52126 forum: Correct over-escaping of html-based emails
2015-11-15 13:16:42 +01:00
Andrew Nicols
f98345b976
MDL-52126 forum: Correct over-escaping of text-based emails
2015-11-14 22:35:09 +01:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Dan Poltawski
0880780ee8
MDL-52063 forum: Moved notification is not a problem
...
The default behaviour of $OUTPUT->notification() is to indiciate a
problem.
2015-11-10 09:39:18 +00: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
Dan Poltawski
02315eb2bb
Merge branch 'MDL-51939-master' of git://github.com/andrewnicols/moodle
2015-10-29 13:54:56 +00: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
Andrew Nicols
7774cf96f8
MDL-51939 mod_forum: Fix groupid data on upgrade
...
This upgrade step addresses issues identified in MDL-51939 where the
groupid was incorrectly set. The issue itself is not present in 2.9, but
this upgrade step is required to correct any incorrect data.
2015-10-29 21:10:11 +08:00
Corey Wallis
346ba4f443
MDL-50811 mod_forum: Add completion tracking for emailed replies
2015-10-27 15:53:42 +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
Eloy Lafuente (stronk7)
d6ed5f8230
MDL-51836 mod_forum: Fix CASE statement breaking mssql & oracle.
2015-10-19 23:14:35 +02: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
Andrew Nicols
62029ba7f4
Merge branch 'MDL-51565-master' of git://github.com/jleyva/moodle
2015-10-16 09:35:23 +08: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
Mark Nelson
9f468b1b31
MDL-51782 mod_forum: moved post_deleted event into function
2015-10-14 18:21:28 -07:00
David Monllao
ee58df52da
Merge branch 'MDL-46455-master-20151012' of git://github.com/damyon/moodle
2015-10-13 11:42:40 +08:00
Juan Leyva
5b587c7570
MDL-51565 webservice: Fix return types definitions
...
This commit also format the activity name via external_format_string in
some cases
2015-10-12 13:24:49 +02:00
David Monllao
fd47ef44bd
Merge branch 'MDL-51637-master' of git://github.com/jleyva/moodle
2015-10-12 17:08:27 +08:00
Juan Leyva
4f3a2d2103
MDL-51637 forum: Make forum_get_discussions_paginated return group post
2015-10-12 10:08:17 +02:00
Andrew Nicols
fe26df5ec9
MDL-49682 mod_forum: Correct arguments to format_message_text
...
This feeds straight into context_module::instance() and I was inadvertantly
using the forum->id, rather than the cm->id.
2015-10-12 14:54:34 +08:00
David Monllao
1c94483300
MDL-49682 mod_forum: Bump version for caches
2015-10-12 14:07:55 +08:00
Andrew Nicols
317938393c
MDL-49682 mod_forum: Build forum email templates
2015-10-12 13:26:29 +08:00
Frederic Massart
583b02e405
MDL-51664 external: Update usage of external_util::validate_courses
2015-10-12 12:01:15 +08:00
Mark Nelson
0bfafc5ba0
MDL-46455 mod_*: added restore mapping to events
2015-10-11 18:14:57 -07:00
Mark Nelson
ef15eae433
MDL-46455 mod_*: added additional mapping to be used by events
2015-10-11 18:14:56 -07:00
Adam Olley
a7d95e4e65
MDL-51285 mod_forum: Posts all need to have different stamps
2015-10-08 12:21:36 +08:00
David Monllao
de27cf6a3f
Merge branch 'wip-mdl-51285' of git://github.com/rajeshtaneja/moodle
2015-10-07 11:22:56 +08:00
Eloy Lafuente (stronk7)
cb171682ff
Merge branch 'MDL-49823-master' of git://github.com/jleyva/moodle
2015-10-07 01:08:52 +02:00
Juan Leyva
d85bedf796
MDL-49823 webservice: Support gravatar profile images
2015-10-01 09:36:31 +02:00
Eloy Lafuente (stronk7)
9fb434a618
Merge branch 'wip-mdl-51266' of https://github.com/rajeshtaneja/moodle
2015-09-30 20:34:33 +02:00
Adam Olley
dba0fdc2bc
MDL-9070 forum: Add margin in rtl mode to timed post icon
...
As the icon has a float on it to move it to the right, a margin-top
needs to be applied to keep it aligned the same as in ltr.
2015-09-30 12:27:12 +08:00
David Monllao
8e31c017f2
MDL-9070 mod_forum: Reducing it to a single scenario
2015-09-30 10:09:03 +08:00
David Monllao
15791dffac
Merge branch 'MDL-9070' of git://github.com/aolley/moodle
2015-09-30 09:29:55 +08:00
Adam Olley
05f1455b35
MDL-9070 forum: Show timed post display period
...
This adds the following changes when viewing a list of discussions and
forum_enabletimedposts is turned on.
* Discussions a student wouldnt see right now are dimmed (timestart in
future or timeend in the past).
* A icon appears next to the discussion subject, the tooltip for this
icon displays the display start and/or end time. This only appears for
the user that made the discussion or has permission to
viewhiddentimedposts.
These two changes achieve a couple of important things, namely, teachers
will not mistakenly think their students can see a discussion when
viewing the list if they've later forgot that they set a time limit on
it (or indeed if someone else put it on their discussion without them
realising). Additionally it makes it easy to see from the list when
different discussions are set to be released without having to go in and
edit them to find out.
Change-Id: Ia1818b33c00adae0dad72df8e170a078fb66cd76
2015-09-30 09:18:31 +09:30
Dan Poltawski
158cc03737
Merge branch 'MDL-50109-master-blogsort' of https://github.com/mudrd8mz/moodle
2015-09-28 10:44:47 +01:00
rajesh Taneja
5ecf8e8f21
MDL-51266 unittest: replaced low level phpunit_util calls
2015-09-23 15:42:48 +08:00
Juan Leyva
ea5b910b3a
MDL-51413 forum: Return additional field in get_forums_by_courses WS
2015-09-18 17:27:14 +02:00
David Monllao
742548e251
Merge branch 'wip-mdl-51101' of git://github.com/rajeshtaneja/moodle
2015-09-14 16:18:01 +08:00