Commit graph

3509 commits

Author SHA1 Message Date
Andrew Nicols
c661a129d1 MDL-65082 forum: Reorganise social templates 2019-03-22 11:14:05 +08:00
Ryan Wyllie
446ba04650 MDL-64820 forum: fix cibot complaints 2019-03-22 10:38:41 +08:00
Ryan Wyllie
f30f46db39 MDL-64820 forum: fix up issues from review 2019-03-22 09:31:21 +08:00
Ryan Wyllie
858179b024 MDL-64820 forum: fix behat tests 2019-03-22 09:31:21 +08:00
Mihail Geshoski
7661ccddfd MDL-64820 forum: Add timed in discussion list table 2019-03-22 09:31:21 +08:00
Ryan Wyllie
c5477bfc65 MDL-64820 forum: add missing classes and tweaks to templates
Added in required classes for behat and tweaks to get the behat
tests passing.
2019-03-22 09:31:21 +08:00
Ryan Wyllie
69aa03623d MDL-64820 forum: fix create discussion behat step 2019-03-22 09:31:21 +08:00
Ryan Wyllie
bda290ee91 MDL-64820 forum: various fixes to /mod/forum/view.php
Added missing params, missing variables, and missing session
properites.
2019-03-22 09:31:21 +08:00
Ryan Wyllie
94552394c9 MDL-64820 forum: fix blog discussion list ordering 2019-03-22 09:31:21 +08:00
Ryan Wyllie
15f7dbe573 MDL-64820 forum: fix notifications for discussions in group mode 2019-03-22 09:31:21 +08:00
Ryan Wyllie
57ad9a0ce7 MDL-64820 forum: add classes to first post to fix behat 2019-03-22 09:31:21 +08:00
Ryan Wyllie
96a49734ac MDL-64820 forum: fix missing context in subscribe external func 2019-03-22 09:31:21 +08:00
Ryan Wyllie
b4d47dec1e MDL-64820 forum: change disucssion subscribe back to link
Changed the discussion subscribe button back to a link because
it was breaking all of the behat tests.
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
Mihail Geshoski
54d38a7347 MDL-64820 forum: convert view.php to new rendering 2019-03-22 09:31:21 +08:00
Ryan Wyllie
2e19ca183b MDL-64820 forum: deprecate forum print functions 2019-03-22 09:31:21 +08:00
Ryan Wyllie
9ea78fd041 MDL-64820 forum: convert user.php to user new rendering 2019-03-22 09:31:20 +08:00
Ryan Wyllie
aa99838d50 MDL-64820 forum: convert search.php to new rendering 2019-03-22 09:31:20 +08:00
Ryan Wyllie
313d8b6e49 MDL-64820 forum: convert post.php to new rendering 2019-03-22 09:31:20 +08:00
Ryan Wyllie
615680c5d8 MDL-64820 forum: convert discuss.php to new rendering 2019-03-22 09:31:20 +08:00
Ryan Wyllie
2646e9d6d2 MDL-64820 forum: add subscription toggling to discussion list 2019-03-22 09:31:20 +08:00
Ryan Wyllie
47d38303cf MDL-64820 forum: add new classes for rendering to local namespace 2019-03-22 09:24:05 +08:00
Ryan Wyllie
2f6f3397fc MDL-64820 forum: add all discussion fields to forum_get_discussions 2019-03-22 09:24:05 +08:00
Ryan Wyllie
4dc671a920 MDL-64820 forum: add caching to forum_tp_is_tracked 2019-03-22 09:24:05 +08:00
Juan Leyva
4daa0d08fe MDL-64655 forum: New WS mod_forum_get_forum_access_information
This WS returning the current user capabilities info.
2019-03-14 17:37:29 +01:00
Davo Smith
f83bd64148 MDL-64365 mod_forum: hide RSS settings if RSS not enabled 2019-03-11 09:04:32 +00:00
Andrew Nicols
3ffbde1214 MDL-64652 forum: Use an inner join when fetching ratings 2019-03-05 10:12:22 +08:00
Andrew Nicols
ab45aa735c MDL-64652 mod_forum: Performance improvement for provider
There are possibly some further improvements that can be made to:
- export_discussion_data
- export_all_posts
2019-03-05 10:12:22 +08:00
Eloy Lafuente (stronk7)
daf358f0cd Merge branch 'MDL-64878-master' of git://github.com/damyon/moodle 2019-02-27 18:58:26 +01:00
Damyon Wiese
40fe153816 MDL-64878 grades: Update delete_instance
When grades are deleted, it needs to know the context so any files
in the gradebook can be deleted. This means module delete_instance
functions must delete the grade_item before they delete the module record.
2019-02-27 10:37:54 +08:00
Mathew May
c53a22c434 MDL-58428 theme: Move templates from mod/forum 2019-02-26 12:56:14 +01:00
Jun Pataleta
28785ee630 Merge branch 'MDL-63892-master-rework' of git://github.com/mickhawkins/moodle 2019-02-13 21:01:32 +08:00
Michael Hawkins
0753bb4238 MDL-63892 mod_forum: Behat update for post order 2019-02-13 17:32:24 +08:00
Andrew Nicols
d1570a6f52 Merge branch 'MDL-63977-beforemerge' of https://github.com/sammarshallou/moodle 2019-02-13 13:21:15 +08:00
Andrew Nicols
fc9694d1e5 Merge branch 'MDL-63892-master-rework' of git://github.com/mickhawkins/moodle 2019-02-13 10:18:25 +08:00
sam marshall
079eae376c MDL-63977 Behat: Make standard login step work for app as well 2019-02-11 16:20:43 +00:00
sam marshall
e0564a3264 MDL-63977 Behat: Upgrade mobile tests to work with 3.6 app version 2019-02-11 16:20:42 +00:00
sam marshall
1959e16412 MDL-63977 Behat: Allow Behat testing of the Moodle mobile app
This change allows you to write and run Behat tests that cover the
mobile app. These should have the @app tag. They will be run in the
Chrome browser using an Ionic server on the local machine.

See config-dist.php for configuration settings, or full docs here:
https://docs.moodle.org/dev/Acceptance_testing_for_the_mobile_app
2019-02-11 16:20:42 +00:00
Sara Arjona
67d490b629 Merge branch 'MDL-48338-master' of git://github.com/andrewnicols/moodle 2019-02-11 10:41:03 +01:00
Anthony Ales
428db95dfb MDL-48338 forum: Missing #unread in discussion post url
When a user user selects the unread messages link from the forum
discussion page, the link does not include '#unread' in the url.
This patch appends '#unread' to the url by changing the appropriate
value in the reference link assigned to $out within the function
forum_cm_info_view() of the 'lib.php'file.

A similar change is on the forum index.
2019-02-07 15:16:13 +08:00
Marcus Fabriczy
f5d1dbb37f MDL-62893 mod: Grade visibility bug in the Outline/Complete reports
Grades that have been hidden will appear in the outline/complete
report - even if the user is a student.

The modules that have been fixed are:
* mod_assign
* mod_data
* mod_forum
* mod_glossary
* mod_lesson
* mod_scorm
* mod_workshop
2019-02-05 20:01:32 +10:30
Eloy Lafuente (stronk7)
4e77949bc3 MDL-46881 forum: whitespace fix (and related phpdocs completed) 2019-01-30 11:24:00 +01:00
Andrew Nicols
cd029f936d MDL-46881 forum: Only skip post, not discussion 2019-01-30 10:55:48 +08:00
Andrew Nicols
ba1a8ef782 MDL-46881 forum: Adjust limits for tasks 2019-01-30 10:55:48 +08:00
Andrew Nicols
b51b696927 MDL-46881 core: Allow adhoc tasks to be rescheduled 2019-01-30 10:55:48 +08:00
Andrew Nicols
4129d898f7 MDL-46881 forum: Tidy up trace variables 2019-01-30 10:55:48 +08:00
Andrew Nicols
0dc54176dd MDL-46881 forum: Mark posts as ready properly 2019-01-30 07:48:38 +08:00
Andrew Nicols
af48d8bdd6 MDL-46881 forum: Defer post visibility check to send time 2019-01-30 07:48:38 +08:00
Andrew Nicols
c0284ccbc6 MDL-46881 forum: Ensure that there are posts to remove 2019-01-30 07:48:38 +08:00
Andrew Nicols
b231aabb2d MDL-46881 mod_forum: Remove unused functions
Note: I have not applied the deprecation policy to these functions as
they are extremely core to the cron functionality and were never
intended to be used outside of cron.
2019-01-30 07:48:38 +08:00