2792 Commits

Author SHA1 Message Date
Jun Pataleta
6c6a655b0b
Merge branch 'MDL-78527-master' of https://github.com/aanabit/moodle 2023-09-13 11:17:20 +08:00
Amaia Anabitarte
b87b72195c MDL-78527 core_completion: Fixing tests 2023-09-12 15:43:49 +02:00
Amaia Anabitarte
d481ec3af6 MDL-78527 core_completion: Improving labels and disclosure in mods 2023-09-12 15:43:49 +02:00
Jun Pataleta
83f56a0bed
MDL-78806 mod_assign: Use new Behat step for checking page title 2023-09-10 11:15:23 +08:00
Jun Pataleta
cc7bc1a553
Merge branch 'MDL-79064-master' of https://github.com/andrewnicols/moodle 2023-08-29 13:32:45 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses 2023-08-29 10:57:54 +08:00
Jun Pataleta
be35034f1c
Merge branch 'MDL-76974' of https://github.com/paulholden/moodle 2023-08-28 17:03:27 +08:00
Paul Holden
b30245b3e2
MDL-76974 javascript: convert remaining uses of old preferences API.
Implement component preference definition callbacks, update JS code
to use the `core_user/repository` module instead of the now deprecated
API.
2023-08-22 14:43:34 +01:00
Stefan Topfstedt
7b04638c52 MDL-71212 core_course: adds controls to the course index drawer. 2023-08-18 11:00:55 -07:00
Andrew Nicols
b71bec8475
Merge branch 'MDL-78684-master' of https://github.com/andelacruz/moodle 2023-08-17 09:12:36 +02:00
Andrew Nicols
339820fad1
Merge branch 'MDL-71196' of https://github.com/paulholden/moodle 2023-08-17 09:12:34 +02:00
Huong Nguyen
e1a6cdba0c
Merge branch 'MDL-71909' of https://github.com/NeillM/moodle 2023-08-17 09:10:52 +02:00
Sara Arjona
8f57f0fdac
MDL-78528 mod: Add suffix support to module completion fields 2023-08-09 09:12:43 +02:00
Angelia Dela Cruz
6385949078 MDL-78684 Behat: Replace gradebook navigation to use page resolvers
This commit also does other things such as:
- Replace manual steps to setup gradebook by data generators
- Added support for outcomes and scales page resolvers
- Behat clean up
2023-08-08 11:53:45 +08:00
Paul Holden
334b6c75a4
MDL-71196 completion: final removal of get_completion_state support. 2023-07-31 09:04:03 +01:00
Neill Magill
3a06a2f7dd MDL-71909 assignfeedback_editpdf: Do not queue conversions when not on
Before this change conversion tasks would be queued for assignments that
did not have the pdf annotation method enabled.

The change will also prevent queing when the plugin is disabled.
2023-07-26 08:43:39 +01:00
Andrew Nicols
0eaafc713c
Merge branch 'MDL-78280-master' of https://github.com/roland04/moodle 2023-07-21 11:59:05 +08:00
Mikel Martín
530691b1ca MDL-78280 completion: Fix behat for new completion UI
- The following behat step definitions were modified to work correctly both for course page conditions dialog and activity page
condition badges: 'activity_completion_condition_displayed_as', 'overridden_activity_completion_condition_displayed_as'
and 'activity_should_have_the_completion_condition'.
- Because now "Mark as done" manual completion button is not displayed for teachers in course homepage,
some behat steps were also modified.
2023-07-19 16:44:54 +02:00
Shamim Rezaie
dedbcaf074 Merge branch 'MDL-78564' of https://github.com/paulholden/moodle 2023-07-17 20:36:53 +10:00
Ilya Tregubov
c2a9b7b11d
Merge branch 'mdl-7133-master' of https://github.com/juancs/moodle 2023-07-13 16:49:59 +02:00
Andrew Nicols
af1af32037
Merge branch 'MDL-77450-master' of https://github.com/andelacruz/moodle 2023-07-13 16:49:58 +02:00
Sara Arjona
79829fb12c
Merge branch 'MDL-78642' of https://github.com/paulholden/moodle 2023-07-13 16:49:58 +02:00
Angelia Dela Cruz
83a73da1a3 MDL-77450 Behat: Behat cleanup and optimisation 2023-07-11 13:22:02 +08:00
Juan Segarra Montesinos
3a78fb7662 MDL-71133 mod_assign: Grade decimals missing with marking workflow 2023-07-09 08:11:18 +02:00
Ilya Tregubov
94452ea194
Merge branch 'MDL-77375-master' of https://github.com/rezaies/moodle 2023-07-06 09:19:57 +08:00
Ilya Tregubov
048edee1e2
Merge branch 'MDL-74301-master' of https://github.com/kabalin/moodle 2023-07-06 09:06:31 +08:00
Andrew Nicols
545c7e3037
Merge branch 'MDL-77563-master' of https://github.com/rezaies/moodle 2023-07-05 22:06:21 +08:00
Andrew Nicols
cee81e21c1
Merge branch 'MDL-77599' of https://github.com/stronk7/moodle 2023-07-05 21:58:47 +08:00
Paul Holden
d9a379a1c3
MDL-78642 mod_assign: typecast portfolio button renderer return.
Internally the button return is nullable, which we need to account
for in the renderer.
2023-07-05 13:51:48 +01:00
Andrew Nicols
2b19f23665
Merge branch 'MDL-78158-master' of https://github.com/andelacruz/moodle 2023-07-05 10:23:32 +08:00
Andrew Nicols
533e71a302
Merge branch 'MDL-76840' of https://github.com/uzimike/moodle 2023-07-04 13:20:51 +08:00
Angelia Dela Cruz
09d654b3fe MDL-78158 behat: Behat cleanup and optimisation 2023-07-04 07:01:27 +08:00
Ruslan Kabalin
80a111d25e MDL-74301 eslint: Address issues reported by eslint 2023-07-03 15:21:53 +01:00
Eloy Lafuente (stronk7)
d9f7fe9c3f
MDL-77599 coding-style: Replace forbidden @const tags by @var
@const is not a valid phpdoc tag and @var should be used to
document both classes properties and constants (no matter how
weird that may sound, heh).

Link to (draft right now) PHP-FIG:

https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#518-var

So, with this commit we are just replacing all uses by the correct
@var one. Note that the type is entirely optional, in fact I think
that there isn't much need of it for constants because it's obvious
for both humans and machines which the type is. But, as far as it's
also correct to specify it, we haven't modified that detail.

The only detail modified are the cases where the constant name was
specified in the phpdoc, that's not needed, hence, the names have
been removed from there when present (a couple of cases).
2023-07-03 15:58:16 +02:00
Angelia Dela Cruz
9f101a30b2 MDL-78158 Behat: Use data generators to add blocks 2023-07-03 17:41:21 +08:00
Shamim Rezaie
c99afc4bff MDL-77563 mod_assign: Improve how grader name is hidden 2023-07-02 01:33:32 +10:00
Paul Holden
390d1c9c02
MDL-78564 mod_assign: ensure submission statement is present.
Don't require acceptance of statement, if no such statements exists,
during assignment submission.
2023-06-30 14:19:56 +01:00
Shamim Rezaie
23d3191684 MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns 2023-06-30 11:25:04 +10:00
Andrew Nicols
42c7c56c9f
Merge branch 'MDL-78018' of https://github.com/paulholden/moodle 2023-06-29 11:01:34 +08:00
Andrew Nicols
d66f81d2e1
MDL-78168 mod_assign: Deprecate assign_files::preprocess 2023-06-24 13:33:01 +08:00
Andrew Nicols
adddcf394f
MDL-78168 mod_assign: Stop storing properties dynamically
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

In these cases, mod_assign was treating other unrelated objects as its
personal object store. These have been updated to not require this.
2023-06-24 13:33:00 +08:00
Andrew Nicols
bd8b6e011c Merge branch 'MDL-78435' of https://github.com/paulholden/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols
bf72c0de9d Merge branch 'MDL-75913-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
Sara Arjona
5f1ed26c75 Merge branch 'MDL-76635-master' of https://github.com/lameze/moodle 2023-06-21 14:02:11 +02:00
Ilya Tregubov
81c8850462
Merge branch 'MDL-77591-master' of https://github.com/justusdieckmann/moodle 2023-06-21 16:57:49 +08:00
Justus Dieckmann
a7d5328c31 MDL-77591 mod_assign: Fix feedback zip import for group submissions
Import now checks whether assignment is an group submission and
matches group ids instead of user ids in that case.

Additionally check for original unchanged files to not import in
group files instead of user files.
2023-06-20 20:20:35 +02:00
Simey Lameze
d79788245b MDL-76635 behat: improve submission comments test 2023-06-20 10:59:03 +08:00
David Woloszyn
802ff3e2e3 MDL-75913 behat: Use alternatives to Atto in tests 2023-06-19 16:35:46 +10:00
Paul Holden
70e5ff196a
MDL-78435 mod_assign: ensure due date is always after start date. 2023-06-16 18:41:45 +01:00
Jun Pataleta
5088fba999 Merge branch 'MDL-78333' of https://github.com/paulholden/moodle 2023-06-15 11:59:53 +08:00