Commit graph

3972 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Ilya Tregubov
04395977e9 MDL-72873 behat: Fix behat tests. 2021-12-16 17:25:17 +02:00
Ilya Tregubov
d051e7dc02 Merge branch 'MDL-72873-master-v1' of https://github.com/mihailges/moodle 2021-12-16 10:21:48 +02:00
Eloy Lafuente (stronk7)
4428a025de Merge branch 'MDL-73145-master' of https://github.com/sarjona/moodle 2021-12-15 18:34:47 +01:00
Mihail Geshoski
17bfe7e79f MDL-72873 behat: Update behat tests 2021-12-16 00:10:13 +08:00
Sara Arjona
731b181621 Merge branch 'MDL-73318-master' of https://github.com/andrewnicols/moodle 2021-12-15 09:38:45 +01:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
Andrew Nicols
f4a828d4ae MDL-73318 tool_componentlibrary: Use innerText instead of innerHTML
Some characters will be encoded for display in HTML which will affect
the process of JS evaluation. For example, the ` => ` sequence used for
fat-arrow syntax will be set as `=>` in the HTML source.

To process the JS the innerText must be used instead.
2021-12-10 06:21:17 +08:00
Eloy Lafuente (stronk7)
de66ba356e t checkout MOODLE_311_STABLE && git fetch https://github.com/mudrd8mz/moodle.git MDL-73201-311-enfix && git merge --no-ff FETCH_HEAD
Merge branch 'MDL-73201-master-enfix' of https://github.com/mudrd8mz/moodle
2021-12-09 23:18:03 +01:00
Helen Foster
558b4c826d MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:53:10 +01:00
Sara Arjona
42895003e4 MDL-73145 install: Apply site preset if defined in config
A new setting, $CFG->setsitepresetduringinstall, has been added to
config file, to let admins define the site admin preset to be applied
during the Moodle installation.

Besides, a new parameter, "--sitepreset" has been also added
to admin/cli/install.php, to let define it too when running the
upgrade process using CLI.
2021-12-09 09:48:44 +01:00
abgreeve
fcd4de8639 MDL-72090 navigation: Update to behat feature files for navigation.
This updates feature files to use the new steps to navigate to certain
pages.
2021-12-09 11:13:35 +08:00
Eloy Lafuente (stronk7)
deb0e76eee MDL-73278 phpunit: Rename already namespaced classes to match file name
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.

All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:29 +01:00
Ilya Tregubov
855aaa6053 NOBUG: Fixed file access permissions 2021-12-07 14:59:36 +02:00
Bas Brands
83a41d7056 MDL-73298 theme_boost: remove secondary nav from componentlibrary 2021-12-07 10:08:08 +01:00
Paul Holden
f6ab7c95b8 MDL-73256 tool_oauth2: save requireconfirmation property on create. 2021-12-06 14:23:39 +00:00
Jake Dallimore
1388a8596c Merge branch 'MDL-71915-master-v8' of https://github.com/sharidas/moodle 2021-12-06 13:34:58 +08:00
Sujith Haridasan
1ee41ff7be MDL-71915 tool_recyclebin: Update behat tests
Update behat tests for the changes made to the
tertiary navigation.
2021-12-06 10:26:40 +05:30
Sujith Haridasan
0f029c04d7 MDL-71915 mod_forum: Update behat tests
Update behat tests to accommodate the changes made
for tertiary navigation.
2021-12-06 09:27:58 +05:30
Sara Arjona
dc020cede9 MDL-72112 admin_presets: Fix behat errors 2021-12-03 18:01:13 +01:00
Ilya Tregubov
689bf6fc1e Merge branch 'MDL-72112-master' of https://github.com/aanabit/moodle 2021-12-03 15:11:01 +02:00
Sara Arjona
9e4f2a45f8 MDL-72112 admin_presets: Add admin_presets tool 2021-12-03 11:11:37 +01:00
Peter Dias
3cddee197f MDL-72875 course: Update behat test to use the tertiary nav 2021-12-02 13:09:12 +08:00
Mathew May
f65b92577a MDL-70197 navigation: Update classic goutte tests 2021-11-30 08:13:49 +02:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Ferran Recio
26d0e51d91 MDL-72456 mod_assign: fix behats 2021-11-25 15:29:54 +01:00
Eloy Lafuente (stronk7)
b62095fa97 MDL-72799 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.

Note this commit isn't a problem caused exclusively by this issue,
but as far as this also contributed to the size increase, assigning
the fix to it.
2021-11-19 12:07:07 +01:00
Sara Arjona
dc0e7a45df Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle 2021-11-18 15:18:51 +01:00
Andrew Nicols
738d4cac07 Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle 2021-11-17 12:41:32 +08:00
Bas Brands
8d976f932f MDL-72250 tool_usertours: behat update for new drawer toggle button 2021-11-16 08:58:01 +01:00
Shamim Rezaie
652392d932 MDL-70721 output: remove {{#quote}} wherever it was misused
Also use the new {{#cleanstr}} helper where it was more appropriate
than the {{#str} helper.
2021-11-16 10:08:06 +11:00
Mathew May
6ca9c2154a MDL-70801 core_my: Add a new courses page 2021-11-15 11:49:35 +08:00
Jun Pataleta
e327315ea6 Merge branch 'MDL-61671-master' of git://github.com/jleyva/moodle 2021-11-12 10:48:57 +08:00
Luuk Verhoeven
f60a585929 MDL-72982 tool_dataprivacy: add class name to email table 2021-11-11 22:54:56 +08:00
Juan Leyva
8bbdb41ab5 MDL-61671 tool_mobile: Improve certificate checks
Support different curl implementations and skip last certificate checks in some cases.
2021-11-09 17:05:48 +01:00
Sara Arjona
46ca6aa90e Merge branch 'MDL-72949-master' of https://github.com/NashTechOpenUniversity/moodle 2021-11-04 10:33:22 +01:00
Eloy Lafuente (stronk7)
3873af5626 Merge branch 'MDL-72655-master' of https://github.com/andelacruz/moodle 2021-11-03 19:03:22 +01:00
sangnguyena
85e7f767ef MDL-72949 WS: Return coursegraceperiod setting in tool_mobile_get_config 2021-11-03 16:14:25 +07:00
Angelia Dela Cruz
89c4c803e8 MDL-72655 behat: Use assign generators
Replace steps that manually add assignment instances via the UI
and use Behat generators. This improves the speed of Behat test
runs.
2021-11-03 11:34:26 +08:00
Simey Lameze
940f20fde9 MDL-72571 tool_filetypes: change extension param to PARAM_ALPHANUMEXT 2021-11-02 18:04:16 +01:00
Eloy Lafuente (stronk7)
b5c6ce0d7f MDL-72921 generators: exported users now match the plan size definition
Before this patch the exported users (to csv file that jmeter consumes)
were all the enrolled users in the test course. And that's ok when the
number of users enrolled match the number of concurrent threads planned
for a jmeter plan (each thread is a user).

But when both numbers don't match, that can lead to the jmeter plan
not behaving as expected, because it iterates over the excessive users
in the file, leading to some users having run 5 loops, others 4...

The only way to make results more consistent is to, always, ensure that
the number of users exported for the plan match the plan size and not
the site size.

And that's what this issue exactly does, restrict the export to the
number of threads that the plan will have. So every user always runs
the very same number of loops.
2021-10-29 18:03:39 +02:00
Eloy Lafuente (stronk7)
ba1c3c0b88 Merge branch 'MDL-72781-master' of git://github.com/mickhawkins/moodle 2021-10-28 22:26:59 +02:00
Eloy Lafuente (stronk7)
4f271297ce Merge branch 'MDL-72879-master-enfix' of git://github.com/mudrd8mz/moodle 2021-10-27 22:12:11 +02:00
David Mudrák
53bb0947b6 MDL-72879 lang: Use fixed strings in tests, too 2021-10-27 07:37:03 +02:00
Helen Foster
07b7482063 MDL-72879 lang: Import fixed English strings (en_fix) 2021-10-26 21:05:10 +02:00
Huong Nguyen
b3df2aba62 MDL-72385 tool_usertours: Improve and simplify design of user tours 2021-10-26 12:55:37 +07:00
Eloy Lafuente (stronk7)
777f654c28 MDL-69371 behat: Raise privacy exports allowed size
Note that this issue is not the one causing this problem alone
but just one more causing the download limits to be surpassed.

Allowing 1000 more bytes to have some margin, as far as we are
adding lots of new css stuff here and there.
2021-10-22 08:31:38 +02:00
Michael Hawkins
3416ccc871 MDL-72781 tool_usertours: Remove disabled user tour JSON 2021-10-21 17:23:56 +08:00
Michael Hawkins
9d4f46e4b6 MDL-72781 tool_usertours: Disable activity completion user tours 2021-10-21 17:23:55 +08:00