Commit graph

3852 commits

Author SHA1 Message Date
sam marshall
525b635cfc MDL-82532 Profile: Capability to allow/prevent view of profile images
Introduces a new capability moodle/user:viewprofilepics, granted by
default to 'user' and 'guest'. If the 'forcelogin' option or
'forceloginforprofileimage' option is enabled, then users must have
this capability in order to see profile pictures (except their own).
2024-08-19 15:42:16 +01:00
Sara Arjona
fbdc1ea1ad
Merge branch 'MDL-81667' of https://github.com/paulholden/moodle 2024-08-19 07:50:02 +02:00
Mihail Geshoski
afb51a72b2 MDL-82195 assign: Include submissions page link in secondary navigation
Integrates a submissions page link into the assignment's secondary
navigation, eliminates the redundant 'View all submissions' button
from the assignment's homepage and updates the existing behat tests.
2024-08-16 11:26:13 +08:00
Paul Holden
19f519f155
MDL-81667 libraries: upgrade to version 4.10.0 of axe-core. 2024-08-15 10:23:22 +01:00
Jun Pataleta
2c191e8072
Merge branch 'MDL-82782-main' of https://github.com/andrewnicols/moodle 2024-08-15 11:52:02 +08:00
Huong Nguyen
aeac21463a
Merge branch 'MDL-82607' of https://github.com/timhunt/moodle 2024-08-15 09:32:08 +07:00
Andrew Nicols
149b548c91
MDL-82782 behat: Support runtime scaling of Behat windows 2024-08-14 21:48:15 +08:00
Sara Arjona
bddbd218e9
Merge branch 'MDL-81889-main' of https://github.com/ferranrecio/moodle 2024-08-13 09:49:37 +02:00
ferranrecio
a2ed8a036d MDL-81889 tool_generator: add examples to behat steps
The tool_generator creates a testing scenario that can execute
all steps from behat_data_generators (with some limitations),
change admin settings and delete courses and users to cleanup
the created entities. However, this list of valid steps will
change over time and it will be great if all available steps
are listed with examples.
2024-08-12 12:25:46 +02:00
Mikel Martín
0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Ilya Tregubov
b6a0a658b5 Merge branch 'MDL-82525' of https://github.com/paulholden/moodle 2024-08-08 08:25:31 +08:00
Andrew Nicols
f64ce7b46e
MDL-81031 core: Add JS client-side validation 2024-08-06 16:01:08 +08:00
Andrew Nicols
091ae55c20
MDL-81031 admin: Add swagger UI 2024-08-06 16:01:07 +08:00
Andrew Nicols
614b3bf9b3
MDL-81031 core: Add some new WS 2024-08-06 16:01:07 +08:00
Andrew Nicols
1b7d08465c
MDL-81031 core: Add routing 2024-08-06 16:01:07 +08:00
Andrew Nicols
024e36be17
MDL-81634 core: Fix all implicitly defined nullables
Note: This does not impact third-party libraries.
2024-08-02 14:11:12 +08:00
Andrew Nicols
69e24ce9cf
Merge branch 'MDL-82424-main' of https://github.com/sarjona/moodle 2024-08-01 12:02:11 +08:00
Huong Nguyen
610450c944
Merge branch 'MDL-80064-main' of https://github.com/meirzamoodle/moodle 2024-08-01 10:41:23 +07:00
Ilya Tregubov
fdc0e6156a Merge branch 'MDL-81689' of https://github.com/rzhtwberlin/moodle 2024-08-01 09:59:52 +08:00
Ilya Tregubov
ab4f1d1578 Merge branch 'MDL-80752-main' of https://github.com/rezaies/moodle 2024-07-31 10:59:42 +08:00
Huong Nguyen
0c2d74b1af
Merge branch 'MDL-64148-main' of https://github.com/meirzamoodle/moodle 2024-07-31 09:15:03 +07:00
ferranrecio
a3e810bf7e
MDL-82424 behat: steps to handle plugins
This commit adds one new step to disable plugins, and also replaces the
regexp from the enable plugins method to make ti compatible with the
tool_generator create testing scenario.
2024-07-30 18:12:37 +02:00
meirzamoodle
699daafc64 MDL-64148 core: Make email greetings consistent
Some email body strings use first names as greetings,
some use full names, and some do not.

Using the first name for greeting makes it consistent and
a bit more "personal".
2024-07-30 22:40:47 +07:00
Tim Hunt
69e1c3ca7a MDL-82607 filters: configfilternavigationwithsystemcontext on by default 2024-07-29 11:12:13 +01:00
meirzamoodle
2bd774d432 MDL-80064 authentication: password can be null
The Open ID Connect plugin uses null for the password,
which makes the internal password update fail to proceed.
Allowing null resolved the problem.

As a note, there is a potential issue if the authentication method has
a false return for the prevent_local_password because it will trigger
the hash_internal_user_password() where  the $password can not be null.
Since this only addresses the oauth2 issue, we should ignore it.
2024-07-29 15:49:47 +07:00
Paul Holden
0834280726
MDL-82525 user: correct course parameter for course profile page. 2024-07-29 09:21:57 +01:00
Ilya Tregubov
602400bd18 Merge branch 'MDL-80345-main' of https://github.com/MartinGauk/moodle 2024-07-29 11:32:57 +08:00
Johannes Burk
ae65a413a0 MDL-81689 tasks: add unit test to check for the bug 2024-07-26 10:30:40 +02:00
Jun Pataleta
cd7f94612c
Merge branch 'MDL-82373-main' of https://github.com/andrewnicols/moodle 2024-07-25 11:31:53 +08:00
Huong Nguyen
9111372fb7
Merge branch 'MDL-82553-main' of https://github.com/junpataleta/moodle 2024-07-25 09:17:07 +07:00
Huong Nguyen
3edbf5627c
Merge branch 'MDL-82554-main' of https://github.com/micaherne/moodle 2024-07-25 08:49:45 +07:00
David Woloszyn
12b43ec6c4 MDL-82347 hub: Registration collects plugin usage data 2024-07-25 11:32:25 +10:00
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Michael Aherne
35cfdf4927 MDL-82554 question: Allow null createdby in question_has_capability_on. 2024-07-23 10:24:35 +01:00
Shamim Rezaie
eb2b5875ef MDL-80752 mod_assign: Move action menu to the action bar on grading page
Also, move the "Download all submissions" button into the action menu.
2024-07-23 00:12:45 +10:00
Jun Pataleta
0b9660a43f
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria 2024-07-22 14:36:10 +08:00
Ilya Tregubov
be60012bf9 Merge branch 'MDL-82499-main' of https://github.com/micaherne/moodle 2024-07-22 09:42:20 +08:00
lameze
d04a05b98f MDL-82287 phpunit: use the correct component 2024-07-18 13:53:17 +08:00
Ilya Tregubov
acbcb83a7c Merge branch 'MDL-82445-main' of https://github.com/andrewnicols/moodle 2024-07-18 11:37:15 +08:00
Andrew Nicols
89c5e94fee
MDL-82445 core: Create locale helper utility 2024-07-18 11:00:42 +08:00
Huong Nguyen
db5b60424b
Merge branch 'MDL-82287-main' of https://github.com/andrewnicols/moodle 2024-07-18 09:47:01 +07:00
Ilya Tregubov
00376925b2 Merge branch 'MDL-82444' of https://github.com/paulholden/moodle 2024-07-18 10:29:08 +08:00
Jun Pataleta
cf2073134a
Merge branch 'MDL-82066' of https://github.com/paulholden/moodle 2024-07-18 00:03:02 +08:00
Paul Holden
0cf6f3a620 MDL-82499 question: test for invalid question in capability check. 2024-07-17 09:58:35 +01:00
Andrew Nicols
0b364eda7b
MDL-82373 contentbank: Pause in Behat before interacting with h5p
It seems that the loading of the h5p content upsets other interactions
with the page in Firefox as it loads. Unfortunately I haven't found a
reliable way to handle this with pendingJS yet.

This is the poor man's fix and we should find a better solution.
2024-07-17 09:28:35 +08:00
Andrew Nicols
78ccdc9939
MDL-82373 behat: Wait for alerts before accepting/dismissing them 2024-07-17 09:28:35 +08:00
Andrew Nicols
57cabed4bb
MDL-82373 behat: Stop calling ensure_node_is_visible before click
W3C WebDriver Element::Click, Element::Clear, and Element::SendKeys all
state that the WebDriver implementation (chromedriver, geckodriver,
edgedriver) should scroll the element into view if it is not already
visible.

It is wrong for us to check if the element is visible or not before
calling these as it may not be but will during the click/clear/type
event.
2024-07-17 09:28:34 +08:00
Huong Nguyen
7c6fcaaff5
Merge branch 'MDL-80744-main-1' of https://github.com/ilyatregubov/moodle 2024-07-16 09:15:57 +07:00
Mihail Geshoski
48866d4746 MDL-80744 core_grades: Deprecate comboboxsearch behat step definitions
The comboboxsearch component now has uses beyond the grade subcomponent
and includes alternative step definitions in behat_general.php. This
change deprecates the redundant behat step definitions related to this
component in behat_grade.php and replaces current usages with the
alternative definitions.
2024-07-15 16:36:48 +08:00