8751 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
083289d540 MDL-71209 behat: remove some useless "follow the course" steps
They are not really needed and, with the new course index (or
maybe with the new navigation, I've not checked), they don't work
any more. Hence, removing them.
2021-08-26 18:18:53 +02:00
Andrew Nicols
1c167ac64c Merge branch 'master-MDL-72187' of https://github.com/hdagheda/moodle 2021-08-26 12:28:54 +08:00
Andrew Nicols
6d43959160 Merge branch 'MDL-67228-master' of git://github.com/sarjona/moodle 2021-08-26 12:22:49 +08:00
Andrew Nicols
fceac02bae Merge branch 'MDL-72312' of https://github.com/stronk7/moodle 2021-08-26 11:25:52 +08:00
Sara Arjona
2a043cd65e Merge branch 'MDL-70624-master' of git://github.com/jleyva/moodle 2021-08-25 16:24:57 +02:00
Jun Pataleta
4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Eloy Lafuente (stronk7)
103027b723 Merge branch 'MDL-72163-master' of git://github.com/andrewnicols/moodle 2021-08-24 20:12:13 +02:00
Mathew May
c1130de5ff MDL-69588 accessibility: Address further review points 2021-08-24 11:56:02 +08:00
Heena Agheda
735a0fd5fd MDL-72187 logstore: record log store's visibility change 2021-08-24 09:53:57 +10:00
Eloy Lafuente (stronk7)
c25fe3a183 Merge branch 'MDL-71055-master' of git://github.com/andrewnicols/moodle 2021-08-23 23:22:15 +02:00
Eloy Lafuente (stronk7)
3417b7123d MDL-72312 environment: Add new optional custom check for igbinary
This optional environmental check will look if:

- the site is running php72.
- the site has igbinary extension enabled.
- the igbinary extension version is a buggy one >=3.2.2 <= 3.2.4
- the bug is reproducible.

And will warn if all the conditions are met.
2021-08-23 15:11:58 +02:00
abgreeve
56c34d71ef MDL-69588 theme_boost: Use partial templates in boost.
This moves away from using escaped html injected into the template
and uses partial templates instead.
2021-08-23 17:47:24 +08:00
Bas Brands
eed2498215 MDL-72032 core: Fix aria roles moremenu
- Part of: MDL-69588
2021-08-23 17:47:24 +08:00
Bas Brands
17e9d4a51a MDL-70202 theme_boost: push secondary navigation in admin search page
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Adrian Greeve
7d435fb5f2 MDL-70196 navigation: Update to feature files.
- Part of: MDL-69588
A lot of tests rely on the last element of the breadcrumb being
active. This updates feature files to not rely on this anymore.
2021-08-23 17:46:38 +08:00
Sara Arjona
4a4e452fa9 MDL-67228 tool: Set tool_replace maturity
The tool_replace has been in core for ages and, at this point, it
seems safe to set maturity from ALPHA to STABLE.
2021-08-23 07:49:20 +02:00
Andrew Nicols
891d1bfad3 MDL-71055 behat: Update core settings to use generator
These changes have only been applied to settings which were already
using settings names and values, but which were still using the UI.
2021-08-23 12:23:03 +08:00
Eloy Lafuente (stronk7)
19b1f2f3d4 Merge branch 'MDL-71973' of https://github.com/mohalisad/moodle 2021-08-20 19:07:25 +02:00
Víctor Déniz
cff46fe6c1 Merge branch 'MDL-71487' of https://github.com/paulholden/moodle 2021-08-19 09:10:16 +02:00
Ilya Tregubov
c0fc0747a8 Merge branch 'master_MDL-71516-qbank' of https://github.com/catalyst/moodle-MDL-70329 2021-08-19 09:10:16 +02:00
safatshahin
dfed4fd040 MDL-71516 core_question: Qbank api implementation
This commit implements the qbank api so that any plugin
can implement its own question bank. This api currently
works parallely with the moodle core classes and the
added qbank in the core, means the moment a plugin
is installed, that object is replaced with the object
from the plugin instead of core, which means the api
has flexibility till the plugins are integrated and the
plugins can be integrated in any order.

All the old classes are still there and not deprecated
as there is a different tracker for the changes to the
quiz and another tracker for class deprecation and
class renaming. Core question units tests are pointing
to the new api structure but the classes are pointing
to the location related to the plugin availability.

Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>

one more array fix
2021-08-17 18:57:31 +10:00
safatshahin
351176bb71 MDL-71516 core_question: Create new plugin type - qbank
This commit implements the qbank plugin type which
includes the boilerplate for the qbank plugin, the
qbank plugin management admin page and required core
code addition.
2021-08-16 09:59:11 +10:00
Andrew Nicols
f06ef721f7 Merge branch 'MDL-72325-master-tourspolicy' of git://github.com/mudrd8mz/moodle 2021-08-13 09:58:12 +08:00
David Mudrák
124b82831b MDL-72325 user: Do not show user tours without site policy agreed
Fetching user tours used to fail on external_api::validate_context() and
require_login() calls if the user did not have the site policy agreed.

The patch introduces a check to see if the user is fully set up and
ready to use the site before attempting to load the tours.
2021-08-12 13:05:38 +02:00
Andrew Nicols
7b7b42b643 Merge branch 'MDL-71844' of https://github.com/paulholden/moodle 2021-08-12 10:24:50 +08:00
Eloy Lafuente (stronk7)
401a79a79e Merge branch 'MDL-71515-master_improve_test_email' of https://github.com/guillogo/moodle 2021-08-11 23:41:34 +02:00
Víctor Déniz
21909b59fb Merge branch 'MDL-69918-master' of git://github.com/andrewnicols/moodle 2021-08-10 19:15:22 +01:00
Andrew Nicols
530322e2ce MDL-69918 core: Update uses of legacy form change checker 2021-08-10 23:54:01 +08:00
Ilya Tregubov
85c2f2fc82 Merge branch 'MDL-72033-master' of git://github.com/NashTechOpenUniversity/moodle 2021-08-10 15:59:37 +02:00
Paul Holden
75e72a2b24 MDL-71844 tool_task: preserve navigation when executing task. 2021-08-09 10:44:45 +01:00
Paul Holden
fdbbef6372 MDL-71487 admin: ensure filesize settings don't overflow integer. 2021-08-09 10:36:10 +01:00
Víctor Déniz
4bd6f3938e Merge branch 'MDL-71152-master' of git://github.com/roland04/moodle 2021-08-04 20:37:33 +01:00
abgreeve
d531f97f2c Merge branch 'MDL-67833' of https://github.com/paulholden/moodle 2021-08-03 10:27:39 +08:00
Jake Dallimore
a260a3154b Merge branch 'MDL-71323' of git://github.com/paulholden/moodle 2021-08-02 16:22:30 +08:00
David Matamoros
53ed7abf4c MDL-71153 task: convert task logs table to a system report.
Convert to system report API provided by Report builder. The entity
defined the column and filters, which are used by the system
report class we have created.

Report actions are also defined in the system report.
2021-08-02 15:46:17 +08:00
Guillermo Gomez
330d323933 MDL-71515 admin: Improve Test outgoing mail config
Improve the Test outgoing mail configuration admin page adding:
- Timestamp to the subject and message text.
- Additional subject text to the current text subject.
- From field (username or email) to send the test email from the that Moodle user.
2021-07-28 09:19:54 +10:00
Juan Leyva
e320264a84 MDL-70624 tool_mobile: Return QR login configurration 2021-07-27 18:16:23 +02:00
Andrew Nicols
776f4bd80c MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
Andrew Nicols
f14dbe0087 MDL-72179 behat: Add page resolvers for activity roles/perms 2021-07-23 20:44:26 +08:00
Andrew Nicols
950c7adb1c MDL-72179 behat: Add page resolver for activity names 2021-07-23 20:43:48 +08:00
Andrew Nicols
9f428f68c7 MDL-72179 behat: Add activity editing page resolution 2021-07-23 20:43:48 +08:00
Andrew Nicols
f1b41a1a7a MDL-72179 behat: Fix page resolvers to remove ambiguity
The simple pattern matches were conflicting in some situations. To make
this backwards compatable we need to convert it to a Regex pattern match
instead, and provide the quoted and unquoted variants.
2021-07-23 20:43:48 +08:00
Andrew Nicols
ba8e0a4871 MDL-72179 behat: Correct course category page resolving
There were two issues here:
* I am on the [categoryname] category page page (duplicated page)
* the wrong URL was being used

Since an incorrect URL was used I felt it safe to rename the step from
'category page page' to 'category page'.
2021-07-23 20:43:48 +08:00
Andrew Nicols
730d6cb94e MDL-72179 behat: Improve core page resolvers
This commit makes the following improvements to core page resolverss:
* allows for mixed case naming (course, Course, etc.)
* allows fields other than the idnumber to be specified:
** course: idnumber, shortname, fullname
** course category: idnumber, name

Whilst some of these fields are not unique, they will typically be
unique in most test scenarios. Where they are not then the idnumber
should be used in preference.
2021-07-23 20:28:10 +08:00
Mikel Martín
f874652ad2 MDL-71152 theme_boost: Use 'scroll-margin-top' for anchor links
Current anchor link offset fix is not working with 'display:flex' elements
2021-07-16 11:56:31 +02:00
Andrew Nicols
d55aeee10c MDL-72163 admin: Create interface for settings with a url 2021-07-16 15:20:30 +08:00
Thach Le Huy
dc3aa743e4 MDL-72033 User tours: step placement issues if screen too narrow 2021-07-16 10:55:39 +07:00
Jun Pataleta
e6f1baa9c8 Merge branch 'MDL-71456-master' of /home/jun/moodles/stable_master/moodle 2021-07-15 16:13:06 +08:00
Bas Brands
1f3006b3b4 MDL-71456 theme_boost: usertour fixes for pages with drawers 2021-07-14 11:49:57 +02:00
Andrew Nicols
a953a29616 MDL-71931 tool_usertours: Emit real events on step/tour transitions 2021-07-13 16:29:51 +08:00