616 Commits

Author SHA1 Message Date
Andrew Nicols
a6acb015a3
MDL-81521 core: Update all possibly data providers to be static
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-15 12:50:55 +08:00
Huong Nguyen
5413892317
Merge branch 'MDL-82905-main' of https://github.com/laurentdavid/moodle 2024-10-31 11:21:40 +07:00
Laurent David
e1ee1bfdb5 MDL-82905 core_badges: Criteria as list only if multiple items 2024-10-23 08:17:44 +02:00
Laurent David
85a3097f2b MDL-82904 core_badges: Display empty column for unset criteria
* In the report builder badges with unset criteria should have a empty
value for the criteria column
2024-10-23 08:17:09 +02: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
62b8b3709d
Merge branch 'MDL-83238-main-enfix' of https://github.com/mudrd8mz/moodle 2024-10-03 16:01:53 +08:00
David Carrillo
07ad4b8ebc
MDL-83179 badges: Get type and courseid from context instead of params 2024-10-03 08:11:51 +08:00
David Carrillo
a25ee4ebb9
MDL-83178 reportbuilder: correct access check to view badge recipients 2024-10-02 13:57:53 +08:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
David Mudrák
cdd3b4648f MDL-83238 lang: Fix the changed strings in the tests, too 2024-09-30 20:04:54 +02: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
Sara Arjona
cd093bdb96
Merge branch 'MDL-83037' of https://github.com/paulholden/moodle 2024-09-09 17:21:54 +02:00
Sara Arjona
ce5cda1c07
Merge branch 'MDL-83020' of https://github.com/paulholden/moodle 2024-09-09 17:03:02 +02:00
Jun Pataleta
aeb079fde0
NOBUG: Add upgrade notes 2024-09-07 06:48:52 +08:00
Paul Holden
a66aea7965
MDL-83037 badges: ensure image is specified in Behat test generator. 2024-09-06 11:43:21 +01:00
Jun Pataleta
16ced30444
Merge branch 'MDL-83012' of https://github.com/paulholden/moodle 2024-09-06 09:27:44 +08:00
Paul Holden
703b57db48
MDL-83012 badges: avoid random timing failures in external test.
This restores the original random failure fix from 9a5eb76a56, and
adds assertions appropriate to d9ea6bc804 without re-introducing the
same random test failures.

Also improve non-sensical conditional assertions.
2024-09-05 16:50:31 +01:00
Paul Holden
938251eb89
MDL-83020 badges: validate correct context when retrieving badge.
Remove capablity check, as this is intended to be public info.
2024-09-05 16:03:32 +01:00
Huong Nguyen
cbf64b53fe
MDL-82503 badges: Fix Behat failure 2024-09-04 15:23:23 +07:00
Sara Arjona
2f4efdb879
MDL-82503 badges: Fix behat and PHPUnit tests 2024-09-03 20:27:51 +02:00
Sara Arjona
9b58ab3e87
MDL-82503 badges: Deprecate badges/view.php 2024-09-03 20:00:18 +02:00
Sara Arjona
c6d7cf85f6
MDL-82503 badges: Deprecate showmanage button from action_bar 2024-09-03 19:59:29 +02:00
Sara Arjona
6adbe05d9f
MDL-82503 badges: Deprecate course_badges report 2024-09-03 19:59:28 +02:00
Sara Arjona
4cdeb79566
MDL-82503 badges: Prepare and make index.php default page
The badges/index.php and badges/view.php pages are quite similar and
have been merged into index.php.
This commit updates index.php to incorporate the missing information
previously found in view.php.
2024-09-03 19:55:49 +02:00
Jun Pataleta
abc6e9d11e
Merge branch 'MDL-82953-main' of https://github.com/sarjona/moodle 2024-09-03 10:37:05 +08:00
Sara Arjona
3c47fbe3b6
MDL-82953 badges: Fix redirect when form is cancelled
From the new badge page, when the form is cancelled, a redirect should
be done to the badges/index.php.
This is a regression introduced when newbadge.php and edit.php pages
were merged.
2024-08-30 11:37:02 +02:00
Paul Holden
5d0e981eed
MDL-82804 badges: define no results notice inside report instances.
When doing so from calling code, the property is not persisted when
filtering/paging (or any AJAX interaction); instead, it should be
set from within the report instance itself.
2024-08-29 16:10:30 +01:00
Daniel Ureña
33717237aa MDL-82105 Badges: Get badge by badge id. 2024-08-28 10:14:15 +02:00
Sara Arjona
7ce18d2edb
NOBUG: Add upgrade notes 2024-08-23 16:04:48 +02:00
Sara Arjona
b628db7abe
Merge branch 'MDL-82742-main' of https://github.com/albertgasset/moodle 2024-08-21 16:43:44 +02:00
Sara Arjona
78530eca1c
Merge branch 'MDL-82455' of https://github.com/paulholden/moodle 2024-08-19 16:45:51 +02:00
Huong Nguyen
e2708aeacf
NOBUG: Add upgrade notes 2024-08-16 08:37:50 +07:00
Paul Holden
de4e2a545a
MDL-82455 badges: link report recipients count to appropriate page. 2024-08-15 21:40:33 +01:00
Albert Gasset
d9ea6bc804 MDL-82742 badges: Include recipient in web services that return badges 2024-08-09 15:24:56 +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
Paul Holden
19d2552caa MDL-82390 badges: correct context check when deleting badges. 2024-08-07 04:12:45 +00:00
Jun Pataleta
902f9535b6
NOBUG: Add upgrade notes 2024-07-26 13:35:25 +08:00
Sara Arjona
b2f66d477b
MDL-70983 badges: Remove OBv1.0 support
The only backpack implementing OBv1.0 was Mozilla Backpack. It closed
in 2019 and their badges were moved to https://backpack.openbadges.org/
by Badgr.
However, as Badgr is supporting OBv2.0 too, it makes no sense keep OBv1.0
implementation in Moodle: it has caused some issues and over-complicates
current code.
2024-07-19 10:39:38 +02:00
Sara Arjona
1a74342bf4
MDL-72354 badges: Fix behat tests 2024-07-19 09:41:38 +02:00
Huynh
879901ef24
MDL-72354 badges: Show always issuer details when creating badges
Co-author: Huynh Nguyen
2024-07-19 09:41:38 +02:00
Ilya Tregubov
fdfdd02639 NOBUG: Add upgrade notes 2024-07-19 09:30:19 +08:00
Paul Holden
a3c386af93
MDL-82463 reportbuilder: change non-numeric entity column types.
Where columns were previously of type `TYPE_INTEGER` or `TYPE_FLOAT`
but did not provide numeric data on output, we should change their
type to `TYPE_TEXT` (i.e. the default) to ensure that future work on
numeric aggregation doesn't affect them.
2024-07-15 10:42:01 +01:00
Huong Nguyen
abcac5bc8f
NOBUG: Add upgrade notes 2024-07-12 08:41:57 +07:00
Sara Arjona
e559a3c325
MDL-82168 badges: Fix and improve behat tests 2024-07-11 11:19:34 +08:00
Sara Arjona
8c006300e5
MDL-82168 badges: Move enable/disable badges to modal
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-07-11 11:19:34 +08:00
Sara Arjona
814753e558
MDL-82168 badges: Add WS to enable/disable badges 2024-07-11 11:19:34 +08:00
Sara Arjona
11b276fc1b
MDL-43938 badges: Bagde names are not unique anymore
The restriction for the badge name to be unique has been removed so,
from now on, the badge names can be duplicated, even inside a course.
2024-07-08 15:53:27 +02:00
Sara Arjona
71aca6e27e
MDL-43938 badges: Fix coding style 2024-07-05 10:11:39 +02:00