111 Commits

Author SHA1 Message Date
Jun Pataleta
b92bb60a56 Merge branch 'MDL-72825-master' of git://github.com/HuongNV13/moodle 2021-10-19 10:59:51 +08:00
Huong Nguyen
af2eaccf3c MDL-72825 calendar: Course name still exists in the course view 2021-10-15 16:42:06 +07:00
Michael Hawkins
780e19ae5e MDL-72594 timeline: Display same-day overdue events in overdue filter
Now that events due on the current date are indicated in the timeline
block, for consistency, the overdue filter has been updated to also
display those items.
2021-10-13 21:44:59 +08:00
Michael Hawkins
1a6f9467b0 MDL-72594 timeline: Display overdue status per events instead of date
Previously, only past dates displayed an indication of being overdue.
This update moves the badge to indicate each event that is overdue
instead, which makes the information clearer and also means it now
supports flagging events due earlier in the current day.
2021-10-13 15:59:13 +08:00
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
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
Dongsheng Cai
43e5cc11b5 MDL-72277 block_timeline: UI improvements 2021-10-07 14:49:51 +11: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
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
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
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Andrew Nicols
70dcc60862 MDL-71113 js: Bare minimum fixes to build jsdoc 2021-06-18 09:38:04 +08:00
Shamim Rezaie
3a9fa051c3 MDL-70173 dashboard: ARIA role presentation conflicted the empty alt
The markup <img role="presentation" alt="alt text"> is contradictory.

According to https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html
 It is recommended that authors instead use empty alt text (alt="")
 where they use role="presentation".
2021-02-09 16:16:09 +11:00
Alexander Bias
3c0a064421 MDL-70342 block_timeline: Get rid of double quotes
This commit gets rid of double quotes around the activity name and course name
which have sneaked into block_timeline's view in MDL-65183.
2020-11-30 13:20:26 +01:00
Bas Brands
451bd40752 MDL-69390 theme_boost: dropdown menu accessibility
- display a dot before the active element
- use the active colour for the hover colour
2020-10-28 14:01:17 +01:00
Andrew Nicols
6e116209db Merge branch 'MDL-69449' of https://github.com/paulholden/moodle 2020-08-20 09:23:39 +08:00
Eloy Lafuente (stronk7)
fbb0767536 MDL-69475 versions: bump all versions and requires in master
version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.
2020-08-18 00:47:15 +02:00
Paul Holden
ef8296c819 MDL-69449 block_timeline: use dayslimit context data in template.
Ensures the correct value is used when initially rendering the
course timeline.
2020-08-11 23:33:20 +01:00
Mikhail Golenkov
1c3cd955ea MDL-66716 block_timeline: Group events by usermidnight event property. 2020-08-10 11:36:29 +10:00
Eloy Lafuente (stronk7)
115cc0214f MDL-68973 versions: bump all versions and requires near release
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Marina Glancy
6f92c731e7 MDL-58866 block_timeline: do not display course if abscent 2020-05-19 19:04:15 +02:00
Marina Glancy
1a972b06f1 MDL-58866 core_calendar: allow component events 2020-05-19 19:04:13 +02:00
Peter
4a27182b5c MDL-67233 mod_timeline: Allow events with only open dates in the future 2019-11-26 11:25:15 +08:00
Eloy Lafuente (stronk7)
d5be859063 MDL-67199 versions: bump all versions and requires near release
version = 2019111800 release version
requires= 2019111200 current beta (week7roll1) version
2019-11-12 17:57:08 +01:00
Neill Magill
af9a834d74 MDL-64064 block_timeline: Confusing when event is not in this year
If an event is not in the current year it can be confusing as the
months and days may appear to be in the wrong order.

This change adds the year to the displayed date to make the reason
for the order clear.
2019-10-11 08:37:31 +01:00
Trisha Milan
ff649d7bd4 MDL-65310 block_timeline: Hide activities without due date 2019-09-06 13:46:19 +10:00
Ryan Wyllie
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
Andrew Nicols
ae321ea8fc Merge branch 'MDL-65814-master' of git://github.com/junpataleta/moodle 2019-06-13 18:05:09 +02:00
Jun Pataleta
e46dd6d9e6 MDL-65814 block_timeline: Bring back item counts for action events 2019-06-13 11:31:35 +08:00
Kristian Ringer
6c97045e5e MDL-65183 block_timeline: escape newline characters 2019-06-07 09:37:34 +10:00
Eloy Lafuente (stronk7)
c9a1a6341c MDL-65571 versions: bump all versions and requires near release
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Dan Marsden
ef78cf8f42 MDL-63995 blocks: Remove unused capabilities and warning. 2019-03-25 12:20:13 +13:00
Jun Pataleta
78af6dec0d MDL-65005 block_timeline: Behat fixes 2019-03-08 13:38:59 +08:00
Jun Pataleta
7a698c0d91 MDL-65005 block_timeline: Fix accessibility of Day filter menu 2019-03-08 13:38:59 +08:00
Jun Pataleta
87b998c46f MDL-65005 block_timeline: Fix accessibility of Sort-by menu 2019-03-08 13:38:55 +08:00
Luca Bösch
eb6a339fb7 MDL-64746 block_timeline: replace filter icon by sort icon. 2019-02-28 20:45:50 +01:00
Simey Lameze
a6243b09f3 MDL-64425 block_timeline: fix incorrect get_string parameter 2018-12-18 10:23:12 +08:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Andrew Nicols
a0a365fe43 Merge branch 'MDL-64092-master' of git://github.com/peterRd/moodle 2018-11-22 10:16:23 +08:00
Peter
495e1b5615 MDL-64092 block_timeline: Separate the activity view and submission link
* Reintroduce separate links similar to 35
* Hide submission links if not actionable
2018-11-21 14:26:38 +08:00