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
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Julien Boulen
b87ead3384
MDL-66924 mod_forum: Allow users to see their own private messages
...
Allow users to see their own private messages even if they don't have
mod/forum:readprivatereplies capability
Add behat test to avoid MDL-67109 issue.
Co-authored-by: Martin Putzlocher <mputzi@users.noreply.github.com >
2023-01-09 14:41:01 +01:00
Andrew Nicols
eecbc3ce15
MDL-70071 forum: Convert post threshold warnings to info
2022-11-03 13:10:22 +08:00
Mihail Geshoski
de4d940d41
MDL-68437 forum: Support to show only active course users in grader
...
The following change adds support to show only active course users
in the forum grader and generally replicates the behaviour from the
assignment grader which relies on certain config settings, user
permissions and capabilities.
2022-09-30 12:01:08 +08: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
Jun Pataleta
0a77eb4ace
MDL-74321 mod_forum: Pass course module to forum_check_throttling()
2022-03-28 10:04:05 +08:00
Sujith Haridasan
ff5381ad95
MDL-74121 mod_forum: Fix the posting threshold issue
...
When a student post exceeds the posting threshold
block then 'Add discussion topic' button should not be shown.
Also the student cannot reply to a topic if this is exceeded.
2022-03-23 14:23:29 +05:30
Sujith Haridasan
e6a4eb3c36
MDL-73415 mod_forum: Address the followup issues for forum
...
This issue is a followup for changes made in forum. And hence
addresses the following issues spotted for forum:
1. Bring back the "Forums" header in the search page.
2. Remove the stale function forum_update_subscriptions_button
3. Fix the redirection to activity tab when subscription is
changed, in the subscription tab.
2022-02-22 21:57:21 +05:30
Sujith Haridasan
92833547e9
MDL-71915 mod_forum: Update the tertiary nav
...
Update the tertiary navigation for this
activity.
2021-12-06 09:27:58 +05:30
Tomo Tsuyuki
0646a40b20
MDL-70176 mod_forum: Grading respects separate groups filter
2021-08-20 13:27:50 +10:00
Simey Lameze
8fd7e5edeb
MDL-65252 mod_forum: make inline attachment field optional
2021-07-08 16:14:12 +08:00
Simey Lameze
2a95ac4659
MDL-65252 forum: add missing inline attachments logic to forum API
2021-07-06 13:49:29 +08:00
Jake Dallimore
f6804b7ba3
MDL-65252 mod_forum: fix posts builder so it excludes hidden posts
...
This makes the builder capability aware, via an injected manager
factory and fixes unit tests.
2021-07-02 06:19:16 +08:00
Sara Arjona
b04d1c3041
Merge branch 'MDL-71163-master' of git://github.com/rezaies/moodle
2021-05-03 11:59:58 +02:00
Shamim Rezaie
70ac3b091f
MDL-71163 mod_forum: Remove duplicate due date info
2021-04-30 17:13:56 +10:00
Juan Leyva
b63065cea3
MDL-70863 mod_forum: Allow NULL in timecreated
2021-03-31 17:54:36 +02:00
sam marshall
5e72715e4f
MDL-71099 Lib: Move new user_fields class from core to core_user
...
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.
Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
sam marshall
558cc1b85e
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Iñigo Zendegi
df9eefacef
MDL-69097 mod_forum: Apply filters to whole forum grading
2021-02-24 17:08:34 +01:00
Jun Pataleta
f04cbfa7ab
MDL-48269 mod_forum: Remove occurrences of hidepicture
2021-02-16 12:48:45 +08:00
Jun Pataleta
cbee8815fc
MDL-67959 mod_forum: Display group pictures in forum only if available
...
Displaying a default group picture in forum posts leads to confusion,
so better to not display a default group picture when the group
picture is not set for the group.
2021-01-29 12:29:29 +08:00
Paul Holden
356b4f9cc4
MDL-70037 mod_forum: include post modified date in external structure.
2020-12-01 00:04:25 +00:00
Bas Brands
56d3baa214
MDL-65792 mod_forum: show release time on timed posts
2020-10-27 08:58:26 +01:00
Andrew Nicols
b0a28f3bbb
MDL-66818 mod_forum: Use cap manager to check exportability
2020-08-21 11:33:30 +08:00
gthomas2
4224b8e541
MDL-66818 mod_forum: hide portfolio export button based on caps
2020-08-20 07:46:09 +08:00
Shamim Rezaie
b0326f0632
MDL-68200 mod_forum: Fix the invalid date format in the time tags
2020-05-12 15:13:01 +10:00
Paul Holden
3e1b05f001
MDL-67930 mod_forum: consistent default group image when hidden.
2020-03-22 19:54:53 +00:00
Jun Pataleta
dff9f9564b
MDL-61390 mod_forum: Create template for forum search results
2020-02-17 15:55:56 +08:00
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
Eloy Lafuente (stronk7)
fd25850a8d
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
2020-01-08 16:35:39 +01:00
Andrew Nicols
8092e7cfa2
MDL-67544 mod_forum: Add missing label for discussion move
2020-01-06 15:01:08 +08:00
Shamim Rezaie
53b5c4f581
MDL-65849 mod_forum: Add course param to the author's profile url
2019-11-29 20:50:16 +11:00
Mathew May
07d8669dbf
MDL-66906 mod_forum: Show learners their grades in a Modal
2019-11-12 16:17:04 +08:00
Simey Lameze
254fc008a7
MDL-66360 forum: rename sendstudentnotifications_forum to forum_grade_notify
2019-11-12 10:15:41 +08:00
Andrew Nicols
c2dc453f07
MDL-66360 forum: Add missing var from merge conflict
2019-11-11 17:27:35 +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
Ryan Wyllie
667e5fd93f
MDL-66770 mod_forum: put nested v2 display mode behind user preference
2019-11-01 13:17:24 +08:00
Ryan Wyllie
2602c7bfb5
MDL-66770 mod_forum: rename modern display mode to nested v2
2019-11-01 13:17:24 +08:00
Ryan Wyllie
1aac58b280
MDL-66770 mod_forum: move permalink into menu in modern display
2019-11-01 13:17:24 +08:00
Ryan Wyllie
454d76f689
MDL-66770 mod_forum: move subscription from menu into toggle
2019-11-01 13:17:24 +08:00
Ryan Wyllie
7a2d4f546f
MDL-66770 mod_forum: general UI tweaks
2019-11-01 09:59:11 +08:00
Mathew May
a62c68fb5f
MDL-66074 mod_forum: Mustache and PHP documentation for grading
2019-10-30 13:03:59 +08:00
Simey Lameze
d3b890f85e
MDL-66362 mod_forum: Add forum name to the grading panel breadcrumb
...
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
09f92d6644
MDL-66722 forum: Add the grading component information
...
Part of MDL-66074
2019-10-30 10:23:40 +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