Shamim Rezaie
b0326f0632
MDL-68200 mod_forum: Fix the invalid date format in the time tags
2020-05-12 15:13:01 +10:00
Andrew Nicols
dc86a0f1c6
MDL-66079 mod_forum: Add field to support whole forum grading
...
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Michael Hawkins
d21d6baac6
MDL-66694 mod_forum: Word/char count tidy ups & add task config option
...
The chunk size used by the existing post word/char count calculation
ad-hoc task can now be set as a $CFG parameter. Also improved the way
the ad-hoc task is re-queued and tidied up some redundant code.
2019-10-17 16:13:23 +08:00
David Monllaó
591dd68790
MDL-66694 mod_forum: Update word & char counts on db save
2019-10-17 15:05:57 +08:00
Peter
565cccfafa
MDL-65032 mod_forum: Update existing function to include lock params
2019-04-24 15:52:21 +08:00
Peter
f5b4320ec5
MDL-65032 mod_forum: Behat test for locking
2019-04-24 11:55:51 +08:00
Peter
2893812eb0
MDL-65032 mod_forum: Add discussion locking functionality
2019-04-24 11:55:37 +08:00
Peter
8245dabaa2
MDL-22077 mod_forum: external unit tests and vault updates
...
* Unit tests for external functions
* Use the new dml_table to fetch a table's columns
2019-04-04 11:56:01 +08:00
Andrew Nicols
bc4c7337e1
MDL-22077 forum: Add forum private replies
...
This patch adds new capabilities:
'mod/forum:postprivatereply' - whether a user is able to post private replies; and
'mod/forum:readprivatereplies' - whether a user is able to read private replies.
Private replies are only visible to the intended recipient (the author of
the parent post), the author of the private reply, and those with the
ability to read private replies.
If a post is private then it cannot be replied to further.
2019-04-04 11:25:29 +08:00
Ryan Wyllie
47d38303cf
MDL-64820 forum: add new classes for rendering to local namespace
2019-03-22 09:24:05 +08:00
Andrew Hancox
d2ba493cfe
MDL-46929 mod_forum: Implement tagging
2017-04-11 08:30:09 +01: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
David Monllao
9787b9e02f
MDL-52597 mod_forum: Remove duplicated query
2015-12-29 10:03:59 +08:00
Andrew Nicols
6ec766069c
MDL-52597 mod_forum: Remove sleep from tests
2015-12-23 14:24:35 +08: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
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
Petr Škoda
c3f31a3ded
MDL-38581 move forum discussion and post generators to proper place
2013-03-22 13:21:35 +01:00
David Monllao
6b21986911
MDL-37457 testing Mark current classes as deprecated
2013-01-15 11:07:45 +08:00
David Monllao
5c3c2c81be
MDL-37457 testing Refactoring references
2013-01-15 11:07:43 +08:00
Petr Skoda
6b04fdc0b6
MDL-32400 improve module generators
...
Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.
2012-04-15 14:16:59 +02:00
Petr Skoda
f8965a3d30
MDL-32323 add basic mod_forum data generator
2012-04-10 15:27:09 +02:00