3638 Commits

Author SHA1 Message Date
Amaia Anabitarte
d9967a5763 MDL-73601 lib: Normalize readme_moodle.txt file name 2022-02-01 18:10:36 +01:00
Jun Pataleta
e1f34b394d MDL-73188 tool_usertours: Fix validation of text content 2022-01-28 20:53:07 +08:00
Jun Pataleta
8aa45ea90d MDL-73470 tool_componentlibrary: Fix illegal whitespace 2022-01-28 11:47:13 +08:00
Jun Pataleta
fd452f2fa2 Merge branch 'MDL-73470' of https://github.com/roland04/moodle 2022-01-28 11:02:01 +08:00
Víctor Déniz
9fac49a630 Merge branch 'MDL-73210-master-2' of https://github.com/HuongNV13/moodle 2022-01-28 01:09:36 +00:00
Ilya Tregubov
57fe1a3099 Merge branch 'MDL-67853-master' of https://github.com/crazyserver/moodle 2022-01-27 16:41:19 +02:00
Pau Ferrer Ocaña
b4c75986ad MDL-67853 message: Adapt tests removing online/offline settings 2022-01-27 15:22:15 +01:00
Pau Ferrer Ocaña
d74bd798b6 MDL-67853 message: Remove on/offline settings on message preferences 2022-01-27 15:22:15 +01:00
Eloy Lafuente (stronk7)
049c7f0822 MDL-73188 usertours: Fix language string key typo 2022-01-26 10:29:49 +01:00
Eloy Lafuente (stronk7)
19dbb28366 Merge branch 'MDL-73314-master' of https://github.com/andrewnicols/moodle 2022-01-26 09:36:30 +01:00
Mikel Martín
b43c28567a MDL-73470 tool_componentlibrary: Documentation for toggle input 2022-01-25 18:04:58 +01:00
Shamim Rezaie
682340d858 MDL-73635 tool_componentlibrary: Removed extra whitespaces 2022-01-25 11:36:17 +11:00
Shamim Rezaie
ca53fa6919 Merge branch 'MDL-73635-master' of https://github.com/junpataleta/moodle 2022-01-25 11:03:06 +11:00
Eloy Lafuente (stronk7)
d8e1ec2c81 Merge branch 'MDL-73188-master-3' of https://github.com/HuongNV13/moodle 2022-01-25 00:06:30 +01:00
Jake Dallimore
041b1beb46 Merge branch 'MDL-73347-master' of https://github.com/sarjona/moodle 2022-01-24 13:40:57 +08:00
Andrew Nicols
5eebaa3cc1 Merge branch 'MDL-73625-master' of https://github.com/jleyva/moodle 2022-01-24 11:09:08 +08:00
Andrew Nicols
ea30c5e14b MDL-73314 core: Add CL documentation for core/toast 2022-01-24 10:03:10 +08:00
Andrew Nicols
7dd0a6983d MDL-73314 tool_componentlibrary: Add shortcode for jsdoc 2022-01-24 09:53:31 +08:00
Jun Pataleta
35338975c3 MDL-73635 tool_componentlibrary: Move dynamic tabs sample page
* Move the example page for the dynamic tabs component into the examples
folder.
2022-01-24 09:24:08 +08:00
Jun Pataleta
7a6ff551a0 MDL-73635 tool_componentlibrary: Document how to add example files 2022-01-24 09:24:08 +08:00
Jun Pataleta
080e12e9ac MDL-73635 tool_componentlibrary: Move example codes to examples folders 2022-01-24 09:21:55 +08:00
Eloy Lafuente (stronk7)
100bc51f1d MDL-73485 phpunit: externallib, generator and filter tescase names
All externallib_test, generator_test and filter_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to tests under testing/tests:

1) The core_testing component doesn't exist.
2) But testing/tests are allowed because there is a suite pointing to it (phpunit.xml).
3) So, the only possible namespace for them is "core".
4) And to avoid problems with other core testcases (under lib/tests)
   they have been renamed to have testing_xxxx as prefix.

Finally, also modified calendar/tests/events/events_test.php because it uses
some renamed (core_calendar_externallib_testcase => \core_calendar\externallib_test)
classes.
2022-01-21 19:48:23 +01:00
Huong Nguyen
46b5fa0279 MDL-73210 usertours: Exported file does not contain the uploaded image
The export file now contains the attached files in the ATTO editor
We can export and import the tour to another system without losing them
 - Export process now convert the files to base64 and embed them into the export file.
 - Import process now convert the base64 from the export file to Moodle store_file.
2022-01-21 17:11:25 +07:00
Huong Nguyen
2137ce6539 MDL-73188 usertours: Make language string ID work again
- New dropdown was created, user can choose to enter the content manually
  or using Moodle Language string
- New text field was created to allow user to input the Lang string format
- New validation was created to validate the language identifier
- New Behat tests were created to validate the new feature
2022-01-21 17:07:39 +07:00
Juan Leyva
d7d0987553 MDL-73625 tool_mobile: Adapt mobile settings for 4.0 2022-01-20 12:36:13 +01:00
David Matamoros
5e42a09a92 MDL-73436 tool_componentlibrary: Document dynamic tabs component 2022-01-20 11:01:54 +01:00
Andrew Nicols
6670c04c23 Merge branch 'MDL-73476' of https://github.com/stronk7/moodle 2022-01-18 09:31:44 +08:00
Eloy Lafuente (stronk7)
210ffb2367 Merge branch 'MDL-73178' of https://github.com/paulholden/moodle 2022-01-17 18:34:47 +01:00
Ilya Tregubov
67adef891f Merge branch 'MDL-73358-master' of https://github.com/junpataleta/moodle 2022-01-17 16:11:32 +02:00
Sara Arjona
ca1d3b7f8c MDL-73334 componentlibrary: Remove ilegal whitespaces 2022-01-17 12:01:00 +01:00
Sara Arjona
fac897936f Merge branch 'MDL-73334-master' of https://github.com/lameze/moodle 2022-01-17 11:47:09 +01:00
Simey Lameze
cc7de3e86c MDL-73334 core: add CL documentation for core/confirm 2022-01-17 18:10:41 +08:00
Sara Arjona
bc771bdfd6 Merge branch 'MDL-72412-master' of https://github.com/junpataleta/moodle 2022-01-17 08:28:47 +01:00
Eloy Lafuente (stronk7)
0c53a3dec8 MDL-73476 phpunit: events, external and search tescase names
All events_test, external_test and search_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to lib/external/tests/external_test.php:
- external is not a valid component
- hence, its only valid namespace is "core"
- also, it's testing lib/external/externallib.php
- hence, the file (and class) have been renamed to external_externallib_test.php
  (to avoid conflicts with other external_test that may exist in core)
2022-01-14 16:18:39 +01:00
Paul Holden
20b8a47596 MDL-73178 roles: show both role names in permission table. 2022-01-14 12:18:34 +00:00
Sara Arjona
53fe23d8b5 MDL-73347 behat: Add blocks hidden by default for boost
For the boost them, a few themes have been hidden by default.
The unaddable setting should be set to let admins add them again,
because some behat tests need them.
2022-01-14 13:08:48 +01:00
Jun Pataleta
a926979c0c MDL-73358 report: Add page content heading for report pages 2022-01-14 16:14:07 +08:00
Jun Pataleta
0b2032cb1e MDL-72412 core: Add the image role to informative icon fonts 2022-01-14 10:31:47 +08:00
Andrew Nicols
626c8b43bf Merge branch 'MDL-65801' of https://github.com/paulholden/moodle 2022-01-14 09:30:11 +08:00
Eloy Lafuente (stronk7)
10e4cec874 Merge branch 'MDL-73004-master_access_unit_tests' of https://github.com/brickfield/moodle 2022-01-13 19:23:13 +01:00
Mike Churchward
23cb59bd85 MDL-73004 tool_brickfield: Fix unit tests for question areas.
Search array of areas for expected question components, rather than assume an array position.
2022-01-13 11:56:41 -05:00
Paul Holden
6ed8458eda MDL-65801 lang: final removal of deprecated 37/38 strings.
The following lang strings have been undepecated, as they are still
in use:

* errorcoursewronglypublished, core_hub
* eventrolecapabilitiesupdated, core_role
2022-01-13 09:50:50 +00:00
Eloy Lafuente (stronk7)
7be7bb5164 Merge branch 'MDL-73546-master' of https://github.com/sarjona/moodle 2022-01-12 18:27:39 +01:00
Shamim Rezaie
9142285ad6 Merge branch 'MDL-69555-master' of git://github.com/jleyva/moodle 2022-01-12 14:41:48 +11:00
Andrew Nicols
f90d35580c Merge branch 'MDL-73474-master' of https://github.com/aanabit/moodle 2022-01-12 11:06:40 +08:00
Sara Arjona
65d56fa87b MDL-73546 tool_admin_presets: Fix link error in logs 2022-01-11 17:14:37 +01:00
Juan Leyva
34ceeb4883 MDL-69555 tool_mobile: Allow set auto-login min request time 2022-01-11 14:07:30 +01:00
Juan Leyva
80a9eef971 MDL-69555 tool_mobile: Allow to set QR login keys duration time 2022-01-11 14:07:30 +01:00
Amaia Anabitarte
bb056ca1f1 MDL-73474 tool_admin_presets: Remove unused strings 2022-01-11 11:38:46 +01:00
Huong Nguyen
1ac6a82e1f MDL-72809 Themes: Fix the missing 'Reset user tour on this page' link 2022-01-07 17:03:32 +07:00