29104 Commits

Author SHA1 Message Date
Ilya Tregubov
cffd19b699 Merge branch 'MDL-69496_Master' of https://github.com/1JackBlack1/moodle 2021-11-17 09:01:00 +02:00
Andrew Nicols
738d4cac07 Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle 2021-11-17 12:41:32 +08:00
Shamim Rezaie
dfe03b3036 Merge branch 'MDL-72250-master-3' of https://github.com/bmbrands/moodle 2021-11-17 07:30:54 +11:00
Shamim Rezaie
8f65f24221 Merge branch 'MDL-72907-master' of https://github.com/sarjona/moodle 2021-11-17 02:02:51 +11:00
Amaia Anabitarte
9b5367b306 MDL-72907 core_repository: Fix enable_plugin function 2021-11-16 09:20:56 +01:00
Bas Brands
4fb5fb052f MDL-72250 theme_boost: add mobile nav drawer 2021-11-16 08:58:01 +01:00
Jun Pataleta
c988241f42 Merge branch 'MDL-72966-master' of https://github.com/NashTechOpenUniversity/moodle 2021-11-16 11:38:35 +08:00
Eloy Lafuente (stronk7)
d0fc23cd06 Merge branch 'MDL-72096-master' of https://github.com/mickhawkins/moodle 2021-11-15 19:02:13 +01:00
Michael Hawkins
6d26ba77f3 MDL-72096 core: Add safe ORDER BY helpers for db sorting from user input
The new get_safe_orderby() and get_safe_orderby_multiple() methods
provide a centralised safe way for user submitted sorting values to be
incorporated into SQL ORDER BY. They do this by removing the need for
user submitted data to pass in any SQL and not allowing arbitrary
column values, instead using string keys which map to a predefined
list of allowed sortable columns.
2021-11-15 12:42:43 +08:00
Mathew May
6ca9c2154a MDL-70801 core_my: Add a new courses page 2021-11-15 11:49:35 +08:00
Thong Bui
ec160a91cb MDL-72966 File upload: Uncaught Error from JS when uploading the file 2021-11-15 07:28:50 +07:00
PraiseSatan
ef9ffcd16d MDL-69496 form: Check if element has attributes
Checks if a form element has attributes before
trying to get the default value. This fixes
an error when trying to get the default value
for a frozen group which does not have the
attributes array.
2021-11-15 09:38:20 +11:00
David Matamoros
697594cd95 MDL-73011 core: Clean previous tab content when switching tabs
Co-authored-by: Paul Holden <paulh@moodle.com>
2021-11-11 23:32:58 +00:00
Víctor Déniz
e82b2ed8d1 Merge branch 'MDL-72565-integration' of https://github.com/roland04/moodle 2021-11-11 23:14:36 +00:00
Jun Pataleta
e1c9c7b007 Merge branch 'MDL-73007' of https://github.com/paulholden/moodle 2021-11-11 23:45:12 +08:00
Mikel Martín
eab63e82a1 MDL-72565 tablelib: Add modifications needed for report card view
- new 'set_columns_attributes' method created to add column attributes included in every column cell.
- new 'get_row_cells_html' method created from 'get_row_html', so it can be overriden individually.
2021-11-11 13:55:31 +01:00
Mikel Martín
aaa7a5a445 MDL-72565 reportbuilder: Add 'Card view' settings to custom reports
- Create a new 'settings' column in reportbuilder_report table and provide an API to manage it
- Add new card view settings to custom reports
2021-11-11 13:55:29 +01:00
Sara Arjona
d650e65265 Merge branch 'MDL-71751-master' of https://github.com/nguyenphuctien/moodle 2021-11-11 12:44:25 +01:00
Sara Arjona
2ab697f627 Merge branch 'MDL-69561-master' of https://github.com/lameze/moodle 2021-11-11 12:42:09 +01:00
Simey Lameze
89e59a60ef MDL-69561 mod: handle content download on course modules 2021-11-11 18:38:53 +08:00
Andrew Nicols
600b049def MDL-71751 js: Do not stop propagation on drop, and handle it properly 2021-11-11 15:52:35 +07:00
Eloy Lafuente (stronk7)
2b18fad922 Merge branch 'MDL-72696' of https://github.com/paulholden/moodle 2021-11-10 19:20:39 +01:00
Eloy Lafuente (stronk7)
d824172077 Merge branch 'MDL-71912-master-v5' of git://github.com/abgreeve/moodle 2021-11-10 16:42:00 +01:00
Ilya Tregubov
8cbe01da89 Merge branch 'MDL-71115' of https://github.com/NeillM/moodle 2021-11-10 14:05:52 +02:00
Ilya Tregubov
1da9095ccb Merge branch 'MDL-73034-master' of git://github.com/ferranrecio/moodle 2021-11-10 11:45:04 +02:00
Neill Magill
e86bc4921e MDL-71115 search: Only replace course search when equivalent
Not all global search configurations offer the same results as the
default course search does.

The default course search will return courses that the user can see
the details of even if they can see them via a category, even if
they are not enrolled and cannot enrol themselves on it.

The equivalent global search configuration is:

* Global search is enabled
* The course indexing is enabled
* All the name and summary of all courses are included in the results

This patch will only let global search replace the default course
search when those criteria are met.

It will also display on the global search configuration page if global
search will replace the legacy course search.
2021-11-10 09:11:19 +00:00
abgreeve
7b935ca87b MDL-71912 behat: Assignment navigation related behat fixes. 2021-11-10 16:26:57 +08:00
Mathew May
bdffbe3e48 MDL-65799 enrol: Final deprecations 2021-11-10 15:22:43 +08:00
Mathew May
b98d5c1614 MDL-65799 core: Final deprecation of 3.8 functions 2021-11-10 15:14:05 +08:00
Paul Holden
0d3f58db0a MDL-73007 output: trigger form changechecker when switching tabs.
Co-authored-by: Odei Alba <odeialba@gmail.com>
2021-11-09 17:20:23 +00:00
Eloy Lafuente (stronk7)
19576e54b3 MDL-71912 behat: Temporarily skip some troubled scenarios - js
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 16:08:48 +01:00
Ferran Recio
b6a0b3a668 MDL-73034 js: add textarea and input check to dragdrop 2021-11-09 11:57:56 +01:00
Jake Dallimore
c5a2e2db6c Merge branch 'MDL-71912-master-V4' of git://github.com/abgreeve/moodle 2021-11-09 11:47:55 +08:00
Adrian Greeve
b72fa5fbae MDL-71912 behat: Updating various tests using assign steps. 2021-11-09 11:24:08 +08:00
Jun Pataleta
76db9b294f Merge branch 'MDL-72896-master' of git://github.com/HuongNV13/moodle 2021-11-09 10:45:08 +08:00
Huong Nguyen
ffca35b805 MDL-72896 Accessibility: Make html_table responsive
The tables are generated by html_table will responsive across viewports
2021-11-09 09:41:27 +07:00
Eloy Lafuente (stronk7)
553d56bca9 Merge branch 'MDL-73025-master' of https://github.com/dravek/moodle 2021-11-08 16:53:05 +01:00
Paul Holden
7a7375df4d MDL-72696 behat: support inplace editable fields of type select.
If an inplace editable field is using the "select" type, we should
treat it as a select field when setting it's value during scenarios.
2021-11-08 13:09:05 +00:00
David Matamoros
26eddaf5a6 MDL-73025 core: Fix incorrect formatting for inplace editable title 2021-11-08 10:48:44 +01:00
Andrew Nicols
97764798a4 Merge branch 'MDL-66776-master' of https://github.com/jleyva/moodle 2021-11-08 08:28:23 +08:00
Shamim Rezaie
46d744c34a Merge branch 'MDL-70083-master' of git://github.com/jleyva/moodle 2021-11-05 14:37:44 +11:00
Víctor Déniz
eafd9a19c7 Merge branch 'MDL-72945-master' of git://github.com/sarjona/moodle 2021-11-05 01:46:09 +00:00
Víctor Déniz
e6cd902af8 Merge branch 'MDL-72969' of https://github.com/paulholden/moodle 2021-11-05 01:18:06 +00:00
Víctor Déniz
6c920c9f56 Merge branch 'MDL-72995-master' of https://github.com/ilyatregubov/moodle 2021-11-04 23:42:31 +00:00
Víctor Déniz
053dc587db Merge branch 'MDL-72920-master' of git://github.com/bmbrands/moodle 2021-11-04 23:08:25 +00:00
Ilya Tregubov
73863ef3d9 Merge branch 'master_MDL-72074-usage' of https://github.com/catalyst/moodle-MDL-70329 2021-11-04 16:12:35 +02:00
Safat Shahin
8f06aa01dc MDL-72074 qbank_usage: Add usage plugin to core
This implementation will introduce the usage plugin
which shows qhich quizes are using this question,
number of attmpts and other information.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-05 00:36:36 +11:00
Eloy Lafuente (stronk7)
7faf678b59 Merge branch 'MDL-72987' of https://github.com/paulholden/moodle 2021-11-04 12:52:38 +01:00
Juan Leyva
39d96944eb MDL-66776 notifications: New login session notification 2021-11-04 11:18:00 +01:00
Ilya Tregubov
ac93013cd1 MDL-72995 core_course: Revert "MDL-55231: Partial course cache rebuild"
This reverts commits c1468388bcecec43e671335db8edfc839494e710,
c1468388bcecec43e671335db8edfc839494e710 and
9a900492bc14176c4f56b8e600ef459069a3ec7a.
2021-11-04 11:57:58 +02:00