moodle.git
7 years agoMerge branch 'wip-MDL-61522-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 22:45:37 +0000 (00:45 +0200)]
Merge branch 'wip-MDL-61522-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-61525-master' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 22:41:49 +0000 (00:41 +0200)]
Merge branch 'MDL-61525-master' of https://github.com/HuongNV13/moodle

7 years agoMerge branch 'MDL-61665-master' of https://github.com/iamandrew/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 22:39:10 +0000 (00:39 +0200)]
Merge branch 'MDL-61665-master' of https://github.com/iamandrew/moodle

7 years agoMerge branch 'MDL-61703-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 22:31:11 +0000 (00:31 +0200)]
Merge branch 'MDL-61703-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-61751-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 22:23:44 +0000 (00:23 +0200)]
Merge branch 'MDL-61751-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-61781-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 21:46:08 +0000 (23:46 +0200)]
Merge branch 'MDL-61781-master' of https://github.com/lucaboesch/moodle

7 years agoMerge branch 'MDL-61724-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 21:38:59 +0000 (23:38 +0200)]
Merge branch 'MDL-61724-master' of git://github.com/mihailges/moodle

7 years agoMerge branch 'MDL-60115-Book-cancel-button-redirect-bug-master' of https://github...
Eloy Lafuente (stronk7) [Tue, 3 Apr 2018 19:45:49 +0000 (21:45 +0200)]
Merge branch 'MDL-60115-Book-cancel-button-redirect-bug-master' of https://github.com/Moodlers/moodle-1

7 years agoMerge branch 'eugene-auth-email-wantsurl' of https://github.com/bynare/moodle-fixes
Jake Dallimore [Tue, 3 Apr 2018 10:40:52 +0000 (18:40 +0800)]
Merge branch 'eugene-auth-email-wantsurl' of https://github.com/bynare/moodle-fixes

7 years agoMerge branch 'wip-MDL-61815-master' of git://github.com/abgreeve/moodle
Jake Dallimore [Tue, 3 Apr 2018 09:53:13 +0000 (17:53 +0800)]
Merge branch 'wip-MDL-61815-master' of git://github.com/abgreeve/moodle

7 years agoMerge branch 'wip-MDL-61127-master' of git://github.com/abgreeve/moodle
Jake Dallimore [Tue, 3 Apr 2018 09:34:03 +0000 (17:34 +0800)]
Merge branch 'wip-MDL-61127-master' of git://github.com/abgreeve/moodle

7 years agoMerge branch 'MDL-58411-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Tue, 3 Apr 2018 08:44:43 +0000 (16:44 +0800)]
Merge branch 'MDL-58411-master' of https://github.com/lucaboesch/moodle

7 years agoMDL-61127 filepicker: Selected repository now highlighted.
Adrian Greeve [Tue, 9 Jan 2018 03:58:07 +0000 (11:58 +0800)]
MDL-61127 filepicker: Selected repository now highlighted.

7 years agoMDL-61127 filepicker: Added aria-selected attribute to repos.
Adrian Greeve [Tue, 2 Jan 2018 03:45:51 +0000 (11:45 +0800)]
MDL-61127 filepicker: Added aria-selected attribute to repos.

The repository list in the file picker now as aria-selected
added to denote which repository is selected.

7 years agoMerge branch 'wip-MDL-61629-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Tue, 3 Apr 2018 07:58:26 +0000 (15:58 +0800)]
Merge branch 'wip-MDL-61629-master' of git://github.com/abgreeve/moodle

7 years agoMDL-61629 message_airnotifier: Add privacy files and unit tests.
Adrian Greeve [Mon, 12 Mar 2018 08:10:38 +0000 (16:10 +0800)]
MDL-61629 message_airnotifier: Add privacy files and unit tests.

7 years agoMDL-61256 core_search: Coding style fixes
Andrew Nicols [Tue, 3 Apr 2018 06:36:15 +0000 (14:36 +0800)]
MDL-61256 core_search: Coding style fixes

7 years agoMerge branch 'MDL-61256-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Tue, 3 Apr 2018 06:23:54 +0000 (14:23 +0800)]
Merge branch 'MDL-61256-master' of https://github.com/sammarshallou/moodle

7 years agoMerge branch 'MDL-61020-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 3 Apr 2018 05:58:03 +0000 (13:58 +0800)]
Merge branch 'MDL-61020-master' of git://github.com/rezaies/moodle

7 years agoMDL-58411 qtype_essay: Add file type validation in essay question type
Luca Bösch [Sat, 17 Feb 2018 21:39:12 +0000 (22:39 +0100)]
MDL-58411 qtype_essay: Add file type validation in essay question type

7 years agoMDL-61815 core_privacy: Fix for metadata types and new method.
Adrian Greeve [Thu, 29 Mar 2018 05:22:55 +0000 (13:22 +0800)]
MDL-61815 core_privacy: Fix for metadata types and new method.

Minor fix for subsystem_link and plugintype_link.
Addition of get_null_provider_reason in the manager class.

7 years agoMerge branch 'MDL-61766-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 23:18:20 +0000 (01:18 +0200)]
Merge branch 'MDL-61766-master' of git://github.com/junpataleta/moodle

7 years agoMerge branch 'MDL-61689-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 23:16:27 +0000 (01:16 +0200)]
Merge branch 'MDL-61689-master' of git://github.com/andrewnicols/moodle

7 years ago MDL-61223 course: keep some tests using old values (January 1st 1970)
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 19:55:08 +0000 (21:55 +0200)]
 MDL-61223 course: keep some tests using old values (January 1st 1970)

7 years agoMDL-61223 course: amend test setup to keep passing and covering case
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 10:00:54 +0000 (12:00 +0200)]
MDL-61223 course: amend test setup to keep passing and covering case

7 years agoMerge branch 'MDL-61223-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 09:53:10 +0000 (11:53 +0200)]
Merge branch 'MDL-61223-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-61801-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 2 Apr 2018 09:02:34 +0000 (11:02 +0200)]
Merge branch 'MDL-61801-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-60115 mod_book: Book Resource Cancel Button Redirect Bug
Michael Brown [Mon, 2 Apr 2018 04:01:34 +0000 (04:01 +0000)]
MDL-60115 mod_book: Book Resource Cancel Button Redirect Bug

When the user creates a book but adds no chapters, hitting cancel on
 the chapter creation page would redirect you right back to the same
 page with no explanation. This solution redirects to the course page
 when canceling chapter creation when no chapters are present.

7 years agoMDL-61525 Groups: Index page error on first time visit
Huong Nguyen [Fri, 23 Feb 2018 09:18:24 +0000 (16:18 +0700)]
MDL-61525 Groups: Index page error on first time visit

7 years agoMDL-61751 core_privacy: Correct test return
Andrew Nicols [Sun, 1 Apr 2018 05:34:39 +0000 (13:34 +0800)]
MDL-61751 core_privacy: Correct test return

7 years agoMDL-61751 core_plagiarism: add polyfill for plagiarism provider
Jake Dallimore [Mon, 26 Mar 2018 03:47:22 +0000 (11:47 +0800)]
MDL-61751 core_plagiarism: add polyfill for plagiarism provider

7 years agoMerge branch 'MDL-61574-master' of git://github.com/tallthom/moodle
Andrew Nicols [Sun, 1 Apr 2018 03:49:17 +0000 (11:49 +0800)]
Merge branch 'MDL-61574-master' of git://github.com/tallthom/moodle

7 years agoMDL-61574 mod_lti: removed usage of PHP7 reserved word in namespace
Thom Rawson [Wed, 21 Mar 2018 10:09:46 +0000 (18:09 +0800)]
MDL-61574 mod_lti: removed usage of PHP7 reserved word in namespace

7 years agoMDL-61256 core_search: Support search of section titles, summaries
sam marshall [Mon, 22 Jan 2018 17:35:09 +0000 (17:35 +0000)]
MDL-61256 core_search: Support search of section titles, summaries

7 years agoMDL-61801 core_privacy: Correct bug in unit test provider
Andrew Nicols [Mon, 26 Mar 2018 23:53:53 +0000 (07:53 +0800)]
MDL-61801 core_privacy: Correct bug in unit test provider

7 years agoMDL-61766 xmldb: Handle custom admin path
Jun Pataleta [Tue, 27 Mar 2018 09:12:00 +0000 (17:12 +0800)]
MDL-61766 xmldb: Handle custom admin path

7 years agoMDL-61781 installation: docs link should have https.
Luca Bösch [Wed, 28 Mar 2018 09:20:47 +0000 (11:20 +0200)]
MDL-61781 installation: docs link should have https.

7 years agoMDL-61703 privacy: Allow writing of user preferences at any context
Andrew Nicols [Thu, 29 Mar 2018 07:28:13 +0000 (15:28 +0800)]
MDL-61703 privacy: Allow writing of user preferences at any context

7 years agoweekly release 3.5dev
Jun Pataleta [Thu, 29 Mar 2018 04:55:38 +0000 (12:55 +0800)]
weekly release 3.5dev

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Thu, 29 Mar 2018 04:55:37 +0000 (12:55 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMerge branch 'MDL-53226-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Thu, 29 Mar 2018 04:40:39 +0000 (12:40 +0800)]
Merge branch 'MDL-53226-master-fix' of git://github.com/junpataleta/moodle

7 years agoMDL-53226 search_simpledb: Fix table name in query
Jun Pataleta [Thu, 29 Mar 2018 04:38:06 +0000 (12:38 +0800)]
MDL-53226 search_simpledb: Fix table name in query

7 years agoMerge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Wed, 28 Mar 2018 15:39:40 +0000 (17:39 +0200)]
Merge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle

7 years agoMDL-36941 message_popup: do not remove message_popup table
Mark Nelson [Wed, 28 Mar 2018 11:53:21 +0000 (19:53 +0800)]
MDL-36941 message_popup: do not remove message_popup table

This is a partial revert of commit 123631ad4718141627d77027dbef0448bae22ac8.

Most of the logic was NOT reverted, just the part deleting the table was.

Note - this fix was done on integration.git and as a result no
upgrade step was added to re-introduce the table, sorry! This
means for those on integration.git you will have to re-install
your Moodle site so the 'message_popup' table is present.

Please see tracker for comments as to why we need to keep it! :)

7 years agoMerge branch 'MDL-61770-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Wed, 28 Mar 2018 05:36:55 +0000 (13:36 +0800)]
Merge branch 'MDL-61770-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-61364-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 28 Mar 2018 03:41:36 +0000 (11:41 +0800)]
Merge branch 'MDL-61364-master' of git://github.com/lameze/moodle

7 years agoMerge branch 'MDL-61364-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 28 Mar 2018 01:18:24 +0000 (09:18 +0800)]
Merge branch 'MDL-61364-master' of git://github.com/lameze/moodle

7 years agoMDL-25617 backup: backup/restore using extra_question_fields
Ngo Nghia [Tue, 20 Dec 2016 00:44:17 +0000 (03:44 +0300)]
MDL-25617 backup: backup/restore using extra_question_fields

7 years agoMerge branch 'MDL-39060-master' of git://github.com/zig-moodle/moodle
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 11:44:47 +0000 (13:44 +0200)]
Merge branch 'MDL-39060-master' of git://github.com/zig-moodle/moodle

7 years agoMerge branch 'wip-MDL-51362-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 11:35:07 +0000 (13:35 +0200)]
Merge branch 'wip-MDL-51362-master' of git://github.com/marinaglancy/moodle

7 years agoMDL-60736 tool_mobile: Add missing VALUE_OPTIONAL to new returned info
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 11:31:03 +0000 (13:31 +0200)]
MDL-60736 tool_mobile: Add missing VALUE_OPTIONAL to new returned info

7 years agoMerge branch 'MDL-60736-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 10:47:09 +0000 (12:47 +0200)]
Merge branch 'MDL-60736-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-61321-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 10:44:18 +0000 (12:44 +0200)]
Merge branch 'MDL-61321-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-61718-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 27 Mar 2018 10:38:48 +0000 (12:38 +0200)]
Merge branch 'MDL-61718-master' of git://github.com/junpataleta/moodle

7 years agoMerge branch 'MDL-60762-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 27 Mar 2018 07:47:58 +0000 (15:47 +0800)]
Merge branch 'MDL-60762-master' of git://github.com/junpataleta/moodle

7 years agoMerge branch 'wip-MDL-61328-master' of git://github.com/marinaglancy/moodle
Jun Pataleta [Tue, 27 Mar 2018 05:50:22 +0000 (13:50 +0800)]
Merge branch 'wip-MDL-61328-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-61257-master' of git://github.com/mihailges/moodle
Jun Pataleta [Tue, 27 Mar 2018 04:59:16 +0000 (12:59 +0800)]
Merge branch 'MDL-61257-master' of git://github.com/mihailges/moodle

7 years agoMerge branch 'MDL-61656' of git://github.com/stronk7/moodle
Jun Pataleta [Tue, 27 Mar 2018 04:13:27 +0000 (12:13 +0800)]
Merge branch 'MDL-61656' of git://github.com/stronk7/moodle

7 years agoMerge branch 'MDL-53226-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 28 Mar 2018 16:15:52 +0000 (18:15 +0200)]
Merge branch 'MDL-53226-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-61248' of https://github.com/ak4t0sh/moodle
Eloy Lafuente (stronk7) [Mon, 26 Mar 2018 22:26:34 +0000 (00:26 +0200)]
Merge branch 'MDL-61248' of https://github.com/ak4t0sh/moodle

7 years agoMerge branch 'MDL-61576-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Mon, 26 Mar 2018 21:19:55 +0000 (23:19 +0200)]
Merge branch 'MDL-61576-master' of git://github.com/cescobedo/moodle

7 years agoMerge branch 'MDL-61691-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Mon, 26 Mar 2018 21:15:11 +0000 (23:15 +0200)]
Merge branch 'MDL-61691-master' of https://github.com/snake/moodle

7 years agoMerge branch 'MDL-55532-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 26 Mar 2018 07:35:29 +0000 (15:35 +0800)]
Merge branch 'MDL-55532-master' of git://github.com/lameze/moodle

7 years agoMerge branch 'MDL-61733-master' of https://github.com/MartinGauk/moodle
Andrew Nicols [Mon, 26 Mar 2018 07:01:44 +0000 (15:01 +0800)]
Merge branch 'MDL-61733-master' of https://github.com/MartinGauk/moodle

7 years agoMerge branch 'MDL-60119-master' of https://github.com/lucaboesch/moodle
Andrew Nicols [Mon, 26 Mar 2018 06:36:31 +0000 (14:36 +0800)]
Merge branch 'MDL-60119-master' of https://github.com/lucaboesch/moodle

7 years agoMDL-61770 iplookup: Check types rather than values 215cd2d854ee9822aed53786db0311d1a9e1e809
Andrew Nicols [Wed, 28 Mar 2018 01:05:23 +0000 (09:05 +0800)]
MDL-61770 iplookup: Check types rather than values

7 years agoMDL-61020 media_videojs: Fix RTL display issues
Shamim Rezaie [Wed, 28 Mar 2018 00:35:34 +0000 (11:35 +1100)]
MDL-61020 media_videojs: Fix RTL display issues

7 years agoMDL-61364 core: fix cibot coding issues
Simey Lameze [Wed, 28 Mar 2018 02:14:48 +0000 (10:14 +0800)]
MDL-61364 core: fix cibot coding issues

7 years agoMDL-61364 core_question: tests for question_has_capability_on exception
Simey Lameze [Tue, 27 Mar 2018 08:47:59 +0000 (16:47 +0800)]
MDL-61364 core_question: tests for question_has_capability_on exception

7 years agoMDL-61364 question: Add unit tests for question_has_capability_on
Andrew Nicols [Tue, 27 Mar 2018 06:47:43 +0000 (14:47 +0800)]
MDL-61364 question: Add unit tests for question_has_capability_on

7 years agoMDL-61364 core: remove param from question_has_capability_on calls
Simey Lameze [Tue, 27 Mar 2018 08:11:13 +0000 (16:11 +0800)]
MDL-61364 core: remove param from question_has_capability_on calls

7 years agoMDL-61364 question: adjust code and fix phpunit errors
Simey Lameze [Mon, 26 Mar 2018 03:31:24 +0000 (11:31 +0800)]
MDL-61364 question: adjust code and fix phpunit errors

7 years agoMDL-61364 question: refactor question_has_capability_on
Simey Lameze [Mon, 26 Mar 2018 03:29:52 +0000 (11:29 +0800)]
MDL-61364 question: refactor question_has_capability_on

7 years agoMDL-60762 tool_usertours: Respect $CFG->admin in manager.php
Adam Pawełczak [Tue, 27 Feb 2018 13:24:32 +0000 (14:24 +0100)]
MDL-60762 tool_usertours: Respect $CFG->admin in manager.php

7 years agoMDL-53226 search_simpledb: Remove unnecessary object clone
David Monllao [Mon, 26 Mar 2018 07:38:37 +0000 (09:38 +0200)]
MDL-53226 search_simpledb: Remove unnecessary object clone

7 years agoMDL-61691 core_plagiarism: fix namespace in privacy provider interface
Jake Dallimore [Tue, 20 Mar 2018 03:48:52 +0000 (11:48 +0800)]
MDL-61691 core_plagiarism: fix namespace in privacy provider interface

7 years agoMDL-61257 reports: Report logs link to unavailable completion report
Mihail Geshoski [Tue, 23 Jan 2018 05:43:34 +0000 (13:43 +0800)]
MDL-61257 reports: Report logs link to unavailable completion report

7 years agoMDL-55532 gradebook: fix grade export to include category names
Nick Phillips [Sun, 14 May 2017 23:55:49 +0000 (11:55 +1200)]
MDL-55532 gradebook: fix grade export to include category names

7 years agoMDL-61364 question: unit tests for submit_tags_form
Ryan Wyllie [Mon, 26 Mar 2018 03:27:47 +0000 (11:27 +0800)]
MDL-61364 question: unit tests for submit_tags_form

7 years agoMDL-61364 question: add support for course tags on modal
Simey Lameze [Mon, 26 Mar 2018 03:24:50 +0000 (11:24 +0800)]
MDL-61364 question: add support for course tags on modal

7 years agoMDL-61724 resource: Unable to view or download file resource
Mihail Geshoski [Mon, 26 Mar 2018 03:14:46 +0000 (11:14 +0800)]
MDL-61724 resource: Unable to view or download file resource

7 years agoMDL-61328 tool_usertours: do not fix tour sortorder after step editing
Marina Glancy [Thu, 1 Feb 2018 03:47:18 +0000 (11:47 +0800)]
MDL-61328 tool_usertours: do not fix tour sortorder after step editing

otherwise it breaks when we try to modify the step sortorder

7 years agoMDL-39060 backup: fix typo backup destroy() function
Zig Tan [Mon, 26 Mar 2018 01:25:55 +0000 (09:25 +0800)]
MDL-39060 backup: fix typo backup destroy() function

7 years agoAutomatically generated installer lang files
AMOS bot [Sun, 25 Mar 2018 00:06:10 +0000 (00:06 +0000)]
Automatically generated installer lang files

7 years agoMDL-61248 admin: fix incorrectly initialized property
Arnaud Trouvé [Fri, 19 Jan 2018 16:47:54 +0000 (17:47 +0100)]
MDL-61248 admin: fix incorrectly initialized property

7 years agoMDL-61733 atto_table: fix creating new table
Martin Gauk [Fri, 23 Mar 2018 09:08:39 +0000 (09:08 +0000)]
MDL-61733 atto_table: fix creating new table

If Atto is embedded in an HTML table (e.g. in the database activity
on the template pages), you could not create a new table.

7 years agoMDL-36941 core: Remove default for convhash field in upgrade.php
Jun Pataleta [Fri, 23 Mar 2018 06:14:49 +0000 (14:14 +0800)]
MDL-36941 core: Remove default for convhash field in upgrade.php

7 years agoMerge branch 'MDL-36941_master' of git://github.com/markn86/moodle
Jun Pataleta [Fri, 23 Mar 2018 04:55:49 +0000 (12:55 +0800)]
Merge branch 'MDL-36941_master' of git://github.com/markn86/moodle

7 years agoMDL-36941 core_message: dont query DB unnecessarily checking read status
Mark Nelson [Thu, 22 Mar 2018 11:47:12 +0000 (19:47 +0800)]
MDL-36941 core_message: dont query DB unnecessarily checking read status

7 years agoMDL-36941 core_message: fixed minor CiBoT complaints
Mark Nelson [Mon, 12 Mar 2018 05:10:39 +0000 (13:10 +0800)]
MDL-36941 core_message: fixed minor CiBoT complaints

7 years agoMDL-36941 core_message: improved performance of helper::get_messages()
Mark Nelson [Tue, 27 Feb 2018 05:23:53 +0000 (13:23 +0800)]
MDL-36941 core_message: improved performance of helper::get_messages()

Improved the query to use the 'convhash' field as well as adding an index.

Also fixed issue where 'timeread' was hardcoded as 0.

7 years agoMDL-36941 core_message: added details to upgrade.txt
Mark Nelson [Wed, 24 Jan 2018 09:33:24 +0000 (17:33 +0800)]
MDL-36941 core_message: added details to upgrade.txt

7 years agoMDL-36941 core: added index to 'message_user_actions' table
Mark Nelson [Tue, 27 Feb 2018 01:39:51 +0000 (09:39 +0800)]
MDL-36941 core: added index to 'message_user_actions' table

7 years agoMDL-36941 core_message: deprecated 'api::mark_all_read_for_user'
Mark Nelson [Mon, 26 Feb 2018 10:44:02 +0000 (18:44 +0800)]
MDL-36941 core_message: deprecated 'api::mark_all_read_for_user'

7 years agoMDL-36941 core: removed 'message_working' table
Mark Nelson [Mon, 26 Feb 2018 07:46:39 +0000 (15:46 +0800)]
MDL-36941 core: removed 'message_working' table

7 years agoMDL-36941 message_popup: removed 'message_popup' table
Mark Nelson [Tue, 20 Feb 2018 08:27:57 +0000 (16:27 +0800)]
MDL-36941 message_popup: removed 'message_popup' table

7 years agoMDL-36941 core: added 'convhash' field to quickly get conversations
Mark Nelson [Tue, 6 Feb 2018 04:11:48 +0000 (12:11 +0800)]
MDL-36941 core: added 'convhash' field to quickly get conversations

7 years agoMDL-36941 core: final deprecation of functions
Mark Nelson [Thu, 25 Jan 2018 00:54:10 +0000 (08:54 +0800)]
MDL-36941 core: final deprecation of functions

This was done earlier than the usual deprecation
process since we have changed the table structure.
It would take time to change the logic in these
functions, but as they have been deprecated for
some time it was decided to forego this effort.

7 years agoMDL-36941 message_popup: use new WS for marking notifications as read
Mark Nelson [Mon, 5 Feb 2018 06:55:10 +0000 (14:55 +0800)]
MDL-36941 message_popup: use new WS for marking notifications as read

Also changed the observer to listen for the notification_viewed event,
rather than the message_viewed event.

7 years agoMDL-36941 core: added new mark notification as read webservice
Mark Nelson [Mon, 5 Feb 2018 06:54:16 +0000 (14:54 +0800)]
MDL-36941 core: added new mark notification as read webservice