Commit graph

102855 commits

Author SHA1 Message Date
Paul Holden
bd258be549 MDL-67686 reportbuilder: new duration filter type.
This report filter can be used for filtering reports by given
duration, via selection of time value and unit (seconds, minutes,
hours, etc).
2021-09-24 08:14:37 +01:00
Ilya Tregubov
6cc0d5dfbd Merge branch 'MDL-71828-master' of git://github.com/ferranrecio/moodle 2021-09-24 08:49:32 +02:00
David Matamoros
c6cf30d47a MDL-72329 tool_dataprivacy: Fix type comparisons in unit tests 2021-09-24 08:45:09 +02:00
David Matamoros
306b070ac1 MDL-72329 competency: Fix contextid comparison 2021-09-24 08:45:09 +02:00
David Matamoros
ab4d4b4724 MDL-72329 reportbuilder: Remove custom persistent getter 2021-09-24 08:45:09 +02:00
David Matamoros
78735a72bc MDL-72329 core: Persistent method get needs to return correct type 2021-09-24 08:45:08 +02:00
Michael Hawkins
b5a64bf719 MDL-72355 calendar: Improve clarity of the imports table heading
The updates string provides consistency with the main page heading.
This commit also improves accessibility by setting the heading as the
aria-describedby element for the table which it is describing.
2021-09-24 11:31:21 +08:00
Michael Hawkins
9eed82a7f5 MDL-72355 calendar: Remove export link from the calendar footer
Now that subscriptions and exports are accessed from the same page which
is linked as "Import / export calendars", there is no need to have a
separate "Export calendar" link.
2021-09-24 11:29:56 +08:00
Michael Hawkins
b1b8644fac MDL-72355 calendar: Update manage subscriptions language string
This has been modified to reflect the updated content on the page,
as this is now also includes exports.
2021-09-24 11:29:56 +08:00
Michael Hawkins
c848e34fd4 MDL-72275 timeline: Add default offset to template
This value was being passed in the template, but the template
had 0 hardcoded instead of injecting the context value. With the other
bug fixes in this issue correctly loading the "All" view properly on
page load, this uncovered that at load time, the course view would not
load overdue items, which also meant a behat test was failing.
2021-09-24 11:23:05 +08:00
Michael Hawkins
0a7aa0a878 MDL-72275 timeline: Make time dropdown options display consistently
The 6 month option was highlighted on load if previously selected,
which was not the case for any other options. This has been removed
so it behaves consistently.
2021-09-24 11:23:05 +08:00
Michael Hawkins
328ea675ad MDL-72275 timeline: Fixed non-loading issue in dates sort
Incorrect setting/getting of the "seen" data attribute resulted in no
information being fetched when switching from course view back to dates
view.
2021-09-24 11:23:05 +08:00
Michael Hawkins
7b5c45f7e0 MDL-72275 timeline: Display "all" time on page load fix
When the timeframe filter was set to "all" when the timeline
block was initially loaded, an incorrect value rendered into
the template meant the timeframe limit was set to 0 (which will
return no results) instead of setting no limit (which would fetch all
 action events, as intended).
2021-09-24 11:23:05 +08:00
Marcus Boon
d4a48daa9b MDL-70862 gradebook: Add callback so that we can add tabs in gradebook 2021-09-24 11:06:41 +10:00
AMOS bot
72229ce8b9 Automatically generated installer lang files 2021-09-24 00:07:53 +00:00
David Mudrák
3722466892 MDL-72658 lang: Let welcome message use other than just firstname
The patch allows for strings welcomeback and welcometosite to be
customised and use other user names than just the firstname.

Supported are placeholder properties matching all known name fields:
firstnamephonetic, lastnamephonetic, middlename, alternatename,
firstname and lastname. Special values fullname and alternativefullname
are supported, too.

By default, the firstname is kept for compatibility with the original
feature design.
2021-09-23 20:57:22 +02:00
Ilya Tregubov
214adb7984 weekly release 4.0dev 2021-09-23 18:21:49 +02:00
Ilya Tregubov
eb1f88242c Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-09-23 18:21:47 +02:00
Eloy Lafuente (stronk7)
6943cb85db Merge branch 'MDL-71964-master' of git://github.com/junpataleta/moodle 2021-09-23 10:38:58 +02:00
Mihail Geshoski
8e4a7c6b90 MDL-72642 navigation: Fix duplicated ID in more menu items 2021-09-23 15:10:48 +08:00
Jun Pataleta
cb0b7fc9c5 MDL-71964 user: Fix preference lang string key
* Plus use example domain for user email in the Behat test
2021-09-23 14:11:20 +08:00
Jun Pataleta
959a562aa0 Merge branch 'MDL-72426-master' of git://github.com/lameze/moodle 2021-09-23 12:23:46 +08: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
AMOS bot
b6cc37278a Automatically generated installer lang files 2021-09-23 00:07:48 +00:00
Ferran Recio
05b6f68f65 MDL-71828 courseformat: course index section link toggler 2021-09-22 20:10:04 +02: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
3de9a4db4c Merge branch 'MDL-66549-master' of git://github.com/ilyatregubov/moodle 2021-09-22 19:47:28 +02:00
Jun Pataleta
ed0d7efa2f Merge branch 'MDL-71664-master-v04' of git://github.com/ferranrecio/moodle 2021-09-22 21:17:32 +08:00
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