Sara Arjona
78f0557607
Moodle release 4.0.3
2022-08-19 09:50:23 +02:00
Sara Arjona
dd1a805bae
weekly release 4.0.2+
2022-08-18 14:54:15 +02:00
Laurent David
00e3145a61
MDL-75210 mod_quiz: fix sequential quiz access
...
* As a student I should only be able to access the next question or the current question
* The API should not show more than the current question
* Once the quiz is previewed we can see the question in any order (existing behaviour)
* Related to ticket MDL-71728
Co-authored-by: Rajneel Totaram <rjnlfj@yahoo.com >
Co-authored-by: Tim Hunt <t.j.hunt@open.ac.uk >
2022-08-18 08:08:00 +04:00
Andrew Nicols
dfb8817998
Merge branch 'MDL-75029-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-08-18 11:17:43 +08:00
Sara Arjona
76e2b6ef9f
Merge branch 'MDL-75063-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-08-17 16:53:10 +02:00
Sara Arjona
d5c66fa1a4
Merge branch 'MDL-75312-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-08-17 12:26:44 +02:00
Shamim Rezaie
e9a7520a17
Merge branch 'MDL-75386-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE
2022-08-17 13:29:28 +10:00
Shamim Rezaie
c13b24dcaa
Merge branch 'MDL-73876-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE
2022-08-17 02:32:27 +10:00
Sara Arjona
db67f81aa6
Merge branch 'MDL-72178-400' of https://github.com/NoelDeMartin/moodle into MOODLE_400_STABLE
2022-08-16 16:58:35 +02:00
Mark Johnson
e851106c8f
MDL-75388 lib: Update mustache to 2.14.1
...
MDL-67114 and MDL-73586 local changes removed as they are now available
upstream.
2022-08-12 04:15:20 +02:00
Petr Skoda
754b7af680
MDL-75237 core: improve PARAM_SAFEPATH docs
2022-08-12 04:15:20 +02:00
Petr Skoda
d0fd8c6ff4
MDL-75237 qformat_blackboard_six: sanitise blackboard import file paths
2022-08-12 04:15:20 +02:00
Petr Skoda
b0388fdc49
MDL-75237 core: Revert MDL-72029
...
This reverts commit a212b1ec3e .
2022-08-12 04:15:20 +02:00
Petr Skoda
3cbcba14ca
MDL-75237 qformat_blackboard_six: Revert MDL-72029
...
This reverts commit f38397544a .
2022-08-12 04:15:19 +02:00
Paul Holden
cdbdc89b32
MDL-75326 h5p: require sesskey to toggle library enabled state.
2022-08-12 04:15:19 +02:00
Shamim Rezaie
bcd0bdaf51
weekly release 4.0.2+
2022-08-12 11:52:51 +10:00
Noel De Martin
d53fbbdd5c
MDL-72178 feedback: Implement behat generators
...
Based on Andrew's WIP from https://github.com/andrewnicols/moodle/commit/b3d40cb20d1f0edf0bf21077c8f94bce5dec56db
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2022-08-11 10:49:41 +02:00
Jun Pataleta
cb0ab077ff
Merge branch 'MDL-75375-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-08-10 00:25:55 +08:00
Brendan Heywood
4e3b6edaaf
MDL-75375 cache: Fix file store path cleaning
2022-08-09 23:53:55 +08:00
Jun Pataleta
66401fdedb
Merge branch 'MDL-74636_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE
2022-08-09 11:11:11 +08:00
Jun Pataleta
a3d771cdca
Merge branch 'MDL-74800-400' of https://github.com/ferranrecio/moodle into MOODLE_400_STABLE
2022-08-08 22:34:12 +08:00
Jun Pataleta
a034c10238
MDL-74800 core: block actions fix suggestion
2022-08-08 14:51:28 +02:00
Jun Pataleta
1a7939778b
MDL-74800 core: action menu role fix
...
The action menu could have a role button or menubar depending on the
number of options available.
2022-08-08 14:51:28 +02:00
Ferran Recio
68b3f1e4a7
MDL-74800 core_courseformat: fix accessibility checks
2022-08-08 14:51:23 +02:00
Ferran Recio
357960c02f
MDL-74800 output: fix edit button accessibility
2022-08-08 14:49:01 +02:00
Ferran Recio
798edb457c
MDL-74800 message: fix invalid aria-label attributes
2022-08-08 14:49:01 +02:00
Jun Pataleta
4e0aa8af6c
Merge branch 'MDL-74211-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-08-08 11:14:52 +08:00
Angelia Dela Cruz
9dca9da48c
MDL-75063 behat: BigBlueButton behat generators use UI
...
Replace steps that manually add BigBlueButton instances via the UI
and use Behat generators. This improves the speed of the Behat test
runs.
Co-authored-by: Simey Lameze <simey@moodle.com >
2022-08-05 17:29:51 +08:00
Ilya Tregubov
ee48012f9c
Merge branch 'MDL-74475-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE
2022-08-05 12:26:37 +04:00
Andrew Nicols
a9a1791fe7
MDL-75386 theme: Include CSS from editor subplugins in editor style
...
Editor stylesheets are kept separately to standard plugin stylesheets so
that they can be provided to style individual iframes where loading the
standard Moodle stylesheets would be incorrect.
Unfortunately the editor stylesheet system does not consider that
subplugins may want to add small individual styling to the editor but
this is required in some situations.
2022-08-05 14:18:42 +08:00
Ilya Tregubov
8eb4217a49
weekly release 4.0.2+
2022-08-05 08:29:17 +04:00
Andrew Lyons
eb1ea16009
MDL-73876 behat: Show exceptions stack trace
2022-08-04 16:51:44 +04:00
Paul Holden
b9277ef5e2
MDL-75029 block_news_items: indicate posts made by deleted users.
2022-08-04 09:43:23 +01:00
Jun Pataleta
61421c7930
Merge branch 'MDL-74895-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-08-04 11:35:39 +08:00
Jun Pataleta
287d2a5e12
Merge branch 'MDL-69251-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-08-04 11:16:13 +08:00
Andrew Nicols
ff60bfb0bf
Merge branch 'MDL-56923-400' of https://github.com/rezaies/moodle into MOODLE_400_STABLE
2022-08-04 11:12:56 +08:00
Andrew Nicols
8a79df8f2a
Merge branch 'MDL-74502-400' of https://github.com/marinaglancy/moodle into MOODLE_400_STABLE
2022-08-04 11:08:58 +08:00
Jake Dallimore
f5342a222d
Merge branch 'MDL-74766-400' of https://github.com/JBThong/moodle into MOODLE_400_STABLE
2022-08-04 10:59:37 +08:00
Andrew Nicols
1cc0b4832d
Merge branch 'MDL-75080-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-08-04 10:44:51 +08:00
Andrew Nicols
3363d697f6
Merge branch 'MDL-74655-400' of https://github.com/NoelDeMartin/moodle into MOODLE_400_STABLE
2022-08-04 10:08:46 +08:00
Andrew Nicols
b1837e6cf9
MDL-74492 editor_atto: Comment the regex change
2022-08-04 10:04:59 +08:00
Philipp Imhof
4fecc12ea1
MDL-74492 editor_atto: <line> tags should not be confused with <li> tags
2022-08-04 10:04:59 +08:00
Simey Lameze
2937e76650
MDL-74211 behat: convert few more steps to use new data generators
2022-08-04 09:47:08 +08:00
Simey Lameze
b1f8463bc1
MDL-74211 behat: replace steps to use new categories page type
2022-08-04 09:47:08 +08:00
Simey Lameze
1947886e0e
MDL-74211 behat: add course question categories page type
2022-08-04 09:47:08 +08:00
Simey Lameze
38d68b8f3e
MDL-74211 quiz: make use of question data generators
2022-08-04 09:47:08 +08:00
Ilya Tregubov
c4b3e06f8a
Merge branch 'MDL-75185-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-08-03 16:27:46 +04:00
Jun Pataleta
9ff2f0d7de
Merge branch 'MDL-75285-400' of https://github.com/marinaglancy/moodle into MOODLE_400_STABLE
2022-08-03 18:04:05 +08:00
Jun Pataleta
e9ae523134
Merge branch 'MDL-74740-400-1' of https://github.com/mihailges/moodle into MOODLE_400_STABLE
2022-08-03 17:03:50 +08:00
Jun Pataleta
16c5a3a0dd
Merge branch 'MDL-62959-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-08-03 16:52:04 +08:00
Noel De Martin
8dae0dec69
MDL-74655 competency: Implement behat generators
2022-08-03 10:48:36 +02:00
Amaia Anabitarte
e839fe812d
MDL-74475 core_badges: Behat test using new step
2022-08-03 10:36:08 +02:00
Amaia Anabitarte
f164065979
MDL-74475 behat: Option to jump to course edit page
2022-08-03 10:36:08 +02:00
Andrew Nicols
58dd489eae
Merge branch 'MDL-72430-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE
2022-08-03 12:49:35 +08:00
Jun Pataleta
05875057c6
Merge branch 'MDL-75205-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-08-02 23:18:21 +08:00
Paul Holden
8ee995dfad
MDL-75205 reportbuilder: include report parameters on filters reset.
...
When resetting report filters, we need to include the original report
parameters in the external method call to ensure all those that are
required during validation are present (e.g. when determining if user
can view the current system report).
2022-08-02 12:43:55 +01:00
Jun Pataleta
f313b73822
Merge branch 'MDL-74947-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-08-02 10:00:44 +08:00
Marina Glancy
492bac151d
MDL-75285 core_reportbuilder: allow left joins on category entity
2022-07-29 12:48:20 +02:00
Tim Hunt
241b6628f5
MDL-74636 behat: step to skip this scenario if a plugin isn't installed
2022-07-29 09:49:09 +01:00
Jun Pataleta
5f68f288a0
Merge branch 'MDL-75244-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE
2022-07-29 15:29:50 +08:00
Andrew Nicols
1c47240630
Merge branch 'MDL-72349_M400_update_strip_double_headers_function' of https://github.com/christina-roperto/moodle into MOODLE_400_STABLE
2022-07-29 12:11:56 +08:00
Jun Pataleta
a866652ea4
weekly release 4.0.2+
2022-07-29 10:56:42 +08:00
Angelia Dela Cruz
80b9cafca8
MDL-75080 behat: Chat behat generators use UI
...
Replace steps that manually add Chat instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2022-07-29 10:25:54 +08:00
Andrew Nicols
b81c83e461
MDL-75244 form: Change checker should check existence of tinyMCE API
...
The window.tinyMCE.editors API was present in version 3 of TinyMCE, but
is not present in later versions. As a result, this check tries to loop
over a variable which does not exist and throws an error in the process.
We should check that window.tinyMCE *and* window.tinyMCE.editors both
exist before attempting to loop over them.
2022-07-28 16:09:21 +08:00
Jun Pataleta
b360784c5b
Merge branch 'MDL-74964-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-07-27 17:12:56 +08:00
Jun Pataleta
306a4e04aa
Merge branch 'MDL-74656-400-fix' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-27 16:37:38 +08:00
Simey Lameze
092213c80d
MDL-62959 calendar: add behat to test event type changing
2022-07-27 15:45:11 +08:00
Paul Holden
321a8cb0ca
MDL-74656 reportbuilder: cast fields to char on mssql during concat.
2022-07-27 08:22:10 +01:00
Jun Pataleta
0f62627d13
Merge branch 'MDL-74808-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-07-27 13:22:03 +08:00
Simey Lameze
319a50649e
MDL-62959 calendar: fix event data mapping for group id
2022-07-27 11:46:14 +08:00
Marina Glancy
5715b74d3a
MDL-74964 core_enrol: enrolment page UI fixes
2022-07-27 08:18:10 +08:00
Paul Holden
c83345aa11
MDL-75312 question: predictable ordering of available questions.
...
This solves sporadic test failure that tried to assert their order.
2022-07-26 17:12:51 +01:00
Jun Pataleta
9d03236862
Merge branch 'MDL-74656-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-26 20:03:17 +08:00
Huong Nguyen
1b40599fbf
MDL-72430 Calendar: Fix admin cannot edit course event
2022-07-26 11:49:26 +07:00
Andrew Nicols
7cd2e70ec9
Merge branch 'MDL-73788-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-07-26 11:38:21 +08:00
Jun Pataleta
15d70438bc
Merge branch 'MDL-74057-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-07-26 11:02:17 +08:00
Paul Holden
eb5cce9b4e
MDL-74895 h5p: more resilient error handling during content fetching.
...
On new installs, the task for downloading new H5P content types would
throw exceptions and exit when encountering unexpected and/or missing
data.
2022-07-25 20:05:38 +01:00
Ilya Tregubov
c096179b1c
Merge branch 'MDL-75083-MOODLE_400_STABLE' of https://github.com/rzhtwberlin/moodle into MOODLE_400_STABLE
2022-07-25 14:56:08 +04:00
Angelia Dela Cruz
1a6985d6e2
MDL-74057 behat: SCORM behat generators use UI
...
Replace steps that manually add SCORM instances via the UI and use
Behat generators. This improves the speed of Behat test runs.
2022-07-25 18:33:18 +08:00
Thong Bui
abb6bc93a6
MDL-74766 html_editor: Fix form is submitted as an empty string
2022-07-22 10:14:05 +07:00
Ilya Tregubov
2ccd0743fb
weekly release 4.0.2+
2022-07-21 21:29:51 +04:00
Ilya Tregubov
80f90252b9
NOBUG: Fixed SVG browser compatibility
2022-07-21 21:29:49 +04:00
Ilya Tregubov
b5d567068c
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-07-21 21:29:49 +04:00
Jun Pataleta
bfcaab9a0f
Merge branch 'MDL-75181-400' of https://github.com/call-learning/moodle into MOODLE_400_STABLE
2022-07-21 11:59:31 +08:00
Jun Pataleta
350d1df507
Merge branch 'MDL-75208_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-07-21 11:27:01 +08:00
Víctor Déniz
0de2f98aaa
Merge branch 'MDL-73332-400' of https://github.com/martygilbert/moodle into MOODLE_400_STABLE
2022-07-20 19:55:51 +01:00
Laurent David
e658f9f04a
MDL-75181 mod_bigbluebuttonbn: Fix activity completion exception
...
* Fix exception raised in core completion module due to the absence of
completionview in get_sort_order
2022-07-20 13:55:51 -04:00
Jun Pataleta
017833a2ab
Merge branch 'MDL-75182-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-07-19 22:47:00 +08:00
Christina Thee Roperto
8c9179174d
MDL-72349 filelib: update strip_double_headers function
2022-07-19 19:18:35 +10:00
Eloy Lafuente (stronk7)
8cb6079b4f
MDL-75208 oracle: Amend a couple of queries to make Oracle happy
...
The changes introduced here are completely safe, just we stop
binding SITEID and, instead, embed it in the SQL.
Why? Because Oracle 21 has started to return non-sense results
when SITEID is bound.
After lots of tests, attempts, debugging... we have been unable
to find any logic to the need of this change and also, have been
unable to reproduce the problem with a standalone script that
pretty much runs the same queries that the ones changed here.
I'm sure that there is something, somewhere, but have failed
to find it, grrr.
Please read MDL-75208 and linked issues to find more information
about this problem, that is one of the biggest mysteries I've
seen recently. Maybe at the end there is a tiny detail that
explains it all, but it's really well hidden.
2022-07-19 09:52:31 +02:00
Paul Holden
39d606ec27
MDL-74656 reportbuilder: ensure nulls preserved in column callbacks.
...
When concatenating column fields in order to perform aggregation on
them (e.g. group concatenation), we need to preserve all null values
in the data passed to each column callback.
Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com >
2022-07-19 08:42:30 +01:00
Ilya Tregubov
d6cf61731e
Merge branch 'MDL-68843-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-07-18 14:16:26 +04:00
Angelia Dela Cruz
9294b6a37f
MDL-73788 behat: URL behat generators use UI
...
Replace steps that manually add URL instances via the UI and use
Behat generators. This improves the speed of Behat test runs.
2022-07-18 17:58:14 +08:00
Jun Pataleta
4525bada77
Merge branch 'MDL-74925-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-07-18 16:25:43 +08:00
Jake Dallimore
993cc8ff8a
MDL-68843 enrol_lti: add tests covering disabled instances in tasks
...
Verify the expected behaviour of the sync_members and sync_grades tasks
when enrolment instances are disabled, whether as a byproduct of module
deletion, or as status change made by the user.
2022-07-18 16:25:30 +08:00
Jake Dallimore
5ac9ff15a0
MDL-68843 enrol_lti: auto disable orphaned enrolment instances
...
- pre_course_module_deletion hook to disable on mod delete
- upgrade step dealing with legacy orphaned records
2022-07-18 16:25:30 +08:00
Jake Dallimore
15eec33f91
MDL-68843 enrol_lti: add deleted activity warning to published tools
...
Adds a warning to the 'name' column of the tables, letting teachers know
that the activity exposed by the method has been deleted and what their
options are.
2022-07-18 16:25:30 +08:00
Simey Lameze
437db87b3e
MDL-74925 course: use the correct 'remove' action
2022-07-18 14:50:43 +08:00
Simey Lameze
73d5d4d51f
MDL-74925 phpunit: add missing course/format test suite
2022-07-18 14:50:43 +08:00
Jun Pataleta
7d36cf9b34
Merge branch 'MDL-74768-bulkmove-question-after-affects' of https://github.com/catalyst/moodle-MDL-72752 into MOODLE_400_STABLE
2022-07-18 13:49:58 +08:00
Shamim Rezaie
0483366b23
Merge branch 'MDL-74826-400' of https://github.com/rmady/moodle into MOODLE_400_STABLE
2022-07-18 12:19:42 +10:00
AMOS bot
f374651109
Automatically generated installer lang files
2022-07-16 00:08:07 +00:00
Denis Brat
fef4736613
MDL-69251 enrol_lti: fix sync_members task inconsistent internal state
2022-07-15 12:20:34 +08:00
Marty
4a27fe0a25
MDL-73332 mustache: Fix shortentext helper
...
In the docs, it claims you can provide length to
the shortentext template helper as a context variable.
In reality, that is not the case.
2022-07-14 09:36:13 -04:00
Víctor Déniz
c1910fc822
weekly release 4.0.2+
2022-07-14 12:06:06 +01:00
Víctor Déniz
daf6a7c39e
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-07-14 12:06:03 +01:00
Safat Shahin
fd82af2f5e
MDL-74768 core_question: Fix for question category movement
2022-07-14 11:12:19 +10:00
Víctor Déniz
0fa050c328
Merge branch 'MDL-74671-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-14 01:46:25 +01:00
Víctor Déniz
890828d9b4
Merge branch 'MDL-74681-written_time_in_query_end_400' of https://github.com/catalyst/moodle into MOODLE_400_STABLE
2022-07-12 11:54:20 +01:00
Srdjan
ffbea7e4fc
MDL-74681 lib/dml: moodle_read_slave_trait: written table timestamping
...
Moved written table timestamping from query_start() to query_end():
We are adjusting table last written times at the end of transaction.
That does not apply to immediate database writes that are not performed
within transaction. This change is to set last written time after the query
has finished for such writes, rather than before it started. That way
long write operations cannot spill over the latency parameter.
2022-07-12 14:42:15 +10:00
Jun Pataleta
de0773cb42
Merge branch 'MDL-74595-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-12 11:44:08 +08:00
Jun Pataleta
b5fc4139c8
Merge branch 'MDL-71747_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-07-12 10:50:34 +08:00
AMOS bot
1dab36ae65
Automatically generated installer lang files
2022-07-12 00:08:03 +00:00
Jun Pataleta
60af848bb3
Merge branch 'MDL-74282-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-11 20:35:31 +08:00
Jun Pataleta
cf7274f36e
Merge branch 'MDL-73215-undef-plagiarismlinks-400' of https://github.com/leonstr/moodle into MOODLE_400_STABLE
2022-07-11 17:02:02 +08:00
Jun Pataleta
0476854339
Merge branch 'MDL-74784-400' of https://github.com/sarjona/moodle into MOODLE_400_STABLE
2022-07-11 16:53:58 +08:00
Jake Dallimore
25a9d276e1
MDL-74947 mod_lti: remove text validation from password field
...
This is a password field so should not be cleaned.
2022-07-11 13:38:52 +08:00
Johannes Burk
cb5943094d
MDL-75083 login: prevent double submission
...
Apply core_form/submit JavaScript code to prevent double submission of login form and guest login button.
Add ID to guest login button to make it addressable.
2022-07-08 16:28:46 +02:00
Paul Holden
af0e9fd216
MDL-74282 grade: omit outcomes report if outcomes aren't enabled.
2022-07-08 10:43:34 +01:00
Paul Holden
fdca502808
MDL-75185 reportbuilder: order report source listing alphabetically.
2022-07-08 10:07:18 +01:00
Simey Lameze
6f9a0826d7
MDL-74808 lib: replace type summary span by a div
2022-07-08 14:38:04 +08:00
Simey Lameze
8dc41648e3
MDL-74808 question: remove span element from label
2022-07-08 14:38:04 +08:00
Simey Lameze
f62ae260f4
MDL-74808 question: only add title attr if tooltip is set
2022-07-08 14:38:04 +08:00
Simey Lameze
fe7c20d157
MDL-74808 question: use the correct attr for checked checkboxes
2022-07-08 14:38:04 +08:00
Jake Dallimore
d069cb9337
Moodle release 4.0.2
2022-07-08 11:28:34 +08:00
Jake Dallimore
30533452cf
MDL-75182 enrol_lti: remove installed lang assumptions from unit tests
...
Don't assume 'fr' isn't installed, or that 'en' is. Use known
non-existent languages and known installed languages for the relevant
test cases.
2022-07-08 10:11:27 +08:00
Eloy Lafuente (stronk7)
ee2e8890f8
MDL-71747 environment: Ensure that check_xmlrpc_usage is in >=39
...
This is a partial backport of MDL-73270 to ensure that the
check_xmlrpc_usage custom check is present in all the supported
branches and it's applied to all branches able to run php80:
- MOODLE_311_STABLE
- MOODLE_400_STABLE
- master (aka, 4.1 and up)
Note that the whole patch has not been backported, only the
environmental check (xml file and check implementation).
2022-07-07 23:45:39 +02:00
Eloy Lafuente (stronk7)
140f43198d
MDL-71747 environment: Apply agreed changes
...
- PHP 7.4 required.
- Moodle 3.9 required.
- MariaDB 10.4 required.
- PostgreSQL 12 required.
- Oracle 19c required.
2022-07-07 19:19:49 +02:00
Eloy Lafuente (stronk7)
ef8eeba26c
MDL-71747 environment: 4.1 base information
...
This is a direct copy of the 4.0 information, to
have the changes under control in the next commit.
2022-07-07 19:19:49 +02:00
Jun Pataleta
93b132bbd1
weekly release 4.0.1+
2022-07-07 21:33:04 +08:00
Jun Pataleta
27b19d4daa
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-07-07 21:33:03 +08:00
Shamim Rezaie
31ad2a3e0e
MDL-56923 gradingform_guide: Fix icon positioning in RTL
2022-07-07 16:03:22 +10:00
Jun Pataleta
4d5fab8cf2
Merge branch 'MDL-75058-400' of https://github.com/jleyva/moodle into MOODLE_400_STABLE
2022-07-07 12:07:41 +08:00
Jake Dallimore
d4af150760
Merge branch 'MDL-69400-400' of https://github.com/abgreeve/moodle into MOODLE_400_STABLE
2022-07-07 11:48:49 +08:00
Jun Pataleta
0ba63f8913
Merge branch 'MDL-74885-400' of https://github.com/dravek/moodle into MOODLE_400_STABLE
2022-07-07 11:01:31 +08:00
Jun Pataleta
4969af736f
Merge branch 'MDL-75028-400' of https://github.com/rezaies/moodle into MOODLE_400_STABLE
2022-07-07 10:59:03 +08:00
Jun Pataleta
839740a522
Merge branch 'MDL-75116_400' of https://github.com/aolley/moodle into MOODLE_400_STABLE
2022-07-07 10:47:38 +08:00
Víctor Déniz
ac87f038e2
Merge branch 'MDL-74981-400' of https://github.com/stevandoMoodle/moodle into MOODLE_400_STABLE
2022-07-07 00:50:07 +01:00
Víctor Déniz
0a6c734fab
Merge branch 'MDL-74835-M400_update-nodejs-version-in-travis-integration-to-lts-gallium' of https://github.com/ziegenberg/moodle into MOODLE_400_STABLE
2022-07-06 12:17:36 +01:00
Jun Pataleta
62f71f1c81
Merge branch 'MDL-74741-400' of https://github.com/rezaies/moodle into MOODLE_400_STABLE
2022-07-06 16:45:59 +08:00
stevando
2cc78b27de
MDL-72171 tool_mobile: Ensure auto login URL is always local
2022-07-06 14:27:10 +08:00
David Matamoros
cca619f966
MDL-74885 reportbuilder: format value using percents from lang pack
2022-07-06 08:25:10 +02:00
Adrian Greeve
1bd32a28e8
MDL-69400 mod_forum: Added calender event refreshing.
2022-07-06 12:37:56 +08:00
Mihail Geshoski
7be2023401
MDL-71921 scorm: Sanitize element names before outputting track details
2022-07-06 05:25:29 +02:00
Alex Morris
0397ea7e59
MDL-75044 assignfeedback_editpdf: Add SAFER option to GS command
...
Adds the SAFER option to the Ghostscript command to limit interaction
with IO and OS commands
2022-07-06 05:25:29 +02:00
Huong Nguyen
f38397544a
MDL-72029 Lesson: Prevent arbitrary file read when importing lesson questions in blackboard format
2022-07-06 05:25:29 +02:00
Huong Nguyen
a212b1ec3e
MDL-72029 lib: Prevent path traversal for clean_param with PARAM_SAFEPATH
2022-07-06 05:25:29 +02:00
Laurent David
945e79573f
MDL-74473 core_analytics: Upgrade ML Backend to 3.0.5
2022-07-06 05:25:29 +02:00
Jake Dallimore
b327defe5d
MDL-72299 mod_lti: fix html escaping when reposting cross site posts
2022-07-06 05:25:29 +02:00
Andrew Nicols
2f0c3f4f7d
Merge branch 'MDL-73305_MOODLE_400_STABLE' of https://github.com/tasosb/moodle into MOODLE_400_STABLE
2022-07-06 11:16:10 +08:00
Andrew Nicols
7ff7ca5c6e
Merge branch 'MDL-74408-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-07-06 11:02:41 +08:00
Andrew Nicols
a5f36b8de2
Merge branch 'MDL-74972-400' of https://github.com/marinaglancy/moodle into MOODLE_400_STABLE
2022-07-06 10:58:16 +08:00
Jun Pataleta
f99c21b543
Merge branch 'MDL-74813-400' of https://github.com/mihailges/moodle into MOODLE_400_STABLE
2022-07-06 10:53:34 +08:00
Mihail Geshoski
004ceed0c1
MDL-74813 filepicker: Replace the dnd gif animation with a static icon
2022-07-06 10:24:37 +08:00
Jun Pataleta
10b6240719
Merge branch 'MDL-74821-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-07-05 22:13:49 +08:00
Laurent David
e475728710
MDL-74821 mod_feedback: Fix HTML validator error
...
* Remove align attribute on table elements
* Fix dangling tr/td on multichoice rated
* Remove colspan as it is not used
2022-07-05 21:46:53 +08:00
Jun Pataleta
634115240a
Merge branch 'MDL-74505-400' of https://github.com/JBThong/moodle into MOODLE_400_STABLE
2022-07-05 21:15:28 +08:00
Jake Dallimore
5040b9b579
Merge branch 'MDL-74815-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-07-05 14:53:01 +08:00
Thong Bui
3d2ad7d76a
MDL-74505 Question bank: Improve behat steps
2022-07-05 13:26:09 +07:00
Thong Bui
0b31712cf4
MDL-74505 Question bank: Update validation editing question form.
2022-07-05 13:26:08 +07:00
Jake Dallimore
573ee63a0e
Merge branch '400_mdl-73498' of https://github.com/daniil-berg/moodle into MOODLE_400_STABLE
2022-07-05 12:01:04 +08:00
AMOS bot
580dfbaeaa
Automatically generated installer lang files
2022-07-05 00:08:23 +00:00
Adam Olley
e088975109
MDL-75116 mod_feedback: Check array values exist before using them
...
Without this, the @list will emit a PHP warning under php8.0+ when the array
doesn't have a second element to assign.
2022-07-05 09:17:47 +09:30
Jun Pataleta
63fa452f51
Merge branch 'MDL-74516_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-07-04 23:17:32 +08:00
Jun Pataleta
09e0ba70ec
Merge branch 'MDL-75008-400-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_400_STABLE
2022-07-04 22:18:29 +08:00
Jun Pataleta
56ae87b4d2
MDL-74815 pix: Convert PNG version of darkened SVG icons
...
* Conversion was done using rsvg-convert from librsvg
2022-07-04 14:04:01 +08:00
Jun Pataleta
4572bf9827
MDL-74815 pix: Darken colour of grey icons
...
* Change the fill colour of grey icons from #999 to #888 .
2022-07-04 14:04:01 +08:00
Eloy Lafuente (stronk7)
41f365d633
MDL-74516 workshop: Better handling of floats for gradepass fields
...
This re-applies the same fix that was used for the central mod form
to the workshop activity. This is needed because the completion
support for this module is custom (there are 2 grade items), hence
the validations are also custom.
For more information, read the previous commit and MDL-74516
Unfortunately, because of a related bug with assessment completion
(see MDL-69690) we cannot provide automated testing for this
activity. Manual instructions will be provided instead.
2022-07-01 13:55:53 +02:00
Eloy Lafuente (stronk7)
feeac598b1
MDL-74516 activities: Better handling of floats for gradepass fields
...
Current code was relying on grade_floatval() that is not a validation
function. Instead, the gradepass field must be defined as proper float
and then perform the needed validations using unformat_float().
Note that the float element form has some particularities, see
MDL-73994 for more information and that makes us to have to check
for some values (null, zero) manually. Once that form element type
gets its behaviour fixed, the code will need to be revisited, hence
we have annotated it as comments for easier finding it in the future
(the same changes already were applied to other gradebook forms).
Also, remove an unreachable line of code (comparing with empty string)
within the grade_floatval() function because it's not possible anymore
to pass any string to it, as far as it's "?float" typed.
Covered as many cases with quiz completion as have been able to imagine.
2022-07-01 13:55:53 +02:00
Víctor Déniz
bab7bdc53e
weekly release 4.0.1+
2022-07-01 11:28:41 +01:00
Marina Glancy
3c3090b6f9
MDL-74502 behat: when setting a field value it may not be visible
...
for example in case of editor field, the textarea element is hidden by wysiwyg widget but we still need to be able to set it
2022-07-01 10:31:21 +02:00
Andrew Nicols
de95714ae0
Merge branch 'MDL-74841-400-fix' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-07-01 11:57:36 +08:00
Angelia Dela Cruz
da07dbda3f
MDL-74841 behat: Label behat generators use UI
...
Replace steps that manually add Label instances via the UI and use
Behat generators. This improves the speed of Behat test runs. Fix
for failing test.
2022-07-01 10:43:48 +08:00
David Mudrák
54c4cf6ac1
MDL-75008 lang: Use the fixed strings in Behat scenario files
2022-06-30 20:54:50 +02:00
Helen Foster
1e7d038247
MDL-75008 lang: Import fixed English strings (en_fix)
2022-06-30 20:54:50 +02:00
Mihail Geshoski
1a1684a6fc
MDL-74740 boost: Display the skip links from the blocks drawer
...
Due to fixed positioning of the block drawer and the navbar, the
z-index css property on the skip link elements from the drawer
is not respected. This ultimately results in the skip links being
stacked behind the navbar. As a workaround, an absolute positioning
will be temporary applied to the block drawer once the current
focus is on an element within the drawer which will stack the
skip links infront of the navbar.
2022-07-01 01:22:45 +08:00
Shamim Rezaie
63c3c3f76e
Merge branch 'MDL-74812-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-30 13:34:35 +10:00
Jun Pataleta
57d86b6a69
Merge branch 'MDL-75048-400' of https://github.com/jleyva/moodle into MOODLE_400_STABLE
2022-06-30 11:30:22 +08:00
Shamim Rezaie
c47a4021df
Merge branch 'MDL-75055-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-30 13:20:19 +10:00
Andrew Nicols
1294e283ad
Merge branch 'MDL-75084-400' of https://github.com/NoelDeMartin/moodle into MOODLE_400_STABLE
2022-06-30 11:13:06 +08:00
Andrew Nicols
787fee79c8
Merge branch 'MDL-74613-400' of https://github.com/NoelDeMartin/moodle into MOODLE_400_STABLE
2022-06-30 11:04:35 +08:00
Andrew Nicols
64fa2930e5
Merge branch 'MDL-74220-400' of https://github.com/NoelDeMartin/moodle into MOODLE_400_STABLE
2022-06-30 10:59:32 +08:00
Andrew Nicols
60a5ecfe46
Merge branch 'MDL-74744-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-06-30 10:54:11 +08:00
Andrew Nicols
b59920cce3
Merge branch 'MDL-74522-400' of https://github.com/devlionco/moodle into MOODLE_400_STABLE
2022-06-30 10:47:57 +08:00
Andrew Nicols
db9a86ff42
Merge branch 'MDL-74841-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE
2022-06-30 10:44:26 +08:00
Andrew Nicols
5463c97506
Merge branch 'MDL-72292-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-06-30 10:40:22 +08:00
Andrew Nicols
4fd50e8cd9
MDL-74379 core: Update date_format_string to use x-os functions
2022-06-30 10:35:41 +08:00
Andrew Nicols
fe88f321a2
Merge branch 'MDL-74379_400' of https://github.com/aya-saad1/moodle into MOODLE_400_STABLE
2022-06-30 10:35:38 +08:00
Andrew Nicols
6f78835258
Merge branch 'MDL-74287-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-30 10:02:11 +08:00
Víctor Déniz
191c8452d3
Merge branch 'MDL-72885-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-29 18:23:00 +01:00
Jun Pataleta
2e1636bb52
Merge branch 'MDL74387_MOODLE_400_STABLE' of https://github.com/Amrita1991/moodle into MOODLE_400_STABLE
2022-06-29 23:20:49 +08:00
Jun Pataleta
ebb328750a
MDL-75055 templates: Apply .alert-dismissible class
...
- Apply the .alert-dismissible class for notification alerts with
close button to fix its positioning. As an added bonus, the
.alert-dismissible class also enlarges the clickable area of the
close button which is great for accessibility.
- Improve example context for the notification alerts templates.
2022-06-29 22:07:11 +08:00
Jun Pataleta
5523816c38
MDL-75055 theme_boost: Darken close button colour in notification alerts
...
This is in order for the close button to have a good contrast against
the alert background and meet the minimum Level AA contrast ratio of 3:1
2022-06-29 22:07:11 +08:00
Ilya Tregubov
e3fe0299a1
Merge branch 'MDL-74548-400' of https://github.com/cameron1729/moodle into MOODLE_400_STABLE
2022-06-29 16:17:07 +04:00
Jun Pataleta
ab2a97b33d
Merge branch 'MDL-74632-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE
2022-06-29 18:06:50 +08:00
Anastasios Bithas
1bb9eb8467
MDL-73305 mod_folder: Download Folder in a mlang formated folder
2022-06-29 12:49:23 +03:00
Jun Pataleta
42a0b73dc1
Merge branch 'MDL-74886-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-06-29 17:47:02 +08:00
Jake Dallimore
ced2e3aca6
Merge branch 'MDL-74674-400' of https://github.com/alfonso-salces/moodle into MOODLE_400_STABLE
2022-06-29 16:44:47 +08:00
Víctor Déniz
805bb41d5b
Merge branch 'MDL-74742-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-29 09:32:51 +01:00
Alfonso Salces
50a2df69c3
MDL-74674 core: create notification generators
2022-06-29 10:31:24 +02:00
Noel De Martin
066459d375
MDL-75084 blog: Implement behat generators
2022-06-29 09:39:58 +02:00
Jake Dallimore
0551129c39
Merge branch 'MDL-74864-400' of https://github.com/dpalou/moodle into MOODLE_400_STABLE
2022-06-29 13:40:54 +08:00
Cameron Ball
59b6d343bf
MDL-74548 backup: Deprecate get/set copy from base controller
2022-06-29 09:41:12 +08:00
Cameron Ball
2f22088b38
MDL-74548 backup: Deprecate core_backup\copy\copy
2022-06-29 09:41:12 +08:00
Cameron Ball
8516a494b6
MDL-74548 backup: Unit tests for course copy refactor
2022-06-29 09:35:58 +08:00
Cameron Ball
53dd76348c
MDL-74548 backup: Refactor course copies
...
This patch modifies the way copy data is shared in order to mitigate potential race conditions
and ensure that the serialised controller stored in the DB is always in a valid state.
The restore controller is now considered the "source of truth" for all information about the
copy operation. Backup controllers can no longer contain information about course copies.
As copy creation is not atomic, it is still possible for copy controllers to become orphaned or
exist in an invalid state. To mitigate this the backup cleanup task has been modified to call
a new helper method copy_helper::cleanup_orphaned_copy_controllers.
Summary of changes in this patch:
- Copy data must now be passed through the restore controller's constructor
- base_controller::get_copy has been deprecated in favour of restore_controller::get_copy
- base_controller::set_copy has been deprecated without replacement
- core_backup\copy\copy has been deprecated, use copy_helper.class.php's copy_helper instead
- backup_cleanup_task will now clean up orphaned controllers from copy operations that went awry
Thanks to Peter Burnett for assiting with testing this patch.
2022-06-29 09:35:58 +08:00
Jun Pataleta
def51280c2
Merge branch 'MDL-74701-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE
2022-06-28 23:52:55 +08:00
Jun Pataleta
230e8d8485
Merge branch 'MDL-74906-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-06-28 23:33:13 +08:00
Shamim Rezaie
91b88a51a5
Merge branch 'MDL-73121-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-28 16:08:56 +10:00
Dani Palou
cdcfa083ff
MDL-74864 forum: Allow specifying group in discussions generator
2022-06-28 07:00:05 +02:00
Jun Pataleta
8a5e4412d9
Merge branch 'MDL-68867-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-06-28 11:24:04 +08:00
Jun Pataleta
deae2cf2fd
Merge branch 'MDL-74929-400' of https://github.com/bmbrands/moodle into MOODLE_400_STABLE
2022-06-28 11:07:39 +08:00
Jun Pataleta
5666c34237
Merge branch 'MDL-74781_400' of https://github.com/aya-saad1/moodle into MOODLE_400_STABLE
2022-06-28 10:44:59 +08:00
Juan Leyva
4535493590
MDL-75058 course: Fix support for dates on WebServices
2022-06-27 19:58:30 +02:00
Paul Holden
c4ed6da1c5
MDL-74671 phpunit: remove file/directory coverage duplicates.
2022-06-27 10:16:22 +01:00
Ilya Tregubov
991056f698
Merge branch 'MDL-74691-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-06-27 08:30:49 +04:00
Aya Saad
937eab02f6
MDL-74781 search: Fix heading repetition in global search page
2022-06-26 10:37:59 +02:00
Aya Saad
e6441d7fdb
MDL-74379 language: injecting am/pm in date string
...
patching the date_format_string() function in moodlelib to add am/pm for languages that don't suuport it.
2022-06-26 10:36:29 +02:00
Paul Holden
a12fbfae35
MDL-74595 calendar: consistent breadcrumbs navigating site calendar.
...
Take #3 , see also 7a529cc8 and 81b0d053 .
2022-06-24 10:14:56 +01:00
Shamim Rezaie
0074e485cd
MDL-74741 javascript: Set the role of d&d links to button
2022-06-24 14:24:58 +10:00
Shamim Rezaie
aa168505a9
MDL-74741 javascript: A11y fix for dialogues visible from beginning
2022-06-24 14:24:58 +10:00
Jun Pataleta
bbff432ffa
weekly release 4.0.1+
2022-06-24 11:59:05 +08:00
Jun Pataleta
9c81a8e93f
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-06-24 11:59:04 +08:00
stevando
6dfe557c7e
MDL-74981 mod_quiz: set limited width on overrides pages
2022-06-24 11:46:16 +08:00
stevando
cb53c504d3
MDL-74981 mod_assign: set limited width on overrides pages
2022-06-24 11:46:16 +08:00
Juan Leyva
41445fa1bf
MDL-75048 mod_quiz: Use new way to check if subcats are included
2022-06-23 10:02:33 +02:00
Jun Pataleta
0be775af96
Merge branch 'MDL-69939-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-23 09:53:37 +08:00
Jun Pataleta
979fd06b47
Merge branch 'MDL-74713-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-23 09:51:40 +08:00
Jun Pataleta
0198546f6e
Merge branch 'MDL-73156-M400' of https://github.com/michael-milette/moodle into MOODLE_400_STABLE
2022-06-23 09:50:29 +08:00
Simey Lameze
12fc4c5e7a
MDL-68867 calendar: remove dependency on USER->groupmember hack
2022-06-22 07:57:15 +08:00
Jun Pataleta
5b993c63c7
Merge branch 'MDL-73212_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-06-21 23:53:29 +08:00
Shamim Rezaie
5673f75524
MDL-75028 theme_boost: fix the inline edit tooltip for RTL
2022-06-22 01:18:59 +10:00
Eloy Lafuente (stronk7)
efa7b639d0
MDL-73212 gha: Allow parameters to be passed via secret
...
We are disabling the -v (verbose) option, used by default. Still,
now we support a secret (that can be added to everyone's repository)
to accept any PHPUnit's command line options and run the tests with
them.
Some examples:
phpunit_options = -v (to keep the verbose option enabled)
phpunit_options = --testdox (to print information about every test...)
... (basically anything supported by the CLI)
Also, we are raising here the environment from Ubuntu 18.04 to 20.04
(self tested by GHA, heh)
2022-06-21 16:52:03 +02:00
Rodrigo Mady da Silva
948616f4a0
MDL-74826 tool_mobile: Add reportbuilder option in disabledfeatures
2022-06-21 11:29:50 -03:00
Jun Pataleta
221b7618a1
MDL-74812 gradingform_rubric: Add radiogroup role properly
...
Do not add the radiogroup role to the rubric criterion when the rubric
table is being displayed on edit or preview modes.
2022-06-21 12:28:18 +08:00
Jun Pataleta
5ceafdc943
MDL-74812 gradingform_rubric: Fix text overlap in rubric levels
2022-06-21 12:28:18 +08:00
Jun Pataleta
40e58f8e3a
MDL-74812 gradingform_rubric: Do not use deprecated width attribute
...
Use inline CSS style to define level width instead.
2022-06-21 12:28:18 +08:00
Jun Pataleta
2b84963424
MDL-74812 mod_assign: Remove duplicate ID intro
2022-06-21 12:28:18 +08:00
Jun Pataleta
f35f522991
MDL-74812 gradingform_rubric: Fix contrast issues in rubric table
...
* Darken the score value using the green theme colour
* Use a light green theme colour for selection backgrounds
* Unify rubric styles related to background and text colour within the
criteria.
2022-06-21 12:28:18 +08:00
Jun Pataleta
bd26046264
Merge branch 'MDL-74630-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE
2022-06-21 10:12:11 +08:00
AMOS bot
e2de61b74b
Automatically generated installer lang files
2022-06-21 00:09:42 +00:00
Jun Pataleta
c2996f9301
Merge branch 'MDL-74715-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-20 21:57:28 +08:00
Daniil Fajnberg
9f26a1a312
MDL-73498 mod_lti: iframe allowed domain fixed
2022-06-20 15:52:29 +02:00
Paul Holden
2e7ca2f071
MDL-74715 reportbuilder: switch event for adding filters/conditions.
...
Switch the select element event listener to that provided by custom
events helper, for adding report filters and conditions. This improves
cross-platform support.
2022-06-20 09:09:06 +01:00
Jun Pataleta
4cd34267b6
Merge branch 'MDL-74358_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-06-20 14:36:05 +08:00
Ilya Tregubov
f02b730069
Merge branch 'MDL-74694-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-17 15:07:48 +04:00
Paul Holden
ceb4b0e0b4
MDL-69939 webservice: correct AJAX bool value in services definition.
2022-06-17 11:03:40 +01:00
Eloy Lafuente (stronk7)
feb621d4de
MDL-74358 availability: Avoid php8 problem with array_values(null)
2022-06-17 11:09:48 +02:00
Ilya Tregubov
490929b3ba
Merge branch 'MDL-74296-400' of https://github.com/call-learning/moodle into MOODLE_400_STABLE
2022-06-17 12:55:02 +04:00
Jun Pataleta
14d4bfdd2a
weekly release 4.0.1+
2022-06-17 15:30:30 +08:00
Eloy Lafuente (stronk7)
837e0cdce3
Merge branch 'MDL-72324-400-fix' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-17 08:38:45 +02:00
Jun Pataleta
211419a9c6
MDL-72324 core: Add upgrade.txt note about $plugin->incompatible
2022-06-17 10:37:59 +08:00
Jun Pataleta
92a2ccff5e
Merge branch 'MDL-74529-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-17 10:19:12 +08:00
Jun Pataleta
dce7206e8a
Merge branch 'MDL-74533-400' of https://github.com/BruceGoodGuy/moodle into MOODLE_400_STABLE
2022-06-17 10:19:11 +08:00
Jun Pataleta
65cc1b695a
Merge branch 'MDL-72555-400' of https://github.com/laurentdavid/moodle into MOODLE_400_STABLE
2022-06-17 10:19:11 +08:00
Simey Lameze
b8602beb62
MDL-72292 core: add param type and polishing
2022-06-17 09:54:30 +08:00
Alexander Bias
e8ef35b7c9
MDL-72292 core: Check if fulldir is set when loading renamed classes
2022-06-17 09:54:30 +08:00
Marina Glancy
9fb4b68799
MDL-74972 core_form: frozen autocomplete element does not display values
2022-06-16 10:25:00 +02:00
Paul Holden
8ed775e45f
MDL-74287 forms: request changesmade string as required.
...
Unconditionally requesting the string was triggering exceptions
during installation, before the required external functions had
been populated.
2022-06-16 08:07:48 +01:00
Paul Holden
fafa45112a
MDL-74287 media_videojs: skip dynamic loader during install/upgrade.
2022-06-16 08:07:48 +01:00
Jake Dallimore
9b8ce4d82b
MDL-74691 enrol_lti: add coverage of lti-ags claim variations to service
...
This test verifies how the service handles changes in the lti-ags claim
sent over several launches - ensuring the claim data is updated each
time.
2022-06-16 14:59:12 +08:00
Jake Dallimore
006b32290c
MDL-74691 enrol_lti: allow omission of lineitems property in ags claim
...
The claim is valid with either or both of the URLs, so long as there's
at least one.
2022-06-16 14:59:05 +08:00
Jun Pataleta
ba7c038739
MDL-74742 course: Use primary colour for Add button labels
...
Use the primary colour for the text inside the "Add a block" and
"Add an activity or resource" buttons.
2022-06-16 14:43:30 +08:00
Michael Milette
4b2efd494e
MDL-73156 user: Custom user profile field names now filtered.
2022-06-15 11:45:45 -04:00
Jun Pataleta
8e58b0bace
Merge branch 'MDL-74565-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-15 23:21:06 +08:00
Jun Pataleta
7bca8a175f
Merge branch 'MDL-72324-incompatible-check-400' of https://github.com/Peterburnett/moodle into MOODLE_400_STABLE
2022-06-15 23:04:10 +08:00
Paul Holden
24d82b3e4a
MDL-74694 reportbuilder: unit test coverage of external exporters.
2022-06-15 13:07:45 +01:00
Jun Pataleta
eab32b304a
Merge branch 'MDL-73966-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-15 18:06:15 +08:00
Jun Pataleta
86d0e4f7d7
Merge branch 'MDL-74871-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-15 17:17:07 +08:00
Bas Brands
b9d50fc8fe
MDL-74929 mod_assign: remove incorrect closing </div>
2022-06-15 09:11:34 +02:00
Paul Holden
8781ef341c
MDL-74713 admin: format custom profile fields in identify config.
2022-06-14 17:19:36 +01:00
Jun Pataleta
4dfd7a290b
Merge branch 'MDL-74790-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-14 22:53:44 +08:00
Jun Pataleta
f3bfa720ad
Merge branch 'MDL-74573_400' of https://github.com/aya-saad1/moodle into MOODLE_400_STABLE
2022-06-14 22:35:45 +08:00
Jun Pataleta
867cce4152
Merge branch 'MDL-74649-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-14 22:27:04 +08:00
Víctor Déniz
17bb38c307
Merge branch 'MDL-74526-400' of https://github.com/devlionco/moodle into MOODLE_400_STABLE
2022-06-14 10:11:37 +01:00
Víctor Déniz
47a4ef1e5e
Merge branch 'MDL-74449_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-06-14 10:02:49 +01:00
Laurent David
b8bf53eb4b
MDL-72555 block_site_main_menu: Fix activity chooser issue
...
* When adding the block_site_main_menu on every page, the activity chooser generated
for this entire page is set with courseid = 1. So any activity is then added to the
home page instead of a course.
2022-06-14 10:04:17 +02:00
Jun Pataleta
eab8c74464
Merge branch 'MDL-74816-400' of https://github.com/dpalou/moodle into MOODLE_400_STABLE
2022-06-14 14:03:37 +08:00
Jun Pataleta
2d9c3446e9
Merge branch 'MDL-74597-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-14 12:57:13 +08:00
Paul Holden
79651c7d22
MDL-74597 themes: remove pix icon references from custom menu items.
...
Support for them was removed in 8c336899 , however existing config
remained that would lead to bogus URLs in custom user menu items.
2022-06-13 21:43:33 +01:00
Ilya Tregubov
fb5e0c453b
Merge branch 'MDL-74628-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-13 10:58:28 +04:00
Jake Dallimore
6228f13bdd
Merge branch 'MDL_74310_400' of https://github.com/cengage/moodle into MOODLE_400_STABLE
2022-06-13 11:46:08 +08:00
Jake Dallimore
5bb2452ace
Merge branch 'MDL69756_MOODLE_400_STABLE' of https://github.com/Amrita1991/moodle into MOODLE_400_STABLE
2022-06-13 11:12:37 +08:00
Jake Dallimore
8275662ed3
Merge branch 'MDL-74718-400' of https://github.com/sharidas/moodle into MOODLE_400_STABLE
2022-06-13 10:53:25 +08:00
Huong Nguyen
f4eb5cb554
MDL-74632 atto_link: Fix cannot create a link for an image
2022-06-13 09:46:16 +07:00
Huong Nguyen
f2fc73c674
MDL-74701 core: Fix popover elements are focusable even when hidden
2022-06-13 09:45:28 +07:00
Paul Holden
9fc49012bd
MDL-74565 gradereport_grader: define capability required for editing.
2022-06-12 20:03:31 +01:00
Ilya Dymshits
86f4f6864d
MDL-74526 theme: remove icon from empty categories in RTL languages
2022-06-12 10:41:54 +03:00
Eloy Lafuente (stronk7)
ca8715654b
MDL-74449 gradebook: Protect flatten_dependencies_array() a little bit
...
It has been detected that the flatten_dependencies_array() was fragile
and leading to wrong results when some incorrect data was passed to it.
This includes:
- Missing elements.
- Null dependencies.
- Non array dependencies.
While the existing behaviour (testing-wise) has been preserved, now the
situations above are better controlled and the function ignores all
those incorrect cases that shouldn't happen ever.
That implies that a good number of notices/warnings/errors aren't
happening anymore. That was impacting both results (when the problems
were only notices and warnings) and execution (when the problems
were errors).
Covered with tests.
2022-06-10 18:17:56 +02:00
Laurent David
d9a62c9fac
MDL-74296 mod_bigbluebuttonbn: Fix completion indicator
...
* Completion view should work out of the box
* Patch the _user_outline and _user_complete so it works with completion view, while
implementing something better in MDL-74468
2022-06-10 18:05:07 +02:00
Sara Arjona
4a9fa426bc
weekly release 4.0.1+
2022-06-10 17:08:19 +02:00
Sara Arjona
f1d4fd0db7
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-06-10 17:08:16 +02:00
Amrita
129d445908
MDL-69756 nextcloud: copy-overwrite handling
2022-06-10 16:35:05 +02:00
Amrita
c6ad71859c
MDL-74387 url: exception for php to correct icon
2022-06-10 16:07:25 +02:00
Jun Pataleta
2c58871a74
MDL-74802 core: Remove tooltip on the notification close button
...
Reverting the addition of a Boostrap tooltip on the alert notification's
close button. It introduced a bug where the tooltip remains after
dismissing the notification alert. We can manually toggle the state of
the tooltip via JS, but I don't think it's worth the effort. The tooltip
is meant as an added bonus for sighted users to see what the close
button is about.
2022-06-10 13:15:32 +02:00
Jun Pataleta
42d214d0cc
MDL-74802 core_user: Use button label to close notification alert
...
With the notification alert's close button now properly labelled, it is
better for Behat to interact on it using its label.
2022-06-10 13:15:32 +02:00
Andrew Nicols
fb4a9db65e
MDL-73013 filelib: Fix code lint
2022-06-10 13:15:32 +02:00
Andrew Nicols
f5e1074653
MDL-73013 filelib: Address coding style violations
2022-06-10 13:15:32 +02:00
Andrew Nicols
3ec081f2de
Merge branch 'MDL-73013-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-10 13:15:32 +02:00
Jake Dallimore
c374c271b1
Merge branch 'MDL-72377-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-10 13:15:32 +02:00
Andrew Nicols
09bdf8c905
Merge branch 'MDL-73466-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-10 13:15:32 +02:00
Andrew Nicols
be3348d85e
Merge branch 'MDL-74553-400' of https://github.com/marinaglancy/moodle into MOODLE_400_STABLE
2022-06-10 13:15:32 +02:00
Andrew Nicols
cb9d48373b
Merge branch 'MDL-74764-400' of https://github.com/BruceGoodGuy/moodle into MOODLE_400_STABLE
2022-06-10 13:15:31 +02:00
Víctor Déniz
98018a490f
Merge branch 'MDL-69970_400' of https://github.com/aya-saad1/moodle into MOODLE_400_STABLE
2022-06-10 13:15:31 +02:00
Sara Arjona
1e1cd2fa6b
Merge branch 'MDL-74802-400-2' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-10 13:15:31 +02:00
Sara Arjona
603486e1f7
Merge branch 'MDL-74577-400' of https://github.com/sharidas/moodle into MOODLE_400_STABLE
2022-06-10 13:15:31 +02:00
Angelia Dela Cruz
2409c05065
MDL-74841 behat: Label behat generators use UI
...
Replace steps that manually add Label instances via the UI and use
Behat generators. This improves the speed of Behat test runs.
2022-06-10 13:11:00 +08:00
Paul Holden
df98fb57ee
MDL-74649 course: render scale information using page popup layout.
2022-06-09 12:18:50 +01:00
Jake Dallimore
28e2f8bc2a
MDL-74906 mod_lti: fix form selector in multi-item content item post
...
Use #region-main-box and not .mform in the selector, otherwise it may
return the wrong mform, such as global search, if enabled. This is the
same way the form is selected in showMultipleSummaryAndHideForm().
2022-06-09 16:53:32 +08:00
Paul Holden
2408bd007b
MDL-74408 core: exclude empty patterns in divert email config.
2022-06-09 09:39:24 +01:00
Sujith Haridasan
a22898e2af
MDL-74718 webdav: correct the loop when reading chunks
...
Adjusted the condition while reading the streams
in chunks. Read till the end to make sure we have got all
the data. Else we might not get all the data to show
in file picker.
2022-06-09 12:03:38 +05:30
Paul Holden
d29cdb623e
MDL-73466 forumreport_summary: use formatted course module name.
2022-06-08 21:36:52 +01:00
Víctor Déniz
eb4a12f1f0
Merge branch 'MDL-73774-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE
2022-06-08 10:15:16 +01:00
Víctor Déniz
aee5fc1223
Merge branch 'MDL-74726-400' of https://github.com/ssj365/moodle into MOODLE_400_STABLE
2022-06-08 10:07:10 +01:00
Eric Merrill
26a8d1fd81
MDL-74182 core_task: Obey CFG debug settings
2022-06-08 10:42:17 +02:00
Adam Olley
25212b83c3
MDL-74886 core_admin: Add unit test
...
Simple unit test to verify we don't get the TypeError anymore.
2022-06-08 10:08:10 +08:00
Simey Lameze
c6cc60cb79
MDL-74886 core_admin: cast value and unit to integer
2022-06-08 10:08:10 +08:00
Peter Burnett
eaf62826c3
MDL-72324 upgrade: Fix incompatible check in upgrade to match docs
2022-06-08 10:54:00 +10:00
AMOS bot
90f855220d
Automatically generated installer lang files
2022-06-08 00:08:18 +00:00
Sara Arjona
d0cedfa840
Merge branch 'MDL-74605-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-07 17:20:47 +02:00
Sara Arjona
c4920eab6d
Merge branch 'MDL-74678_400' of https://github.com/lostrogit/moodle into MOODLE_400_STABLE
2022-06-07 17:01:30 +02:00
Sara Arjona
48f59ff4e6
Merge branch 'MDL-74344-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-07 16:51:51 +02:00
Sara Arjona
264d4289da
Merge branch 'MDL-74710-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE
2022-06-07 16:25:32 +02:00
Sara Arjona
a91c937935
Merge branch 'MDL-72983-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-07 16:10:38 +02:00
Alexey
b5f4e35746
MDL-74522 lib/classes/navigation fix Navbar My courses data-key value
2022-06-07 16:30:30 +03:00
Paul Holden
1201a5fad5
MDL-74628 forumreport_summary: remove left margin of filter popover.
2022-06-07 11:08:33 +01:00
Paul Holden
1d6529f5ea
MDL-74529 theme_boost: accessible autolink styles from filters.
...
The `autolink` class is used by various filter types to create
hyperlinks within text. Extend existing `aalink` class so they
behave in the same way.
2022-06-07 10:57:57 +01:00
Huong Nguyen
6cce66dcf7
MDL-73774 timeline: Prevent ID duplication
2022-06-07 11:48:25 +07:00
Jun Pataleta
ead2f17b57
Merge branch 'MDL-70223_400' of https://github.com/aya-saad1/moodle into MOODLE_400_STABLE
2022-06-07 10:29:43 +08:00
AMOS bot
99935628cf
Automatically generated installer lang files
2022-06-07 00:08:13 +00:00
Paul Holden
825766216d
MDL-74871 user: account for absense of identity fields during export.
2022-06-06 21:12:40 +01:00
Paul Holden
e17c20a424
MDL-72983 tool_dataprivacy: respect capability to export own data.
2022-06-06 20:50:24 +01:00
Paul Holden
76f327d195
MDL-72377 grade: fix category form hidden/until fields.
...
Ensure the saved values for the hidden and hidden until fields are
populated when editing a grade category. Fix behaviour on enabling
the hidden until field.
Re-enable tests commented out in eba1d32c .
2022-06-06 15:28:26 +01:00
Paul Holden
ffb62740c0
MDL-72377 grade: increase size of category hidden fields.
...
As well as storing 1/0 to indicate hidden state, they are also used
to store a timestamp indicating hidden until date. Increasing field
size allows these values to be stored without triggering exceptions.
2022-06-06 15:28:26 +01:00
Paul Holden
59c9a5f46b
MDL-73121 atto_managefiles: match used files enclosed by quotes.
2022-06-06 15:17:23 +01:00
Ilya Tregubov
9009e1bd30
Merge branch 'MDL-74599-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-06 16:12:06 +06:00
Ilya Tregubov
dfb3226883
Merge branch 'MDL-69951-remove_drop-font-tags-400' of https://github.com/leonstr/moodle into MOODLE_400_STABLE
2022-06-06 11:12:35 +06:00
aya.saad
e84729de92
MDL-74573 mod_assign: convert view other attempt link to a button
2022-06-05 09:21:52 +02:00
aya.saad
7262d95895
MDL-70223 h5p: fix invalid id when adding h5p activity
2022-06-05 09:19:45 +02:00
aya.saad
d4f34b0904
MDL-69970 icons: flip help icon direction in RTL languages
2022-06-05 09:17:57 +02:00
Shamim Rezaie
59bfaeda37
Merge branch 'MDL-74250-400' of https://github.com/adpe/moodle into MOODLE_400_STABLE
2022-06-03 18:42:33 +10:00
Andrew Nicols
887e106a6c
Merge branch 'MDL-73898-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-03 13:31:14 +08:00
Shamim Rezaie
be06a75a36
Merge branch 'MDL-74699-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-06-03 14:45:11 +10:00
Andrew Nicols
ac39bac81b
weekly release 4.0.1+
2022-06-03 11:04:01 +08:00
Andrew Nicols
8a5e048594
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-06-03 11:03:58 +08:00
AMOS bot
f91db6c35e
Automatically generated installer lang files
2022-06-03 00:08:10 +00:00
Jun Pataleta
66a3d9edba
Merge branch 'MDL-74631-invalid-tag-400' of https://github.com/leonstr/moodle into MOODLE_400_STABLE
2022-06-02 12:20:27 +08:00
Jun Pataleta
f843322982
Merge branch 'MDL-57065-400' of https://github.com/ferranrecio/moodle into MOODLE_400_STABLE
2022-06-02 12:03:18 +08:00
Jun Pataleta
17e1d23c3f
Merge branch 'MDL-71301-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-02 11:23:15 +08:00
Issam Taboubi
fd2c90c29a
MDL-71301 qtype_gapselect: Make blank answer box labels more meaningful
2022-06-02 10:51:33 +08:00
Jun Pataleta
d2a6a5b164
Merge branch 'MDL-67966-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-06-02 10:29:56 +08:00
Joshua Ebarvia
7a5dabe6aa
MDL-67966 mod_workshop: Use condition to verify form is using editor
...
This adds a condition to check if Online text is used
for the submission. The functions file_postupdate_standard_editor
and file_postupdate_standard_filemanager needs the property
content_editor of the formdata.
2022-06-02 10:28:33 +08:00
Sara Arjona
de6d21497d
Merge branch 'MDL-71276-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-06-01 18:37:52 +02:00
Sara Arjona
0921c43e2c
Merge branch 'MDL-74752_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE
2022-06-01 17:05:18 +02:00
Tim Hunt
38db48744d
MDL-74752 qtype_match: fix regrading logic - take 2
2022-06-01 14:24:30 +01:00
Noel De Martin
582f1bc1fe
MDL-74613 grade: Add missing generators
2022-05-31 18:11:50 +02:00
Sara Arjona
c496c5b819
Merge branch 'MDL-74752_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE
2022-05-31 17:39:12 +02:00
Tim Hunt
9d40a13eb6
MDL-74752 qtype_multianswer: implement regrading hooks
2022-05-31 09:22:51 +01:00
Tim Hunt
5990158a6f
MDL-74752 qtypes gapselect & ddwtos: implement regrading hooks
2022-05-31 09:22:51 +01:00
Tim Hunt
cc262124db
MDL-74752 qtype_match: implement regrading hooks
...
As much as they can be before MDL-5560 is addressed.
2022-05-31 09:22:51 +01:00
Tim Hunt
5ad18a4070
MDL-74752 qtype_multichoice: fix regrading logic
...
The implements the new regrade-related hooks, and also has
tests for the changes to the core system, now that we have a question
type we can use for them.
2022-05-31 09:22:50 +01:00
Tim Hunt
ca4ac3e8b6
MDL-74752 question regrading: implement the required hooks
...
This commit implements the necessary core hooks to ensure we only
allow a regrade of a quetion attempt to take place if the new and old
versions of the question are sufficiently similar.
It will be followed by commits to each question type where the
new method needs to be implemented.
Automated tests will be included in the first of those (mulitple choice)
becuse we need a question type that implements the hooks to test
the core changes.
2022-05-31 09:22:50 +01:00
Amaia Anabitarte
c06e1de52d
MDL-74630 core_contenbank: Add contextid to URL parameters
2022-05-31 09:48:45 +02:00
AMOS bot
daf1199956
Automatically generated installer lang files
2022-05-31 00:08:11 +00:00
AMOS bot
5451d79a8c
Automatically generated installer lang files
2022-05-30 00:08:06 +00:00
AMOS bot
763a4a3dac
Automatically generated installer lang files
2022-05-28 00:08:15 +00:00
Jun Pataleta
c9b5f15fb3
MDL-72885 output: Add lang attribute for language menu items
2022-05-27 23:39:56 +08:00
Jun Pataleta
88667463ac
MDL-72885 output: Add lang attribute for language custom menu items
2022-05-27 19:42:21 +08:00
Jun Pataleta
af1936faf4
MDL-72885 output: Allow additional attributes for custom menu items
...
* Plus don't render the link title if it's the same as the link text.
2022-05-27 19:42:21 +08:00
Leon Stringer
2ea21b9ccf
MDL-73215 assign: Undefined var: plagiarismlinks
...
Fix: $plagiarismlinks is concatenated in return but may not have been
initialised.
2022-05-27 08:55:45 +01:00
Adrian Perez
275c174cbf
MDL-74250 core: Improve indicator that link opens in new window
2022-05-27 07:21:51 +02:00
Khoa Nguyen Dang
04757718b1
MDL-74764 core_course: Activity is not in alphabetical order.
2022-05-27 10:23:03 +07:00
Jake Dallimore
b81a2f80f7
weekly release 4.0.1+
2022-05-27 10:02:09 +08:00
Claude Vervoort
86cd6040f1
MDL-74310 mod_lti: fix ltilinkid on lineitems import
2022-05-26 10:34:48 -04:00
Noel De Martin
c5ce22a2e6
MDL-74220 data: Implement behat generators
2022-05-26 10:38:37 +02:00
Jake Dallimore
c18cf220a2
Merge branch 'MDL-73801-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-26 12:11:52 +08:00
Jake Dallimore
6bd67f0a5f
Merge branch 'MDL-73386-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE
2022-05-26 11:47:27 +08:00
Dani Palou
8beef3f70b
MDL-74816 mod_resource: Allow specify default file name in generator
2022-05-25 10:41:30 +02:00
Paul Holden
b4c081fa08
MDL-74790 mod_resource: better detection of empty module intro.
2022-05-24 21:18:57 +01:00
Angelia Dela Cruz
7ee27356af
MDL-74744 behat: Quiz behat generators use UI
...
Replace steps that manually add Quiz instances via the UI and use
Behat generators. This improves the speed of Behat test runs.
2022-05-24 10:53:02 +08:00
hieuvu
1ecfc86f97
MDL-74533 core_completion: Update using new grade pass for completion
2022-05-23 15:15:36 +07:00
Jun Pataleta
252dbc9605
MDL-74802 core: Improve the accessibility of alert notifications
...
* Make the ordering of the message and the close button logical on
the DOM.
* Hide the times HTML entity
* Add sr-only label on the close button for non-sighted users
* Add tooltip on the close button sighted users
2022-05-23 13:00:22 +08:00
Daniel Ziegenberg
9b9823a56a
MDL-74835 ci: Update nodejs version in travis integration to lts/gallium
...
In MDL-73915 the nodejs version was switched to lts/gallium but the
travis integration was not updated.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2022-05-22 23:49:04 +02:00
Jun Pataleta
77134d5bb4
MDL-73386 mod_quiz: Use plain text for quiz navigation fake block title
...
* No need to enclose the title of the quiz navigation fake block in
a span tag. The block title also gets appended to the skip link which
means that a block title with a span tag assigned with an identifier
can cause duplicate ID errors on the DOM.
2022-05-21 00:33:32 +08:00
Ilya Tregubov
e9aa483add
Merge branch 'MDL-73225-400' of https://github.com/call-learning/moodle into MOODLE_400_STABLE
2022-05-20 18:00:04 +06:00
Laurent David
95742edc54
MDL-73225 mod_bigbluebuttonbn: Improve error message when joining
...
Display more friendly messages when:
* When displaying activity and the server is not available
* When we join a meeting and the server is not available or an error is detected
2022-05-20 13:06:27 +02:00
Sujith Haridasan
f3150d4a26
MDL-74577 core: Reset login_failed_count_since_success after login
...
When the user is logged in successfully then reset the value
of login_failed_count_since_success to zero, if the value of
login_failed_count_since_success is greater than zero.
2022-05-20 10:14:40 +05:30
Ilya Tregubov
d237a6312f
weekly release 4.0.1+
2022-05-19 19:24:28 +06:00
Ilya Tregubov
c36a037c20
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-05-19 19:24:27 +06:00
Paul Holden
3373632225
MDL-73801 backup: set predictably ordered backup next start time.
...
Prior to this change, the testcase would assert ordering based on
identical fields which could lead to random failures. Set distinct
next start time of course backup, and also remove random ordering
by sorting on defined course order (all other fields being equal).
2022-05-19 08:19:19 +01:00
Jun Pataleta
c885df9202
Merge branch 'MDL-73163-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-05-19 10:11:15 +08:00
Jun Pataleta
1818370854
Merge branch 'MDL-74416-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE
2022-05-19 09:59:45 +08:00
Jun Pataleta
8ff3de4299
Merge branch 'MDL-74377-400' of https://github.com/roland04/moodle into MOODLE_400_STABLE
2022-05-18 21:47:46 +08:00
Mikel Martín
86899b14cb
MDL-74377 reportbuilder: Fix dimmed text for dropdown items
...
To show inactive/unavailable rows '.dimmed_text' class usages have been replaced with '.text-muted'.
2022-05-18 15:43:44 +02:00
Sara Arjona
b259811d7a
MDL-74784 core_badges: Fix exception with related badges
...
System badges with related badges were displaying an error before this patch,
because the is_guest($context) function expects a context_course.
2022-05-18 09:16:08 +02:00
Paul Holden
7edd6995e5
MDL-73966 grade: fetch required user name fields of unenrolled users.
2022-05-17 16:03:06 +01:00
AMOS bot
35f7c54107
Automatically generated installer lang files
2022-05-17 00:07:40 +00:00
Paul Holden
70d17adc0a
MDL-71276 message_email: include alternate email in privacy export.
2022-05-16 09:42:23 +01:00
Carlos Castillo
c05e07923f
MDL-74678 reportbuilder: Allow null in category description callback
...
Since category description is a nullable column, we need to allow null
value in category description column callback in category entity
2022-05-13 08:09:23 -05:00
Paul Holden
f81b1125f5
MDL-74344 comment: consistent capability check for accessing report.
...
Co-authored-by: David Wipperfurth <dwipperfurth@webcourseworks.com >
2022-05-13 10:32:03 +01:00
AMOS bot
454ec455bf
Automatically generated installer lang files
2022-05-13 00:07:40 +00:00
Paul Holden
5a1f0fd327
MDL-73013 calendar: fix serving of files added to category events.
2022-05-12 16:13:03 +01:00
Jun Pataleta
0a3eedbebf
weekly release 4.0.1+
2022-05-12 22:16:04 +08:00
Leon Stringer
02bc67f6c5
MDL-69951 filter_tidy: Replace drop-font-tags
...
The option drop-font-tags was removed in HTML Tidy version 5.5.14. It
had been deprecated since 5.1.25, the docs said "Use the clean option
instead" which is what this commit does (see
https://api.html-tidy.org/tidy/quickref_5.1.25.html#drop-font-tags ).
2022-05-12 11:44:29 +01:00
Jun Pataleta
7d4c2fb5f2
Merge branch 'MDL-74413_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-05-12 12:08:55 +08:00
Jun Pataleta
f0066123a3
Merge branch 'MDL-73971_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-05-12 11:54:38 +08:00
Kordan
b65077c4c0
MDL-73163 behat: Changed most to must
2022-05-12 10:11:36 +08:00
Petr Skoda
d58770969c
MDL-74416 phpunit: fix generator counters reset
2022-05-12 10:10:11 +08:00
Jake Dallimore
f7922dbe1d
MDL-74699 enrol_lti: fix clientid retrieval from aud during launches
2022-05-12 09:20:35 +08:00
Marina Glancy
53f6f1ce05
MDL-74553 blocks: do not refer to form fields by id
...
This is not compatible with the dynamic forms and random ids
2022-05-11 16:23:35 +02:00
Shamiso.Jaravaza
b4829f2475
MDL-74726 mod_bigbluebuttonbn: Fix muteonstart
...
Added missing muteonstart_editable in mod_form block condition
2022-05-11 08:11:54 -06:00
Paul Holden
e8f9288606
MDL-73898 user: exclude guest user from participants table.
2022-05-10 17:22:54 +01:00
Ilya Tregubov
72bdc3766e
MDL-74710 mod_bigbluebuttonbn: Fix settings url.
2022-05-10 11:17:36 +06:00
Eloy Lafuente (stronk7)
d8ea630f24
MDL-74413 phpunit: Move more tests to use correct names and namespaces
...
Applied the following changes to various testcase classes:
- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.
Special mention to:
- Moved to the level2 "privacy" namespace:
- \mod_assign\privacy\feedback_legacy_polyfill_test
- \mod_assign\privacy\submission_legacy_polyfill_test
- Moved to the level2 "task" namespace:
- \core_message\task\migrate_message_data_test
- \ltiservice_gradebookservices\task\cleanup_test
- \message_email\task\send_email_test
- \mod_lti\task\clean_access_tokens_test
- \mod_workshop\task\cron_task_test
- Moved to the level2 "event" namespace:
- \core_h5p\event\deleted_test
- \core_h5p\event\viewed_test
- Renamed to a better name:
- backup_forum_activity_task_test.php (missing "task")
2022-05-07 20:33:10 +02:00
Jun Pataleta
ac9e395ed6
Moodle release 4.0.1
2022-05-07 19:34:54 +08:00
Eloy Lafuente (stronk7)
8bdba9bdca
MDL-73971 phpunit: Move more tests to use correct names and namespaces
...
Applied the following changes to various testcase classes:
- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.
Special mention to:
- Some fixtures, initially defined in the test files have been
moved to new files in fixtures subdirectory, leaving the unit
test files clearer:
- moodle2_course_format_test.php
- Rename wrong named test:
- baseoptiogroup_test = baseoptigroup_test
2022-05-06 18:29:16 +02:00
Eloy Lafuente (stronk7)
99fc164199
weekly release 4.0+
2022-05-06 15:58:28 +02:00
Ferran Recio
64a7e06f61
MDL-57065 theme_boost: fix debug messages
...
The first debug message is covered by the top navbar header. This patch
will move the body's first debug message down below the navbar.
2022-05-06 12:26:40 +02:00
Jake Dallimore
9ec2c12f3d
MDL-74602 mod_assign: fix js error with assign grader on classic
2022-05-06 16:48:29 +08:00
Jun Pataleta
6ec89f6374
Merge branch 'MDL-74584-400-v1' of https://github.com/mihailges/moodle into MOODLE_400_STABLE
2022-05-06 14:17:37 +08:00
Mihail Geshoski
834c80849c
MDL-74584 mod_bigbluebuttonbn: Update behat tests
2022-05-06 13:32:14 +08:00
Mihail Geshoski
674198a799
MDL-74584 mod_bigbluebuttonbn: Update unit tests
2022-05-06 13:32:14 +08:00
Mihail Geshoski
66c32a3687
MDL-74584 course: New optional parameter in get_module_types_names()
...
Adds new parameter in get_module_types_names() to optionally reset
the $modnames static cache.
2022-05-06 13:32:13 +08:00
Mihail Geshoski
0118227509
MDL-74584 mod_bigbluebuttonbn: Add install script and new upgrade step
...
Adds a new install script for the BBB module and a new upgrade step.
The BBB module now will be disabled by default for new installations
and also it will be disabled for the existing sites that use the
default BBB server configuration. Admistrators will be required to
confirm the acceptance of the related DPA prior to (re)enabling the
plugin once again.
2022-05-06 12:19:56 +08:00
Mihail Geshoski
2e1478b094
MDL-74584 mod_bigbluebuttonbn: Add DPA info in the general setting page
...
Adds a note in the BBB general settings page to raise awareness about
the legal obligations related to the data processing agreement with the
service provider which is currently configured.
2022-05-06 12:19:56 +08:00
Mihail Geshoski
6961258bc2
MDL-74584 mod_bigbluebuttonbn: Implement 'pre_enable_plugin_actions'
...
Implements a function for the 'pre_enable_plugin_actions' callback.
When the default BBB server settings are used while the administrator
attempts to enable the BBB plugin, the function will prevent this
action and trigger a dynamic form requesting the admin to conifrm
their acceptance of the related data processing agreement. The process
of enabling the plugin will continue as usual in cases where the
admin has already confirmed the acceptance of the dpa or a different
BBB server configuration is used other than the default.
2022-05-06 12:19:56 +08:00
Mihail Geshoski
b4f6816952
MDL-74584 admin: Add callback executed prior to enabling a module
...
Adds a callback xxx_pre_enable_plugin_actions in admin/modules.php
which plugins can use to force additional actions before enabling the
plugin. The return value (bool) from the plugin callback method
specifies whether the process of enabling the plugin should continue
after the added actions or not.
2022-05-06 12:19:56 +08:00
Andrew Nicols
16b30d920b
MDL-74511 core: Add phpcs default config
2022-05-06 12:01:32 +08:00
Ilya Tregubov
61d140e99f
Merge branch 'MDL-41498-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE
2022-05-06 08:26:59 +06:00
Robert Schrenk
cc5eb38cea
MDL-41498 course: courses participant page
2022-05-06 08:26:08 +06:00
Víctor Déniz
3b7bba9e75
Merge branch 'MDL-74612-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-05 13:25:37 +01:00
Víctor Déniz
2e020b506a
Merge branch 'MDL-74128-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-05 12:09:59 +01:00
Víctor Déniz
74cdb7c4c8
Merge branch 'MDL-74567-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-05 09:39:39 +01:00
Paul Holden
ef8d381a2f
MDL-74567 core: re-factor flickr libraries to use shared user-agent.
2022-05-05 09:21:22 +01:00
Jun Pataleta
39717b72b1
MDL-74317 blocks: Revert checking of block usage against page format
2022-05-05 10:04:01 +08:00
Jun Pataleta
e7ff99758e
Merge branch 'MDL-74576-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-05-05 09:55:45 +08:00
Jun Pataleta
26492d4979
Merge branch 'MDL-73981-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE
2022-05-05 09:49:06 +08:00
Ilya Tregubov
3abbcd9976
Merge branch 'MDL-74602-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-05-05 07:46:55 +06:00
Jun Pataleta
1456551ba6
Merge branch 'MDL-74546-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-05-05 09:41:34 +08:00
Ilya Tregubov
c1ebec7cbc
MDL-73981 tool_uploadcourse: Validate enrolment role from csv.
2022-05-05 07:39:50 +06:00
Jun Pataleta
812c8b37e5
Merge branch 'MDL-74511-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE
2022-05-05 09:37:31 +08:00
Paul Holden
8b2b7f97ee
MDL-74599 reportbuilder: use context of current report when present.
2022-05-04 14:30:11 +01:00
Jake Dallimore
f2ab11aa5b
MDL-73736 core_auth: Fix concurrency issue in login_attempt_failed()
...
This patch wraps the login_failed_count logic in a resource lock and
forces a user preferences cache reload. Each thread must wait for the
lock and must fetch the current count before incrementing it. This
ensures that login_failed_count is correct across threads and that the
lockout threshold is correctly honoured.
Co-Authored-By: Sujith Haridasan <sujith@moodle.com >
2022-05-04 14:45:00 +06:00
Michael Hawkins
240b402523
MDL-74333 badges: Check profile criteria valid when reviewing
2022-05-04 12:58:02 +08:00
Ilya Tregubov
34c4b3ce0c
Merge branch 'MDL-74563-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-04 09:26:06 +06:00
Ferran Recio
8b098b4a4e
MDL-71623 core_search: fix user document visibility
2022-05-04 03:55:18 +02:00
Amaia Anabitarte
38a40c5e4b
MDL-74318 core_user: Description field as hidden on profile
2022-05-04 03:55:18 +02:00
Paul Holden
72580a5413
MDL-74204 mod_assign: escape identity fields in allocate marker form.
2022-05-04 03:55:18 +02:00
Jun Pataleta
6253ab0170
Merge branch 'MDL-73878-40' of https://github.com/aanabit/moodle into MOODLE_400_STABLE
2022-05-04 09:44:28 +08:00
Leon Stringer
d25f2eeee6
MDL-74631 mod_lti: Remove </img>
...
Remove illegal HTML tag.
Added example context to pass CI checks.
2022-05-03 17:29:38 +01:00
Amaia Anabitarte
ff89abc311
MDL-73878 core_user: Creating a new category for social fields
2022-05-03 17:46:18 +02:00
Amaia Anabitarte
7878d79359
MDL-73878 core_user: Fixing social fields upgrading issue
2022-05-03 17:43:22 +02:00
Jun Pataleta
93319747b2
Merge branch 'MDL-74543_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE
2022-05-03 22:22:45 +08:00
Tim Hunt
f46c1b4fa9
MDL-74543 quiz attemptlib: covert string comparison to ===
...
Where obviously safe.
2022-05-03 13:48:04 +01:00
Tim Hunt
a0297df86e
MDL-74543 quiz: correctly record time when overdue attempt submitted
2022-05-03 13:48:04 +01:00
Víctor Déniz
da9ab8a2f9
Merge branch 'MDL-74611_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE
2022-05-03 13:00:59 +01:00
Ilya Tregubov
33829b8b68
Merge branch 'mdl65478-fix-400' of https://github.com/matthewhilton/moodle into MOODLE_400_STABLE
2022-05-03 15:43:59 +06:00
Tim Hunt
f5f468f6e1
MDL-74611 course settigns: re-order Common module settings
...
All the group-related settings should be next to each other.
2022-05-03 10:36:01 +01:00
Jake Dallimore
6b4f55c91b
Merge branch 'MDL-74441-400' of https://github.com/cameron1729/moodle into MOODLE_400_STABLE
2022-05-03 16:54:50 +08:00
Cameron Ball
63ed56bc7c
MDL-74441 mod_forum: Fix overflow in unified grader
2022-05-03 15:52:26 +08:00
Ilya Tregubov
841214dab2
Merge branch 'MDL-74598-400' of https://github.com/roland04/moodle into MOODLE_400_STABLE
2022-05-03 11:57:07 +06:00
Jason den Dulk
43cbc05a2d
MDL-65478 backup, course format: Handle editor elements in course format
...
Modified course format options reading and writing to be able to handle Editor elements by enabling them to split array values into
multiple values before inserting into database, and combining multiple values into an array when reading from the database.
Modified backup and restore code to use backup_nested_elements, and to interact directly with the database.
Co-authored-by: Jason den Dulk <jasondendulk@catalyst-au.net >
Co-authored-by: Matthew Hilton <matthewhilton@catalyst-au.net >
2022-05-03 14:23:15 +10:00
Ilya Tregubov
973ea46697
Merge branch 'MDL-74450-400' of https://github.com/mihailges/moodle into MOODLE_400_STABLE
2022-05-03 09:52:26 +06:00
Jake Dallimore
98dbb93589
MDL-74602 mod_wiki: disable activity header in wiki print view
2022-05-03 11:09:00 +08:00
Jake Dallimore
5fa19e43b3
MDL-74602 mod_chat: disable activity header in ajax chat interface
2022-05-03 11:09:00 +08:00
Jake Dallimore
0d3a2c9181
MDL-74602 mod_book: disable activity header on book print page
2022-05-03 11:09:00 +08:00
Jake Dallimore
4f7bd72f72
MDL-74602 mod_assign: disable activity header on embedded grader page
2022-05-03 11:09:00 +08:00
Jake Dallimore
cc182408aa
MDL-74602 theme_boost: fix missing activity header in embedded layout
...
The activity header, which includes things like dates and completion
information, was moved out of the page $OUTPUT and into a separate
template context variable in 4.0, meaning it was missing from any layout
which didn't actively add it back to the page output. This fixes this
problem for the embedded layout only by adding support for the activity
header in the embedded template.
2022-05-03 11:09:00 +08:00
Jun Pataleta
8b3913605a
Merge branch 'MDL-74317-400' of https://github.com/dravek/moodle into MOODLE_400_STABLE
2022-05-02 17:24:23 +08:00
Jun Pataleta
8ff67c91de
Merge branch 'MDL-74436-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
2022-05-02 16:30:06 +08:00
Jake Dallimore
4cbd6a0c6a
MDL-74576 enrol_lti: allow unsupported scopes in ags_info
...
Instead of hard blocking launches with extension scopes, just ignore
the unsupported scopes and continue.
2022-05-02 15:39:20 +08:00
Paul Holden
203a55f57a
MDL-74128 reportbuilder: Behat helper for navigating to view page.
2022-04-29 17:18:06 +01:00
Paul Holden
5b05a9378c
MDL-74612 cohort: use data generator for populating cohort members.
2022-04-29 16:23:32 +01:00
Paul Holden
b51257df71
MDL-74605 media_videojs: move player options to data setup.
...
Fixes the `playbackRates` functionality that was lost in library
upgrade (9ea8fa37 ).
2022-04-29 12:15:30 +01:00
Ilya Tregubov
81e5d425c4
weekly release 4.0+
2022-04-29 07:55:31 +06:00
Ilya Tregubov
6362d7b51c
Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE
2022-04-29 07:55:27 +06:00
Mikel Martín
51d3df8d30
MDL-74598 reportbuilder: Fix action menus alignment to the right
2022-04-28 16:46:00 +02:00
Paul Holden
a60a6d41a3
MDL-74567 repository_flickr: replace user-agent value for API calls.
...
Flickr doesn't like user agent that looks like a bot. Effectively the
same reasoning/fix as b8ee31a0 .
2022-04-28 14:45:37 +01:00
Mihail Geshoski
d6ba7724ae
MDL-74450 admin: Use the context from admin_settingpage as page context
...
The defined context in admin_settingpage does not always relate to the
system context. One example is the 'frontpagesettings' admin setting
page which specifies front page as it's default context. Therefore, the
page context in admin/settings.php should be consisent with the defined
context in the related admin_settingpage object to make sure that the
expected navigation menus are being displayed and properly highlighted.
Additionally, the code in admin/settings.php related to the breadcrumb
structure specific to 'frontpagesettings' has been removed as it is no
longer relevant.
2022-04-28 13:23:57 +08:00
Jun Pataleta
4f1be71581
Merge branch 'MDL-74478-400' of https://github.com/mihailges/moodle into MOODLE_400_STABLE
2022-04-28 12:54:26 +08:00
Peter Dias
58ddfe84c2
MDL-74478 badges: Check completion_fail when awarding badge
...
Bring the award_criteria_activity checks in line with the observer checks
2022-04-28 12:16:19 +08:00
Jun Pataleta
dd156a4160
Merge branch 'MDL-74461-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE
2022-04-28 11:39:59 +08:00
Huong Nguyen
3bc8fa20bf
MDL-74461 Navigation: Add section anchor to activity breadcrumb
2022-04-28 10:05:17 +07:00
Ilya Tregubov
954ae33aa9
Merge branch 'MOODLE_400-MDL-74427-v4' of https://github.com/golenkovm/moodle into MOODLE_400_STABLE
2022-04-28 08:10:29 +06:00
Jun Pataleta
24dbcc0008
Merge branch 'MDL-74537-400-enfix' of https://github.com/vmdef/moodle into MOODLE_400_STABLE
2022-04-27 15:47:30 +06:00
Ilya Tregubov
ebb96c2850
Merge branch 'MDL-74510_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-04-27 15:47:30 +06:00
Paul Holden
870c5ffbde
MDL-74479 reportbuilder: account for custom field context in output.
2022-04-27 15:47:29 +06:00
Eloy Lafuente (stronk7)
049e27a805
MDL-74320 lesson: Remove tested elsewhere parts of the scenario
...
The scenario has not only grades related completion conditions
but also timing conditions or reach the end conditions that
shouldn't be tested by a grades feature.
More yet, those completion conditions are already tested by
other feature files, namely:
- reach the end: completion_condition_end_reached.feature
- visit and timing: lesson_activity_completion.feature
So we have removed all those parts that are being tested
by other features.
Specially the visit and timing ones, because they lead to
random failures in slow environments and they have been
fixed in the lesson_activity_completion.feature scenarios
by MDL-72698.
2022-04-27 15:47:29 +06:00
Laurent David
6c7fa91d59
MDL-74514 mod_bigbluebuttonbn: BBB server is polled too often
...
* Fix issue with the roomupdater that should not force the updatecache flag
for get_meeting_info API
* Fix issue when meeting is not started (and does not exist) and bigbluebutton_proxy::get_meeting_info
throws an exception, skipping the cache and then polling the server every second.
2022-04-27 15:47:29 +06:00
Claude Vervoort
7c84b92be3
MDL-74481 mod_lti: fix role lookup for LTI 1.3
2022-04-27 15:47:29 +06:00
Mikhail Golenkov
bb36c3a1bb
MDL-74427 question: Re-use get_real_question_ids_in_category()
2022-04-27 12:35:08 +10:00
Mikhail Golenkov
990bfee024
MDL-74427 question: Implement get_real_question_ids_in_category()
2022-04-27 12:34:55 +10:00
David Matamoros
17584f9c92
MDL-74317 blocks: Blocks can be added to profile pages
...
- Fixed method user_can_addto to take into account that
blocks can also be added to user profile pages
2022-04-26 14:34:45 +02:00
David Matamoros
f551072f9e
MDL-74317 output: Remove capability checks in edit mode WS
...
- Removed validation on the change edit mode WS. Permission should
be handled where the edit button is rendered in order to show or not
the button.
2022-04-26 14:33:34 +02:00
Helen Foster
3447ab640c
MDL-74537 lang: Import fixed English strings (en_fix)
2022-04-26 11:24:27 +01:00
Paul Holden
3dbad11471
MDL-74563 reportbuilder: cast operator parameter in number filter.
...
Add missing form labels, too.
2022-04-25 21:44:48 +01:00
Paul Holden
43b4b87fbf
MDL-74436 calendar: validate course/category field during import.
2022-04-25 18:02:00 +01:00
Paul Holden
7d33385a1d
MDL-74477 reportbuilder: sortable custom user profile field columns.
2022-04-25 13:40:12 +06:00
AMOS bot
657617ac21
Automatically generated installer lang files
2022-04-23 00:07:39 +00:00
Eloy Lafuente (stronk7)
205e4152cc
MDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts
2022-04-22 18:45:16 +02:00
Eloy Lafuente (stronk7)
e36fb751e5
weekly release 4.0+
2022-04-22 18:03:47 +02:00
Jake Dallimore
a0c1acd7fd
MDL-74546 enrol_lti: add missing d-flex to table to fix safari layout
2022-04-22 10:19:08 +08:00
Ilya Tregubov
2184ea5b64
Merge branch 'MDL-74394_400' of https://github.com/aolley/moodle into MOODLE_400_STABLE
2022-04-22 08:01:09 +06:00
Víctor Déniz
c81b3dc384
Merge branch 'MDL-74312-400' of https://github.com/snake/moodle into MOODLE_400_STABLE
2022-04-21 16:39:51 +01:00
Adam Olley
ca6a4b1953
MDL-74394 mnet: Better check for openssl_get_publickey() failure
...
In PHP8, this func now returns an object of type OpenSSLAsymmetricKey, not a
resource.
Reference:
https://www.php.net/manual/en/function.openssl-pkey-get-public.php
2022-04-21 22:08:20 +09:30
Jake Dallimore
20cefd70e2
MDL-74312 enrol_lti: fix copytoclipboard trigger element
...
This should be a button given it's an action, and making it a button
means it can be activated using either the space or enter keys, instead
of just enter.
2022-04-20 09:49:35 +08:00
Sara Arjona
bc87d55a1f
Merge branch 'MDL-74512_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
2022-04-19 12:55:29 +02:00
Andrew Nicols
51c376cfca
MDL-74511 core: Add phpcs config generator
2022-04-19 11:15:27 +08:00
Eloy Lafuente (stronk7)
e0034b0566
MDL-74512 behat: Skip tests requiring lang install/upgrade
...
By adding the step:
Given remote langimport tests are enabled
We make the execution of scenarios requiring to install /
upgrade lang packs optional, based in the existence of the constant:
TOOL_LANGIMPORT_REMOTE_TESTS
That way, when we are skipping language upgrades with the CFG var:
$CFG->skiplangupgrade = true
We can decide not not execute those tests.
With other words, putting something like this in the config.php
file we will be controlling when to execute or no the behat tests:
// Disable lang updates on upgrade.
$CFG->skiplangupgrade = true;
if (empty($CFG->skiplangupgrade)) {
// Define it only if we aren't skipping lang upgrades.
define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
}
2022-04-17 20:35:02 +02:00
Jun Pataleta
8b359ad7a6
Moodle release 4.0
2022-04-17 14:59:54 +08:00
Jun Pataleta
68445c923e
NOBUG: Change travis.yml to MOODLE_400_STABLE
2022-04-17 14:59:54 +08:00
Eloy Lafuente (stronk7)
f801189795
Moodle release 4.0rc4
2022-04-16 16:31:59 +02:00
Jun Pataleta
e25d806abc
Merge branch 'MDL-74506-master' of https://github.com/andrewnicols/moodle
2022-04-16 19:14:01 +08:00
Andrew Nicols
fb0b57f4ab
MDL-74506 block: Correct parentcontextid for blocks in dashboard
2022-04-16 17:49:18 +08:00
Andrew Nicols
ed56f9a976
MDL-74506 block: Fix block upgrade to use correct parentcontextid
2022-04-15 20:39:55 +08:00
Ilya Tregubov
4ca5665aa0
Moodle release 4.0rc3
2022-04-15 16:03:34 +06:00
Ilya Tregubov
edede57172
Merge branch 'MDL-74407-master' of https://github.com/peterRd/moodle
2022-04-15 07:24:08 +06:00
Sara Arjona
d54fa7abd8
Merge branch 'MDL-74447' of https://github.com/Chocolate-lightning/moodle
2022-04-14 12:10:31 +02:00
Ilya Tregubov
5c3563e3a2
Merge branch 'MDL-74064-master' of https://github.com/HuongNV13/moodle
2022-04-14 13:35:11 +06:00
Huong Nguyen
3956dd856b
MDL-74064 mod_assign: Behat test for Assignment with time limit
2022-04-14 12:49:55 +07:00
Andrew Nicols
e9335eb448
MDL-74447 core: Restrict block drag/drop to container
2022-04-14 17:22:29 +12:00
Peter Dias
40ad488405
MDL-74407 navigation: Perform a strict array_search for node keys
...
Perform strict array_search due to conflicting results in versions <php8.0
2022-04-14 12:25:15 +08:00
Jun Pataleta
80709ba72d
Merge branch 'MDL-74493-master' of https://github.com/snake/moodle
2022-04-14 12:02:10 +08:00
Shamim Rezaie
7252fef24b
MDL-74064 mod_assign: Notify submission removal does not reset timelimit
2022-04-14 10:48:45 +07:00
Shamim Rezaie
6ac1477e98
MDL-74064 mod_assign: Use core_user::get_user instead of querying DB
2022-04-14 10:48:37 +07:00
Shamim Rezaie
76c0d3d6bc
MDL-74064 mod_assign: Late submission recognition depends on timestarted
2022-04-14 10:48:29 +07:00
Jun Pataleta
821ec66490
Merge branch 'MDL-74498-master' of https://github.com/justusdieckmann/moodle
2022-04-14 10:31:05 +08:00
Jake Dallimore
19a296dfa0
MDL-74493 admin: add check for mbstring extension to prevent errors
2022-04-14 10:13:06 +08:00
Justus Dieckmann
bf68b2bc64
MDL-74498 output: Resolve correct icon for modules
...
Fixes the resolve_image_location function, which previously returned
the 'icon' or 'monologo' icon for modules, no matter the requested
image name.
Also fixes an incorrect pix_icon() call for the context header, which
was hidden by the faulty resolve function.
2022-04-14 01:54:28 +02:00
Sara Arjona
8b7fdc993d
Merge branch 'MDL-74486-master' of https://github.com/HuongNV13/moodle
2022-04-13 16:58:52 +02:00
Ilya Tregubov
e39a1fff2c
Merge branch 'MDL-74471-master' of https://github.com/junpataleta/moodle
2022-04-13 14:59:21 +06:00
Jun Pataleta
0385178826
Merge branch 'MDL-74489' of https://github.com/paulholden/moodle
2022-04-13 16:35:19 +08:00
Jun Pataleta
cd3e7bf7eb
MDL-74471 versions: main version bump
2022-04-13 10:37:57 +08:00
Jun Pataleta
70f6b1605b
MDL-74471 versions: bump all versions and requires near release
2022-04-13 10:37:36 +08:00
Huong Nguyen
156f4fe6ce
MDL-74486 tool_usertours: Prevent step to inherit theme background image
2022-04-13 09:33:13 +07:00
Ilya Tregubov
65224aa30d
Merge branch 'MDL-74470' of https://github.com/timhunt/moodle
2022-04-13 08:21:18 +06:00
Paul Holden
a3a473d644
MDL-74489 admin: consider salt configuration as sensitive to site.
...
The admin preset tool shouldn't export badge/calendar salt configuration
unless explicitely asked for as changing these values on another site
can be potentially destructive.
2022-04-12 16:19:40 +01:00
Tim Hunt
2e1a632302
MDL-74470 quiz: put back random Q description on the Question page
...
This got lost in the 4.0 question bank work.
We are trying to phase out qtype_random, that is where the old
code and lang strings for describing random questions is, so
OK to add back a call to it. When we get better qbank filtering
we can replace this again.
Note, the asserts in the Behat were copied from my 3.11, checkout,
to really verify we are restoring the previous behaviour.
2022-04-11 19:01:00 +01:00
Tim Hunt
95b0f86ed3
MDL-74470 quiz: fix typos & small bug from MDL-74255.
...
I think that, because how PHP works, the MDL-74255 bug (lack
of explode) generally does not break anything, which is why
no tests failed. Still. Good to fix.
2022-04-11 12:21:50 +01:00