102215 Commits

Author SHA1 Message Date
arjun-kallapur
a5ab9e466e MDL-66549 grades: Double arrow sort order should be ascending first 2021-09-22 14:13:14 +02:00
Ilya Tregubov
0e979b85cc Merge branch 'MDL-72042-master' of git://github.com/sarjona/moodle 2021-09-22 13:34:28 +02:00
Ferran Recio
23499e6447 MDL-71664 course: add browser native drag and drop 2021-09-22 11:08:06 +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
Jun Pataleta
c69c653b57 Merge branch 'MDL-51165-master' of https://github.com/kiratskitizing/moodle 2021-09-22 10:51:29 +08:00
AMOS bot
13a14653f5 Automatically generated installer lang files 2021-09-22 00:07:49 +00:00
Eloy Lafuente (stronk7)
9a19736556 Merge branch 'MDL-71352-master' of git://github.com/lucaboesch/moodle 2021-09-21 23:17:51 +02: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
Ilya Tregubov
f2e28c0561 MDL-71037 course: Make sections collapsible for Topics/Weeks format. 2021-09-21 18:41:59 +02:00
Eloy Lafuente (stronk7)
dabf7b45cd Merge branch 'MDL-69364-master-alt' of git://github.com/andrewnicols/moodle 2021-09-21 18:19:16 +02:00
Eloy Lafuente (stronk7)
74f38ccd66 Merge branch 'MDL-72630-master' of git://github.com/andrewnicols/moodle 2021-09-21 16:17:31 +02:00
sam marshall
8ddfa20121 MDL-72328 cachestore_redis: Add TTL support for Redis cache
A list of times for each cache key in a TTL cache is kept in a Redis
sorted list, which can be queried efficiently to delete expired
cache items later in a scheduled task.

This change makes set and delete 2x slower (only for caches which use
TTL) but there is no impact on get performance.
2021-09-21 13:43:11 +01:00
Ilya Tregubov
64bcb34a29 Merge branch 'MDL-70946-master' of git://github.com/peterRd/moodle 2021-09-21 13:08:27 +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
Andrew Nicols
1e78596419 MDL-72630 feedback: Increase screen size for links just off screen 2021-09-21 15:33:01 +08:00
Jun Pataleta
e6e32acd21 Merge branch 'MDL-58939-master' of git://github.com/sarjona/moodle 2021-09-21 10:38:11 +08:00
Andrew Nicols
dc3ecef948 MDL-72449 core: Fix show_confirm_dialog submission
The show_confirm_dialog function was passing a YUI Node object instead of
a DOM Node, which the form change checker is unable to handle.
2021-09-21 10:10:02 +08:00
Eloy Lafuente (stronk7)
0f04ec2ef6 Merge branch 'MDL-72387-master' of git://github.com/aanabit/moodle 2021-09-20 23:23:24 +02:00
Amaia Anabitarte
5c54b1a608 MDL-72387 core_course: section navigation visiblity for students 2021-09-20 21:49:19 +02:00
Eloy Lafuente (stronk7)
9c6489db36 Merge branch 'MDL-72205-master' of git://github.com/HuongNV13/moodle 2021-09-20 18:58:56 +02:00
Ilya Tregubov
2fb0c3bf71 Merge branch 'MDL-72356-master' of git://github.com/aanabit/moodle 2021-09-20 14:35:46 +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
Andrew Nicols
98421046dc MDL-69364 enrol: Improve setting of save button 2021-09-20 12:07:30 +08:00
Andrew Nicols
9fb596408d MDL-69364 enrol: Improve cohort test 2021-09-20 12:07:30 +08: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
Peter Dias
46daeb3ba1 MDL-70946 repository: Reenable and fix the disabled behat test 2021-09-20 08:01:15 +08:00
Joshua Ebarvia
7ccf18f65e MDL-51165 mod_url: allow directory index url direct access 2021-09-19 12:05:51 +09:30
Eloy Lafuente (stronk7)
ea02bb0da7 Merge branch 'MDL-72605-master' of git://github.com/sarjona/moodle 2021-09-17 16:26:31 +02:00
Luca Bösch
1f7fbed812 MDL-71352 gradereport_grader: Add icons for pass/fail. 2021-09-17 13:54:41 +02:00
Sara Arjona
3b4b891a5f MDL-72605 my: Fix behat error with classic
This is a regression caused by MDL-72116, where the "Upcoming events"
block was removed from the dashboard.
In classic is failing because the text "Upcoming events" is displayed
in the "Add a block" list. So stopping edition should fix the issue.
2021-09-17 13:27:04 +02: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
Sujith Haridasan
3d18e005e8 MDL-72396 core: Add tests for setting active tabs
Add the tests for setting active tabs in primary
and secondary nav.
2021-09-17 12:37:42 +05:30
Sujith Haridasan
c1a2df7f64 MDL-72396 core: Allow setting of active tab
Allow easy setting of active tab for the navigation
views.
2021-09-17 12:37:42 +05:30
Ilya Tregubov
5ea3545115 weekly release 4.0dev 2021-09-17 08:58:30 +02:00
Ilya Tregubov
41a738f5fc Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-09-17 08:58:27 +02:00
Ilya Tregubov
1427a79ddb Merge branch 'MDL-72173-master' of git://github.com/andrewnicols/moodle 2021-09-16 14:57:51 +02:00
Andrew Nicols
11ebfe601c MDL-72173 behat: Respect login page preference 2021-09-16 20:47:18 +08: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
4359db8622 Merge branch 'MDL-72173-master' of git://github.com/andrewnicols/moodle 2021-09-16 15:39:42 +08:00
Andrew Nicols
92018f6971 MDL-72173 behat: Fix typo Logout <> Log out 2021-09-16 15:03:07 +08:00
Sara Arjona
878c1c89f9 Merge branch 'MDL-72118-master-solr-fix' of https://github.com/snake/moodle 2021-09-16 07:23:25 +02:00
Jun Pataleta
f01c179cda Merge branch 'MDL-71602-master-2' of git://github.com/rezaies/moodle 2021-09-16 12:58:01 +08:00
Jun Pataleta
df4e0d5497 Merge branch 'MDL-72116-master' of git://github.com/sarjona/moodle 2021-09-16 12:36:54 +08:00
Jun Pataleta
115baf17d0 Merge branch 'MDL-72173-master' of git://github.com/andrewnicols/moodle 2021-09-16 12:22:45 +08:00