Commit Graph

3236 Commits

Author SHA1 Message Date
Ilya Tregubov b58338c001 Merge branch 'MDL-71965-master' of git://github.com/andrewnicols/moodle 2021-10-11 12:18:39 +07:00
Andrew Nicols c4af869ffe MDL-71965 theme: Address behat failures
* The helplink has changed so the language customisation check had to be
  updated to use a different selector.
* The totop string has been moved from boost to classic only and the
  string must be moved too.
* The new footer toggle may sit over the [next page] button for the
  timeline block for some browsers (Linux only). Changing the browser
  size to large resolves this.

AMOS BEGIN
 CPY [totop,boost],[totop,classic]
AMOS END
2021-10-11 13:05:11 +08:00
Huong Nguyen cf34245d6d MDL-72295 timeline: Add text search to the timeline block
AMOS BEGIN
 CPY [clearsearch,tool_moodlenet],[clearsearch,block_timeline]
AMOS END
2021-10-11 10:04:45 +07:00
abgreeve edb655e35c Merge branch 'MDL-72578-master' of git://github.com/ferranrecio/moodle 2021-10-08 09:12:57 +08:00
Ferran Recio 41b4625693 MDL-72578 course: activity render to output classes 2021-10-07 17:17:29 +02:00
abgreeve 24eac0b051 Merge branch 'MDL-72543-master' of git://github.com/lameze/moodle 2021-10-07 15:11:12 +08:00
Michael Hawkins 34d6916968 MDL-72629 timeline: Reduce footprint when a course has no events
This also improves the noevents string so it makes sense in all
contexts.
2021-10-07 14:22:12 +08:00
Simey Lameze 9afd980b4e MDL-72543 block_timeline: change the display of event names 2021-10-07 14:05:34 +08:00
Ilya Tregubov b4675942ce Merge branch 'MDL-52206-master-rebased' of git://github.com/peterRd/moodle 2021-10-07 12:55:12 +07:00
Dongsheng Cai 43e5cc11b5 MDL-72277 block_timeline: UI improvements 2021-10-07 14:49:51 +11:00
Peter 7a9e3db9dc MDL-52206 completion: Behat test
Co-authored-by: aanabit
2021-10-07 10:17:25 +08:00
Eloy Lafuente (stronk7) ba84d525eb MDL-71963 behat: Let's search for blocks, not for strings
In classic, the "Search forums" string still was around (in the
"Add a block" block). So, instead of searching for strings, we
use the explicit step that allows us to look for blocks.
2021-10-05 23:20:41 +02:00
Eloy Lafuente (stronk7) f6a023d301 Merge branch 'MDL-72276' of https://github.com/vmdef/moodle 2021-10-05 23:18:50 +02:00
Andrew Nicols 89457e9acb Merge branch 'MDL-71963-master' of https://github.com/Chocolate-lightning/moodle 2021-10-05 23:18:50 +02:00
Víctor Déniz 48b5d50200 MDL-72276 block_timeline: behat scenario update after aria label change 2021-10-05 23:18:47 +02:00
Víctor Déniz 2957711cd5 Merge branch 'MDL-72276-master' of git://github.com/junpataleta/moodle 2021-10-05 23:18:47 +02:00
Andrew Nicols 529c5c2ece MDL-71963 Core: Convert block deletion to a modal
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
2021-10-04 13:07:31 +08:00
Jun Pataleta f7d14691f7 MDL-72276 block_timeline: Update wording for the date filter 2021-10-04 11:30:37 +08:00
Jun Pataleta bbcf026ce4 MDL-72276 block_timeline: Make screen readers announce current selection
* Have the currently selected dropdown menu item serve as the dropdown's
description in order for screen readers to announce its current
selection.
 - JAWS and NVDA both read this as "[element name] [selected value]".
 - Chrome screen reader (formerly ChromeVox) does not announce the
description.
* Add a title attribute so the dropdown's element name can be shown by
browsers on hover.
2021-10-04 11:30:36 +08:00
Jun Pataleta 04392abd53 MDL-72276 block_timeline: Show current selection on timeline dropdowns 2021-10-04 11:30:36 +08:00
Adrian Greeve 7a1b3e0f2c Merge branch 'MDL-72355-master' of git://github.com/mickhawkins/moodle 2021-10-04 10:35:26 +08:00
Víctor Déniz f01d69cb05 Merge branch 'MDL-72714-master' of git://github.com/ilyatregubov/moodle 2021-10-01 13:21:46 +02:00
Ilya Tregubov fad4743ea8 MDL-72714 behat: Fix Behat failures for chrome 94. 2021-10-01 08:36:50 +02:00
abgreeve d9f4590c89 Merge branch 'MDL-72275-master-2' of git://github.com/mickhawkins/moodle 2021-09-30 09:57:35 +08:00
Bas Brands 16c726cde7 MDL-71610 core_behat: use new edit mode step in feature files 2021-09-29 09:25:36 +02: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 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
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) f1416b6eb1 Merge branch 'MDL-72118-master' of git://github.com/sarjona/moodle 2021-09-16 00:34:44 +02:00
Eloy Lafuente (stronk7) 433212a33e Merge branch 'MDL-72093-master' of git://github.com/mihailges/moodle 2021-09-16 00:32:47 +02:00
Mihail Geshoski 7d821080f0 MDL-72093 navigation: Update behat tests 2021-09-14 12:02:35 +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 5cbe9242f0 MDL-72118 block_html: Rename HTML block to Text 2021-09-13 08:28:38 +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
Jun Pataleta 4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Sara Arjona c5183622d6 Merge branch 'MDL-58579' of https://github.com/Chocolate-lightning/moodle 2021-08-24 12:35:10 +02:00
Mathew May ccd62d2884 MDL-58579 block_myoverview: Implement searching within myoverview 2021-08-24 16:26:50 +08:00
Mathew May 6cce0bf42e MDL-58579 block_myoverview: Refactor AMD to ES6 2021-08-24 13:43:04 +08:00
Peter Dias dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +08:00
Peter Dias f4d3606a2e MDL-71901 core: Allow blocks to specify their own nav
- Part of: MDL-69588
2021-08-23 17:47:01 +08:00
Andrew Nicols 891d1bfad3 MDL-71055 behat: Update core settings to use generator
These changes have only been applied to settings which were already
using settings names and values, but which were still using the UI.
2021-08-23 12:23:03 +08:00
Andrew Nicols 776f4bd80c MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
Simey Lameze b0133904bf MDL-71817 calendar: behat changes for calendar block
This commit does few things:

1) Remove unnecessary "I hover over today in the calendar"
steps as it's not necessary to hover onto the day to see the events
any more.

2) Replace "I follow This month" steps to "I follow Full calendar"

3) Update i_create_a_calendar_event_with_form_data() to use the new
fullcalendar lang string.
2021-07-22 09:00:30 +08:00
Simey Lameze d2f612ab24 MDL-71817 block_calendar_month: load month view in the block 2021-07-22 08:46:01 +08:00
Jun Pataleta 6c131ead99 Merge branch 'MDL-71775-master' of git://github.com/lameze/moodle 2021-07-15 16:10:48 +08:00
Simey Lameze f58750c2a5 MDL-71775 block_calendar_month: add footer options 2021-07-15 10:20:54 +08:00
Ilya Tregubov 4819625349 MDL-32103 completion: Allow instant completion updates.
For activity based course completion criteria allow instant
course completion updates if the activity completion state was changed
for a single user.
2021-07-13 12:07:53 +02:00