959b996c50
MDL-66477 mod_forum: Create the discussion settings drawer
2019-09-27 15:46:13 +08:00
57054fc66b
Merge branch 'MDL-66481-master-6' of git://github.com/junpataleta/moodle
2019-09-26 11:57:51 +08:00
5132de054c
MDL-66481 forum: Remove the YUI subscribe link
...
* Remove the subscribe link that's powered by YUI and
subscribe_ajax.php. This will be replaced by the subscribe action
menu item which utilises the subscription toggle template
and calls the proper WS function for toggling discussion subscription.
* Nuke YUI module for toggling subscription and subscribe_ajax.php
(about time!)
2019-09-26 10:47:05 +08:00
bc23cbaf54
MDL-66481 mod_forum: Implement additional column sorting
...
Implement sorting for the following columns:
* Discussion name
* Discussion starter name
* Group
2019-09-26 10:47:05 +08:00
1a9e5cb230
MDL-66481 mod_forum: Update discussion list UI
...
* Remove striped table row style
* Move subscribe icon to the action menu
* Update the action menu icon
* Remove the Last post column
* Removed the "Created" column and moved the date under "Started by"
* Added "Locked" and "Subscribed" indicators under discussion names.
* Added group name with the group picture. For groups without pictures,
a default placeholder picture is now shown.
2019-09-26 10:47:05 +08:00
c3122dfcf5
Merge branch 'MDL-64821-master-2' of https://github.com/ryanwyllie/moodle
2019-09-26 10:45:44 +08:00
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
38d96b6540
MDL-64821 mod_forum: add in page reply to modern display mode
2019-09-25 14:35:59 +08:00
fe8e8ad4c4
MDL-64821 mod_forum: render new forum display mode when selected
2019-09-25 13:12:53 +08:00
7255378b0a
MDL-64821 mod_forum: add templates for modern display mode
2019-09-25 10:47:56 +08:00
1de4baf1f1
MDL-66075 core: various fixes & code polishing
...
* Removes unnecessary comment in search_users() WS.
* Replaces DB call by get_course() in search_users() WS.
* Fix discussionids handling on export.php.
* Coding style fix in test_search_users unit test.
* Add missing version bump.
* phpDOc fixes in post vault.
* Fix in the dataformat callback to handle different data types.
2019-09-23 13:07:30 +08:00
ff0c5bbed9
MDL-66269 mod_forum: added get_from_discussion_ids_and_user_ids
...
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
1ff734a47d
MDL-66269 mod_forum: refactor post vault class to remove duplications
...
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
75af28c73f
MDL-9469 mod_forum: add exportforum capability and checks
...
Part of MDL-66075
2019-09-20 08:19:01 +08:00
f7b7f4e679
MDL-9469 mod_forum: create basic forum export structure
...
Part of MDL-66075
2019-09-20 08:19:01 +08:00
e452c97f27
MDL-65786 mod_forum: re-adding the unread count to the social format
2019-06-13 03:13:19 +10:00
19e9ba22b6
Merge branch 'MDL-65578-master' of git://github.com/peterRd/moodle
2019-06-04 23:29:12 +02:00
cbf768ba89
Merge branch 'MDL-65660-master' of git://github.com/peterRd/moodle
2019-06-03 17:48:04 +02:00
944df31cc0
Merge branch 'MDL-65675-master' of git://github.com/andrewnicols/moodle
2019-06-03 17:37:13 +02:00
4b6e032890
MDL-65578 forum: Hide action menu where no actions exist
2019-05-31 12:43:22 +08:00
c939a043bf
MDL-65658 mod_forum: Group images links and titles groups
...
After a change in Moodle 3.6 some links & titles went missing.
Here I am adding them back & incresing the output image to 100x100px
2019-05-31 08:14:20 +08:00
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
9ba09a1244
MDL-65675 forum: Remove duplicate Re in subjects
2019-05-27 12:21:30 +08:00
1cc57c5d10
Merge branch 'MDL-65608-master' of https://github.com/ryanwyllie/moodle
2019-05-16 15:05:47 +08:00
44e148df79
Merge branch 'MDL-65607-master' of git://github.com/mihailges/moodle
2019-05-16 12:56:51 +08:00
b84f79ec80
MDL-65607 forum: Add prefix to forum global functions
2019-05-16 11:49:37 +08:00
f9d986fa2a
MDL-65608 forum: check if group exists in discussion exporter
2019-05-16 09:50:38 +08:00
384145b1d1
Merge branch 'MDL-65528-master' of git://github.com/peterRd/moodle
2019-05-15 12:14:46 +02:00
65c9f44c68
Merge branch 'MDL-65569-master' of git://github.com/andrewnicols/moodle
2019-05-14 12:53:50 +08:00
76cf4db73e
MDL-65528 mod_forum: Do not render add discussion if not permitted
2019-05-14 12:47:32 +08:00
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
e31f357e64
Merge branch 'MDL-65574-master' of https://github.com/ryanwyllie/moodle
2019-05-14 12:17:25 +08:00
f31c531c19
MDL-65574 forum: fix return type for get_first_post_for_discussion_ids
2019-05-14 10:43:37 +08:00
6489aa2a45
MDL-65557 forum: increase default image size of author profile url
2019-05-14 08:25:16 +08:00
9a6f29b019
MDL-65574 forum: discussion_list vault uses post table for author
...
Update the discussion_list vault to use the first post record from
the posts table join to get the author of the first post rather
than relying on it's own "userid" column which can be incorrect in
the case of split discussions.
2019-05-13 15:03:26 +08:00
cdc5c34030
Merge branch 'MDL-65457-master' of git://github.com/peterRd/moodle
2019-05-10 10:42:34 +08:00
9b8e599868
MDL-65457 mod_forum: Provide latest post's author
...
Provide an updated private replies restriction to latest post
Get the latest post's author and time which takes into account private replies.
2019-05-10 10:29:39 +08:00
23129586db
MDL-65373 forum: accessibility changes for discussion
2019-05-09 09:10:40 +08:00
cee572aac6
MDL-65508 mod_forum: Add private to the quick forum reply
2019-05-08 11:03:28 +08:00
b61639598f
MDL-65505 forum: handle deleted users with no context in render
2019-05-06 16:13:15 +08:00
5599d4cbca
Merge branch 'MDL-65071-master-new' of git://github.com/mihailges/moodle
2019-05-02 13:53:54 +08:00
b4a1bbbb6a
MDL-65071 forum: Sort starred discussions
2019-05-01 22:51:14 +08:00
1a9c60e931
MDL-65071 forum: Add sorting in discussion list
2019-05-01 22:10:12 +08:00
1457229295
MDL-65394 forum: fix get_move_discussion_html return signature
2019-05-01 16:27:34 +08:00
8353770743
MDL-65394 forum: add context id to author export
2019-05-01 16:27:34 +08:00
30513f9740
MDL-65033 mod_forum: Modified sort sql for cross db support
2019-04-30 20:47:30 +02:00
d3cac88dac
MDL-65033 mod_forum: Testing updates
...
Testing and code updates after rebase
2019-04-29 16:30:50 +08:00
ac91531670
MDL-65033 mod_forum: Accessibility updates
2019-04-29 16:27:04 +08:00
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
8885cd573a
MDL-65033 mod_forum: Feedback updates
2019-04-29 16:27:04 +08:00