28811 Commits

Author SHA1 Message Date
Ferran Recio
5d18501ffb MDL-71795 behat: fix breadcrumb navigation step 2021-10-01 09:03:56 +02:00
Ferran Recio
7ad939c592 MDL-71795 courseformat: course index in activity page 2021-10-01 09:03:56 +02:00
Jun Pataleta
87b8583803 Merge branch 'MDL-71964-master' of git://github.com/junpataleta/moodle 2021-09-23 11:32:27 +08:00
Dongsheng Cai
a2d5d43223 MDL-71964 dashboard: add welcome message for all users 2021-09-23 10:42:04 +08:00
Eloy Lafuente (stronk7)
b889f9f3f6 Merge branch 'MDL-72110-master-v3' of https://github.com/sharidas/moodle 2021-09-22 20:00:18 +02:00
Ilya Tregubov
0e979b85cc Merge branch 'MDL-72042-master' of git://github.com/sarjona/moodle 2021-09-22 13:34:28 +02:00
Eloy Lafuente (stronk7)
f4a730e350 Merge branch 'MDL-72593-master' of git://github.com/andrewnicols/moodle 2021-09-22 10:48:07 +02:00
Jun Pataleta
99cb8a7303 Merge branch 'MDL-71037-master-8' of git://github.com/ilyatregubov/moodle 2021-09-22 14:44:17 +08:00
Eloy Lafuente (stronk7)
09614b91c6 Merge branch 'MDL-72566-master' of git://github.com/ferranrecio/moodle 2021-09-21 19:07:17 +02:00
Bas Brands
c08ee9169c MDL-71037 theme_boost: section collapse styling 2021-09-21 18:41:59 +02:00
Andrew Nicols
0a0823672c MDL-72593 behat: Improve behat handling of file manager buttons
When using a try/catch for a find if the first match is not met then we
have an implicit 6 second delay waiting for the search to time out.

We can avoid this by combining the searches in a comma-separated
selection.

I have also taken the opportunity to convert the use of ->click() to the
i_click_on function which has the benefit of supporting wait for
pendingJS.
2021-09-21 15:59:46 +08:00
Andrew Nicols
e4ceff2a24 MDL-72593 behat: Load the Field node content locally for processing
The standard NodeElement functions for getAttribute, getTagName,
getParent, and friends go back to WebDriver and parse the DOM for each
request. This is insanely slow per request, and in the case of forms we
do a lot of checking to determine the field type.

This change modifies the form field detection to copy the entire node
content into a DOMDocument and parse the document locally.

This is significantly faster - in some cases where there are large
documents minutes faster.

I believe that this should be a safe change as the document fetched from
the browser is normalised to match the doctype specified.
2021-09-21 15:55:21 +08:00
Jun Pataleta
e6e32acd21 Merge branch 'MDL-58939-master' of git://github.com/sarjona/moodle 2021-09-21 10:38:11 +08:00
Eloy Lafuente (stronk7)
9c6489db36 Merge branch 'MDL-72205-master' of git://github.com/HuongNV13/moodle 2021-09-20 18:58:56 +02:00
Amaia Anabitarte
7958fa72e1 MDL-72356 core_course: auto enrol admins when adding a new course 2021-09-20 13:09:29 +02:00
Huong Nguyen
244a5f3264 MDL-72205 admin: admin_setting_configduration validation improvement
The write_setting() should only use the internal validation if no validation function was provided
2021-09-20 09:17:21 +07:00
Sara Arjona
0cc61bbfc6 MDL-58939 lib_google: Remove google_picasa class
Picasa is discontinued since 2016 so google_picasa class has been
removed from core Moodle (it makes no sense to deprecate it because
it's not working properly)..
2021-09-17 10:46:10 +02:00
Sara Arjona
128ebcc4b0 MDL-58939 repository: Remove picasa repository
Picasa is discontinued since 2016 so repository_picasa has been
removed from core Moodle.
2021-09-17 10:46:09 +02:00
Sara Arjona
ba06999e48 MDL-58939 portfolio: Remove picasa portfolio
Picasa is discontinued since 2016 so portfolio_picasa has been
removed from core Moodle.
2021-09-17 10:45:12 +02:00
Sara Arjona
a0d3e32aa9 MDL-72042 media: Remove SWF media player
The Flash Player was deprecated in 2017 and officially discontinued
on 31 December 2020, so media_swf player has been completely
removed from Moodle core.
2021-09-17 10:39:17 +02:00
Ferran Recio
cb39d0d28d MDL-72566 completion: fix missing mod bug
MDL-71899 produces a regression. When an activity plugin is not present
but it has activities in the DB the course view returns an exception.
With this patch the code will ignore missing modules when calculating
the completion.
2021-09-16 09:59:10 +02:00
Jun Pataleta
df4e0d5497 Merge branch 'MDL-72116-master' of git://github.com/sarjona/moodle 2021-09-16 12:36:54 +08:00
Eloy Lafuente (stronk7)
433212a33e Merge branch 'MDL-72093-master' of git://github.com/mihailges/moodle 2021-09-16 00:32:47 +02:00
Jake Dallimore
f91529bed3 Merge branch 'MDL-71137-master' of https://github.com/NashTechOpenUniversity/moodle 2021-09-15 10:11:48 +08:00
Eloy Lafuente (stronk7)
2d65b1eb52 Merge branch 'MDL-72115-master' of git://github.com/sarjona/moodle 2021-09-14 22:42:15 +02:00
Mihail Geshoski
7d821080f0 MDL-72093 navigation: Update behat tests 2021-09-14 12:02:35 +08:00
Mihail Geshoski
ecf8e77f19 MDL-72093 navigation: Update secondary nav unit tests 2021-09-14 12:02:35 +08:00
Mihail Geshoski
9ce040a7a7 MDL-72093 navigation: Replace strings in course and module secondary nav 2021-09-14 12:02:35 +08:00
Jun Pataleta
61fc746602 Merge branch 'MDL-71473-master' of git://github.com/sarjona/moodle 2021-09-14 10:42:52 +08:00
Eloy Lafuente (stronk7)
aed4799ad4 Merge branch 'master-MDL-72527' of https://github.com/matt-catalyst/moodle 2021-09-13 23:35:22 +02:00
Jun Pataleta
355e30cfec Merge branch 'MDL-71228-master-v02' of git://github.com/ferranrecio/moodle 2021-09-13 22:10:19 +08:00
Sara Arjona
3f2f2e85bb MDL-72115 course: Rename Miscellaneous category
The "Miscellaneous" course category has been renamed to Category 1.
Besides, the description field has been set from FORMAT_MOODLE to
FORMAT_HTML.
2021-09-13 08:36:17 +02:00
Sara Arjona
7045dd1948 MDL-71473 lib: Remove XMPPHP (Jabber) third-party lib
As the message_jabber notification plugin has been removed from core,
the XMPPHP library (aka Jabber) is not required any more so it has
been completely removed from Moodle core too.
2021-09-13 08:33:15 +02:00
Sara Arjona
f471a7d23a MDL-71473 message: Remove jabber output notification
Jabber is not widely used these days so message_jabber has been removed
from Moodle core.
2021-09-13 08:32:47 +02:00
Sara Arjona
4cb297d4fd MDL-72116 dashboard: Remove some of the current blocks
The following blocks have been removed from the Dashboard:
- Online users
- Upcoming events
- Learning plans
- Recently accessed courses

This change will only apply on new installations.
2021-09-13 08:27:08 +02:00
Matt Clarkson
728e8c4a3c MDL-72527 core: Fix behat unit test failure
$CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix being
undefined resulted in unit test failure.
2021-09-13 11:32:50 +12:00
Jun Pataleta
1401fa3bc1 Merge branch 'MDL-71899-master-2' of git://github.com/HuongNV13/moodle 2021-09-09 12:58:16 +02:00
Ferran Recio
7659a18993 MDL-71228 course: sorting course on section state change 2021-09-09 11:16:10 +02:00
Ferran Recio
7f750dc01c MDL-71228 course: course index drag and drop 2021-09-09 11:16:10 +02: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
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
Brendan Heywood
66a923fe77 MDL-68164 dml: Cache postgres field type metadata in MUC 2021-09-07 19:29:31 +10: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