Commit Graph

44 Commits

Author SHA1 Message Date
49f5b16c61 MDL-66477 mod_forum: remove duplicate listeners in settings drawer 2019-09-27 15:50:03 +08:00
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
0f3e5a9b8d MDL-66481 forum: Show notification on toggled subscription
For usability, after selecting the subscription toggle action menu item,
a notification message will be shown to the user.
2019-09-26 10:47:05 +08:00
2b8e4f2e4b MDL-66481 mod_forum: Peer review fixes 2019-09-26 10:47:05 +08:00
a78070aa1b MDL-66481 mod_forum: Move timed discussion indicator
* Move it under the discussion column.
* Change it to look like a label
* Plus limit the group name to 15 characters
* Plus some accessibility fixes:
  - Add labels to column headings.
  - Set discussion name as a row heading.
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
b97622a01c MDL-64821 mod_forum: fix keyboard nav for discussion 2019-09-25 15:36:51 +08:00
7902e4dc55 MDL-64821 mod_forum: add show/hide reply toggle for modern view 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
7255378b0a MDL-64821 mod_forum: add templates for modern display mode 2019-09-25 10:47:56 +08:00
32e4c582f0 MDL-66269 mod_forum: AMD module to fetch and format users
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
9ba09a1244 MDL-65675 forum: Remove duplicate Re in subjects 2019-05-27 12:21:30 +08:00
117e4bd40d MDL-65635 forum: Small improvement to the submit inline-reply
This commit mimics 100% the behavior achieved with the
parent commit of this when using the advance option.

1) Rename the 'tohtml' option to 'topreferredformat' to better
represent what it's doing.

2) Always honor the preferred format (this is a new post).

3) Only perform the conversion to HTML when the preferred format is
HTML.

That way any user, no matter thy are using format MOODLE (plain textbox),
MARKDOWN (marklar editor) or HTML (atto and tinymce editor) will
get always the format correct and the contents ready to be edited if
desired. HTML ones converted to HTML and TEXT ones unmodified.
2019-05-19 10:42:59 +02:00
f6548dfbae MDL-65635 forum: convert inline reply format when opening the advanced
When a inline reply post is written and the user changes to the
advanced edition, the post format has to be converted from FORMAT_MOODLE.
2019-05-19 10:42:59 +02:00
88f6ca6cbe MDL-65635 forum: Add messageformat and tohtml params to inline-reply
The messageformat and tohtml params have been added to the addDiscussionPost
method to send the original format the contents are written and to force
to convert them from "messageformat" to HTML.
2019-05-19 10:42:59 +02:00
04a6cd7b44 Merge branch 'MDL-65520-master' of git://github.com/peterRd/moodle 2019-05-10 11:46:34 +08:00
da04a0a918 MDL-65520 mod_forum: Add lock icon to indicate locked discussions 2019-05-09 14:27:37 +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
83cb72bf9e Merge branch 'MDL-65516-master' of git://github.com/mihailges/moodle 2019-05-08 10:27:18 +08:00
e610404477 MDL-65516 forum: Improve the UX when opening inline reply 2019-05-07 16:08:48 +08:00
902c8f58b2 MDL-65464 forum: disable buttons when saving in page reply 2019-05-06 09:23:08 +08:00
cda9da9907 MDL-65033 mod_forum: Move locked functionality into action menu
Moved the lock functionality into the menu which exposes it to the
discussion list
2019-04-29 19:15:42 +08: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
24962ee1d7 MDL-65033 mod_forum: Hook up the pin toggle via AJAX 2019-04-29 16:21:14 +08:00
25a97f99a9 MDL-65033 mod_forum: Toggle pin state via ajax 2019-04-29 16:16:15 +08:00
34e2f9c0c2 MDL-65033 mod_forum: pin_toggle js 2019-04-29 16:14:13 +08:00
897ac0de9e MDL-65033 mod_forum: Behat and unit tests for favouriting 2019-04-29 16:10:00 +08:00
e7e6a72164 MDL-65033 mod_forum: Add a new menu dropdown to the forum list
* Add new dropdown
* Pass the pinned discussion URL
* Add a new template for the pinned html
2019-04-29 16:08:30 +08:00
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
bdb4a87daa MDL-65032 mod_forum: Updates based on Jun's feedback 2019-04-24 12:49:41 +08:00
c475fe410f MDL-65032 mod_forum: Pass the the entity factories into the vaults 2019-04-24 11:56:23 +08:00
2893812eb0 MDL-65032 mod_forum: Add discussion locking functionality 2019-04-24 11:55:37 +08:00
a0c9b6afcc MDL-64956 mod_forum: Updates based on IR 2019-04-18 06:40:22 +08:00
9b4f09bad2 MDL-64956 mod_forum: Inpage reply
* Basic functionality for an inpage reply. With advanced link that takes you to the previous "Reply page".
* Updated behat function to handle the additional step
* Updated templates to have some identifiers on where one is storing the replies post
* Updated discussion_post to use the new vault functions to get the corresponding records
* Jumpto newly created post
2019-04-17 10:13:41 +08:00
ee6b5ba343 MDL-65034 forum: Rename identifier to camel case 2019-04-15 14:51:03 +08:00
e564ae863d MDL-65034 forum: add aria keyboard nav to discussion 2019-04-15 14:51:03 +08:00
2646e9d6d2 MDL-64820 forum: add subscription toggling to discussion list 2019-03-22 09:31:20 +08:00