Jun Pataleta
1ff50ac088
NOBUG: Bump versions for main to the current date
2024-12-18 23:53:12 +08:00
Andrew Nicols
c2414e5a45
MDL-81520 core: Fix test finality
2024-12-11 12:30:23 +08:00
meirzamoodle
0afc433b81
MDL-82989 communication_matrix: Apply helper to mock http_client
2024-10-27 15:56:22 +07:00
Jun Pataleta
7ebe8cc971
Merge branch 'MDL-83143-main' of https://github.com/safatshahin/moodle
2024-10-17 11:47:08 +08:00
Safat
fcf941c74e
MDL-83143 core_communication: Behat coverage for default to course name
2024-10-11 10:56:32 +11:00
Safat
a6d857d9e5
MDL-83143: core_communication: Fix variable name typos
2024-10-11 10:56:32 +11:00
Jun Pataleta
c9356e039f
MDL-83374 upgrade: add the 4.5.0 separation line to all upgrade scripts
2024-10-05 21:16:13 +08:00
Jun Pataleta
5b421c6db6
NOBUG: Add upgrade notes
2024-10-05 15:08:28 +08:00
Huong Nguyen
3a6640c461
NOBUG: Add upgrade notes
2024-10-04 21:06:11 +07:00
Jun Pataleta
f24e0ecf53
MDL-83309 versions: Bump all versions and requires near release
2024-10-02 17:04:53 +08:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes
2024-10-01 19:37:15 +07:00
Huong Nguyen
282421ce6c
NOBUG: Change upgrade notes version
2024-09-27 19:16:56 +07:00
Huong Nguyen
7b4ed9096f
NOBUG: Add upgrade notes
2024-09-27 18:45:07 +07:00
Safat
d60985257e
MDL-83122 core_communication: Fix exception for delete user hook
2024-09-17 15:31:16 +10:00
Huong Nguyen
dca18ebca3
Merge branch 'MDL-81634-main' of https://github.com/andrewnicols/moodle
2024-08-20 09:30:44 +07:00
Huong Nguyen
e2708aeacf
NOBUG: Add upgrade notes
2024-08-16 08:37:50 +07:00
Ilya Tregubov
80e6149ed4
NOBUG: Add upgrade notes
2024-08-10 14:56:17 +08:00
Ilya Tregubov
c0acbd4284
NOBUG: Add upgrade notes
2024-08-09 09:34:13 +08:00
David Woloszyn
9658ba6710
MDL-81951 communication_matrix: Fix suspended users ignored bug
2024-08-07 04:12:45 +00:00
David Woloszyn
90c1a7613c
MDL-81951 communication_matrix: New trait for power levels
...
A more reliable way of obtaining room power levels is now used in the
new trait get_room_power_levels_v3. This makes
get_room_powerlevels_from_sync_v3 less needed, but not necessarily
redundant. The names of the containing methods have been adjusted to
make better sense of which trait they belong to.
2024-08-07 04:12:45 +00: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
d96e7816d1
Merge branch 'MDL-81932-main' of https://github.com/safatshahin/moodle
2024-07-18 11:29:33 +08:00
Stevani Andolo
db0d4ab677
MDL-80947 communication_customlink: Check before customlink update
2024-07-08 07:19:30 +08:00
Safat
efc7c6d872
MDL-81932 communication_customlink: Fix behat tests
2024-07-04 17:09:38 +10:00
Safat
c9887d8e59
MDL-81932 communication_matrix: Fix behat tests
2024-07-04 17:09:38 +10:00
Safat
0beb2ec33a
MDL-81932 core_communication: Fix communication provider change issue
2024-07-04 17:09:38 +10:00
Eloy Lafuente (stronk7)
ad5fe71868
MDL-82207 phpunit: fix various @covers annotations (take#1)
...
This fixes various (not all) wrong @covers annotations that
are reported as warnings by PHPUnit when it's run with
code-coverage enabled.
When possible, the preferred solution is to change to
@covers at class level, that is the recommended way.
If multiple classes are involved, then a mix of @coversDefaultClass
and @covers at method level are used (always trying to use the
minimum needed patch).
This is the first of a series of issues created as sub-tasks
of MDL-82142.
2024-06-24 12:07:39 +02:00
Huong Nguyen
bd9631bda5
Merge branch 'MDL-81125-main-alt' of https://github.com/andrewnicols/moodle
2024-05-21 15:33:09 +07:00
Andrew Nicols
0964cd5b69
MDL-81125 core: Update upgrade.txt files to document new upgrade notes
2024-05-20 22:26:45 +08:00
Stevani Andolo
e5c3199dff
MDL-80583 communication_matrix: Ignore unreachable matrix server
2024-05-20 15:09:54 +08:00
David Woloszyn
74a6ed82b3
MDL-80849 communication_matrix: Prevent numeric usernames
2024-04-29 10:30:29 +10:00
Jun Pataleta
78e5814a0f
MDL-81616 upgrade: add the 4.4.0 separation line to all upgrade scripts
2024-04-20 21:01:04 +08:00
Huong Nguyen
c021a83998
Merge branch 'MDL-81595-main' of https://github.com/safatshahin/moodle
2024-04-19 09:48:56 +07:00
Safat
f070a165e3
MDL-81595 core_communication: Fix provider switching active flag update
2024-04-18 22:21:00 +10:00
Jun Pataleta
9966241efb
Merge branch 'MDL-81525-main' of https://github.com/andrewnicols/moodle
2024-04-17 23:42:22 +08:00
Jun Pataleta
a180dba314
MDL-81549 versions: bump all versions and requires near release
2024-04-17 00:03:29 +08:00
Andrew Nicols
a7aedc7c2f
MDL-81525 core_enrol: Correct hook name tense
2024-04-15 13:05:09 +08:00
Andrew Nicols
d2dddb715d
MDL-81525 core_communication: Correct hook name tense
2024-04-15 13:05:09 +08:00
Andrew Nicols
fd63e35dd1
MDL-81525 core_course: Correct hook name tense
2024-04-15 13:05:08 +08:00
Huong Nguyen
27ada55bab
Merge branch 'MDL-81391-main' of https://github.com/davewoloszyn/moodle
2024-04-10 11:30:51 +07:00
Huong Nguyen
e168c1d089
MDL-81333 core_communication: Coding style fixups
...
- Remove superflous coverage information
- Use language string for group room name format
2024-04-09 10:24:09 +07:00
David Woloszyn
07ffa049a9
MDL-81391 core_communication: Check processor before using its methods
2024-04-08 17:08:05 +10:00
David Woloszyn
e169cf6188
MDL-81333 core_communication: Group room name formatting
2024-04-04 13:06:51 +11:00
Huong Nguyen
b283ca354e
Merge branch 'MDL-78551-main' of https://github.com/safatshahin/moodle
2024-03-26 10:08:06 +07:00
Safat
abed8cddbf
MDL-78551 core_communication: Add hook listeners
2024-03-26 13:53:39 +11:00
Daniel Ziegenberg
08027e408c
MDL-81281 phpunit: assertObjectHasAttribute is deprecated
...
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectHasProperty() instead."
So we replace all instances of assertObjectHasAttribute with
assertObjectHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-03-25 16:21:45 +01:00
Eloy Lafuente (stronk7)
361dfe8145
MDL-75952 general: Since php81, refection->setAccessible() is no-op
...
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php
As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
2024-03-10 21:15:00 +01:00
David Woloszyn
aad5b7ee5f
MDL-80832 communication_matrix: Fix regression caused by MDL-80403
2024-02-07 14:09:39 +11:00
Huong Nguyen
f090dc6236
Merge branch 'MDL-80403-main' of https://github.com/davewoloszyn/moodle
2024-01-18 10:24:51 +07:00
David Woloszyn
edffece53c
MDL-80403 communication_matrix: Fixed convert power levels to array
...
The curent patch revealed a bug inside set_matrix_power_levels
where returned user power levels contained an array of objects.
Other methods were failing and giving incorrect responses
as they were expecting arrays.
2023-12-19 12:57:20 +11:00