1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-22 00:20:37 +01:00

22975 Commits

Author SHA1 Message Date
Sara Arjona
284c27ca4a Merge branch 'MDL-73147-master_take2' of https://github.com/lucaboesch/moodle 2021-12-01 14:50:08 +01:00
Sara Arjona
40818b5212 Merge branch 'MDL-72834-master' of https://github.com/HuongNV13/moodle 2021-12-01 08:59:47 +01:00
Luca Bösch
ff95ec1150 MDL-73147 questions: remove modulespecificbuttonscontainer class.
Also, in the bulk actions ui this aligns the bulk action button
properly.
2021-11-30 20:53:34 +01:00
Huong Nguyen
7de559fa2f MDL-72834 Calendar: Move the calendar into the user menu 2021-11-30 10:22:07 +07:00
Jun Pataleta
5438a3944a Merge branch 'MDL-72810-master' of git://github.com/mickhawkins/moodle 2021-11-29 17:19:28 +08:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Sara Arjona
5ae7fa42b7 NOBUG: Fixed SVG browser compatibility 2021-11-26 15:26:18 +01:00
Víctor Déniz
81044f2c11 Merge branch 'MDL-70658' of https://github.com/stronk7/moodle 2021-11-25 22:03:44 +00:00
Ilya Tregubov
f6feaad138 Merge branch 'MDL-72456-master' of https://github.com/ferranrecio/moodle 2021-11-25 20:25:19 +02:00
Eloy Lafuente (stronk7)
103a4b5c92 MDL-70658 phpunit: never apply for time() in data providers
Data providers are executed at the beginning of the execution
of the phpunit run, not when the test is run.

So, setting anything on them being dependent of current time
has high chances or fail when the test is executed (maybe some
hours later in slow databases / systems).

Data provider only can contain the relative values and then,
when the test is effectively run, they are applied to *current* time.
2021-11-25 18:13:51 +01:00
Ferran Recio
26d0e51d91 MDL-72456 mod_assign: fix behats 2021-11-25 15:29:54 +01:00
Eloy Lafuente (stronk7)
b34da7b184 MDL-70658 dml: Shorten aliases to make Oracle happy
Some columns in the database have already 29 characters, so we
cannot use a prefix of 3 characters because that puts orcle over
the 30 characters max.
2021-11-25 09:05:52 +01:00
Eloy Lafuente (stronk7)
20d3cd6f88 Merge branch 'MDL-72988' of https://github.com/paulholden/moodle 2021-11-24 23:49:41 +01:00
Andrew Nicols
68c3f1e90c MDL-70658 mod_bigbluebuttonbn: Use core/event_dispatcher 2021-11-24 12:27:31 +00:00
laurentdavid
65212c538b MDL-70658 mod_bigbluebutton: Include version 2021091407 into core
This commit includes a copy of the bigbluebuttonbn activity module from:
- branch: tags/v2.5-alpha.2^0
- commit:
2021-11-24 12:27:27 +00:00
Safat Shahin
0805e387b7 MDL-72076 bulk actions ui: Implement bulk actions in qbank API
This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-22 11:35:21 +11:00
Michael Hawkins
0d644fe4e0 MDL-72810 core_calendar: Remove the three-month pseudo block
This removes the three-month pseudo block from along the side of the
main calendar, and deprecates relevant files/methods which will no
longer be in use.
2021-11-19 18:33:46 +08:00
Ilya Tregubov
47c9289420 MDL-69092 mod_lti: Fix typo. 2021-11-19 09:50:36 +02:00
Andrew Madden
36f3aee38e MDL-69092 mod_lti: Add js_pending to help behat tests 2021-11-19 09:50:35 +02:00
Paul Holden
9a56e2ba1f MDL-72988 mod_lti: improved handling of missing tool endpoint. 2021-11-18 22:55:01 +00:00
Eloy Lafuente (stronk7)
628de2bf08 MDL-69092 mod_lti: SQL fix for cross-db 2021-11-18 20:46:56 +01:00
Ilya Tregubov
39cae56ef5 Merge branch 'MDL-69092-master_lti_pagination' of https://github.com/andrewmadden/moodle 2021-11-18 08:57:12 +02:00
Andrew Madden
f435f313e0 MDL-69092 mod_lti: Add pagination to toolconfigure.php.
* Add local function to access subsets of proxies and types direct from DB.
* Add local function to access count of proxies and types direct from DB.
* Add new external function to get both proxies and types with pagination.
* Add new external function to get count of proxies and types.
* Implement pagination using page factory in JS.
* Added unit tests to cover new external functions.
* Add mod_lti behat generators and tests.
* Show first and last button in paging bar.
* Created helper class to assist with new functions.
2021-11-17 22:44:56 +11:00
Jun Pataleta
f6a15259f7 Merge branch 'MDL-72925_master_v2' of https://github.com/TomoTsuyuki/moodle 2021-11-17 16:05:46 +08:00
Ilya Tregubov
cffd19b699 Merge branch 'MDL-69496_Master' of https://github.com/1JackBlack1/moodle 2021-11-17 09:01:00 +02:00
PraiseSatan
982d1bb1c8 MDL-69496 quiz: Only validate completion if unlocked
Quiz completion settings are only validated if they are unlocked.
Undefined behaviour in the forms API results in the completion
settings 'require passing grade' and 'completion attempts exhausted'
not being sent to the process options function if completion
settings are locked. This resulted in the completion attempts
exhausted setting being disabled whenever the quiz was saved
as it did not detect the require passing grade setting.
This changes the behaviour so that validation is only performed
if the completion settings are unlocked.
A behat test is included to ensure the setting does not change.
2021-11-17 09:11:29 +11:00
Tomo Tsuyuki
815f51979c MDL-72925 mod_forum: Filter discussion when grading 2021-11-16 15:23:51 +11:00
Ilya Tregubov
5efc19da4c Merge branch 'MDL-72612' of https://github.com/mkassaei/moodle 2021-11-15 10:15:46 +02:00
Mahmoud Kassaei
2bd34edc2d MDL-72612 Custom user field support: Quiz report grading 2021-11-12 15:29:50 +00:00
Shamim Rezaie
6b477deb50 Merge branch 'MDL-60850-master' of https://github.com/junpataleta/moodle 2021-11-12 12:59:59 +11:00
Jun Pataleta
6285dfb7e5 MDL-60850 mod_lti: Centre-align tool configure form elements 2021-11-12 09:40:48 +08:00
Sara Arjona
f94f9f875d MDL-68913 mod_assign: fix behat failure & version number 2021-11-11 12:15:50 +01:00
Ilya Tregubov
3da8ea4699 Merge branch 'MDL-71902-add-site-level-settings-enforcement-for-browsersecurity-settings' of https://github.com/keevan/moodle 2021-11-11 08:35:32 +02:00
Jun Pataleta
8f9b534ed2 Merge branch 'MDL-72552' of https://github.com/spvickers/moodle 2021-11-11 11:42:14 +08:00
Andrew Nicols
fb7caf7982 MDL-68913 assign: Address coding style issues 2021-11-11 10:55:39 +08:00
Andrew Nicols
940097de9e Merge branch 'MDL-68913-master' of https://github.com/cameron1729/moodle 2021-11-11 10:49:05 +08:00
Kevin Pham
4141f88361 MDL-71902 mod_quiz: Add locked flag option for quiz options
- Applies locked settings to many other quiz general options.
  For example, allows an admin to lock the browsersecurity level so it
  cannot be changed at an instance level, and will apply the 'default'
  option (which is currently None).
2021-11-11 10:36:14 +11:00
Eloy Lafuente (stronk7)
d824172077 Merge branch 'MDL-71912-master-v5' of git://github.com/abgreeve/moodle 2021-11-10 16:42:00 +01:00
Eloy Lafuente (stronk7)
0c9f92a317 Merge branch 'MDL-71956-master' of https://github.com/sarjona/moodle 2021-11-10 16:04:14 +01:00
Jun Pataleta
7f781d0b7e Merge branch 'MDL-72992-master' of git://github.com/cameron1729/moodle 2021-11-10 18:38:04 +08:00
abgreeve
e5b0be3192 MDL-71912 mod_book: Restore hastily removed editing setting. 2021-11-10 16:26:57 +08:00
abgreeve
05e6cdfd26 MDL-71912 mod_assign: Behat fixes for overrides. 2021-11-10 16:26:57 +08:00
abgreeve
85fded1a95 MDL-71912 mod_lesson: New step definitions for behat. 2021-11-10 16:26:56 +08:00
Mathew May
072311e9f4 MDL-65799 forum: Final deprecations 2021-11-10 15:22:43 +08:00
Matt Porritt
eaa1f56704 MDL-68913 Assign: Per attempt timing
This patch provides functionality to allow the
assign activity to have timed attempts for submissions.
It includes the logic, UI and adminstration changes
fot timed submissions.
2021-11-10 12:07:35 +08:00
Sara Arjona
03af737f21 MDL-71956 filter_h5p: Display the edit content button
The H5P filter will display now the "Edit content" button if the
user can edit the file.
2021-11-09 16:47:19 +01:00
Sara Arjona
eb4e36400e MDL-71956 core_h5p: Add more scenarios to can_edit_content
The method can_edit_content() now supports more scenarios where the
H5P content can be edited:
- Instead of supporting only mod_h5pactivity, now it supports any
mod or block when the user has the addinstance capability.
- If the component implements the can_edit_content method in the
h5p\canedit class and it returns true. For instance, the mod_forum
implements it and return true when filearea is post, if the user
can edit the post where the H5P is.
2021-11-09 16:47:18 +01:00
Eloy Lafuente (stronk7)
19576e54b3 MDL-71912 behat: Temporarily skip some troubled scenarios - js
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 16:08:48 +01:00
Eloy Lafuente (stronk7)
11eb9f9465 MDL-71912 behat: Temporarily skip some troubled scenarios - nonjs
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 12:47:34 +01:00
Jake Dallimore
c5a2e2db6c Merge branch 'MDL-71912-master-V4' of git://github.com/abgreeve/moodle 2021-11-09 11:47:55 +08:00