Commit Graph

26 Commits

Author SHA1 Message Date
Meirza
e8a39af31d MDL-77344 mod_forum: Added missing class properties.
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-03-15 03:53:14 +07:00
Jun Pataleta
564d0d73f4 MDL-75072 mod_forum: Revert the patch for MDL-74623
This reverts commit bd6fdd70d6.
2022-06-27 17:39:13 +08:00
Tomo Tsuyuki
bd6fdd70d6 MDL-74623 mod_forum: Add course full name option for notification 2022-06-21 11:28:44 +10:00
Simey Lameze
254fc008a7 MDL-66360 forum: rename sendstudentnotifications_forum to forum_grade_notify 2019-11-12 10:15:41 +08:00
Shamim Rezaie
aa73424c66 MDL-66360 mod_forum: Save the sendstudentnotifications setting 2019-11-11 15:12:33 +08:00
Shamim Rezaie
de3e28635e MDL-66360 mod_forum: phpdoc fixes 2019-11-11 15:12:33 +08:00
Ryan Wyllie
2667acf121 MDL-66893 mod_forum: move grade button into region main 2019-11-07 14:53:38 +08: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
Michael Hawkins
3eb0a82fef MDL-66694 mod_forum: Word & char count update consistency fixes
Charcount logic is now consistent with wordcount in the post exporter.
Counts update now called in forum_udpate_instance since it is updating
the data.
2019-10-17 15:05:57 +08:00
David Monllaó
591dd68790 MDL-66694 mod_forum: Update word & char counts on db save 2019-10-17 15:05:57 +08:00
Ryan Wyllie
23e0ceca16 MDL-64821 mod_forum: don't show name of deleted user
When a user account is deleted don't render the user's name in
the forum. Instead we render "Deleted user".
2019-09-25 15:36:51 +08:00
Peter
13cd05ac14 MDL-65033 mod_forum: Pass the favourites into the exporter
Query and pass the favouriting information into the exporter instead of within the exporter itself
2019-04-29 16:27:04 +08:00
Peter
8885cd573a MDL-65033 mod_forum: Feedback updates 2019-04-29 16:27:04 +08:00
Peter
309e869827 MDL-65033 mod_forum: Externallib tests 2019-04-29 16:22:04 +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
Peter
bdb4a87daa MDL-65032 mod_forum: Updates based on Jun's feedback 2019-04-24 12:49:41 +08:00
Peter
2893812eb0 MDL-65032 mod_forum: Add discussion locking functionality 2019-04-24 11:55:37 +08:00
Jun Pataleta
72f7e3f198 Merge branch 'MDL-65324-master' of git://github.com/peterRd/moodle 2019-04-23 13:53:35 +02:00
Peter
814db56f4c MDL-65324 mod_forum: Fix the has_ended function and add unit tests
* Additional has_started unit tests
2019-04-12 10:20:18 +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
Mihail Geshoski
7661ccddfd MDL-64820 forum: Add timed in discussion list table 2019-03-22 09:31:21 +08:00
Ryan Wyllie
7c1d857da4 MDL-64820 forum: fix subscription mode in forum entity 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
Shamim Rezaie
cbf63d8efc MDL-31355 mod_forum: Prevent users from posting after cut-off date 2019-04-11 18:47:35 +10:00