Commit Graph

1527 Commits

Author SHA1 Message Date
Mihail Geshoski 7ef1e09a87 MDL-86800 mod_workshop: Fix incorrect table borders 2025-10-01 11:26:45 +08:00
Daniel Ziegenberg bb7eec3886 MDL-83752 workshop: Handle empty feedbackreviewer
Causes PHP warnings when null on PHP 8.1.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-06-24 12:41:39 +02:00
Jun Pataleta 6f6b960cf8 MDL-85187 upgrade: Add the 5.0.0 separation line to all upgrade scripts 2025-04-14 09:32:14 +07:00
Jun Pataleta 91d2fa1ecb MDL-85147 versions: Bump all versions and requires near release 2025-04-09 17:46:57 +08:00
David Mudrák 5e88e47f58 MDL-84914 lang: Use fixed strings in tests, too 2025-04-01 21:47:43 +02: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 a70d511f29 Merge branch 'MDL-83901-main-v02' of https://github.com/ferranrecio/moodle 2025-03-12 08:09:16 +01:00
ferran 6787c7ff64 MDL-83901 mod_workshop: add course overview integration 2025-03-11 17:08:34 +01:00
Mikel Martín 3b8c9fd410 MDL-75669 theme_boost: Fix incorrect .row BS5 class usages
In BS5 all .row classes are intended to contain elements with any .col class
There were some cases where the .row class was being used only for display flex
purposes, so they where replaced.
2025-02-14 10:58:36 +01:00
Huong Nguyen 318f00580c Merge branch 'MDL-84249-main' of https://github.com/lameze/moodle 2025-01-23 09:02:11 +07:00
Andrew Nicols 3b1118cfd4 MDL-83468 phpunit: assertEqualsCanonicalizing now compares keys too
In previous versions of PHPUnit, the `assertEqualsCanonicalizing()`
method compared values only, ignoring the keys entirely. Since PHPUnit
10 the method now checks keys where they are non-numeric.

To solve this we call `array_values()`.
2025-01-20 16:47:56 +01:00
Simey Lameze c1182446d9 MDL-84249 behat: remove unnecessary javascript tag
This commit also make the repeated scenario names unique.
2025-01-20 13:59:29 +08:00
Huong Nguyen 7befed22d0 Merge branch 'versionbump' of https://github.com/junpataleta/moodle 2024-12-19 10:03:51 +07:00
Andrew Nicols 84532b7667 MDL-83705 core: Update subplugins.json relative to plugin 2024-12-19 09:03:00 +07:00
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
Huong Nguyen d08c982135 Merge branch 'MDL-83470-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +08:00
Huong Nguyen 8da8b20ff9 Merge branch 'MDL-83643-main' of https://github.com/lameze/moodle 2024-11-28 09:19:52 +07:00
Jun Pataleta 03729748d1 MDL-83470 core: Remove upgrade steps from 4.1 2024-11-27 10:27:09 +08:00
Huong Nguyen ea4b1f8e7b MDL-82584 mod_workshop: Correct DB select fields
We cannot use the `DISTINCT` CLOB fields on Oracle.
Instead of selecting all the fields, we just need
to select the needed fields only
2024-11-26 11:34:33 +07:00
Huong Nguyen f29f2ad5d3 Merge branch 'MDL-82584-main' of https://github.com/cwarwicker/moodle 2024-11-25 16:05:06 +07:00
Andrew Nicols 4d961d28ff Merge branch 'MDL-83551-main' of https://github.com/lameze/moodle 2024-11-22 10:50:48 +07:00
Conn Warwicker 5dc79c468d MDL-82584 mod_workshop: Refactor DB queries
Refactor workshop participant queries to improve performance.

This commit refactors how the authors/reviewers selectors are done in
mod_workshop. Previously this was trying to do all the work within SQL
so querying user roles and capabilities, with massive UNIONS for each
group on the course, which on big courses lead to SQL thousands of
lines long which broke the page, or took 5+ minutes to load.

This has been refactored to try and query only what is required
and then do capability checks within code instead of SQL.
2024-11-20 15:04:35 +00:00
Jun Pataleta fcb39d60a9 Merge branch 'MDL-81521-main' of https://github.com/andrewnicols/moodle 2024-11-19 15:15:17 +08: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
Simey Lameze b3d718147d MDL-83643 behat: make manual completion scenario names unique 2024-11-13 07:16:20 +08:00
Simey Lameze 9a3abb9148 MDL-83551 behat: make duplicated scenario names unique 2024-11-13 06:48:44 +08:00
ferran b0683da877 MDL-82349 core_courseformat: new get_generic_section_name method
The string "sectionname" was an unnecessary coupling between
formats and other plugins. Now the generic name for a section
should be obtained using $format->get_generic_section_name.
This allow formats to use an alternative string for nameing
sections. This is especially important for rare formats like
the frontpage one that does not have a plugin lang file.
2024-11-12 12:22:25 +01:00
Jun Pataleta e28447c09c Merge branch 'MDL-82912-main' of https://github.com/andelacruz/moodle 2024-10-10 10:35:00 +08:00
Angelia Dela Cruz bf031177f0 MDL-82912 mod_workshop: Behat to view assessment after workshop close 2024-10-09 16:13:08 +08: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 f24e0ecf53 MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Huong Nguyen 20f0247098 Merge branch 'MDL-82841-main' of https://github.com/andelacruz/moodle 2024-08-22 08:43:14 +07:00
Angelia Dela Cruz 27cbc47fbd MDL-82841 mod_workshop: Behat for submissions with set # of attachments 2024-08-21 18:56:09 +08:00
Angelia Dela Cruz 4fbb20466c MDL-82655 mod_workshop: Behat test for manual and random allocation 2024-08-21 17:08:25 +08: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 e6ea778c03 NOBUG: Fixed SVG browser compatibility 2024-08-16 08:37:01 +07:00
Sara Arjona a4a71a49ad MDL-82211 workshop: Fix icons size 2024-08-14 13:36:59 +07:00
Huong Nguyen 31e1fa1f1b Merge branch 'MDL-82211-main' of https://github.com/sarjona/moodle 2024-08-13 15:37:02 +07:00
Sara Arjona 2382ea5c31 MDL-82211 mod_workshop: Update SVG icons 2024-08-13 07:22:43 +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
David Mudrák 7af4e8816f MDL-82599 lang: Use the fixed strings in tests, too 2024-08-02 14:57:43 +02: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
Huong Nguyen 02701bdfab Merge branch 'MDL-82598-main' of https://github.com/lameze/moodle 2024-08-01 10:26:38 +07:00
Paul Holden 794115abdf MDL-82596 behat: tidy up existing usage of private files generator.
Filename is no longer required (since 83db25c330), given it never
did anything so can be removed. Requiring the "Private files" block
also isn't necessary since original switch to generator methods.
2024-07-26 18:32:27 +01:00
Simey Lameze fe50534740 MDL-82598 behat: improve example submission test 2024-07-25 19:31:38 +08:00
Angelia Dela Cruz 3a41d1a588 MDL-82422 mod_workshop: Behat for how strict assessment comparison is 2024-07-24 13:19:08 +08:00
Jun Pataleta a91fc78a90 Merge branch 'MDL-81265-main' of https://github.com/junpataleta/moodle 2024-07-11 12:08:58 +08:00
Jun Pataleta edafd17fc4 MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist" 2024-07-11 11:49:20 +08:00
Laurent David 37b6eea44f MDL-81265 mod_workshop: Fix accessibility issues
* Page title should be h2
* Contrasts in the table headers (for submission, assessment and grading)
should be 4:1 at least
2024-07-09 21:28:33 +02:00