Jun Pataleta
3dfc8be974
MDL-66220 mod_forum: Prevent from replying to a post the user can't see
2020-01-16 14:32:20 +08:00
Jun Pataleta
49801df749
MDL-66220 mod_forum: Cache result of forum_user_can_see_post()
...
* Cache the result of this function to avoid doing multiple DB calls
for the same post when loading posts in a discussion.
2020-01-16 14:32:20 +08:00
Andrew Nicols
5123b5c9d7
MDL-66722 forum: Add grade capability
...
Part of MDL-66074
2019-10-28 13:55:50 +08:00
Juan Leyva
b12dbcd4d5
MDL-65017 forum: Initial API refactor
2019-10-21 13:09:56 +02:00
Simey Lameze
75af28c73f
MDL-9469 mod_forum: add exportforum capability and checks
...
Part of MDL-66075
2019-09-20 08:19:01 +08:00
Peter
92ba55ee4f
MDL-65660 mod_forum: Allow guest users to view post buttons and links
...
For a self enrolment enabled course allow guest users to see the add
discussion and reply buttons
2019-05-31 07:06:32 +08:00
Andrew Nicols
50b52ef4b2
MDL-65569 mod_forum: Correct rules for SSD
...
In a Single Simple Discussion forum, the first post can only be edited
by a user with the manageactivities capability, but all other posts
behave as normal.
2019-05-14 12:32:05 +08:00
Mihail Geshoski
b4a1bbbb6a
MDL-65071 forum: Sort starred discussions
2019-05-01 22:51:14 +08:00
Mihail Geshoski
1a9c60e931
MDL-65071 forum: Add sorting in discussion list
2019-05-01 22:10:12 +08:00
Peter
24962ee1d7
MDL-65033 mod_forum: Hook up the pin toggle via AJAX
2019-04-29 16:21:14 +08:00
Peter
99bda8a7ff
MDL-65033 mod_forum: Favouriting in forum
...
Modify the discussion vault to take into account the favourite sql and also sort by favourite
2019-04-29 16:08:30 +08:00
Shamim Rezaie
cbf63d8efc
MDL-31355 mod_forum: Prevent users from posting after cut-off date
2019-04-11 18:47:35 +10:00
Andrew Nicols
15dc885a8b
MDL-22077 forum: Update post.php to respect private replies
2019-04-04 11:25:29 +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
446ba04650
MDL-64820 forum: fix cibot complaints
2019-03-22 10:38:41 +08:00
Ryan Wyllie
15f7dbe573
MDL-64820 forum: fix notifications for discussions in group mode
2019-03-22 09:31:21 +08:00
Mihail Geshoski
54d38a7347
MDL-64820 forum: convert view.php to new rendering
2019-03-22 09:31:21 +08:00
Ryan Wyllie
47d38303cf
MDL-64820 forum: add new classes for rendering to local namespace
2019-03-22 09:24:05 +08:00