101952 Commits

Author SHA1 Message Date
Paul Holden
a6f9bad45b MDL-71347 user: add time created filter to browse users page.
AMOS BEGIN
 CPY [timecreated,core_contentbank],[timecreated,moodle]
AMOS END
2021-09-14 00:45:19 +01:00
Eloy Lafuente (stronk7)
1d700796ca weekly release 4.0dev 2021-09-11 12:12:12 +02:00
Eloy Lafuente (stronk7)
a41684d58f Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-09-11 12:12:07 +02:00
Shamim Rezaie
901ee1b6bc MDL-71240 filter_tex: Add allowlist for filter_tex_sanitize_formula 2021-09-10 17:57:33 +02:00
Jake Dallimore
1b58139052 Merge branch 'MDL-72216-master-fix' of git://github.com/junpataleta/moodle 2021-09-10 11:20:21 +08:00
Jun Pataleta
3d68eeb0d7 MDL-72216 question: Fix button spacing in preview template 2021-09-10 11:08:17 +08:00
Eloy Lafuente (stronk7)
8f4b2ca945 Merge branch 'MDL-71385-master-3' of git://github.com/junpataleta/moodle 2021-09-09 12:58:17 +02:00
Jun Pataleta
1401fa3bc1 Merge branch 'MDL-71899-master-2' of git://github.com/HuongNV13/moodle 2021-09-09 12:58:16 +02:00
Eloy Lafuente (stronk7)
69cdde9835 Merge branch 'MDL-63207-master' of git://github.com/cescobedo/moodle 2021-09-09 12:58:16 +02:00
Eloy Lafuente (stronk7)
633c2fcc5d Merge branch 'MDL-69855-master' of git://github.com/junpataleta/moodle 2021-09-09 12:58:16 +02:00
Jun Pataleta
71cf8ee1f4 MDL-71385 theme: Fix contrast for dimmed text against striped table rows
In order to achieve good colour contrast between dimmed text and striped
table rows, the background colour of the striped rows are being
lightened to 0.03 alpha. While $gray-600 is being adjusted to a bit
darker shade of #6a737b. This gives a colour contrast ratio of 4.5:1
between the dimmed text colour and the striped table row background
which meets WCAG 2.1 Level AA requirements.

Comparing the normal font colour (#212529) with the adjusted dimmed text
colour gives a contrast ratio of 3.20:1 which meets WCAG 2.1 Level AA
requirements and still makes them distinguishable from one another.
2021-09-09 15:59:23 +08:00
Huong Nguyen
3150612163 MDL-71899 performance: Improve activity completion data caching
- Modified SQL in get_data() to get the activity completion of all course modules without calling get_fast_modinfo() to reduce the DB queries.
 - Building activity completion cache for the whole course in one time instead of building the cache for each course module by passing $wholecourse = true to get_data()
2021-09-09 10:03:21 +07:00
Huong Nguyen
e0dd5f268a MDL-71899 performance: Improve course image caching
Changed to use get_course() instead of get_fast_modinfo() for better performance
2021-09-09 09:21:14 +07:00
AMOS bot
5d53e43ba4 Automatically generated installer lang files 2021-09-09 00:07:44 +00:00
Eloy Lafuente (stronk7)
bff1367a86 Merge branch 'MDL-72358-master' of git://github.com/sarjona/moodle 2021-09-08 17:07:58 +02:00
Eloy Lafuente (stronk7)
09825b1a9a Merge branch 'MDL-71614-fix' of github.com:sarjona/moodle 2021-09-08 16:32:43 +02:00
Sara Arjona
573b035122 MDL-71614 qbank_previewquestion: Add role button to Preview 2021-09-08 16:13:57 +02:00
Sara Arjona
37827bb15d MDL-71614 qbank_exporttoxml: Use correct helper class name 2021-09-08 15:27:13 +02:00
Eloy Lafuente (stronk7)
d08cdaadb2 Merge branch 'MDL-72216-master' of git://github.com/lucaboesch/moodle 2021-09-08 11:28:47 +02:00
Jun Pataleta
8b0ea8df44 Merge branch 'MDL-68164-cache_pg_type' of https://github.com/brendanheywood/moodle 2021-09-08 17:02:57 +08:00
Sara Arjona
5c78efaaea Merge branch 'master_MDL-71614-previewquestion' of https://github.com/catalyst/moodle-MDL-70329 2021-09-08 09:29:22 +02:00
Safat Shahin
0d55b26da8 MDL-71614 qbank_previewquestion: Add Preview question plugin to core
This implementation will introduce a qbank plugin "previewquestion"
which will view the preview question action in the question bank
actions by replacing the core classes, scripts and yui modules.
This plugin will also replace the preview option in the edit
question form. Having this plugin will give users the
flexibility of enabling or disabling this feature from
the question bank view.
This change will also allow other qbank plugins to add
elements or information in the preview question page
by implementing a callback. It also changes the pop
up to page redirect from base view page to make sure
any changes in preview reflects in the base view, for
example, comments added and the number of comments in
the comments colum changes while back from the preview
page. Other locations like edit and qtype plugins where
the preview is implemented, stays the same.

Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
2021-09-08 16:21:06 +10:00
Eloy Lafuente (stronk7)
c2df50a673 Merge branch 'MDL-72499' of git://github.com/paulholden/moodle 2021-09-07 23:51:53 +02:00
Eloy Lafuente (stronk7)
f014d3635a Merge branch 'MDL-72467' of git://github.com/paulholden/moodle 2021-09-07 23:46:58 +02:00
Eloy Lafuente (stronk7)
252c466bb1 Merge branch 'MDL-72071' of git://github.com/paulholden/moodle 2021-09-07 23:29:35 +02:00
Eloy Lafuente (stronk7)
3ad8d4b097 Merge branch 'MDL-71925-master_wordcount' of https://github.com/brickfield/moodle 2021-09-07 23:25:21 +02:00
Eloy Lafuente (stronk7)
6cd2a9319d Merge branch 'MDL-72488-master-importdatastring' of git://github.com/mudrd8mz/moodle 2021-09-07 22:59:15 +02:00
cescobedo
53b9dbdb11 MDL-63207 auth_ldap: Update user profile if field is empty 2021-09-07 22:50:48 +02:00
Eloy Lafuente (stronk7)
b97c021a98 Merge branch 'MDL-69504-master' of https://github.com/snake/moodle 2021-09-07 20:03:45 +02:00
Eloy Lafuente (stronk7)
3a4ad12034 Merge branch 'MDL-67610-master-2' of git://github.com/junpataleta/moodle 2021-09-07 19:25:15 +02:00
Jun Pataleta
58bd7256ec MDL-67610 mod_forum: Do not include private replies in unread count
Fetching the counts of unread posts should only include unread regular
posts or unread private reply posts directed to the user unless the user
has the capability to read private replies.
In order to retrieve the correct counts, we also need to loop through
each forum instance in the course to check the capability of the user to
read private replies in each forum.
2021-09-07 23:19:26 +08:00
Eloy Lafuente (stronk7)
add353c2f5 Merge branch 'MDL-72025-master' of https://github.com/sammarshallou/moodle 2021-09-07 16:30:44 +02:00
Paul Holden
0a33c4aacd MDL-72447 question: require sesskey to toggle plugin enabled state. 2021-09-07 12:10:28 +02:00
Brendan Heywood
66a923fe77 MDL-68164 dml: Cache postgres field type metadata in MUC 2021-09-07 19:29:31 +10:00
Paul Holden
1dfb62cbab MDL-71726 course: respect user access when exporting participants.
We should ensure that users being exported are enrolled on the
course being exported from. In courses where the current user can't
access all groups we should ensure that users being exported belong
to the same groups as them.
2021-09-07 09:04:23 +02:00
Sujith Haridasan
03093b42b8 MDL-71160 auth_db: Use strict comaprison
Use strict comparison to avoid type juggling.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-09-07 09:04:23 +02:00
Paul Holden
d663d92357 MDL-71976 auth_shibboleth: consistent session parsing during logout. 2021-09-07 09:04:23 +02:00
Shamim Rezaie
83b23b86d3 MDL-71240 filter_tex: Sanitize the whole latex document
LaTeX documents have a preamble section and admins can use a \newcommand
statement to define new commands there (or to give an alias to another
command). This commit makes sure no blocked command can escape
sanitization by being used in a new seemingly harmless command that is
defined in the LaTeX preamble.
2021-09-07 09:04:23 +02:00
Shamim Rezaie
e514e6951c MDL-71240 filter_tex: Support paranoid mode for openin_any in latex 2021-09-07 09:04:23 +02:00
Huong Nguyen
af4fb733ee MDL-71797 quiz: Improve the checks when fetching user's attempts 2021-09-07 09:04:23 +02:00
Jun Pataleta
fec5a40ddb Merge branch 'MDL-71671-master' of git://github.com/rezaies/moodle 2021-09-07 14:55:13 +08:00
Jake Dallimore
400186a18d Merge branch 'MDL-72041-master' of git://github.com/sarjona/moodle 2021-09-07 12:31:43 +08:00
Shamim Rezaie
aa49eebd2a MDL-71671 atto_table: Insert menus html after the button 2021-09-07 13:53:50 +10:00
Shamim Rezaie
1e47c534a7 MDL-71671 editor_atto: Insert html of button menus after the button 2021-09-07 13:53:50 +10:00
Shamim Rezaie
b2698f641a MDL-71671 core: Let YUI dialogues be inserted at given position 2021-09-07 13:52:49 +10:00
AMOS bot
9f183039e4 Automatically generated installer lang files 2021-09-07 00:07:46 +00:00
Eloy Lafuente (stronk7)
fa67938486 Merge branch 'MDL-72286-master-test' of git://github.com/rezaies/moodle 2021-09-06 23:57:27 +02:00
Eloy Lafuente (stronk7)
bf87572e0c Merge branch 'MDL-71639-fix' of github.com:sarjona/moodle 2021-09-06 17:49:22 +02:00
Eloy Lafuente (stronk7)
6afabd5757 Merge branch 'MDL-71641-fix' of github.com:sarjona/moodle 2021-09-06 17:48:58 +02:00
David Mudrák
2a1a00d79f MDL-72488 lang: Fix hard-coded English string at grades import form
Also adding a help tooltip as this seems to be the most important field
in the form and yet it was the only one without a help.
2021-09-06 17:40:46 +02:00