moodle.git
19 months agoMerge branch 'MDL-66743' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 7 Oct 2019 20:26:53 +0000 (22:26 +0200)]
Merge branch 'MDL-66743' of https://github.com/timhunt/moodle

19 months agoMerge branch 'MDL-66709' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 7 Oct 2019 20:25:12 +0000 (22:25 +0200)]
Merge branch 'MDL-66709' of https://github.com/timhunt/moodle

19 months agoMerge branch 'MDL-66749-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Mon, 7 Oct 2019 20:03:08 +0000 (22:03 +0200)]
Merge branch 'MDL-66749-master' of git://github.com/bmbrands/moodle

19 months agoMerge branch 'MDL-66750' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 7 Oct 2019 19:55:32 +0000 (21:55 +0200)]
Merge branch 'MDL-66750' of https://github.com/timhunt/moodle

19 months agoMerge branch 'MDL-66775-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 7 Oct 2019 14:14:43 +0000 (16:14 +0200)]
Merge branch 'MDL-66775-master' of git://github.com/jleyva/moodle

19 months agoMerge branch 'master-MDL-66794' of https://github.com/golenkovm/moodle
Adrian Greeve [Mon, 7 Oct 2019 06:28:59 +0000 (14:28 +0800)]
Merge branch 'master-MDL-66794' of https://github.com/golenkovm/moodle

19 months agoMerge branch 'MDL-65187-master' of git://github.com/marinaglancy/moodle
Adrian Greeve [Mon, 7 Oct 2019 03:12:21 +0000 (11:12 +0800)]
Merge branch 'MDL-65187-master' of git://github.com/marinaglancy/moodle

19 months agoon-demand release 3.8dev+
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:02:03 +0000 (16:02 +0200)]
on-demand release 3.8dev+

19 months agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:02:02 +0000 (16:02 +0200)]
NOBUG: Fixed file access permissions

19 months agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:01:57 +0000 (16:01 +0200)]
NOBUG: Fixed SVG browser compatibility

19 months agoMDL-66477 core: only render region main settings if no settings block
Ryan Wyllie [Fri, 4 Oct 2019 02:31:06 +0000 (10:31 +0800)]
MDL-66477 core: only render region main settings if no settings block

We added a change to allow the region main settings menu to be
rendered in the header rather that the top of the body however
this also meant that the settings were shown on themes (e.g. Classic)
that didn't otherwise show the region main settings.

The simplest solution seems to be to not render the region main
settings in the header if the settings block is on the page.

19 months agoMerge branch 'MDL-65315-master' of git://github.com/peterRd/moodle
Jun Pataleta [Fri, 4 Oct 2019 02:25:16 +0000 (10:25 +0800)]
Merge branch 'MDL-65315-master' of git://github.com/peterRd/moodle

19 months agoMerge branch 'MDL-66476_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 23:59:14 +0000 (01:59 +0200)]
Merge branch 'MDL-66476_master' of git://github.com/dmonllao/moodle

19 months agoMerge branch 'MDL-66397-master-embed' of git://github.com/vmdef/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 21:25:21 +0000 (23:25 +0200)]
Merge branch 'MDL-66397-master-embed' of git://github.com/vmdef/moodle

19 months agoMDL-66476 mlbackend: Use F1 as the main accuracy metric
David Monllaó [Tue, 1 Oct 2019 06:16:37 +0000 (14:16 +0800)]
MDL-66476 mlbackend: Use F1 as the main accuracy metric

19 months agoMDL-66004 mlbackend_python: Purge testing output dirs properly
David Monllaó [Thu, 3 Oct 2019 01:45:57 +0000 (09:45 +0800)]
MDL-66004 mlbackend_python: Purge testing output dirs properly

19 months agoMerge branch 'MDL-56649-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 17:37:05 +0000 (19:37 +0200)]
Merge branch 'MDL-56649-master' of git://github.com/bmbrands/moodle

19 months agoMerge branch 'MDL-65327_master' of https://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 17:27:49 +0000 (19:27 +0200)]
Merge branch 'MDL-65327_master' of https://github.com/marxjohnson/moodle

19 months agoMerge branch 'MDL-66004_master-delete_fix' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 16:41:36 +0000 (18:41 +0200)]
Merge branch 'MDL-66004_master-delete_fix' of git://github.com/dmonllao/moodle

19 months agoMerge branch 'MDL-65919-master' of git://github.com/marinaglancy/moodle
Adrian Greeve [Thu, 3 Oct 2019 07:59:03 +0000 (15:59 +0800)]
Merge branch 'MDL-65919-master' of git://github.com/marinaglancy/moodle

19 months agoMerge branch 'MDL-61450-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 3 Oct 2019 07:42:19 +0000 (15:42 +0800)]
Merge branch 'MDL-61450-master' of git://github.com/lameze/moodle

19 months agoMDL-61450 calendar: Unit test for calendar_view_event_allowed()
Jun Pataleta [Thu, 3 Oct 2019 07:31:24 +0000 (15:31 +0800)]
MDL-61450 calendar: Unit test for calendar_view_event_allowed()

* Unit test for calendar_view_event_allowed() when dealing with course
events.

19 months agoMDL-66775 tool_mobile: Return additional app data
Juan Leyva [Wed, 2 Oct 2019 13:39:27 +0000 (15:39 +0200)]
MDL-66775 tool_mobile: Return additional app data

We need this information for creating a link to the app store listing for updating.

19 months agoMDL-66775 tool_mobile: New force minimum app version setting
Juan Leyva [Thu, 26 Sep 2019 13:04:23 +0000 (15:04 +0200)]
MDL-66775 tool_mobile: New force minimum app version setting

19 months agoMDL-61450 calendar: fix course event type permissions
Simey Lameze [Tue, 17 Sep 2019 05:58:56 +0000 (13:58 +0800)]
MDL-61450 calendar: fix course event type permissions

19 months agoMDL-66004 mlbackend_python: Purge testing output dirs properly
David Monllaó [Thu, 3 Oct 2019 01:45:57 +0000 (09:45 +0800)]
MDL-66004 mlbackend_python: Purge testing output dirs properly

19 months agoMerge branch 'MDL-66774-master-macedonia' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:57:21 +0000 (00:57 +0200)]
Merge branch 'MDL-66774-master-macedonia' of git://github.com/mudrd8mz/moodle

19 months agoMerge branch 'MDL-63453-38_media_videojs_upgrade' of https://github.com/mattporritt...
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:48:56 +0000 (00:48 +0200)]
Merge branch 'MDL-63453-38_media_videojs_upgrade' of https://github.com/mattporritt/moodle

19 months agoMerge branch 'MDL-66197-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:45:31 +0000 (00:45 +0200)]
Merge branch 'MDL-66197-master' of git://github.com/marinaglancy/moodle

19 months agoMerge branch 'MDL-66004_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 18:53:24 +0000 (20:53 +0200)]
Merge branch 'MDL-66004_master' of git://github.com/dmonllao/moodle

19 months agoMerge branch 'MDL-66254_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 15:00:39 +0000 (17:00 +0200)]
Merge branch 'MDL-66254_master' of git://github.com/dmonllao/moodle

19 months agoMerge branch 'MDL-65957-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 14:49:30 +0000 (16:49 +0200)]
Merge branch 'MDL-65957-master' of git://github.com/mihailges/moodle

19 months agoMerge branch 'MDL-64588-master-2' of git://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 14:39:44 +0000 (16:39 +0200)]
Merge branch 'MDL-64588-master-2' of git://github.com/snake/moodle

19 months agoMerge branch 'MDL-62191_master' of git://github.com/dmonllao/moodle
Jun Pataleta [Wed, 2 Oct 2019 08:35:50 +0000 (16:35 +0800)]
Merge branch 'MDL-62191_master' of git://github.com/dmonllao/moodle

19 months agoMerge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle
Adrian Greeve [Wed, 2 Oct 2019 08:15:13 +0000 (16:15 +0800)]
Merge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle

19 months agoMDL-66477 mod_forum: Enclose setting switch in div
Jun Pataleta [Wed, 2 Oct 2019 08:01:24 +0000 (16:01 +0800)]
MDL-66477 mod_forum: Enclose setting switch in div

19 months agoMDL-64588 core_comment: fix unnecessary type check in add_comments
Jake Dallimore [Tue, 17 Sep 2019 03:43:22 +0000 (11:43 +0800)]
MDL-64588 core_comment: fix unnecessary type check in add_comments

We should rely on the return type, else an exception with be thrown.

19 months agoMDL-64588 core_comment: make external test code use helper method
Jake Dallimore [Mon, 18 Mar 2019 06:21:45 +0000 (14:21 +0800)]
MDL-64588 core_comment: make external test code use helper method

Instead of using setUp to create testing objects, use a helper.

19 months agoMDL-64588 core_comment: fix get_comment ordering when timestamps match
Jake Dallimore [Tue, 17 Sep 2019 03:26:45 +0000 (11:26 +0800)]
MDL-64588 core_comment: fix get_comment ordering when timestamps match

Include id in the sorting, to be sure that we always get the correct
record in cases where the comment timestamps are the same.

19 months agoMDL-64588 core_comment: use comment structure in external get_comments
Jake Dallimore [Mon, 18 Mar 2019 00:53:19 +0000 (08:53 +0800)]
MDL-64588 core_comment: use comment structure in external get_comments

Other minor changes include:
- added the since tag to newly added external functions
- Changed 'web service' to 'external function' in comment/upgrade.txt

19 months agoMDL-66004 analytics: mlbackend_python tested just once
David Monllaó [Mon, 30 Sep 2019 23:08:50 +0000 (07:08 +0800)]
MDL-66004 analytics: mlbackend_python tested just once

Either running locally from the web server or using a server if
TEST_MLBACKEND_* vars are set. The tests will still be skipped if
the python backend is not available in the web server.

19 months agoMDL-66004 mlbackend_python: Bump the required python package version
David Monllaó [Wed, 18 Sep 2019 05:50:11 +0000 (13:50 +0800)]
MDL-66004 mlbackend_python: Bump the required python package version

19 months agoMDL-66004 mlbackend_python: Package installed on a separate server
David Monllaó [Wed, 26 Jun 2019 12:15:38 +0000 (14:15 +0200)]
MDL-66004 mlbackend_python: Package installed on a separate server

19 months agoMDL-66254 analytics: Requires active enrolments for most of analysis
David Monllaó [Wed, 2 Oct 2019 00:12:23 +0000 (08:12 +0800)]
MDL-66254 analytics: Requires active enrolments for most of analysis

19 months agoMDL-66254 course: Unit tests for the new restrictions
David Monllaó [Mon, 26 Aug 2019 07:39:20 +0000 (15:39 +0800)]
MDL-66254 course: Unit tests for the new restrictions

19 months agoMerge branch 'MDL-65096-m' of https://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 22:01:37 +0000 (00:01 +0200)]
Merge branch 'MDL-65096-m' of https://github.com/micaherne/moodle

19 months agoMerge branch 'MDL-65335_master' of https://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 21:21:51 +0000 (23:21 +0200)]
Merge branch 'MDL-65335_master' of https://github.com/marxjohnson/moodle

19 months agoMerge branch 'MDL-65522' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 14:09:57 +0000 (16:09 +0200)]
Merge branch 'MDL-65522' of https://github.com/NeillM/moodle

19 months agoMerge branch 'MDL-66542_master' of https://github.com/t-schroeder/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 13:56:08 +0000 (15:56 +0200)]
Merge branch 'MDL-66542_master' of https://github.com/t-schroeder/moodle

19 months agoMDL-65957 repository_upload: Throw exception if @_file_upload is missing
Mihail Geshoski [Thu, 19 Sep 2019 01:50:16 +0000 (09:50 +0800)]
MDL-65957 repository_upload: Throw exception if @_file_upload is missing

19 months agoMDL-65957 mod_imscp: Add required @file_upload tag in behat scenarios
Mihail Geshoski [Thu, 20 Jun 2019 05:15:41 +0000 (13:15 +0800)]
MDL-65957 mod_imscp: Add required @file_upload tag in behat scenarios

19 months agoMDL-64588 comment: New WebService core_comment_delete_comment
Juan Leyva [Wed, 13 Feb 2019 15:04:21 +0000 (16:04 +0100)]
MDL-64588 comment: New WebService core_comment_delete_comment

19 months agoMDL-64588 comment: New WebService core_comment_add_comment
Juan Leyva [Wed, 13 Feb 2019 14:12:33 +0000 (15:12 +0100)]
MDL-64588 comment: New WebService core_comment_add_comment

19 months agoMDL-64588 comment: Return whether the user can post in a comments area
Juan Leyva [Wed, 13 Feb 2019 12:15:29 +0000 (13:15 +0100)]
MDL-64588 comment: Return whether the user can post in a comments area

19 months agoMerge branch 'MDL-65876-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Mon, 30 Sep 2019 22:07:30 +0000 (00:07 +0200)]
Merge branch 'MDL-65876-master' of https://github.com/lucaboesch/moodle

19 months agoMDL-65187 core_hub: truncate registration request, use post
Marina Glancy [Tue, 28 May 2019 11:56:53 +0000 (13:56 +0200)]
MDL-65187 core_hub: truncate registration request, use post

19 months agoMDL-65187 core_hub: send more important info first to moodle.net
Marina Glancy [Mon, 6 May 2019 17:16:39 +0000 (19:16 +0200)]
MDL-65187 core_hub: send more important info first to moodle.net

Rumor has it that some browsers may truncate the GET request to 2000 characters,
make sure that all important info is sent first
Everything else will be updated on the first registration update request.

19 months agoMDL-65919 core: add test for table download
Marina Glancy [Fri, 27 Sep 2019 20:02:21 +0000 (22:02 +0200)]
MDL-65919 core: add test for table download

19 months agoMDL-65919 core: Skip send headers during phpunit exec in dataformats
Alberto Lara Hernández [Thu, 13 Jun 2019 20:34:37 +0000 (22:34 +0200)]
MDL-65919 core: Skip send headers during phpunit exec in dataformats

19 months agoMDL-66542 lib: Fix quote escaping in JS quote helper
Tim Schroeder [Wed, 28 Aug 2019 11:41:04 +0000 (13:41 +0200)]
MDL-66542 lib: Fix quote escaping in JS quote helper

19 months agoMDL-65522 block_social_activities: Improve behat steps documentation
Neill Magill [Tue, 7 May 2019 10:04:48 +0000 (11:04 +0100)]
MDL-65522 block_social_activities: Improve behat steps documentation

The documentation for these steps was not helpful in the Acceptance
testing admin tool page.

19 months agoMDL-66794 core_customfield: Reset Course handler after unit tests run.
Mikhail Golenkov [Mon, 30 Sep 2019 00:56:04 +0000 (10:56 +1000)]
MDL-66794 core_customfield: Reset Course handler after unit tests run.

19 months agoMDL-65876 forum: same arrows forum/activity navigation
Luca Bösch [Sat, 8 Jun 2019 11:53:14 +0000 (13:53 +0200)]
MDL-65876 forum: same arrows forum/activity navigation

19 months agoMDL-66397 filter_h5p: converts H5P URLs to embed code
Victor Deniz Falcon [Fri, 27 Sep 2019 10:01:12 +0000 (11:01 +0100)]
MDL-66397 filter_h5p: converts H5P URLs to embed code

19 months agoMDL-66477 mod_forum: remove duplicate listeners in settings drawer
Ryan Wyllie [Thu, 19 Sep 2019 02:42:59 +0000 (10:42 +0800)]
MDL-66477 mod_forum: remove duplicate listeners in settings drawer

19 months agoMDL-66477 theme: add some core styling
Ryan Wyllie [Tue, 17 Sep 2019 02:19:23 +0000 (10:19 +0800)]
MDL-66477 theme: add some core styling

Add a generic colour-inherit class and fix styling for icon
buttons and reset-style class.

19 months agoMDL-66477 javascript: add toggle functionality to drawer
Ryan Wyllie [Tue, 17 Sep 2019 02:19:03 +0000 (10:19 +0800)]
MDL-66477 javascript: add toggle functionality to drawer

19 months agoMDL-66477 core: remove snakeCase block regions from drawer.mustache
Ryan Wyllie [Thu, 19 Sep 2019 01:32:24 +0000 (09:32 +0800)]
MDL-66477 core: remove snakeCase block regions from drawer.mustache

19 months agoMDL-66477 mod_forum: Create the discussion settings drawer
Jun Pataleta [Tue, 10 Sep 2019 15:30:13 +0000 (23:30 +0800)]
MDL-66477 mod_forum: Create the discussion settings drawer

19 months agoMDL-66477 mod_forum: move region main settings menu to header
Ryan Wyllie [Tue, 10 Sep 2019 06:03:19 +0000 (14:03 +0800)]
MDL-66477 mod_forum: move region main settings menu to header

Add a generic way to render actions in the page content header
and then moved the region main settings menu there for the forum.

19 months agoMDL-66477 message: Use the generic drawer for the message drawer
Jun Pataleta [Thu, 12 Sep 2019 04:39:12 +0000 (12:39 +0800)]
MDL-66477 message: Use the generic drawer for the message drawer

19 months agoMDL-66477 core: Create a generic drawer template
Jun Pataleta [Tue, 3 Sep 2019 09:11:25 +0000 (17:11 +0800)]
MDL-66477 core: Create a generic drawer template

19 months agoMDL-62191 analytics: Support for bulk actions
David Monllaó [Thu, 26 Sep 2019 01:50:04 +0000 (09:50 +0800)]
MDL-62191 analytics: Support for bulk actions

19 months agoMDL-62191 course: Remove predictiondetails leftover
David Monllaó [Wed, 4 Sep 2019 00:04:20 +0000 (08:04 +0800)]
MDL-62191 course: Remove predictiondetails leftover

The no_teaching model initially had just 1 indicator, the removed
code was deleting the action using an unexisting key.

19 months agoMDL-62191 output: No secondary buttons trigger if no buttons
David Monllaó [Wed, 4 Sep 2019 00:35:11 +0000 (08:35 +0800)]
MDL-62191 output: No secondary buttons trigger if no buttons

19 months agoMDL-62191 output: New extra attributes for single_button
David Monllaó [Tue, 3 Sep 2019 07:30:06 +0000 (15:30 +0800)]
MDL-62191 output: New extra attributes for single_button

Useful for data- attributes.

19 months agoweekly release 3.8dev
Jun Pataleta [Fri, 27 Sep 2019 03:12:09 +0000 (11:12 +0800)]
weekly release 3.8dev

19 months agoNOBUG: Fixed SVG browser compatibility
Jun Pataleta [Fri, 27 Sep 2019 03:12:09 +0000 (11:12 +0800)]
NOBUG: Fixed SVG browser compatibility

19 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 27 Sep 2019 03:12:08 +0000 (11:12 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

19 months agoMerge branch 'MDL-66075-master-fix' of https://github.com/snake/moodle
Jun Pataleta [Fri, 27 Sep 2019 02:11:44 +0000 (10:11 +0800)]
Merge branch 'MDL-66075-master-fix' of https://github.com/snake/moodle

19 months agoMDL-66075 mod_forum: reduce DB reads in forum settings generation
Jake Dallimore [Fri, 27 Sep 2019 01:23:27 +0000 (09:23 +0800)]
MDL-66075 mod_forum: reduce DB reads in forum settings generation

Instead of fetching the DB record AND then fetching it again (as
part of the vault->get_from_id() call, just use the legacy data
mapper and remove the DB call.

19 months agoMerge branch 'MDL-64821' of https://github.com/stronk7/moodle
Jake Dallimore [Fri, 27 Sep 2019 01:40:23 +0000 (09:40 +0800)]
Merge branch 'MDL-64821' of https://github.com/stronk7/moodle

19 months agoMDL-63453 media_videojs: Use media_source mimetype group in the player.
Ruslan Kabalin [Thu, 26 Sep 2019 22:40:27 +0000 (23:40 +0100)]
MDL-63453 media_videojs: Use media_source mimetype group in the player.

19 months agoMDL-63453 filetypes: Introduce media_source mimetype group.
Ruslan Kabalin [Thu, 26 Sep 2019 22:35:57 +0000 (23:35 +0100)]
MDL-63453 filetypes: Introduce media_source mimetype group.

This is required to group together media streaming techniques that are
handled by Media Source Extensions (MSE) in the browser.

https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API

19 months agoMDL-64821 mod_forum: increase data privacy export expected size
Eloy Lafuente (stronk7) [Thu, 26 Sep 2019 17:35:54 +0000 (19:35 +0200)]
MDL-64821 mod_forum: increase data privacy export expected size

Some new styles added have caused the resulting zip
file to go beyond that accepted limit of 135000. So
increasing to 140000.

19 months agoMerge branch 'MDL-66570-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 26 Sep 2019 13:56:38 +0000 (15:56 +0200)]
Merge branch 'MDL-66570-master' of git://github.com/andrewnicols/moodle

19 months agoMDL-66774 lang: Update the list of countries as per ISO 3166-1
David Mudrák [Thu, 26 Sep 2019 07:14:37 +0000 (09:14 +0200)]
MDL-66774 lang: Update the list of countries as per ISO 3166-1

Source: https://www.iso.org/obp/ui/

Two significant changes are:

* North Macedonia
* Eswatini

All other changes are formal, such as changing the letter case of the
"And" (the current ISO uses the lower case "and").  Our own existing
modifications of the list (such as having just "United States" and
"United Kingdom" instead of the full long name) were kept.

19 months agoMerge branch 'MDL-66481-master-6' of git://github.com/junpataleta/moodle
Jake Dallimore [Thu, 26 Sep 2019 03:57:51 +0000 (11:57 +0800)]
Merge branch 'MDL-66481-master-6' of git://github.com/junpataleta/moodle

19 months agoMerge branch 'MDL-66262' of git://github.com/stronk7/moodle
Jun Pataleta [Thu, 26 Sep 2019 03:34:45 +0000 (11:34 +0800)]
Merge branch 'MDL-66262' of git://github.com/stronk7/moodle

19 months agoMDL-66481 forum: Show notification on toggled subscription
Jun Pataleta [Thu, 12 Sep 2019 15:44:24 +0000 (23:44 +0800)]
MDL-66481 forum: Show notification on toggled subscription

For usability, after selecting the subscription toggle action menu item,
a notification message will be shown to the user.

19 months agoMDL-66481 forum: Remove the YUI subscribe link
Jun Pataleta [Thu, 12 Sep 2019 15:06:53 +0000 (23:06 +0800)]
MDL-66481 forum: Remove the YUI subscribe link

* Remove the subscribe link that's powered by YUI and
  subscribe_ajax.php. This will be replaced by the subscribe action
  menu item which utilises the subscription toggle template
  and calls the proper WS function for toggling discussion subscription.
* Nuke YUI module for toggling subscription and subscribe_ajax.php
  (about time!)

19 months agoMDL-66481 mod_forum: Peer review fixes
Jun Pataleta [Thu, 5 Sep 2019 03:56:11 +0000 (11:56 +0800)]
MDL-66481 mod_forum: Peer review fixes

19 months agoMDL-66481 mod_forum: Move "Mark as read" into the discussion menu
Jun Pataleta [Wed, 28 Aug 2019 08:06:58 +0000 (16:06 +0800)]
MDL-66481 mod_forum: Move "Mark as read" into the discussion menu

19 months agoMDL-66481 mod_forum: Implement additional column sorting
Jun Pataleta [Tue, 27 Aug 2019 12:28:11 +0000 (20:28 +0800)]
MDL-66481 mod_forum: Implement additional column sorting

Implement sorting for the following columns:
* Discussion name
* Discussion starter name
* Group

19 months agoMDL-66481 mod_forum: Move timed discussion indicator
Jun Pataleta [Tue, 27 Aug 2019 07:05:25 +0000 (15:05 +0800)]
MDL-66481 mod_forum: Move timed discussion indicator

* Move it under the discussion column.
* Change it to look like a label
* Plus limit the group name to 15 characters
* Plus some accessibility fixes:
  - Add labels to column headings.
  - Set discussion name as a row heading.

19 months agoMDL-66481 mod_forum: Update discussion list UI
Jun Pataleta [Thu, 29 Aug 2019 06:58:10 +0000 (14:58 +0800)]
MDL-66481 mod_forum: Update discussion list UI

* Remove striped table row style
* Move subscribe icon to the action menu
* Update the action menu icon
* Remove the Last post column
* Removed the "Created" column and moved the date under "Started by"
* Added "Locked" and "Subscribed" indicators under discussion names.
* Added group name with the group picture. For groups without pictures,
  a default placeholder picture is now shown.

19 months agoMDL-66481 mod_forum: Switch action menu trigger to <a> tag
Jun Pataleta [Thu, 29 Aug 2019 06:55:58 +0000 (14:55 +0800)]
MDL-66481 mod_forum: Switch action menu trigger to <a> tag

* This is how the usual moodle action menu is built.
* Removed the 'type="button"' attribute as it is not necessary.
* Added template context so it renders in the template library.

19 months agoMDL-66481 lang: Add additional date display formats
Jun Pataleta [Wed, 28 Aug 2019 02:49:48 +0000 (10:49 +0800)]
MDL-66481 lang: Add additional date display formats

* Day, abbreviated month, and year (e.g. 28 Aug 2019)
* Day and abbreviated month (e.g. 28 Aug)

19 months agoMerge branch 'MDL-64821-master-2' of https://github.com/ryanwyllie/moodle
Jake Dallimore [Thu, 26 Sep 2019 02:45:44 +0000 (10:45 +0800)]
Merge branch 'MDL-64821-master-2' of https://github.com/ryanwyllie/moodle

19 months agoMerge branch 'MDL-66106-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 22:54:36 +0000 (00:54 +0200)]
Merge branch 'MDL-66106-master' of https://github.com/snake/moodle