Commit Graph

407 Commits

Author SHA1 Message Date
Paul Holden 02f8a46063 MDL-86363 completion: ensure module viewed completion data is cleaned.
The privacy provider should ensure it removes said data consistently.
2025-08-19 11:17:28 +01:00
Amaia Anabitarte 2a2e18461f MDL-82069 core_completion: Improve errors for multiple grading items 2025-05-19 09:32:59 +02:00
Jun Pataleta f933606dec NOBUG: Add upgrade notes 2025-04-13 09:54:13 +08:00
Huong Nguyen 7ac32003f7 NOBUG: Add upgrade notes 2025-04-11 22:03:06 +07:00
Sara Arjona 6c326dd2de NOBUG: Add upgrade notes 2025-04-08 17:06:38 +02:00
Huong Nguyen 8bcbf6e216 NOBUG: Add upgrade notes 2025-04-04 22:21:55 +07:00
Sara Arjona bfe86e8fe6 NOBUG: Add upgrade notes 2025-04-01 16:35:07 +02:00
Andrew Nicols c8e4bbe938 Merge branch 'MDL-84555-main' of https://github.com/ferranrecio/moodle 2025-03-25 10:41:50 +08:00
ferran ec9915b278 MDL-84555 core_course: add activity_icons to completion bulk editors 2025-03-24 16:49:53 +01:00
Daniel Ziegenberg 15579eb07f MDL-84674 core: Remove long-deprecated methods
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-18 10:36:53 +01:00
Sara Arjona 4c2d8b0205 NOBUG: Add upgrade notes 2025-03-04 16:14:27 +01:00
Jun Pataleta 7e3d9ef895 NOBUG: Add upgrade notes 2025-02-14 09:53:24 +08:00
Laurent David 26d7babbae MDL-83542 core_completion: Add hooks for cm completion
* Add hooks for events that lead to session_cache_reset
2025-02-07 11:52:39 +01:00
Sara Arjona 36b966eaf2 NOBUG: Add upgrade notes 2025-01-09 15:21:35 +01:00
Pedro Jordao e1688e7094 MDL-83917 core_completion: Create function count_modules_completed
The function returns the number of modules completed by a user and
executes a COUNT aggregate function to avoid running many queries
to obtain this information, aiming to optimize performance.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2025-01-07 22:16:46 -03:00
Amaia Anabitarte f87d36d750 MDL-82034 core_course: Fix Activity chooser opening issues on behat 2024-12-20 10:31:24 +01:00
Sara Arjona 1420e2fb5d Merge branch 'MDL-82457-main' of https://github.com/laurentdavid/moodle 2024-12-11 08:57:09 +01:00
Andrew Nicols c2414e5a45 MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
Laurent David 2be6563324 MDL-82457 core: Remove chat and survey dependencies
* Remove chat and survey plugins from the standard plugins
* Remove all related tables and settings from both plugins
using upgrade.
* Remove temporary admin notification (MDL-82297) and strings.
* PHP Unit:
   - Remove chat and survey as a sample module for unit testing
     replacing it with assignment module when possible (if not page).
   - Remove chat and survey from bulk update test
* Behat: Remove chat and survey behat tests
2024-12-10 08:59:18 +01:00
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
Andrew Nicols c745b3fb80 MDL-81308 core: Use a helper for consecutive invocation counts 2024-10-23 14:14:33 +08:00
Andrew Nicols 8dcad87631 MDL-81308 core: Update tests to not use withConsecutive 2024-10-23 14:14:32 +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
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
Sara Arjona 3cc3569974 NOBUG: Add upgrade notes 2024-09-13 13:22:02 +02:00
ferranrecio c643b6e887 MDL-83008 course: make subection completion not editable 2024-09-11 09:44:21 +07:00
ferranrecio c261fca22a MDL-82983 course: prevent subsection default completion 2024-09-05 12:58:19 +02:00
Kevin Percy 990d54fc98 MDL-80751 behat: Combined Grade action into one step 2024-09-02 17:46:20 +08:00
Kevin Percy a18376806d MDL-80751 behat: Removed Grade button from assignment submissions table 2024-09-02 17:03:58 +08:00
Huong Nguyen 4f9ab7d3ff Merge branch 'MDL-82195-main' of https://github.com/mihailges/moodle 2024-08-26 09:19:46 +07:00
Huong Nguyen dca18ebca3 Merge branch 'MDL-81634-main' of https://github.com/andrewnicols/moodle 2024-08-20 09:30:44 +07: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
Huong Nguyen e2708aeacf NOBUG: Add upgrade notes 2024-08-16 08:37:50 +07: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
Huong Nguyen 4fc57b90c0 Merge branch 'MDL-82620-main' of https://github.com/ericmerrill/moodle 2024-08-07 10:20:18 +07: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
Eric Merrill 57393beec9 MDL-82620 completion: Make enrol duration comp happen at the right time 2024-07-26 14:11:21 -04:00
Ilya Tregubov aa594cce71 Merge branch 'MDL-82090' of https://github.com/paulholden/moodle 2024-07-18 10:39:32 +08: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
Paul Holden ec57300048 MDL-82090 completion: account for alternate gradepass form fields.
Some modules (e.g. Workshop) have "*gradepass" fields for each grade
item, which should be accounted for when trying to freeze them.
2024-07-04 10:00:32 +01:00
Shamim Rezaie d5a8752914 MDL-80748 behat: Workaround for elements covered by the sticky header 2024-07-01 15:58:20 +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
Eloy Lafuente (stronk7) 674497a12c MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
Ilya Tregubov 788f0e6f0a NOBUG: Add upgrade notes 2024-06-14 08:56:53 +08:00
Eloy Lafuente (stronk7) 01148a0816 MDL-81522 phpunit: Add missing void return type to all tests
While this change is not 100% required now, it's good habit
and we are checking for it since Moodle 4.4.

All the changes in this commit have been applied automatically
using the moodle.PHPUnit.TestReturnType sniff and are, exclusively
adding the ": void" return types when missing.
2024-06-11 11:55:07 +02:00
Jun Pataleta c42c94279a NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
Amaia Anabitarte f185fdca52 MDL-81749 core_completion: Let custom rules to return failed state 2024-06-05 15:55:04 +02:00