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
Russell Smith
74b63eae76
MDL-43440 unit testing: Use cmid in unit tests when it should be used.
...
instance is has been used instead of cmid. This works as all id's are 1
in most cases, but not always.
accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
David Monllao
333db2e9b9
MDL-42625 behat: Editing .feature files
2013-12-06 12:13:39 +08:00
Marina Glancy
6dfd8325f0
MDL-42731 behat: load 'Site administration' when expanding node in non-javascript mode
2013-12-02 17:44:32 +11:00
David Monllao
047a8800f4
MDL-40975 course: Adapt behat tests to the new course editing interface
2013-11-06 11:41:00 +08:00
Damyon Wiese
d04bea30da
Merge branch 'wip-MDL-42400-master' of git://github.com/marinaglancy/moodle
2013-11-04 13:11:42 +08:00
Marina Glancy
b6affde2cb
MDL-42400 generator: Add function testing_module_generator::create_content()
...
also implement it for mod_book and mod_forum to call existing create_page, create_discussion/post functions
2013-10-26 14:00:24 +11:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00
Rajesh Taneja
bafcd3f17a
MDL-41811 navigation: Load site admin navigation
...
Go to notification page before following links within site admin
navigation, ensuring site admin navigation is loaded
With no js, test should follow site admin link and not expand it.
2013-10-21 14:17:55 +08:00
Damyon Wiese
869dd1fc6c
Merge branch 'MDL-29663_alt' of https://github.com/merrill-oakland/moodle
2013-10-09 09:39:09 +08:00