8732 Commits

Author SHA1 Message Date
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
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
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
Andrew Nicols
61e03fe208 MDL-71931 tool_usertours: Update to ES format 2021-07-13 16:11:12 +08:00
Paul Holden
f2f4d0a9bb MDL-67833 tool_customlang: break long text in component column. 2021-07-09 11:36:56 +01:00
Adrian Greeve
18515919e1 MDL-61460 tool_componentlibrary: Additional whitespace removal. 2021-07-08 23:30:35 +02:00
Jun Pataleta
f21ac401e2 Merge branch 'MDL-70594' of https://github.com/stronk7/moodle 2021-07-08 23:30:35 +02:00
Adrian Greeve
65642ef97a Merge branch 'MDL-61460-master-fix' of https://github.com/andrewnicols/moodle 2021-07-08 23:30:34 +02:00
Adrian Greeve
f03a714607 MDL-61460 tool_componentlibrary: removed white space.
Also updated the version number as that was causing a problem.
2021-07-08 23:30:34 +02:00
Andrew Nicols
f1525fbdbf MDL-61460 tool_componentlibrary: JS Documentation fix 2021-07-08 23:30:34 +02:00
Adrian Greeve
a5336912d9 Merge branch 'MDL-61460-master-4' of git://github.com/bmbrands/moodle 2021-07-08 23:30:34 +02:00
Bas Brands
fda886c195 MDL-61460 tool_componentlibrary: Bootstrap docs pages v4.6.0 2021-07-08 09:51:02 +08:00
Bas Brands
3de68ad434 MDL-61460 tool_componentlibrary: Documentation for Moodle UI components
- This tool is only available for admins
- Before using this tool the hosting admin will need to have NPM installed and be able to run grunt
- To create the docs pages for the library run "grunt componentlibrary"
- After the pages are created the Library is available in Site adminstration > Development > UI Component Library
2021-07-08 09:51:02 +08:00
Eloy Lafuente (stronk7)
33666c1b5f Merge branch 'MDL-71537-master' of https://github.com/NashTechOpenUniversity/moodle 2021-07-06 20:16:21 +02:00
Paul Holden
052ba69f79 MDL-71323 admin: consistently indicate disabled state of plugins.
In order to be consistent with the majority of plugin management
pages, add the `dimmed_text` class to table rows to indicate that
a given plugin is disabled.
2021-07-06 10:14:13 +01:00
Thach Le Huy
1cf69802f0 MDL-71537 User tours: Minor display errors on mobile 2021-07-06 09:29:33 +07:00
Paul Holden
526f5eccb9 MDL-71981 user: escape identity fields if writer supports HTML. 2021-07-06 09:27:15 +08:00
Eloy Lafuente (stronk7)
f9ee024477 MDL-70594 environment: Apply agreed changes
- PostgreSQL 10 required.
- Exif PHP extension recommended.
2021-07-01 22:40:01 +02:00
Eloy Lafuente (stronk7)
37e80dccd9 MDL-70594 environment: 4.0 base information
This is a direct copy of the 3.11 branch to have
the changes under control in next commits.
2021-07-01 22:36:05 +02:00
Andrew Nicols
b10ac1ae04 Merge branch 'MDL-69498-group-admin-by-domain' of https://github.com/brendanheywood/moodle 2021-06-24 11:13:10 +08:00
Brendan Heywood
5d5f165e26 MDL-69498 admin: Group site admins by email domain 2021-06-23 15:22:37 +10:00
mohalisad
cf05819840
MDL-71973 analytics cli: fix enabling model bug
Fix the exception at line 143 caused by wrong argument for constructor in line 140
2021-06-21 17:21:57 +04:30