Sara Arjona
a399be5f01
Merge branch 'MDL-81073' of https://github.com/paulholden/moodle
2024-03-19 23:18:13 +07:00
Paul Holden
ba1f9cb26c
MDL-81073 badges: better Oracle support for expiry filter.
...
Avoid the following error by casting the bound parameter:
ORA-00932: inconsistent datatypes: expected CHAR got NUMBER.
2024-03-18 19:53:29 +00:00
Sara Arjona
0d7af68082
Merge branch 'MDL-81073' of https://github.com/paulholden/moodle
2024-03-18 12:43:15 +01:00
Andrew Nicols
9cdc5850c5
Merge branch 'MDL-75952' of https://github.com/stronk7/moodle
2024-03-12 10:45:02 +08: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
Paul Holden
8fc9d3e242
Merge branch 'MDL-81128-main' of https://github.com/davidcerezal/moodle into main
2024-03-08 14:50:24 +00:00
David Cerezal
1ded2b9d48
MDL-81128 reportbuilder: use specific step instead workaround
2024-03-08 10:33:15 +01:00
Jun Pataleta
3278ce7aba
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
2024-03-08 08:00:41 +08:00
Paul Holden
2f9001cbe9
MDL-81073 badges: implement badge entity version/expiry filtering.
...
Add the same to the manage badges report, plus pre-existing version
column.
2024-03-07 14:38:23 +00:00
Ilya Tregubov
a6fd25485e
Merge branch 'MDL-80342' of https://github.com/paulholden/moodle
2024-03-07 08:51:25 +08:00
Sara Arjona
67a1d0b639
MDL-73426 badges: Final deprecation for print_badge_tabs
2024-03-05 13:25:02 +01:00
Sara Arjona
0b3b739370
MDL-80866 behat: Fix failures after disabling Chat and Survey
2024-03-01 11:41:50 +01:00
Eloy Lafuente (stronk7)
ba1f804ffa
MDL-65292 style: Fix all function declarations white space
...
This has been generated running the following Sniffs, all
them part of the Moodle's CodeSniffer standard:
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Functions.NullableTypeDeclaration
- moodle.Methods.MethodDeclarationSpacing
- Squiz.Whitespace.ScopeKeywordSpacing
All them are, exclusively, about correct spacing, so the changes
are, all them, only white space changes.
Only exceptions to the above are 3 changes what were setting the
return type in a new line, and, when that happens, the closing
parenthesis (bracket) has to go to the same line than the colon.
2024-02-28 23:33:26 +01:00
Sara Arjona
b33ba0b9fb
Merge branch 'MDL-78967-main' of https://github.com/kevpercy/moodle
2024-02-27 12:49:06 +01:00
Paul Holden
958090edc6
MDL-80342 reportbuilder: use new cohort filter in related reports.
2024-02-21 16:34:35 +00:00
Angelia Dela Cruz
31ce6c87fb
MDL-79792 core_badges: Behat test for awarding badge to group members
2024-02-21 13:55:45 +08:00
Kevin Percy
a72a810479
MDL-78967 core_grades: Removed advanced grade item and category options
2024-02-21 13:45:21 +08:00
Sara Arjona
ce7f3eef04
Merge branch 'MDL-79552' of https://github.com/paulholden/moodle
2024-02-14 09:30:09 +01:00
David Carrillo
10d2b5864b
MDL-80325 reportbuilder: Update 'Delete' links to red color
...
- Update all 'Delete' links on RB system report actions to red color
2024-01-12 15:38:19 +01:00
David Carrillo
76bed1480a
MDL-80052 badges: Convert Course badges report to use Report builder
2023-12-19 10:23:27 +01:00
David Carrillo
982581d5eb
MDL-80052 badges: Convert Badge recipients report to use Report builder
2023-12-19 10:23:26 +01:00
Paul Holden
4fb106506d
MDL-79552 cohort: add cohort data to user-focused custom reports.
2023-12-15 09:58:19 +00:00
Huong Nguyen
b671e89685
Merge branch 'MDL-79828-master' of https://github.com/andelacruz/moodle
2023-12-14 10:14:07 +07:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions.
2023-12-07 17:19:01 +00:00
Paul Holden
c564a8249a
MDL-80268 badges: require capability to view awarded badges.
2023-12-06 03:54:20 +01:00
Angelia Dela Cruz
b445e72c80
MDL-79828 core_badges: Delete already awarded course badges
2023-11-21 16:11:39 +08:00
Sara Arjona
95e50b59ea
MDL-75572 criteria: Only award badges to sucessfull completions
...
The UX team confirmed a badge shouldn't be awarded when the criteria
use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed for activities with completion that require a passing
grade.
2023-10-25 07:08:03 +02:00
Andrew Nicols
c81cf6a7b7
MDL-79583 core_badges: Remove unused AMD module
...
This module was removed by removed by MDL-78324, but added back due to a
merge conflict in MDL-79064.
2023-10-04 14:28:30 +08:00
Ilya Tregubov
5da0cee324
Merge branch 'MDL-79334' of https://github.com/paulholden/moodle
2023-09-14 19:46:53 +08:00
Paul Holden
b6e85266da
MDL-79334 badges: fix return URL of activate action in system report.
...
We cannot rely on `qualified_me()` to work reliably upon report reload
events (paging, sorting, filtering, etc. are all performed via AJAX).
Small cleanup after f0770658.
2023-09-12 15:13:22 +01:00
Andrew Nicols
adce2874b0
MDL-78324 badges: Remove unnecessary Modal
...
The core/utility confirmation modal can be used in this case to confirm
backpack actions. It is not necessary to have a custom module for this
purpose.
2023-09-09 00:04:04 +08:00
Andrew Nicols
ee81bfabe8
Merge branch 'MDL-77061' of https://github.com/dravek/moodle
2023-09-05 10:53:19 +08:00
Andrew Nicols
0235a368da
Merge branch 'MDL-78179-master' of https://github.com/sarjona/moodle
2023-09-01 11:25:22 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses
2023-08-29 10:57:54 +08:00
David Carrillo
f0770658fb
MDL-77061 badge: Convert "Manage badges" page to use Report Builder
...
- Manage badges page is now a Report Builder system report to show
the list of site and course badges.
2023-08-25 12:12:37 +02:00
Sara Arjona
f2199b5c2d
MDL-78179 badges: Clean SESSION when user disconnect backpack
...
The token information was not being properly cleared from the $SESSION.
As a result, certain errors were occurring when users attempted to
reconnect within the same session.
2023-08-23 07:35:44 +02:00
Stefan Topfstedt
7b04638c52
MDL-71212 core_course: adds controls to the course index drawer.
2023-08-18 11:00:55 -07:00
Simey Lameze
74b25ba5fd
MDL-77695 behat: use automatic completion to award badges
2023-08-16 11:03:46 +08:00
Damian Hippisley
26407c6ca1
MDL-78545 core_badges: Fix PHP 8.2 dynamic properties
...
Issue MDL-73325 added the option to tag badges, however
it introduced a dynamic property on the badge object.
In PHP 8.2 dynamic properties are deprecated, this patch
fixes this.
2023-08-07 11:04:04 +10:00
Sara Arjona
2fcdfc17c1
Merge branch 'MDL-78648-master' of https://github.com/rmady/moodle
2023-07-10 07:35:19 +02:00
Andrew Nicols
3d5afd6061
Merge branch 'MDL-75810' of https://github.com/paulholden/moodle
2023-07-09 22:23:29 +08:00
Sara Arjona
abcbeca33d
MDL-78184 badges: Improve user flow for connecting backpack
2023-07-07 08:53:43 +02:00
Rodrigo Mady
9a5eb76a56
MDL-78648 badges: Fix in unit tests for test_get_user_badge_by_hash
2023-07-06 09:41:03 -03:00
Sara Arjona
7ae114dd5f
MDL-74570 badges: Remove unnecessary hacks
2023-06-29 17:32:51 +08:00
Paul Holden
ccafa6e657
MDL-75810 badges: tag support in badge custom report sources.
2023-06-26 09:50:45 +01:00
Andrew Nicols
bd3a28eb2b
Merge branch 'MDL-74570-master' of https://github.com/rmady/moodle
2023-06-24 22:20:35 +08:00
Sara Arjona
5039f6980c
Merge branch 'MDL-63120_Badges_cron_task_fails-master' of https://github.com/mebis-lp/moodle
2023-06-21 11:41:51 +02:00
Rodrigo Mady da Silva
4b26d1f784
MDL-74570 core_badges: Add webservice core_badges_get_user_by_hash
2023-06-20 21:14:17 -03:00
Paul Holden
697be4eaa3
MDL-75810 badges: allow tags to be specified in test data generator.
2023-06-16 16:06:09 +01:00
Jun Pataleta
620371e7d3
Merge branch 'MDL-73325-master' of https://github.com/ntdat1904/datnguyen_moodle
2023-06-15 11:31:22 +08:00