27901 Commits

Author SHA1 Message Date
Jake Dallimore
cc52b8fad0 Merge branch 'MDL-65284-master' of git://github.com/aanabit/moodle 2020-12-17 11:06:16 +08:00
Jun Pataleta
037417af1d Merge branch 'MDL-69735' of https://github.com/timhunt/moodle 2020-12-16 23:01:28 +08:00
Amaia Anabitarte
46927df906 MDL-65284 analytics: Final deprecation get_analysables() 2020-12-16 12:47:52 +01:00
Sara Arjona
2aa55eb4a5 Merge branch 'MDL-70322-master' of git://github.com/roland04/moodle 2020-12-16 12:04:03 +01:00
Jun Pataleta
d4b9511bbe Merge branch 'MDL-54907' of https://github.com/timhunt/moodle 2020-12-16 10:34:58 +08:00
Sara Arjona
50cfe2c0a2 Merge branch 'MDL-70357-master-cronlibthrowables' of git://github.com/mudrd8mz/moodle 2020-12-15 14:55:46 +01:00
Jake Dallimore
d520e005f8 Merge branch 'MDL-67623-40_blocks_myoverview_pagination_regression' of https://github.com/tomdickman/moodle 2020-12-15 18:21:13 +08:00
Sara Arjona
a7d39bc3bd Merge branch 'MDL-70397-master' of git://github.com/andrewnicols/moodle 2020-12-14 17:11:46 +01:00
Tom Dickman
c00fc9707f MDL-67623 block overview: fix pagination regression
Fixed a regression caused by MDL-64194 resulting in Dashboard - Course
overview pagination not working from second page of courses onwards.

Course overview block should now do the following:
- Display no pagination controls when user has no courses
- Display no pagination controls when less than 12 courses to display
- Only display pagination controls up to the number of courses user is
enrolled in
- Work correctly when on a page greater than the second page.
2020-12-14 13:15:26 +11:00
Tim Hunt
5a96b5427f MDL-69735 core renderer notifications: make closebutton option usable 2020-12-11 19:54:39 +00:00
Mikel Martín
c31561e4a2 MDL-70322 core_search: consistent search icon 2020-12-11 15:42:47 +01:00
Andrew Nicols
9d8a0d3574 Merge branch 'MDL-70295' of git://github.com/paulholden/moodle 2020-12-09 12:09:37 +08:00
Andrew Nicols
cd3809653c Merge branch 'MDL-70320' of https://github.com/timhunt/moodle 2020-12-09 11:56:05 +08:00
Andrew Nicols
eec9da5b68 Merge branch 'MDL-70293' of git://github.com/paulholden/moodle 2020-12-09 11:28:41 +08:00
Jake Dallimore
e26cfc19c7 Merge branch 'MDL-69145-master-3' of git://github.com/junpataleta/moodle 2020-12-09 11:00:22 +08:00
Jun Pataleta
a489f20f17 MDL-69145 core: Set the default filterset join type to ALL
* Plus minor PHPDoc type fix for the JOINTYPE_DEFAULT constants
2020-12-09 10:51:06 +08:00
Jake Dallimore
7430e7c074 Merge branch 'MDL-70285' of https://github.com/timhunt/moodle 2020-12-08 16:31:54 +08:00
Jake Dallimore
972e098275 Merge branch 'MDL-64982-master' of git://github.com/rezaies/moodle 2020-12-07 12:03:20 +08:00
Jake Dallimore
de5780279b Merge branch 'MDL-65818-master' of https://github.com/sammarshallou/moodle 2020-12-07 11:26:32 +08:00
Adrian Greeve
b4e6552776 Merge branch 'MDL-69301-master' of git://github.com/rezaies/moodle 2020-12-07 10:05:55 +08:00
sam marshall
ddbafce0e0 MDL-65818 Security: Encryption API and admin setting for secure data 2020-12-04 14:41:21 +00:00
Shamim Rezaie
77baa12643 MDL-64982 behat: Remove deprecated behat timeout constants
Behat timeout constants behat_base::TIMEOUT, EXTENDED_TIMEOUT, and
REDUCED_TIMEOUT, which were deprecated in 3.7, have been removed.
2020-12-04 17:07:06 +11:00
Andrew Nicols
aba763fdc0 MDL-70397 behat: Prevent browser restarting after initial start 2020-12-04 12:05:39 +08:00
Jake Dallimore
0dcc55e25a Merge branch 'MDL-70326' of https://github.com/durzo/moodle 2020-12-03 11:53:53 +08:00
Jake Dallimore
f403766f1e Merge branch 'MDL-67460-master_profile_secure' of https://github.com/beenet-dev/moodle 2020-12-03 11:15:30 +08:00
Jake Dallimore
cad122fee7 Merge branch 'MDL-65319-master' of git://github.com/peterRd/moodle 2020-12-03 10:28:29 +08:00
Adrian Greeve
ef4a0fc128 Merge branch 'MDL-70167-master' of git://github.com/andrewnicols/moodle 2020-12-03 10:09:47 +08:00
Shamim Rezaie
c8ea0c12d7 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-02 22:57:42 +11:00
Mihail Geshoski
16b72504b3 MDL-57614 core: Fetch blocks through a webservice in add block modal 2020-12-02 13:43:15 +08:00
Mihail Geshoski
d16faf211d MDL-57614 core_block: Create webservice that returns the addable blocks
Creates a webservice that returns the addable blocks in a given page.
The webservice expects the page context id, page type and page layout as
parameters and returns the block name and block title for each available
block.
2020-12-02 13:40:41 +08:00
David Mudrák
e6f4190203 MDL-70357 cron: Catch Throwables not just Exceptions when running tasks
Starting from PHP 7, most language errors throw Error exceptions. We
want to deal with those equally as with any other exception so we need
to catch all Throwables here.
2020-11-30 17:25:19 +01:00
Tim Hunt
dc72bc6ac5 MDL-54907 dml: Correct incorrect PHPdoc 2020-11-27 14:57:36 +00:00
Andrew Nicols
0671a2e92d Merge branch 'MDL-65215-master' of git://github.com/peterRd/moodle 2020-11-26 12:46:11 +01:00
Paul Holden
1e3449ca28 MDL-70295 libraries: upgrade to version 4.3.1 of Html2Text. 2020-11-25 21:35:14 +00:00
Tim Hunt
374d3e7700 MDL-70320 permission overrides: role names were double-escaped 2020-11-25 21:19:57 +00:00
Paul Holden
e1153faace MDL-70293 libraries: upgrade to version 1.5.6 of SimplePie. 2020-11-25 20:44:03 +00:00
Jordan Tomkinson
d0e185ae79 MDL-70326 antivirus: fixing regression in MDL-66222 2020-11-25 11:31:36 +01:00
Eloy Lafuente (stronk7)
93f49909d5 Merge branch 'MDL-69121-redis-session-store-compression' of git://github.com/jamie-catalyst/moodle into master 2020-11-24 22:58:48 +01:00
Simon Mok
10768bbd9e MDL-67460 profile: User profile link to use HTTPS 2020-11-24 20:37:26 +08:00
Peter Dias
3f934e4abd MDL-65215 core: Deprecate i_dock_block 2020-11-24 10:02:00 +08:00
Peter Dias
86269654f9 MDL-65319 core: Final deprecation get_courses_page 2020-11-24 09:59:47 +08:00
Tim Hunt
a6edd14d27 MDL-70285 completion upgrade: fix performance of the MDL-69687 code 2020-11-23 20:46:48 +00:00
Adrian Greeve
41b9a81caa Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle 2020-11-23 15:40:04 +08:00
Jake Dallimore
766f68cbd2 Merge branch 'MDL-70160-function-cache-m' of https://github.com/Peterburnett/moodle 2020-11-23 15:21:31 +08:00
Andrew Nicols
9d6413d16d MDL-70167 behat: Rewrite attribute check steps
This commit updates the following steps to use the
`the_attribute_of_should_be_set` step under the hood:
- the [element] [type] should be disabled
- the [element] [type] should be enabled
- the [element] [type] should be readonly
- the [element] [type] should not be readonly

This reduces unnecssary code duplication.
2020-11-23 11:02:36 +08:00
Andrew Nicols
7d70165c25 MDL-70167 behat: Boolean attributes should either exist or not 2020-11-23 11:02:36 +08:00
Andrew Nicols
fd71823ec7 MDL-67668 behat: Add inplace editable field type
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
2020-11-23 09:01:19 +08:00
Andrew Nicols
548da2ce97 MDL-67668 behat: Share behat_behat functionality with forms
Behat form fields are implemented in a way completely isolated from the
rest of the Behat Context system. Whereas regular step definitions have
access to execute steps, to call `find`, check for JS running, and other
related functionality, the Moodle implementation of a field type does
not have any access to this.

By moving the core functionality of behat_base to a new trait, and the
constants to a new interface, the functionality can also be used in
behat form fields in the same way as elsewhere.
2020-11-23 09:01:19 +08:00
Andrew Nicols
59daa3b548 MDL-67668 behat: Correct js pending check
Pending checks should only run when JS is running, but some uses were
not apply this check.
2020-11-23 09:01:19 +08:00
Andrew Nicols
1144969755 MDL-67668 behat: Support NodeElement when fetching node in container
This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
2020-11-23 09:01:19 +08:00