24256 Commits

Author SHA1 Message Date
Paul Holden
3e0edcdb18
MDL-76551 mod_bigbluebuttonbn: correct stdClass method parameter type. 2023-03-22 17:15:16 +00:00
Laurent David
aa9c5cf455 MDL-76551 mod_bigbluebuttonbn: Add user picture
* Add user picture with token
* Add a new global setting to enable or disable avatar for users in meeting.
2023-03-22 15:42:28 +01:00
Laurent David
ba81f720db MDL-76551 mod_bigbluebuttonbn: Refactor join url
* get_join url should not have as many parameters as they can be deduced from the instance.
* Refactoring it will allow to pass on more implicit parameters like the user profile file.
2023-03-22 15:07:23 +01:00
Jun Pataleta
3be6f5c941 Merge branch 'MDL-75746_master' of https://github.com/marxjohnson/moodle 2023-03-21 15:48:03 +01:00
Sara Arjona
2e334cf58c Merge branch 'MDL-77523-master' of https://github.com/juancs/moodle 2023-03-21 15:46:27 +01:00
Sara Arjona
3acf967276 MDL-77608 h5p: Fix after rewrite
Minor changes, like removing extra line at the end of the file or adding
comment in lib/db/upgrade.php.
2023-03-17 13:20:41 +01:00
Jun Pataleta
16dc3230f5 Merge branch 'MDL-77608' of https://github.com/paulholden/moodle 2023-03-17 13:10:11 +01:00
Sara Arjona
a15d363453 Merge branch 'MDL-77275-master' of https://github.com/laurentdavid/moodle 2023-03-17 13:03:31 +01:00
Sara Arjona
adc7bd5103 Merge branch 'MDL-67526_final-deprecation-of-plagiarism-functions' of https://github.com/ziegenberg/moodle 2023-03-17 13:03:31 +01:00
Jake Dallimore
1546c4ff88 Merge branch 'MDL-76309-master' of https://github.com/sh-csg/moodle 2023-03-17 13:03:29 +01:00
Andrew Nicols
060b63cd1c Merge branch 'MDL-67789-master' of https://github.com/sarjona/moodle 2023-03-17 13:03:24 +01:00
Stefan Hanauska
c556374d52 MDL-76309 mod_assign: Compatibility with zip download 2023-03-16 07:17:55 +01:00
Paul Holden
5219aa3cf0
MDL-76339 mod_bigbluebuttonbn: correct upgrade note fix versions. 2023-03-15 19:15:00 +00:00
Paul Holden
0a9bdbc984
Merge branch 'MDL-76339-master' of https://github.com/call-learning/moodle 2023-03-15 19:03:03 +00:00
Jun Pataleta
f854dce12b Merge branch 'MDL-77343-master' of https://github.com/meirzamoodle/moodle 2023-03-15 16:33:23 +01:00
Sara Arjona
bd0a6e6dcc MDL-67789 h5p: Save current state using xAPI State
Co-author: Andrew Lyons <andrew@moodle.com>
2023-03-15 09:42:18 +01:00
Ferran Recio
03a4abde0f MDL-67789 xapi: Add support to save content state 2023-03-15 09:42:18 +01:00
Meirza
29d20be214 MDL-77343 mod_assign: Added missing class properties.
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.
2023-03-15 14:30:47 +07:00
Andrew Nicols
888c5853db Merge branch 'MDL-77550-master' of https://github.com/dpalou/moodle 2023-03-15 14:26:11 +08:00
Juan Segarra Montesinos
844ca05c2e MDL-77523 mod_data: textarea field should honor editor preferred format 2023-03-15 06:48:10 +01:00
Jake Dallimore
576369bf97 Merge branch 'MDL-77186-master' of https://github.com/andrewnicols/moodle 2023-03-15 12:00:42 +08:00
Jake Dallimore
ecc0f661c5 Merge branch 'MDL-35745' of https://github.com/timhunt/moodle 2023-03-15 11:31:36 +08:00
Jun Pataleta
ba7bf0781a Merge branch 'MDL-77344-master' of https://github.com/meirzamoodle/moodle 2023-03-15 10:34:07 +08:00
Ilya Tregubov
a34dbbe6fe Merge branch 'MDL-68093_master' of https://github.com/marxjohnson/moodle 2023-03-15 10:19:07 +08:00
Ilya Tregubov
f67237598c Merge branch 'MDL-77419-master' of https://github.com/danghieu1407/moodle 2023-03-15 09:18:44 +08:00
Meirza
e8a39af31d MDL-77344 mod_forum: Added missing class properties.
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.
2023-03-15 03:53:14 +07:00
Mark Johnson
e57993e921 MDL-75746 mod_quiz: Fix backup and restore of quiz slots 2023-03-14 16:07:55 +00:00
Daniel Ziegenberg
3018036ebd
MDL-67526 plagiarism: Final deprecation of plagiarism functions
Following MDL-65835 this now finally deprecates and removes the
functions:
  - plagiarism_save_form_elements(), please use
    {plugin name}_coursemodule_edit_post_actions() instead
  - plagiarism_get_form_elements_module(), please use
    {plugin name}_coursemodule_standard_elements() instead.
  - plagiarism_plugin::get_form_elements_module(), please
    use {plugin name}_coursemodule_edit_post_actions() instead.
  - plagiarism_plugin::save_form_elements(), please use
    {plugin name}_coursemodule_standard_elements() instead.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2023-03-14 17:04:20 +01:00
Tim Hunt
c051fbd0c2 MDL-35745 quiz: let teachers to re-open a Never submitted attempt
In the quiz reports, for any 'Never submitted' attempt, there is
now a 'Re-open' button next to where it says the attempt state.

If that is clicked, there is an 'Are you sure?' pop-up. If the user
continues, the attempt is reopened. If the student now has time left,
the attempt is put into the In progress state. If there is not time
left the attempt is immediately submitted and graded. The
'Are you sure? pop-up says which of those two things will happen.
2023-03-14 13:09:27 +00:00
Mark Johnson
055f994afa MDL-68093 workshop: Add behat test for viewing reports by group 2023-03-14 08:52:26 +00:00
Mark Johnson
7095fe0caa MDL-68093 wiki: Restrict group options to participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
1a520430d4 MDL-68093 survey: Add behat test for viewing response reports by group 2023-03-14 08:52:26 +00:00
Mark Johnson
31a1a7b455 MDL-68093 scorm: Add behat test for viewing reports by group 2023-03-14 08:52:26 +00:00
Mark Johnson
988b7cbfa6 MDL-68093 quiz: Add behat test for viewing results by group 2023-03-14 08:52:26 +00:00
Mark Johnson
647628e839 MDL-68093 lesson: Add behat test for non-participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
247004108f MDL-68093 h5pactivity: Add restriction for participation groups. 2023-03-14 08:52:26 +00:00
Mark Johnson
a1b1af77af MDL-68093 forum: Add behat tests for non-participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
7f9e7f2982 MDL-68093 feedback: Add behat tests for non-participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
8932fe55e5 MDL-68093 data: Add behat tests for groups 2023-03-14 08:52:26 +00:00
Mark Johnson
02f7e2d37b MDL-68093 choice: Add behat tests for groups 2023-03-14 08:52:26 +00:00
Mark Johnson
dfa5310b80 MDL-68093 chat: Add behat tests for groups 2023-03-14 08:52:26 +00:00
Mark Johnson
eb1aab3437 MDL-68093 bigbluebutton: Add behat tests for non-participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
0775756551 MDL-68093 assign: Restrict group submission to participation groups 2023-03-14 08:52:26 +00:00
Mark Johnson
958da5b67e MDL-68093 groups: Add visibility and participation settings
These new settings are designed to enchance user privacy surrounding
groups. They allow groups to be configured so that users outside the
group cannot see the group, so that users in the group cannot see each
other, or so that users cannot see the group at all, even if they are in
it. This avoids issues where a group may be assigned based on sensitive
personal information (such as a person requiring special arrangements
due to a disability).

By default, groups are visible to all and available for participation in
activities, which maintains the current behaviour.

For performance, a new cache has been added to track the number of
groups on a course that are not visible to non-members. This allows us
to revert to the existing behaviour if the new features are not being
used at all on a course, and only apply the new visibility conditions if
they are.

Users who have the moodle/course:viewhiddengroups capability should be
concious of exposing hidden groups when showing their screen to other
users. The "Switch role to..." feature can be used to show a course page
on screen without exposing private availability conditions, for example.

The changes cover several specific areas:
* grouplib functions, which most code should use to get lists of groups
  and members (this includes the participants page).
* Activities supporting group overrides will not allow overrides for
  groups that are hidden from all users.
* Activities supporting separate/visible groups modes will only allow
  groups with the new "participation" flag enabled to be selected.
* Group messaging will be disabled for groups where members cannot see
  each other, or cannot see the group at all.
2023-03-14 08:52:25 +00:00
danghieu1407
b875ecdcc4 MDL-77419 Quiz: question/qengine.js tidy-up 2023-03-14 10:26:46 +07:00
Andrew Nicols
fdb1df2bfd MDL-76867 core: Add plugintype_supports_disabling to plugininfo 2023-03-14 08:34:42 +08:00
Andrew Nicols
6809289cf4 MDL-76867 core: Plugintype coding style fixes 2023-03-14 08:34:42 +08:00
Andrew Nicols
9ec46c232d MDL-77186 core: Move all uses of cronlib to new class 2023-03-13 21:21:13 +08:00
Paul Holden
3cb70de95f
MDL-77608 mod_h5pactivity: namespace component lib testcase. 2023-03-13 09:36:40 +00:00
Laurent David
301c56ae1d MDL-77275 mod_data: Template reset button changes
* Remove the reset button in the sticky footer (template page)
* Add the reset button action in the Action menu
2023-03-13 07:35:44 +01:00