Commit graph

220 commits

Author SHA1 Message Date
Jake Dallimore
61de432241 MDL-66156 block_myoverview: remove orphaned course favourite records 2019-09-18 14:33:06 +08:00
Jake Dallimore
2ab6f8a87e MDL-66156 block_myoverview: purge course favourites on course deletion. 2019-09-18 14:30:54 +08:00
Neill Magill
d2262ecea5 MDL-64094 dashboard: Remove unnecesary behat steps
We do not need to explicitly log out at the end of a behat test, the
browser session is killed automatically during the scenario teardown.
2019-09-06 08:59:18 +01:00
Neill Magill
74d7ab50fd MDL-64094 dashboard: Improve the nomenclature
The use of hidden for the course tiles on the course overview is
causing some users to confuse it with course visibility to students
this change aims to make it clear that the functionality only affects
the user's own instance of the block.
2019-09-06 08:59:18 +01:00
Helen Foster
7ee90659ee MDL-66504 lang: Import fixed English strings (en_fix)
Significant string changes:

- configgeneralfiles,core_backup - includes explanation of implications
  of settings
- mobilenotificationsdisabledwarning,tool_mobile - location corrected
- statsreport14,core - 'views/posts' corrected to 'posts/views'
- err_nousers,core_completion - explanation of who completion
- information is displayed for errorcourselisting,block_community - note
  about sunsetting moodle.net
2019-09-01 12:31:15 +02:00
Alexander Bias
8196aa4437 MDL-66016 block_myoverview: Improve settings page 2019-08-23 20:44:19 +02:00
Alexander Bias
2276614cd8 MDL-66016 block_myoverview: Make course filter options configurable 2019-08-23 20:44:19 +02:00
Alexander Bias
cd4abbc740 MDL-66016 block_myoverview: Add 'All' course filter 2019-08-23 20:44:19 +02:00
Alexander Bias
ee47c8fd96 MDL-66016 block_myoverview: Add missing template example context items 2019-08-23 20:44:19 +02:00
Alexander Bias
535cec788e MDL-66016 block_myoverview: Rename 'all courses except hidden' in AMOS
AMOS BEGIN
 MOV [allexcepthidden,block_myoverview],[all,block_myoverview]
 MOV [aria:allcoursesexcepthidden,block_myoverview],[aria:allcourses,block_myoverview]
AMOS END
2019-08-23 20:44:19 +02:00
Alexander Bias
5345004301 MDL-66016 block_myoverview: Rename unused 'all courses' in AMOS
AMOS BEGIN
 MOV [all,block_myoverview],[allincludinghidden,block_myoverview]
 MOV [aria:allcourses,block_myoverview],[aria:allcoursesincludinghidden,block_myoverview]
AMOS END
2019-08-23 20:44:19 +02:00
Adrian Greeve
523e51ff4d Merge branch 'MDL-65621-dimmed-courses' of https://github.com/stopfstedt/moodle 2019-08-14 14:56:07 +08:00
Tom Dickman
c0add7c713 MDL-64860 block_myoverview: added additional pagination options
Added additional pagination options based on the amount of courses the user is enrolled in.
This will allow the user to display all courses on one page if they wish, and scale based on their total
courses up to pages of 96 courses, now defaults to `All` if they have less than 12 courses and hides the
dropdown menu as there is only one choice.
2019-07-29 09:12:07 +10:00
Ryan Wyllie
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
Stefan Topfstedt
1606fb6812 MDL-65621 block_myoverview: tag courses as "hidden from students"
This is intended to visually separate hidden course from open
courses in the course overview block
by applying a "Hidden from students" tag to the various views in
this block.
To achive this, the course summary exporter's output must be
augmented with a "visiblity" attribute,
carrying the given course's corresponding visibility setting.
Since the exporter now expects this data point as part of its input,
the output of the course_get_recent_courses()
function had to also be augmented with the course visibility setting
to provide this value.
2019-07-05 14:41:46 -07:00
Jake Dallimore
567289e29a Merge branch 'MD-64901-master-fix' of https://github.com/andrewnicols/moodle 2019-06-25 09:36:05 +08:00
Andrew Nicols
a3f254053e MDL-64901 block_myoverview: Correct CSS selector in behat 2019-06-25 09:17:22 +08:00
Andrew Nicols
60f3e0f61d Merge branch 'MDL-64901-37_block_myoverview_layout_settings' of https://github.com/tomdickman/moodle 2019-06-24 06:44:11 +08:00
Adrian Greeve
7223ef7979 Merge branch 'MDL-64743-master' of git://github.com/abias/moodle 2019-06-11 10:05:39 +08:00
Tom Dickman
5f59a4c063 MDL-64901 block_myoverview: admin settings to control available layouts
Added an admin setting which allows the administrator to set the available layouts for users and which
defaults to all layouts being available, or the card layout only if no layouts are enabled.
If only one layout is enabled, the dropdown `nav-display-selector` template will not be displayed as
it can no longer be utilised.
If the user preference is set to a layout that is no longer available, this is ignored and the first
available layout defaulted to.
2019-06-04 08:34:52 +10:00
Peter
577ccff6c2 MDL-65661 block_myoverview: Truncate category name 2019-05-22 19:30:48 +08: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
Jake Dallimore
55e5530f97 Merge branch 'MDL-64910-master' of git://github.com/peterRd/moodle 2019-05-03 12:09:47 +08:00
Peter
72bb97843d MDL-64910 block_myoverview: Separate the category name as it's own link
* Separate the link
* Add style to force color inheritance
2019-05-03 11:46:21 +08:00
Helen Foster
f1264719f4 MDL-65397 lang: Import fixed English strings (en_fix)
Significant string changes:

* direct:view,gradeimport_direct - wording corrected from 'CSV' to
  'spreadsheet'
* limitanswers_help,mod_choice - additional wording added explaining how
  the setting works with groups
* pluginname,customfield_text  - 'Text field' plugin renamed to
  'Short text'
2019-04-29 11:46:26 +02:00
Tom Dickman
c7d625a728 MDL-64855 block_myoverview: Fix list and summary views 2019-04-16 11:13:43 +02:00
David Monllaó
a733fce3ac Merge branch 'MDL-64855-37_block_myoverview_course_category_display' of https://github.com/tomdickman/moodle 2019-04-15 07:50:45 +02:00
Mathew May
5edb0fbcb5 MDL-64506 templates: replace spans where and col-x appears 2019-04-03 19:47:13 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Mathew May
6ecc445939 MDL-64506 templates: Remove BS2 spans from elements. 2019-04-03 19:34:20 +08:00
Tom Dickman
5ae4db8852 MDL-64855 block_myoverview: add setting for course categories display
Added an administrator setting to set the visibility of the course category for the my overview
block on the users dashboard to support usage scenarios where displaying the course categories will
clutter course overviews.
2019-03-29 12:06:07 +11:00
Tom Dickman
e04b82d30d MDL-64194 block_myoverview: incorrect pagination
The pagination was found to be incorrect due to the all the items event not being triggered if the amount
of courses the user has is equal to the amount set via pagination.
The condition could not just be changed to `>=` as this would trigger the event when there were further
pages to display.
A check of `remainingCourses` was added to condition so if the amount of courses on the current loaded
page is less than the pagination amount, or there are no remaining courses, the all items event is
triggered and the pagination bar hidden correctly.
2019-03-29 11:54:08 +11:00
Dan Marsden
ef78cf8f42 MDL-63995 blocks: Remove unused capabilities and warning. 2019-03-25 12:20:13 +13:00
Eloy Lafuente (stronk7)
c846784230 Merge branch 'MDL-64905-master' of git://github.com/abias/moodle 2019-03-18 20:00:46 +01:00
Alexander Bias
8f68ec5ae3 MDL-64743 block_myoverview: Remove icons in context menu 2019-03-11 13:27:53 +01:00
Luca Bösch
5ed8afac9b MDL-64747 block_myoverview: Omit "Sort by" text and add icon instead. 2019-03-08 16:42:20 +01:00
Eloy Lafuente (stronk7)
8ab1bd2f5e Merge branch 'MDL-64943-master-enfix' of git://github.com/mudrd8mz/moodle 2019-03-05 11:08:32 +01:00
Alexander Bias
c8def6e394 MDL-64905 block_myoverview: Progress bar percentage as placeholder 2019-03-04 16:16:11 +01:00
David Mudrák
60f59e5599 MDL-64943 lang: Fix regressions in Behat caused by reworded strings 2019-02-28 17:23:01 +01:00
Helen Foster
38dc5b9677 MDL-64943 lang: Import fixed English strings (en_fix)
Significant string changes:

* importgroups_help,core_group - Correcting optional fieldnames
  (removing picture, hidepicture and adding groupidnumber, groupingname
  and enablemessaging)

* penaltyforeachincorrecttry_help,core_question - additional paragraph
  about scoring logic

* resultdownloadready,tool_dataprivacy - wording corrected (no need to
  go to a download page)

* auth_dbfielduser,auth_db - varchar data type requirement
2019-02-28 09:50:18 +01:00
Alexander Bias
0048e12f04 MDL-64903 block_myoverview: Cluster course filters 2019-02-27 13:46:47 +01:00
Ryan Wyllie
6d9727628a MDL-64376 recentlyaccessedcourses: stop reloading on favourite
Stop reloading the whole content when a single course is favourited
or unfavourited.
2019-02-27 10:50:32 +08:00
Mathew May
a29135f883 MDL-63880 core_course: Move common templates to core_course
Remove repeated templates from myoverview, recentlyaccessedcourse &
starredcourses blocks.
2019-02-07 13:45:12 +08:00
Mihail Geshoski
6c52667722 MDL-63794 block_myoverview: Display the course category name in block 2018-12-17 13:21:55 +08:00
Mihail Geshoski
d657d80db0 MDL-63794 block_myoverview: Add behat tests 2018-12-17 13:21:55 +08:00
David Monllao
823fc75421 Merge branch 'MDL-64282' of git://github.com/stronk7/moodle 2018-11-30 13:02:47 +01: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
Bas Brands
d996eb941f MDL-63988 core_my: always honour showshortname and summary heading
* make the summaryview heading semantically correct for boost where titles
are h5 and headings within the blocks should have h6
* style the heading to use h5
* add clean theme .h5 class for dashboard blocks
2018-11-28 17:36:21 +01:00
Bas Brands
f87181fdaf MDL-63988 core_my: add course shortname to dashboard blocks …
* all dashboard card templates moved to /course/templates/
* added aria labels for course short name
* removed ":" from other course aria strings to improve screenreader output
2018-11-28 17:36:20 +01:00
Jun Pataleta
d82cc9f297 MDL-64170 block_myoverview: Behat fix 2018-11-27 10:58:04 +08:00