Mark Nelson
4afd26a618
MDL-47735 mod_forum: added 'My profile' -> 'Forum posts' behat test
2014-10-19 18:44:22 -07:00
Dan Poltawski
ea594eb10e
Merge branch 'MDL-47084-master' of git://github.com/jleyva/moodle
2014-10-08 14:43:13 +01:00
Damyon Wiese
6b58a6a445
Merge branch 'MDL-46458-master' of git://github.com/jleyva/moodle
...
Conflicts:
version.php
2014-10-08 21:14:39 +08:00
Dan Poltawski
8b2d52b88d
Merge branch 'MDL-47389-master' of git://github.com/jleyva/moodle
2014-10-08 11:08:29 +01:00
Juan Leyva
7ea6ada343
MDL-47389 forum: Return discussions count in get_forums_by_courses ws
2014-10-03 16:39:02 +02:00
Juan Leyva
da1be050bc
MDL-47084 forum: New moodle_url method make_webservice_pluginfile_url
2014-10-03 16:34:48 +02:00
Juan Leyva
694bf0c74b
MDL-47084 forum: Return user picture URL in get_posts WS
2014-10-03 16:34:48 +02:00
Juan Leyva
48fb0250d2
MDL-47084 forum: Return attachments and pluginfiles in get_posts WS
2014-10-03 16:34:48 +02:00
Juan Leyva
c258667257
MDL-46458 forum: New WS get_forum_discussions_paginated tests
2014-10-03 16:31:41 +02:00
Andrew Nicols
c87b87e62f
MDL-36460 mod_forum: Restrict forum subsription list based on availability info
2014-10-03 08:20:24 +08:00
Sam Hemelryk
50dfb7cf38
MDL-47252 mod_forum: fixed whitespace
2014-09-29 08:44:43 +13:00
Dave Cooper
12cf8140a2
MDL-47252 mod_forum: Ensure guest users can't subscribe to discussions
2014-09-23 10:52:55 +08:00
Andrew Nicols
4238983e2a
MDL-47107 mod_forum Optimise forum subscription checks
...
Supply a coursemodule where relevant to the forum subscription checks.
2014-09-05 15:06:15 +08:00
Frederic Massart
d9c767c76b
MDL-8501 mod_forum: Behat test for neighbour discussions
2014-07-25 10:26:56 +08:00
Frederic Massart
826cb6f6a1
MDL-8501 mod_forum: Test coverage of neighbour discussions
2014-07-25 09:55:29 +08:00
Andrew Nicols
f2946a5419
MDL-38990 mod_forum: Restrict ability to post to all groups in a forum
...
In order to post to all groups in a forum, you must have the
moodle/site:accessallgroups capability.
Thanks to Jakob Ackermann <jackermann@onlineschool.ca> for part of the fix
on this one.
2014-07-10 16:26:01 +08:00
Eloy Lafuente (stronk7)
7a26204e18
Merge branch 'MDL-43849_master' of git://github.com/dmonllao/moodle
2014-07-08 20:28:58 +02:00
David Monllao
fd63568619
MDL-43849 mod_forum: Adding tests for observers
2014-07-03 14:45:17 +08:00
Mark Nelson
05c0d19a5d
MDL-45381 mod_forum: updated unit tests for subscription created/deleted events
2014-06-30 23:32:43 -07:00
Eloy Lafuente (stronk7)
e5d7c55151
Merge branch 'MDL-41258-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
mod/forum/tests/maildigest_test.php
2014-06-24 20:25:58 +02:00
Andrew Nicols
ebfb73db7b
MDL-1626 mod_forum: Update user interface to reflect per-discussion subscriptions
...
AMOS BEGIN
MOV [forcessubscribe,mod_forum],[forcesubscribed,mod_forum]
AMOS END
2014-06-24 12:16:34 +08:00
Andrew Nicols
49566c8a67
MDL-1626 mod_forum: Make cron handle discussion subscriptions
2014-06-24 12:16:34 +08:00
Andrew Nicols
e3bbfb52c4
MDL-1626 mod_forum: Add functions to change user discussion subscription state
2014-06-24 12:16:34 +08:00
Andrew Nicols
59075a4349
MDL-1626 mod_forum: Move subscription management to a separate class
2014-06-24 12:16:33 +08:00
Andrew Nicols
dc0464801d
MDL-1626 mod_forum: Add behat tests for existing functionality
2014-06-24 12:16:33 +08:00
Andrew Nicols
a7a849038a
MDL-1626 mod_forum: Add unit tests for forum cron mail behaviour
2014-06-24 12:16:33 +08:00
Russell Smith
d2c58b95bb
MDL-43835 phpunit: Correct unit tests.
...
When different ID's are set for each sequence a number
of unit test failures appear. They have been corrected
to allow unit tests to pass with the new generator in place.
2014-06-17 19:08:01 +10:00
Andrew Nicols
908996b10e
MDL-41258 Forum: Add additional unit tests for forum digest settings
2014-06-17 16:06:10 +08:00
Eloy Lafuente (stronk7)
71fa28477b
Merge branch 'MDL-44620_master' of git://github.com/dmonllao/moodle
2014-06-03 18:11:28 +02:00
David Monllao
ee9f6db7a2
MDL-44620 behat: Automate MDLQA-7
...
- MDLQA-7: By default, a new course contains a Latest
News block which displays a specific number of recent
discussions from the news forum
2014-05-13 17:25:26 +07:00
Eloy Lafuente (stronk7)
b95db263ca
MDL-45296 tests: Fix unit tests to have objectid
...
In order to create the needed subscriptions to
make the event tests reliable a subscriptions
generator has been added. It performs raw-sql
subscriptions because by using the forum API
events would be fired (and that's something
we don't want to happen).
2014-05-08 20:03:17 +02:00
Juan Leyva
fb8840d291
MDL-30106 forum: get_posts WS fixes in data generator and def. values
2014-05-05 11:56:43 +02:00
Juan Leyva
e2ede4262f
MDL-30106 forum: New web service mod_forum_get_forum_discussion_posts
2014-05-05 11:55:43 +02:00
Mark Nelson
02a5a4b2ff
MDL-43557 events: fixed minor issues in existing events
2014-04-29 19:16:11 -07:00
Mark Nelson
f3d981897e
MDL-43557 events: renamed event class names
...
1) The core 'item_tagged' class was renamed to 'tag_added'.
2) The core 'item_untagged' class was renamed to 'tag_removed'.
3) The core 'message_read' class was renamed to 'message_viewed'.
4) The mod_forum 'userreport_viewed' class was renamed to 'user_report_viewed'.
5) The report_outline 'activity_viewed' was renamed to 'activity_report_viewed'.
6) The report_outline 'outline_viewed' was renamed to 'report_viewed'.
2014-04-29 19:15:47 -07:00
Sam Hemelryk
5852a965ca
Merge branch 'MDL-44928-master' of git://github.com/xow/moodle
2014-04-24 11:37:34 +12:00
Andrew Nicols
7bb7de44cf
MDL-45075 mod_forum: Add unit tests for forum subscription on forum creation
2014-04-23 16:07:50 +08:00
John Okely
f548bc4de5
MDL-44928 mod_forum: Add unit tests for urls in mod_forum events
2014-04-23 15:59:26 +08:00
David Monllao
af4830a257
MDL-44619 behat: Converting MDLQA-8
...
In a standard forum, students can start discussions
add replies and attach files to their posts.
2014-04-09 19:34:11 +07:00
Dan Poltawski
7f42ee92eb
Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle
2014-03-10 13:45:26 +08:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
David Monllao
370e88d4fe
MDL-44440 behat: Other fixes to make clean work properly
...
- Update the step to follow links inside a treeview
to work also when JS is disabled.
- Make regions accept header and footer.
- Change some locators refering to non-clean compatible
regions.
- Restricting click to the table row in forum tracking
because seems to conflict with the navigation bar when
using narrow window sizes.
2014-03-07 14:27:52 +08:00
Damyon Wiese
267c4b4292
Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle
2014-03-04 13:29:03 +08:00
Marina Glancy
fbc4b77841
MDL-44321 events: cleaning up course_module_viewed event
2014-02-28 16:36:09 +08:00
David Monllao
f083d6145e
MDL-43738 behat: Updating features files
...
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match
Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
Dan Poltawski
97802bea3a
MDL-40062 mod_forum: Add discussion_updated event
2014-02-17 14:07:14 +08:00
Dan Poltawski
a52c04d549
MDL-40062 mod_forum: add event unit tests
...
And bump forum version for new events.
2014-02-17 14:05:54 +08:00
Marina Glancy
1b066c06c6
Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle
2014-02-03 13:42:23 +08:00
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Mark Nelson
50ac4392f3
MDL-40909 mod_forum: removed duplicated test (duplicated in enrol/meta/tests/plugin_test.php)
2014-01-27 19:11:38 -08:00