Commit graph

96854 commits

Author SHA1 Message Date
Sara Arjona
08fda3e0f8 MDL-67063 h5p: new h5plib plugintype for supporting multi coreAPI
A new plugintype has been created for having more than one installed
third-party H5P libraries. Existing libraries have been moved from
lib/h5p to the new h5plib_v124 plugin.
2020-03-11 08:46:16 +01:00
Andrew Nicols
e55d14e8d2 Merge branch 'MDL-68146' of https://github.com/stronk7/moodle 2020-03-11 11:33:25 +08:00
Eloy Lafuente (stronk7)
8aee741e24 MDL-68146 forms: remove duped help and advanced icons in checkboxes
They are exceptionally shown later, after the checkbox text already.

This is a fix for the regression introduced by MDL-63424.
2020-03-10 22:59:36 +01:00
Eloy Lafuente (stronk7)
5900253c79 Merge branch 'MDL-65724-master-3' of git://github.com/peterRd/moodle 2020-03-10 13:44:03 +01:00
Eloy Lafuente (stronk7)
c3afb828b3 Merge branch 'MDL-67337-master' of git://github.com/aanabit/moodle 2020-03-10 12:56:23 +01:00
Amaia Anabitarte
885d481749 MDL-67337 filter_displayh5p: Apply filter inside <a> tags 2020-03-10 12:10:35 +01:00
Eloy Lafuente (stronk7)
c30cddf43b Merge branch 'MDL-67189-master' of git://github.com/dpalou/moodle 2020-03-10 11:28:44 +01:00
Dani Palou
096c46bb4e MDL-67189 external: Add test to catch PHP exceptions 2020-03-10 08:26:43 +01:00
Dani Palou
2603034e0a MDL-67189 external: Catch Throwable in call_external_function 2020-03-10 08:26:43 +01:00
Shamim Rezaie
32ec05466a MDL-68135 output: remove the presentation role from user pic
"presentation" is not a valid role for the img element.
Moreover, it doesn't make sense to have both role="presentation" and
aria-hidden="true" for an element at the same time.
For more info please see:
https://timwright.org/blog/2016/11/19/difference-rolepresentation-aria-hiddentrue/
2020-03-10 16:30:08 +11:00
Eloy Lafuente (stronk7)
9dc5d5ce0b Merge branch 'MDL-67827-master' of git://github.com/andrewnicols/moodle 2020-03-09 20:36:09 +01:00
Sara Arjona
6185f1ce24 Merge branch 'MDL-66671-master' of https://github.com/dthies/moodle 2020-03-09 18:49:02 +01:00
Sara Arjona
cd717e8ba8 Merge branch 'MDL-67968-master' of git://github.com/rezaies/moodle 2020-03-09 18:16:56 +01:00
Sara Arjona
19766ef9ad Merge branch 'MDL-67902-master' of git://github.com/rezaies/moodle 2020-03-09 15:06:35 +01:00
AMOS bot
8608c4b0b3 Automatically generated installer lang files 2020-03-09 00:11:44 +00:00
Sara Arjona
32a05b5625 MDL-67063 core: fix error for supporting numbers in component
Component names should always support numbers (but the first character).
This patch will add PARAM_COMPONENT the expected regular expression
to validate the expected format.
2020-03-06 20:21:31 +01:00
Sara Arjona
06299fc604 MDL-67063 output: make public get_jsrev method 2020-03-06 20:21:31 +01:00
Tim Hunt
1b6b554118 MDL-67981 questions: avoid errors deleting contextless questions 2020-03-06 17:57:11 +00:00
Shamim Rezaie
f63fd51189 MDL-67968 calendar: use aria-label instead of the abbr tag 2020-03-07 03:27:35 +11:00
Shamim Rezaie
863814c64a MDL-67968 calendar: explain weekday abbreviations 2020-03-06 19:58:25 +11:00
Shamim Rezaie
acbbe930eb MDL-67968 form: not to put empty label when no label is available 2020-03-06 19:58:25 +11:00
Shamim Rezaie
a728edcb0c MDL-67968 question: do not display sr-only legends
.accesshide was removed because:
 1. It was only kept in case it's still used somewhere, in a custom form
 field for instance.
 2. It was broken since 3.5 where we integrated
 https://github.com/bmbrands/moodle/compare/ab65b87f3d...MDL-62419-master
 So it's been ages that the reason mentioned on point 1 was not being
 satisfied
2020-03-06 19:58:25 +11:00
Shamim Rezaie
8fe311a3a5 MDL-67968 form: grouped element label fix 2020-03-06 19:58:25 +11:00
Peter
74d95c7bf9 MDL-65724 core: Force restore to use the settings from the plan
When importing use the import settings.
2020-03-06 13:43:39 +08:00
Andrew Nicols
604887ce8f MDL-67827 behat: Pending JS improvements for dialogues 2020-03-06 12:59:38 +08:00
Andrew Nicols
ae8d60c4a1 MDL-67827 behat: Add missing exception use 2020-03-06 12:59:38 +08:00
AMOS bot
8219570973 Automatically generated installer lang files 2020-03-06 00:10:41 +00:00
Sara Arjona
9df2f66fb4 weekly release 3.9dev 2020-03-05 17:31:15 +01:00
Sara Arjona
2a17d4371d Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-03-05 17:31:12 +01:00
Sara Arjona
546d9047b8 MDL-33671 behat: fix error with Select all/none checkbox 2020-03-05 15:58:56 +01:00
Dani Palou
fbe3178a55 MDL-67907 airnotifier: Warn if some settings disabled after get key 2020-03-05 11:58:56 +01:00
Sara Arjona
1654b2fb46 Merge branch 'MDL-33671-master-fix' of git://github.com/andrewnicols/moodle 2020-03-05 09:05:52 +01:00
Michael Hawkins
c02a85c786 MDL-67861 core: Fix getremoteaddr unit test to match new proxy setup 2020-03-05 14:39:24 +08:00
Andrew Nicols
0e09bc932d MDL-33671 behat: Check current fieldtype and parent 2020-03-05 14:16:18 +08:00
Peter Dias
006d348624 MDL-68014 lti: Remove alt text for image 2020-03-05 13:37:00 +08:00
Andrew Nicols
ff1a10333d Merge branch 'MDL-67263-master' of git://github.com/mihailges/moodle 2020-03-05 13:22:40 +08:00
Mihail Geshoski
ae0e9801bd MDL-67263 course: Add behat tests 2020-03-05 11:57:14 +08:00
Mihail Geshoski
f152b71dd4 MDL-67263 course: Add search functionality in the activity chooser 2020-03-05 11:56:39 +08:00
Andrew Nicols
4deee83a98 Merge branch 'MDL-67504-Master' of https://github.com/tuanngocnguyen/moodle 2020-03-05 10:46:37 +08:00
Andrew Nicols
ba3263332d Merge branch 'MDL-65298' of https://github.com/Chocolate-lightning/moodle 2020-03-05 10:39:25 +08:00
Mathew May
f3c47c9ca8 MDL-65298 core_course: Remove unused function parameters 2020-03-05 10:36:41 +08:00
Andrew Nicols
85b9ecdbd9 Merge branch 'master_MDL-67872' of https://github.com/danmarsden/moodle 2020-03-05 09:45:37 +08:00
Brendan Heywood
c2366b85b3 MDL-67861 core: Added $CFG->reverseproxyignore IP subnet list
If your server is behind multiple reverse proxies that append to the
X-Forwarded-For header then you will need to specify a comma separated
list of ip addresses or subnets of the reverse proxies to be ignored
in order to find the users correct IP address.
2020-03-05 01:28:05 +01:00
Brendan Heywood
516c8aa506 MDL-67861 libraries: Refactor is_ip_in_subnet_list in ip_utils 2020-03-05 01:28:04 +01:00
Brendan Heywood
1186275685 MDL-67861 admin: Default $CFG->getremoteaddrconf to only use REMOTE_ADDR 2020-03-05 01:28:04 +01:00
Brendan Heywood
df0619c7b6 MDL-67861 core: Use last ip in X-Forwarded-For list 2020-03-05 01:28:04 +01:00
Andrew Nicols
534488abfe MDL-65106 theme_classic: Remove unused variable 2020-03-05 08:15:34 +08:00
Andrew Nicols
499f9002da Merge branch 'MDL-65106-master' of git://github.com/bmbrands/moodle 2020-03-05 08:12:56 +08:00
Andrew Nicols
4288e2ca14 MDL-33671 core_files: Correct behat grammar 2020-03-05 07:59:51 +08:00
Andrew Nicols
b11c9c19a5 Merge branch 'MDL-33671-master-3' of git://github.com/peterRd/moodle 2020-03-05 07:57:05 +08:00