3683 Commits

Author SHA1 Message Date
Andrew Nicols
aa7f7957ea MDL-73915 js: Upgrade babel and eslint 2022-02-23 08:53:54 +08:00
Eloy Lafuente (stronk7)
0753d96232 Merge branch 'MDL-73910-master' of https://github.com/sarjona/moodle 2022-02-22 00:06:53 +01:00
Sara Arjona
995b457dbf MDL-73910 repository: Override get_enabled_plugin() method
The get_enabled_plugin method in repository plugininfo needs to
be overriden from base because current implementation is ignoring
the visible column in the "repository" table.
2022-02-21 09:24:51 +01:00
Víctor Déniz
efdd77a157 MDL-73812 lang: Replace modified strings in tests 2022-02-18 16:14:02 +00:00
Helen Foster
7ff6b2daef MDL-73812 lang: Import fixed English strings (en_fix) 2022-02-18 15:50:26 +00:00
Jun Pataleta
5f19e1e685 Merge branch 'MDL-73608-master' of https://github.com/lameze/moodle 2022-02-18 12:06:13 +08:00
Andrew Nicols
f66210dece Merge branch 'MDL-72734' of https://github.com/paulholden/moodle 2022-02-18 10:55:48 +08:00
Ilya Tregubov
e1899a86c3 MDL-73875 behat: Increase allowed size for privacy exports
Because of more moodle.css contents, the total size of the privacy
exports has grown over the allowed size. Just raise it a little bit
more.
2022-02-17 15:43:31 +02:00
Ilya Tregubov
dfa0681c53 Merge branch 'MDL-69764-master' of https://github.com/jpahullo/moodle 2022-02-17 15:02:01 +02:00
Jordi Pujol Ahulló
21f73b29c1 MDL-69764 tool_task: unify crontab verification
Use scheduled_task crontab field verification in
admin/tool/task to unify how Moodle deals with
crontab definition and its verification.
This helps remove duplicated code and fix
crontab definition not allowed in the web form,
but actually was valid.

Updated crontab fields precision on task_scheduled
table to have enough room for the worst case:
all possible different values separated by comma.
2022-02-17 13:24:31 +01:00
Juan Leyva
f0816126bf MDL-73608 tool_mobile: Return support page for not logged-in users 2022-02-17 19:48:30 +08:00
Jun Pataleta
a7af5f3ae9 Merge branch 'MDL-73592-master' of git://github.com/rezaies/moodle 2022-02-17 16:06:38 +08:00
Shamim Rezaie
b36a1f9ee0 MDL-73592 tool_moodlenet: Use adhoc task to set activitychooser footer 2022-02-17 18:18:30 +11:00
Jun Pataleta
ed3d0904ff Merge branch 'MDL-73248-master' of https://github.com/sarjona/moodle 2022-02-16 21:09:52 +08:00
Shamim Rezaie
2361e4c9c5 MDL-73592 tool_moodlenet: Enable moodlenet by default 2022-02-16 16:09:28 +11:00
Paul Holden
a6b13214a9 MDL-72734 tool_task: consistent checks for running tasks from web. 2022-02-14 09:22:01 +00:00
Sara Arjona
256232ad46 MDL-73248 adminpresets: Improvements to the Starter preset
This is the list of changes applied to the Starter preset, following
the community suggestions and the latest features included in 4.0:

- Hide Online users, Recently accessed courses and Starred courses.
- Re-enable Description and Essay question types.
- Disable guest enrolment and hide guest login button.
- Reduce the information displayed in the activity chooser.

Apart from that, the User menu items has been removed because it had
the same value in both presets (so it makes no sense having there).
2022-02-11 16:41:06 +01:00
Jun Pataleta
9af545659c Merge branch 'MDL-72928-rebase' of https://github.com/Chocolate-lightning/moodle 2022-02-11 22:28:11 +11:00
Mathew May
ecb92c7ed9 MDL-72928 login: Update styling and functionality 2022-02-11 12:01:26 +08:00
Jun Pataleta
31a6f70ea1 Merge branch 'MDL-73784-master' of https://github.com/HuongNV13/moodle 2022-02-10 22:56:24 +08:00
Eloy Lafuente (stronk7)
a0f8a78f16 MDL-73764 behat: Verify the report works and all files in core are ok 2022-02-08 19:25:03 +01:00
Eloy Lafuente (stronk7)
3bb4a4009c MDL-73764 tool_xmldb: Regenerate all the files detected by the report
Note that, instead of going one by one to them from the XMLDB Editor
(load, makes some tiny change, save, revert the change, save), the
report includes a commented line that, once uncommented, does regenerate
the file while reporting.

I've left it there as a commodity for the developer.
2022-02-08 19:25:03 +01:00
Eloy Lafuente (stronk7)
ebd0f69daa MDL-73764 tool_xmldb: New report to show all xml files needing reconcile
People uses to edit the install.xml files manually, here and there. That
uses to come with small mistakes, like wrong white-space indentation,
some attributes out of order...

While none of them are critical, they add a lot of noise when somebody
is correctly editing a file with the XMLDB Editor because it, correctly,
overwrites the whole file and then diffs show a lot of unrelated changes.

So, this report will inform us about any file needing to be regenerated
because it has been manually edited (in a different way than the way
the editor has).

Note that the report is very basic, with minimal ouput, manually
generating the HTML, like the rest of the XMLDB Editor actions do. We
are not using renderers neither templates here.

Also note that it includes a commented line of code that, once
uncommented, enables the report to, also, fix the wrong files. Useful
for developers.
2022-02-08 19:25:02 +01:00
Eloy Lafuente (stronk7)
c5e2a4ded0 Merge branch 'MDL-73601-master' of https://github.com/aanabit/moodle 2022-02-07 12:01:19 +01:00
Shamim Rezaie
7a1488120e Merge branch 'MDL-73644-master' of https://github.com/lameze/moodle 2022-02-07 16:41:26 +11:00
Simey Lameze
5396814489 MDL-73644 core: link confirm module CL to related JSDoc 2022-02-07 13:26:47 +08:00
Huong Nguyen
02f622c247 MDL-73784 usertours: Update tour steps to use Moodle langstring 2022-02-07 10:57:16 +07:00
Huong Nguyen
4c097bc6c0 MDL-73784 usertours: Support multiple PIXICON placeholder 2022-02-07 10:49:52 +07:00
Huong Nguyen
681df03204 MDL-73784 usertours: Make End tour button's label translatable
We can use the Moodle language format for End tour button's label now
2022-02-07 10:49:51 +07:00
Huong Nguyen
d9d068699c MDL-73784 usertours: Deprecation of the step::get_string_from_input
Modified code to just simply call helper::get_string_from_input() rather than duplicating the code
2022-02-07 09:45:31 +07:00
Huong Nguyen
21caea1f9a MDL-73784 usertours: Improve the tours maching
- Introduce some new constants like MY, MYCOURSES, FRONTPAGE_MY...
 - The Tour now can detect the URL match is pointing to Dashboard (/my/) or My Course (/my/courses.php) correctly
2022-02-07 09:39:46 +07:00
Eloy Lafuente (stronk7)
7a0d024e60 MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper
All restore_date_test, api_test, rule_test, plugin_test,
manager_test, helper_test testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- 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:

- All restore_date_test cases have been put under xxx\backup
  level 2 (valid API) namespace.
2022-02-05 00:03:32 +01:00
Eloy Lafuente (stronk7)
a2e4be3620 Merge branch 'MDL-73728-master' of https://github.com/andrewnicols/moodle 2022-02-03 14:59:00 +01:00
Sara Arjona
b841a811be Merge branch 'master_MDL-71696-versioning-integration' of https://github.com/catalyst/moodle-MDL-70329 2022-02-03 13:25:27 +01:00
Safat Shahin
7547f3e9f0 MDL-71696 tool_brickfield: accessibility changes for versioning
This implementation will introduce changes in the admin tools plugin brickfield to support versioning and the changed db schema.
2022-02-03 22:22:44 +11:00
Andrew Nicols
fc082d349c MDL-73728 admin: Move adminpresets to admin/presets
This commit moves the presets subsystem to a location within the admin
folder, which is more appropriate given its purpose and reduces
developer frustration with tab completion of the admin directory.
2022-02-03 19:14:28 +08:00
Andrew Nicols
5b730e1149 Merge branch 'MDL-72783-master-test' of https://github.com/rezaies/moodle 2022-02-03 15:30:59 +08:00
Jun Pataleta
0ca2ed3432 Merge branch 'MDL-73741-master' of https://github.com/sarjona/moodle 2022-02-03 12:06:26 +08:00
Sara Arjona
5b0ff32841 MDL-73741 adminpresets: Remove duplicates from breadcrumbs 2022-02-02 16:51:37 +01:00
Eloy Lafuente (stronk7)
5aa93e3066 Merge branch 'MDL-72466-master' of https://github.com/bmbrands/moodle 2022-02-02 12:10:18 +01:00
Amaia Anabitarte
d9967a5763 MDL-73601 lib: Normalize readme_moodle.txt file name 2022-02-01 18:10:36 +01:00
Huong Nguyen
4a7caad272 MDL-72783 usertours: Create tours for the new navigation of Moodle 4.0 2022-01-31 18:27:00 +11:00
Huong Nguyen
c59d3d7496 MDL-72783 usertours: Make tour name and description translatable
We can use the Moodle language format for tour's name and description now.
Also, several existing bugs were fixed in this commit when we use
the Moodle language format for step's title and content.
Now, it will display the translated text in the breadcrumb, editing page
instead of displaying the [identifier][component]
2022-01-31 18:27:00 +11:00
Huong Nguyen
87f233e698 MDL-72783 usertours: Improve the tours maching
Improve the regex so the Tour can detect the URL match is pointing to Dashboard (/my/) or My Course (/my/courses.php) correctly
2022-01-31 18:24:49 +11:00
Huong Nguyen
524f75797a MDL-72783 usertours: Fix the tour display for pages with drawers 2022-01-31 18:24:49 +11: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
Bas Brands
7c76e1c349 MDL-72466 core_output: dropdown menu alignment 2022-01-27 17:24:20 +01:00