95620 Commits

Author SHA1 Message Date
Jun Pataleta
cf29a4857a Merge branch 'MDL-66701_master' of git://github.com/dmonllao/moodle 2019-11-07 15:41:45 +08:00
David Monllaó
d7d52aae15 MDL-66701 report_insights: Target's extra info on the insights report 2019-11-07 15:09:15 +08:00
emdalton
05b0e3158c MDL-66701 analytics: Insights report descriptions 2019-11-07 15:09:14 +08:00
Jun Pataleta
ae05752048 Merge branch 'MDL-66372' of https://github.com/Chocolate-lightning/moodle_forum-project 2019-11-07 13:22:32 +08:00
Michael Hawkins
cf8393be4b MDL-66372 forumreport_summary: Tidy up per page and bulk ops handling 2019-11-07 12:58:02 +08:00
Michael Hawkins
20b064beb0 MDL-66372 forumreport_summary: Added ability to select pagination size
This also includes some refactoring of the bulk actions menu, so both
elements are correctly position within the page, as well as fixing the
alignment of the bulk dropdown with the download dropdown.
2019-11-07 12:58:02 +08:00
Michael Hawkins
d418bda8c7 MDL-66372 forumreport_summary: Improved generate with filters override
Previously this override simply appended any GET params from the
action it was overriding to the final action URL, now it can handle
overriding param values, so that they are updated or added as needed
2019-11-07 12:58:02 +08:00
Michael Hawkins
0d8cd4af31 MDL-66372 forumreport_summary: Report template cleanup 2019-11-07 12:58:02 +08:00
Adrian Greeve
d5e303f8e3 Merge branch 'MDL-67057-master' of git://github.com/andrewnicols/moodle 2019-11-07 11:59:00 +08:00
Andrew Nicols
1c66ef98ed MDL-67057 h5p: Set framework file when saving package 2019-11-07 11:56:12 +08:00
Andrew Nicols
5730749f5d Merge branch 'MDL-66359-master' of git://github.com/Chocolate-lightning/moodle_forum-project 2019-11-07 10:48:33 +08:00
Mathew May
546bf3c68e MDL-66359 mod_forum: Restrict grader by groups 2019-11-07 10:47:45 +08:00
Mathew May
e3bb3da406 MDL-66359 core_course: Modify get_enrolled_users_by_cmid
We need to also provide a user's group along with the current information
2019-11-07 10:47:45 +08:00
Jun Pataleta
a65873c37d Merge branch 'MDL-66592_master' of git://github.com/dmonllao/moodle 2019-11-07 10:35:21 +08:00
Adrian Greeve
634485c56f Merge branch 'MDL-66890-master' of https://github.com/Chocolate-lightning/moodle_forum-project 2019-11-07 10:08:54 +08:00
Andrew Nicols
6f44f09495 Merge branch 'MDL-67076-master' of git://github.com/sarjona/moodle 2019-11-07 09:44:35 +08:00
Andrew Nicols
7edf0138fb MDL-67057 h5p: Language string fix 2019-11-07 09:37:27 +08:00
Andrew Nicols
884ba60a50 Merge branch 'MDL-67057-master' of git://github.com/andrewnicols/moodle 2019-11-07 09:20:27 +08:00
Andrew Nicols
021c180c83 MDL-67057 h5p: Remove unreachable code 2019-11-07 09:13:25 +08:00
Mihail Geshoski
6ac0f57073 MDL-66762 tool_dataprivacy: Sanitize the extra fields in the webservice 2019-11-07 09:00:19 +08:00
Paul Holden
7455b741c9 MDL-66762 user: escape extra/email user fields. 2019-11-07 09:00:19 +08:00
Paul Holden
eb9f830604 MDL-66762 user: stricter email validation. 2019-11-07 09:00:19 +08:00
David Monllaó
9846b5f8c5 MDL-66592 analytics: Split text and link 2019-11-07 08:25:35 +08:00
David Monllaó
279f370b3f MDL-66592 report_insights: Help icon for indicator calculations desc 2019-11-07 08:25:35 +08:00
Sara Arjona
c07f31ae2c MDL-67057 core_h5p: Add capability to update content-type libraries 2019-11-07 07:19:59 +08:00
Sara Arjona
7a0d9bd5e4 MDL-67057 core_h5p: New method to get latest library version 2019-11-07 07:19:59 +08:00
Sara Arjona
285976f1bd MDL-67057 core_h5p: Improve displaying errors 2019-11-07 07:19:59 +08:00
Sara Arjona
5a266a579c MDL-67057 core_h5p: Add helper class 2019-11-07 07:19:58 +08:00
Eloy Lafuente (stronk7)
d6c704bf8e Merge branch 'MDL-42638-master' of https://github.com/lucaboesch/moodle 2019-11-06 22:32:56 +01:00
Eloy Lafuente (stronk7)
c1f5154a10 Merge branch 'MDL-67127-master' of git://github.com/ferranrecio/moodle 2019-11-06 22:31:15 +01:00
Sara Arjona
56f6e1d970 Merge branch 'MDL-67140' of https://github.com/paulholden/moodle 2019-11-06 18:53:22 +01:00
Michael Hawkins
46fbfb98fe MDL-66890 forumreport_summary: Improved filter close keyboard response 2019-11-06 17:10:09 +08:00
Jun Pataleta
42001cdb91 Merge branch 'MDL-67097-master-2' of https://github.com/snake/moodle 2019-11-06 16:12:46 +08:00
Sara Arjona
43c584a7cc Merge branch 'MDL-66984-change_password_url-with-user' of https://github.com/brendanheywood/moodle 2019-11-06 08:30:41 +01:00
Michael Hawkins
b2aa354d30 MDL-66890 forumreport_summary: Added the ability to close filters
Previously, filters could only be closed by saving/submitting them.
Now, you are able to close and reopen them by opening another filter,
using the escape key, or clicking outside of the filter.
As per UX recommendations, filters retain any changes until the page
is reloaded (either via refresh or by saving a different filter).
2019-11-06 15:27:51 +08:00
cescobedo
c0c489bb06 MDL-67082 core_h5p: Add new contexts to check h5p file permissions 2019-11-06 12:51:04 +08:00
cescobedo
3f6c7446ff MDL-67082 core_h5p: Check component_callback called for right context 2019-11-06 12:51:04 +08:00
Jake Dallimore
827735ef26 Merge branch 'MDL-67074-master' of git://github.com/andrewnicols/moodle 2019-11-06 11:48:21 +08:00
Jake Dallimore
b63cb5b496 MDL-67097 libraries: add unit test verifying rtl directive failure case
When a closing comment is used, such as when we wrap css with the
rtl:begin:ignore and rtl🔚ignore (the latter being the closing),
it is ignored in the following case:
- If the closing comment is the last item in a csslist like:
div {/*rtl:begin:ignore*/left:20px; text-align:left/*rtl🔚ignore*/}
in which case there is no css rule following the comment for it to be
associated with. It is therefore not seen and registered, meaning we
continue ignoring rtl (a bug).
In such cases, we should either:
- ensure the comment is not the final element in the css list
- use self-closing (/*rtl:ignore*/) comments for each rule instead.
- use a self-closing comment on the entire css list, if applicable.
2019-11-06 08:57:27 +08:00
Jake Dallimore
e968eb1e8c MDL-67097 libraries: update upgrade notes for sabberworm/php-css-parser
Until the upstream patch is accepted, we need to patch this locally.
2019-11-06 08:57:27 +08:00
Jake Dallimore
88267b1c68 MDL-67097 libraries: fix comment parsing in php-css-parser library
This fixes a bug when parsing the following rule-level and list-level
comments.

div {/*rtl:ignore*/left:10px;/*rtl:ignore*/ display:inline;}
/*rtl:ignore*/div {left:10px;} /*rtl:ignore*/ a {left:10px}

The latter rtl directive was being swallowed by the parser in these
cases and was not being properly allocated as a property of the rule
or csslist.

This restores the correct behaviour of the rtlcss library, which depends
on php-css-parser.
2019-11-06 08:57:27 +08:00
Jake Dallimore
5aa7d19615 MDL-67097 libraries: add unit tests for the core_rtlcss class
The core_rtlcss class extends the \MoodleHQ\RTLCSS\RTLCSS class. This
upstream library had tests, but these were not included in core. This
change uses those test cases to test core_rtlcss, to make sure future
lib changes don't break the css parsing.
2019-11-06 08:57:26 +08:00
Paul Holden
dcab750551 MDL-67140 calendar: fix selector switching between days. 2019-11-05 16:41:12 +00:00
Luca Bösch
c8f78f7106 MDL-42638 filters: Have emoticons respect <pre>. 2019-11-05 16:06:46 +01:00
Michael Hawkins
aa86441b87 MDL-66161 output: Escaping fatal error message and URL strings 2019-11-05 13:44:37 +01:00
Juan Leyva
6d51e13f72 MDL-66377 user: Only allow active users to retrieve files via tokenpluginfile.php 2019-11-05 13:44:37 +01:00
Paul Holden
6330d48813 MDL-66228 mod_lesson: ensure return URL parameters are always local. 2019-11-05 13:44:37 +01:00
Eloy Lafuente (stronk7)
01aa126848 on-demand release 3.8dev+ 2019-11-05 13:34:51 +01:00
Eloy Lafuente (stronk7)
d01d18cad8 NOBUG: Fixed SVG browser compatibility 2019-11-05 13:34:50 +01:00
Eloy Lafuente (stronk7)
a42fec7739 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2019-11-05 13:34:49 +01:00