102953 Commits

Author SHA1 Message Date
Ferran Recio
73cfbea3ee MDL-72456 theme_boost: style drawers 2021-11-23 12:51:11 +01:00
Ilya Tregubov
16a5169a43 on-demand release 4.0dev+ 2021-11-23 11:19:14 +02:00
Shamim Rezaie
46e6502283 Merge branch 'MDL-72776-master' of https://github.com/ferranrecio/moodle 2021-11-23 14:56:50 +11:00
Andrew Nicols
eab5f3cfb2 Merge branch 'MDL-73069' of https://github.com/paulholden/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
be78cb02f2 Merge branch 'MDL-73129-master' of https://github.com/dravek/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
4c1ccf5ed3 Merge branch 'MDL-72934-master' of https://github.com/peterRd/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
9773051128 Merge branch 'MDL-72927-master' of https://github.com/junpataleta/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
a7571e934c Merge branch 'MDL-73067-master' of https://github.com/lameze/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
e379b1d803 Merge branch 'MDL-73128-master' of https://github.com/sarjona/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
d122f73c4d Merge branch 'MDL-73112' of https://github.com/paulholden/moodle 2021-11-23 10:52:11 +08:00
Ilya Tregubov
5cdaaa4a8d Merge branch 'MDL-72967-master' of https://github.com/lameze/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
0dd508d671 Merge branch 'MDL-73095_master_v3' of https://github.com/TomoTsuyuki/moodle
Added one extra TEXT column so we have it covered too.
2021-11-23 10:52:10 +08:00
Sara Arjona
89ab2b1c22 Merge branch 'master_MDL-72076-bulkactionsui-121' of https://github.com/catalyst/moodle-MDL-70329 2021-11-23 10:52:10 +08:00
Sara Arjona
a0407f6d17 MDL-73128 badges: Fix warning with external badges 2021-11-22 16:31:32 +01:00
David Matamoros
6d1a7a8283 MDL-73129 reportbuilder: Remove string with trailing whitespace 2021-11-22 10:30:10 +01:00
Paul Holden
881dccaa7d MDL-73069 reportbuilder: filter/condition for selecting user.
This allows a report creator to create personalised reports
according to the user who is viewing the report.
2021-11-22 09:17:52 +00:00
Paul Holden
f4bf4dca36 MDL-73112 reportbuilder: improve handling of concatenated columns.
This change overcomes limitations in certain DB engines (such as
MySQL[1]) which can lead to truncation of data when applying group
concatenation to columns.

Ensure we account for that by validating that we are able to extract
the expected number of fields from each concatenated value.

[1] https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_group_concat_max_len
2021-11-22 09:14:41 +00:00
Ferran Recio
675f8e24ca MDL-72776 theme_boost: new editing progress effect 2021-11-22 08:57:10 +01:00
Jun Pataleta
a44d41bb51 MDL-72927 core: Make Remember username checkbox look like a checkbox 2021-11-22 14:50:25 +08:00
Safat Shahin
0805e387b7 MDL-72076 bulk actions ui: Implement bulk actions in qbank API
This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-22 11:35:21 +11:00
Eloy Lafuente (stronk7)
7013bda35b on-demand release 4.0dev+ 2021-11-19 19:16:53 +01:00
Eloy Lafuente (stronk7)
dc5a834441 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-11-19 19:16:48 +01:00
Sara Arjona
fe80a2b716 Merge branch 'MDL-72799' of https://github.com/stronk7/moodle 2021-11-19 15:51:03 +01:00
Eloy Lafuente (stronk7)
b62095fa97 MDL-72799 behat: Increase allowed size for privacy exports
Because of more moodle.css contents, the total size of the privacy
exports has grown over the allowed size. Just raise it a little bit
more.

Note this commit isn't a problem caused exclusively by this issue,
but as far as this also contributed to the size increase, assigning
the fix to it.
2021-11-19 12:07:07 +01:00
Eloy Lafuente (stronk7)
57a2188cda Merge branch 'MDL-69092-patched' of https://github.com/ilyatregubov/moodle 2021-11-19 09:13:27 +01:00
Ilya Tregubov
47c9289420 MDL-69092 mod_lti: Fix typo. 2021-11-19 09:50:36 +02:00
Andrew Madden
36f3aee38e MDL-69092 mod_lti: Add js_pending to help behat tests 2021-11-19 09:50:35 +02:00
Ilya Tregubov
e14bb0b9c4 Merge branch 'MDL-69092' of https://github.com/stronk7/moodle 2021-11-19 08:53:44 +02:00
Shamim Rezaie
a46aa000b0 Merge branch 'MDL-73098' of https://github.com/stronk7/moodle 2021-11-19 15:19:15 +11:00
Jun Pataleta
357ddcaff6 Merge branch 'MDL-72826' of git://github.com/paulholden/moodle 2021-11-19 11:07:03 +08:00
AMOS bot
243eb2575a Automatically generated installer lang files 2021-11-19 00:07:28 +00:00
Eloy Lafuente (stronk7)
2db434ea98 Merge branch 'MDL-71882-master' of https://github.com/andrewnicols/moodle 2021-11-18 23:31:03 +01:00
Eloy Lafuente (stronk7)
628de2bf08 MDL-69092 mod_lti: SQL fix for cross-db 2021-11-18 20:46:56 +01:00
Eloy Lafuente (stronk7)
1bdb9cafd6 Merge branch 'MDL-72470-master' of https://github.com/sharidas/moodle 2021-11-18 18:37:09 +01:00
Sara Arjona
dc0e7a45df Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle 2021-11-18 15:18:51 +01:00
Shamim Rezaie
4f76d40628 Merge branch 'MDL-72887-master' of https://github.com/michael-milette/moodle 2021-11-18 22:37:08 +11:00
Ilya Tregubov
39cae56ef5 Merge branch 'MDL-69092-master_lti_pagination' of https://github.com/andrewmadden/moodle 2021-11-18 08:57:12 +02:00
Tomo Tsuyuki
cb4e37c462 MDL-73095 core_ddl: Fix binary type field check 2021-11-18 17:53:00 +11:00
Michael Milette
66bcaa69a5 MDL-72887 search: Tooltip added to navbar search icon. 2021-11-18 00:59:50 -05:00
Peter Dias
12ded633b4 MDL-72934 core_navigation: Early return if no nodes to be rendered.
Do not export any items for templates if the nodecollection does not
have any children.
2021-11-18 11:17:00 +08:00
Andrew Nicols
83c69cdfee Merge branch 'MDL-73090' of https://github.com/paulholden/moodle 2021-11-18 10:12:31 +08:00
Andrew Nicols
f64e4ec2bf Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle 2021-11-18 09:51:02 +08:00
Simey Lameze
46e4130b6f MDL-73067 block_calendar_month: remove event key filter 2021-11-18 09:08:03 +08:00
Mathew May
646a08958f MDL-70801 block_myoverview: Correct the user for course searching in behat 2021-11-18 08:18:09 +08:00
AMOS bot
a5d38be14b Automatically generated installer lang files 2021-11-18 00:07:26 +00:00
Eloy Lafuente (stronk7)
4c0ae3e138 MDL-73098 install: Detect stale bootstrap.php files and disable them
It's important to say that this bug apparently (till now) only happens
when an *incorrect* instalation of a site happens, reusing the dataroot
from another existing site.

When that happens, the localcache/bootstrap.php file from the old
site is reused, setting siteidentifier and SYSCONTEXTID when it's not
time for them to be defined yet.

Their existenece leads to reusing some other structures from the old
dataroot (that, again, should have been changed or wiped!), ultimately
leading to all sort of errors about non-existent tables (course,
context...).

With this change we ensure that:

1) Whenever any change to the database configuration (prefix, user,
   type..) happens, it's detected and immediately the information
   in the localcache/bootstrap.php is discarded and the file removed.
   This should fix problems like MDL-73098 itself.

2) We only set SYSCONTEXTID if the file is not stale. Main reason
   for doing that check within the localcache/bootstrap.php file
   itself is that we cannot "undefine" it @ setup.php. This should
   prevent errros like MDL-72888 to happen.

3) Finally, little detail, we only define SYSCONTEXTID if it has
   not been defined earlier. In the past, it was recommended to
   define it in config.php (exactly to save one DB read) and, sites
   having them will face "already defined" warnings.
2021-11-17 20:56:36 +01:00
Paul Holden
80dd297a62 MDL-73090 reportbuilder: confirmation before resetting conditions.
Also prefetch all lang strings used by conditions editor.
2021-11-17 16:27:50 +00:00
Bas Brands
aff86afaff MDL-72250 core_course: behat fix for targeting close button 2021-11-17 14:39:11 +02:00
Andrew Madden
1c78187010 MDL-69092 pagination: Add first/last config for paging_content_factory
Allow config toggle for showing first and last button for paging_content_factory.
2021-11-17 22:45:07 +11:00
Andrew Madden
f435f313e0 MDL-69092 mod_lti: Add pagination to toolconfigure.php.
* Add local function to access subsets of proxies and types direct from DB.
* Add local function to access count of proxies and types direct from DB.
* Add new external function to get both proxies and types with pagination.
* Add new external function to get count of proxies and types.
* Implement pagination using page factory in JS.
* Added unit tests to cover new external functions.
* Add mod_lti behat generators and tests.
* Show first and last button in paging bar.
* Created helper class to assist with new functions.
2021-11-17 22:44:56 +11:00