31955 Commits

Author SHA1 Message Date
Ilya Tregubov
c2dcd9ade8
Merge branch 'MDL-79107-master-2' of https://github.com/andrewnicols/moodle 2023-09-01 09:24:30 +08:00
Andrew Nicols
10525085a3
MDL-79107 editor_tiny: Target correct element on editor removal 2023-09-01 09:06:39 +08:00
Andrew Nicols
1ce54ee87e
Merge branch 'MDL-72321_master-squashed' of https://github.com/marxjohnson/moodle 2023-08-31 23:02:35 +08:00
Mark Johnson
823af3a8f1 MDL-72321 core_question: Replace old conditions with new datafilters 2023-08-31 15:00:39 +01:00
Mark Johnson
2e02264945 MDL-72321 core: Support disabled options in form-autocomplete
Autocomplete fields can now include disabled options in the suggestion
list. When calling .enchance() on a select list with disabled options,
those options will be added to the autocomplete suggestions with the
aria-disabled arribute set, and will not be selectable.

Datafilters using the autocomplete element can also hook into this by
including disabled options in their list of values.
2023-08-31 15:00:38 +01:00
Mark Johnson
7091a3210c MDL-72321 core: Allow datafilters to specify a subset of join types
A datafilter can now specify a subset of jointypes that it supports from
the default list of all, any or none. By default all options will be
available, but an individual filter can ovveride this to include just
those options that make sense for the filter. If only one option is
allowed, the select list will be hidden to simplify the UI.
2023-08-31 15:00:37 +01:00
Nathan Nguyen
ef8c11328b MDL-72321 core: Add binary datafilter
This adds a new datafilter type which provides a single binary choice
(for example yes/no).
2023-08-31 15:00:37 +01:00
Paul Holden
17dae8a036
MDL-78917 webservice: extra data in exception for missing classpath.
Include the external function classname & methodname properties in
the thrown exception, to aid diagnostic.
2023-08-31 14:15:17 +01:00
Jun Pataleta
37aaae3b13
Merge branch 'MDL-79107-master' of https://github.com/junpataleta/moodle 2023-08-31 21:09:56 +08:00
Jun Pataleta
5df9996f60
MDL-79107 qtype_essay: Move non_form_fields.feature under qtype_essay 2023-08-31 20:46:11 +08:00
Andrew Nicols
db23620cdb
MDL-79107 editor_tiny: Inform Behat of field type 2023-08-31 20:36:32 +08:00
Jun Pataleta
2e7b5475a7
Merge branch 'MDL-79017' of https://github.com/paulholden/moodle 2023-08-31 20:32:17 +08:00
Jun Pataleta
a90a00d867
Merge branch 'MDL-77657-master-get_extra_scss_code-wrong-order' of https://github.com/danowar2k/moodle 2023-08-31 17:51:17 +08:00
Sara Arjona
3c831861ec
Merge branch 'MDL-78530-master' of https://github.com/aanabit/moodle 2023-08-31 11:10:17 +02:00
Huong Nguyen
d190ac7889
Merge branch 'MDL-56020-master' of https://github.com/jleyva/moodle 2023-08-31 15:38:50 +07:00
Amaia Anabitarte
4c4e2224e1 MDL-78530 core_completion: Remove $CFG->completiondefault setting 2023-08-31 08:40:24 +02:00
Amaia Anabitarte
ded74e1e65 MDL-78530 core_completion: New default completion behat generator 2023-08-31 08:40:24 +02:00
Huong Nguyen
a784f6186b
Merge branch 'MDL-32278-master' of https://github.com/sammarshallou/moodle 2023-08-31 10:46:41 +07:00
Sara Arjona
2ec4ac7e4a
Merge branch 'MDL-78612-master' of https://github.com/andrewnicols/moodle 2023-08-30 17:55:32 +02:00
Andrew Nicols
c85cca3e33
MDL-78612 core: Wrap modal_factory.create in pendingPromise 2023-08-30 12:41:37 +08:00
meirzamoodle
a164fc5317 MDL-78745 editor_tiny: Stored text in non-entity form
TinyMCE has a default entity_encoding 'named',
which causes text with diacritic symbols to be converted to HTML entities,
e.g. pâté will be convert to pâté
That will be a problem with the Glossary auto-linking filter if a course has a text concept like pâté,
then the filter will likely fail to get the text concept.
Changing the TinyMCE entity_encoding to 'raw' will resolve the problem.
2023-08-30 08:56:26 +07:00
Jun Pataleta
59fff99a94
MDL-79198 core: Increment static variable properly 2023-08-29 16:44:16 +08:00
Jun Pataleta
cc7bc1a553
Merge branch 'MDL-79064-master' of https://github.com/andrewnicols/moodle 2023-08-29 13:32:45 +08:00
Huong Nguyen
11c4a69ea9
Merge branch '78241-master-tiny-recordrtc-fix-availability-conditions' of https://github.com/DSI-Universite-Rennes2/moodle 2023-08-29 13:32:45 +08:00
Huong Nguyen
c1e4bae8b6
Merge branch 'MDL-78961' of https://github.com/paulholden/moodle 2023-08-29 13:32:41 +08:00
Huong Nguyen
83522d40d8
Merge branch 'MDL-78509-master' of https://github.com/stevandoMoodle/moodle 2023-08-29 10:38:27 +07:00
Andrew Nicols
5349b8aecf
Merge branch 'MDL-79059-master-2' of https://github.com/junpataleta/moodle 2023-08-29 11:36:16 +08:00
Andrew Nicols
c9c1f1ce18
Merge branch 'MDL-79092-master' of https://github.com/rhell4/moodle 2023-08-29 11:22:03 +08:00
Andrew Nicols
3c459071e9
Merge branch 'MDL-79169-int-deprecate-m' of https://github.com/Peterburnett/moodle 2023-08-29 11:17:55 +08:00
Andrew Nicols
14582ea452
Merge branch 'MDL-78855-master' of https://github.com/ilyatregubov/moodle 2023-08-29 11:15:02 +08:00
Ilya Tregubov
5dc60d9f94
MDL-78855 tool_uploadcourse: Create instance only if plugin supports it 2023-08-29 11:14:04 +08:00
Andrew Nicols
fa05f66052
Merge branch 'MDL-74810-master' of https://github.com/junpataleta/moodle 2023-08-29 11:12:35 +08:00
Stevani Andolo
00db83d1bf MDL-78509 tool_mfa: Fixes based on the report and other issues
In this commit, there are couple of fixes based on the report:
1. Removed legacy polyfill from provider.php
2. Fixed phpunit warning detected by CodeChecker
3. Removed unused files
4. Fixed the PHPunit failures by removing "securityquestions"
   from the data_provider due to it has not been included as one of the factors
5. Added PHPunit test to the factors that can be unittested
6. Removed !important rule from tool_mfa/styles.css
7. Added (int) type to sleep method within sleep_timer method due to a php deprecation
in too_mfa/classes/manager.php
8. Changed last param form bool to string in not_enough_factors() when initiating
a new single_button object in tool_mfa/renderer.php
9. Add explanation text to login page
10. Fixed "Access to an undefined property .." from PHPStan
12. Fixed all the "Variable $.. might not be defined" from PHPStan
13. Fixed the issue from https://github.com/catalyst/moodle-tool_mfa/issues/379
2023-08-29 11:06:44 +08:00
Stevani Andolo
63d8cfcf87 MDL-78509 lib_webauthn: Moved webauthn to lib
It was suggested to move the WebAuthn library form
admin/tool/mfa/webauthn/.extlib to lib/webauthn
2023-08-29 11:06:44 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses 2023-08-29 10:57:54 +08:00
Andrew Nicols
fe80eecc44
MDL-79064 core: Improve Native promise support
As we migrate to primarily using natives promises, we should make it
easier to use and consume them.

This change:
- updates core/str to add new methods for:
  - getString
  - getStrings
- accept Native promises into Modal setters
2023-08-29 10:57:06 +08:00
David Woloszyn
aa179d77d8 MDL-77296 core: Record MoodleNet share progress 2023-08-29 11:26:23 +10:00
Paul Holden
b52132d09d
MDL-78961 admin: correct smtppass preset configuration name. 2023-08-28 22:32:56 +01:00
Sara Arjona
31e9a68197
Merge branch 'MDL-78707' of https://github.com/paulholden/moodle 2023-08-28 16:40:47 +02:00
Charles Fulton
1af1cd3b49 MDL-79090 task: add enable and disable cli commands 2023-08-28 10:33:25 -04:00
Sara Arjona
d02be922a0
Merge branch 'MDL-78656' of https://github.com/paulholden/moodle 2023-08-28 16:29:45 +02:00
Juan Leyva
41d82de0d1 MDL-56020 search: New WS core_search_get_top_results 2023-08-28 15:48:18 +02:00
Juan Leyva
f14c521905 MDL-56020 search: New WS core_search_get_search_areas_list 2023-08-28 15:48:18 +02:00
Juan Leyva
7d3477bfec MDL-56020 search: New WS core_search_view_results 2023-08-28 15:48:18 +02:00
Juan Leyva
f94e1ef3c9 MDL-56020 search: Adapt code to new style and add tests 2023-08-28 15:48:17 +02:00
David Monllao
49e589445d MDL-56020 search: Adding get_results external function 2023-08-28 15:47:01 +02:00
Brendan Heywood
20b8f8f9c9 MDL-73734 core: Use streaming output for perfdebug 2023-08-28 22:48:59 +10:00
Sara Arjona
f3777037d7
Merge branch 'MDL-79118' of https://github.com/paulholden/moodle 2023-08-28 14:37:36 +02:00
Brendan Heywood
b18c503241 MDL-73734 output: Add streaming output api
This adds a new output method which enables a page to fully render a complete
html page and then keep the connection open and stream additional content into
an element anywhere in the document. This enables pages which take some time to
render cleanly without layout bugs and reduces layout shift issues and was
inspired by Facebook BigPipe.
2023-08-28 22:08:08 +10:00
Sara Arjona
67f225429b
Merge branch 'MDL-78248' of https://github.com/paulholden/moodle 2023-08-28 13:52:50 +02:00