3701 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
9eb1b08f07 Merge branch 'MDL-68645-master-earlyoutputinit' of git://github.com/mudrd8mz/moodle 2020-05-14 16:35:35 +02:00
Sara Arjona
ccc7a30b3e Merge branch 'MDL-68200-master-take2' of git://github.com/rezaies/moodle 2020-05-14 13:10:01 +02:00
David Mudrák
005b00dd9b MDL-68645 output: Do not apply filters when creating calendar events
Applying filters on an activity module description when using it as a
new calendar event's description is bad m'kay? We need to store the raw
text and apply the filters only when we actually display the text. That
way, filters (such as multi-language content) may actually fully work
and we do not initialise the theme and output machinery.

Additionally, we need to explicitly set the format of the description
text to HTML (because we have converted it to it already). Otherwise it
defaults to the current user's preferred editor format.

This is still a pragmatic hot-fix solution. The proper solution would be
to pass the raw text, format and embedded files.
2020-05-13 10:03:01 +02:00
Shamim Rezaie
31d401aaa0 MDL-68200 mod_forum: fix invalid format of the time tag on modern view 2020-05-12 15:13:01 +10: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
Jun Pataleta
6e95533c73 MDL-68200 mod_forum: Use core/time_element for the discussion list page 2020-05-12 10:59:02 +10:00
Shamim Rezaie
79364d4cdc MDL-68200 mod_forum: remove address tags
Reasons:
- The element “h4” must not appear as a descendant of the “address” element
- This element should not contain more information than the contact
information, like a publication date (which belongs in a <time> element)
 element)
2020-05-12 10:56:29 +10:00
Shamim Rezaie
9f2a68feb4 MDL-68200 mod_forum: single discussion to follow nestet_v2 display rules 2020-05-12 10:56:29 +10:00
Andrew Nicols
7afd16ad84 MDL-66109 behat: Require newline at EOF
This change enables the gherkinlint rule to require a new line at the
end of the file. This change is in keeping with existing Moodle coding
style guidelines.
2020-05-11 11:07:49 +08:00
Andrew Nicols
f879cc518e MDL-66109 js: Build changes for NodeJS upgrade
This change includes a build to fix all minified file changes in Moodle
as a result of upgrades to our build process.
2020-05-11 10:55:54 +08:00
Luca Bösch
439c8c5933 MDL-68216 block_recent_activity: Format elements more nicely. 2020-05-05 22:09:19 +02:00
Paul Holden
8844cb8286 MDL-68500 dataformat: re-factor download/export methods into new class. 2020-05-04 16:01:12 +01:00
Shamim Rezaie
df35a03367 MDL-68378 forumreport_summary: action menu listens to accessibleChange 2020-04-22 04:16:44 +10:00
Jun Pataleta
bed9308ef5 MDL-67663 mod_forum: Show/hide elements from screen reader on search
* When the search input gets shown, users can still navigate on the
close button and the grading status container which can cause confusion
among users. So hide and show them accordingly as well.
* Hide/show user picker and body container when the search results
container is shown/hidden.
2020-04-09 17:50:09 +08:00
Jun Pataleta
0d3a580e03 MDL-67663 mod_forum: Add missing lang strings 2020-04-09 17:50:09 +08:00
Jun Pataleta
5803df2344 MDL-67663 mod_forum: Designate forum grading landmark regions
Adding the following landmark regions for easier keyboard navigation:
* Forum grading navigation
* User's forum posts
* Forum grading panel
2020-04-09 17:50:09 +08:00
Jun Pataleta
a37c40d31f MDL-67663 mod_forum: Use proper lang string for aria-label
Use a proper language string for the aria-label of the hide grader
panel button instead of a hard-coded one.
2020-04-09 17:50:09 +08:00
Jun Pataleta
f63503a603 MDL-67663 mod_forum: Fix focus order of the grading form
* Focus should flow from the form header down to the forum posts, and
then to the grading panel itself.
2020-04-09 17:50:08 +08:00
Jun Pataleta
d0f8a42e5f MDL-67663 mod_forum: Make user switching more accessible
* Add a more descriptive label for the next and previous buttons so that
the users would know that clicking on the next or previous buttons will
save the changes they made before proceeding to the next user.
* Add an sr-only div with aria-live to the user picker to let the grader
know the current user that is being graded.
* Hide the user picture from screen readers
2020-04-09 17:50:08 +08:00
Michael Hawkins
99f928a893 MDL-66301 forumreport_summary: Minor code improvements 2020-04-02 15:17:57 +08:00
Michael Hawkins
bff097f216 MDL-66301 forumreport_summary: Refactors and fixes to course report 2020-04-02 13:36:26 +08:00
Michael Hawkins
d235f7a017 MDL-66301 forumreport_summary: Improved filter renderer variable names 2020-04-02 13:36:26 +08:00
Michael Hawkins
0e759f616b MDL-66301 forumreport_summary: Made nodetitle string more specific
This is needed now course-level forum summary reports are available,
otherwise places like breadcrumbs are not clear that it relates
to forum data.
2020-04-02 13:36:26 +08:00
Michael Hawkins
380ae3f126 MDL-66301 forumreport_summary: Added course report behat tests 2020-04-02 13:36:25 +08:00
Michael Hawkins
54a3b94452 MDL-66301 forumreport_summary: Add course level reporting
This adds the ability to report on all forums the user has
access to within a course.
2020-04-02 13:36:25 +08:00
Paul Holden
3e1b05f001 MDL-67930 mod_forum: consistent default group image when hidden. 2020-03-22 19:54:53 +00:00
Sara Arjona
5cc0ef48c0 Merge branch 'MDL-67696-master' of https://github.com/JayChurchward/moodle 2020-03-04 17:55:27 +01:00
Eloy Lafuente (stronk7)
d2ac7726eb Merge branch 'MDL-67979-master-enfix' of git://github.com/mudrd8mz/moodle 2020-02-26 17:13:12 +01:00
Helen Foster
a753f4f9a1 MDL-67979 lang: Import fixed English strings (en_fix)
Significant string changes:

* configcustommenuitems,core_admin - corrected example
* custommenuitems_desc,tool_mobile - fallback behaviour of custom menu
  items in the app
2020-02-25 12:21:09 +01:00
Simey Lameze
041ff27245 MDL-67846 mod_forum: export user full name 2020-02-25 15:26:22 +08:00
Eloy Lafuente (stronk7)
39696f9e66 Merge branch 'MDL-61390-master' of git://github.com/junpataleta/moodle 2020-02-18 19:07:05 +01:00
Jun Pataleta
dff9f9564b MDL-61390 mod_forum: Create template for forum search results 2020-02-17 15:55:56 +08:00
Jun Pataleta
904bc48b16 MDL-61389 mod_forum: Descriptive aria-label for "Discuss this topic" 2020-02-17 15:51:23 +08:00
JayChurchward
72eaa3c916 MDL-67696 mod_forum: Changed invalid count() to loop counter. 2020-02-03 09:31:28 -05:00
Sara Arjona
eac589d8ab Merge branch 'MDL-67721-master' of git://github.com/rezaies/moodle 2020-02-03 14:52:16 +01:00
Eloy Lafuente (stronk7)
14de866897 Merge branch 'MDL-67722-master' of git://github.com/mickhawkins/moodle 2020-01-28 20:13:08 +01:00
Shamim Rezaie
974db580df MDL-67721 mod_forum: See 'view grade' button on single discussion forums 2020-01-28 05:02:05 +11:00
Eloy Lafuente (stronk7)
84ba4b8feb Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-23 11:13:33 +01:00
Jun Pataleta
dfa6dcd80c MDL-51225 mod_forum: Revert @javascript tag removal
Put back the removed  @javascript tag to prevent random goutte
fails.
2020-01-23 15:26:56 +08:00
Adrian Greeve
dbeca9f5ca Merge branch 'MDL-67424-master' of git://github.com/rezaies/moodle 2020-01-22 13:56:33 +08:00
Eloy Lafuente (stronk7)
703f2b625b Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-21 23:33:19 +01:00
Eloy Lafuente (stronk7)
a445417935 Merge branch 'MDL-66220-master' of git://github.com/junpataleta/moodle 2020-01-20 22:33:45 +01:00
Jun Pataleta
34cdacbfff Merge branch 'MDL-66883-master' of git://github.com/bmbrands/moodle 2020-01-20 16:36:40 +08:00
Michael Hawkins
66fa0c91ff MDL-67722 mod_forum: Reduce wait time on time limit expires behat test 2020-01-17 15:44:15 +08:00
Jun Pataleta
7cce925f9b MDL-51225 mod_forum: Use can_view_post to determine whether to show post
Use \mod_forum\local\managers\capability::can_view_post() to
consistently determine whether a forum post will be rendered in the
recent activity block.
This helps the recent activity block to provide a more consistent
behaviour with the forum's discussion view itself.
2020-01-17 14:44:26 +08:00
Jun Pataleta
e68e49da01 MDL-51225 mod_forum: Create behat tests for forum recent activity 2020-01-17 14:44:22 +08:00
Michael Hawkins
5588922265 MDL-66761 forumreport_summary: Added groups filter behat testing 2020-01-17 10:34:07 +08:00
Michael Hawkins
a967e56d2e MDL-66761 mod_forum: Behat support group ID in bulk discussion adding 2020-01-17 10:34:06 +08:00
Jun Pataleta
61a90c4510 MDL-51225 mod_forum: New behat step for creating question discussion 2020-01-17 10:25:22 +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