Eloy Lafuente (stronk7) [Fri, 10 Aug 2018 00:20:10 +0000 (02:20 +0200)]
MDL-63097 phpunit: decouple user lastping and session start in tests
Previously the test was assuming that the user last ping, when
accessing to a chat should match the first (enter) system message
sent to the chat. And that's ok 99% of times but, if seconds advance
between the creation of the chat_users record and the chat_messages
one, then they don't match.
So now, the assumption is not used anymore and the expectation
is the timestamp of that first (enter) system message, explicitly.
Andrew Nicols [Fri, 3 Aug 2018 03:30:11 +0000 (11:30 +0800)]
weekly release 3.6dev
Andrew Nicols [Fri, 3 Aug 2018 03:30:09 +0000 (11:30 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 2 Aug 2018 17:16:58 +0000 (19:16 +0200)]
Merge branch 'MDL-57244-master-text' of git://github.com/abgreeve/moodle
Andrew Nicols [Thu, 2 Aug 2018 03:39:50 +0000 (11:39 +0800)]
Merge branch 'MDL-59847-master' of https://github.com/snake/moodle
Andrew Nicols [Thu, 2 Aug 2018 03:17:13 +0000 (11:17 +0800)]
Merge branch 'MDL-62983-master' of git://github.com/sarjona/moodle
Adrian Greeve [Thu, 2 Aug 2018 02:25:25 +0000 (10:25 +0800)]
MDL-57244 lib: Update to upgrade.txt files about renamed classes.
David Mudrák [Tue, 17 Jul 2018 17:07:22 +0000 (19:07 +0200)]
MDL-59847 core: Stop supporting custom identity fields in user selectors
The user_selector classes supported custom list of extra identity
fields. But they should obey the configured user policy and respect the
privacy setting made by site administrators. So the list of user
identifiers should never be hard-coded, but the setting
$CFG->showuseridentity should be always respected.
David Mudrák [Fri, 13 Jul 2018 10:58:12 +0000 (12:58 +0200)]
MDL-59847 core: Fix display of hidden identity fields in user selectors
User selectors now respect the user's permission to view other users'
hidden profile fields.
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 23:27:41 +0000 (01:27 +0200)]
Merge branch 'MDL-57666-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:37:40 +0000 (00:37 +0200)]
Merge branch 'MDL-62965-master-userprofilesignup' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:24:14 +0000 (00:24 +0200)]
Merge branch 'MDL-57244-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:21:23 +0000 (00:21 +0200)]
Merge branch 'MDL-59595-master-2' of git://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 14:38:45 +0000 (16:38 +0200)]
Merge branch 'MDL-51883-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 23:59:36 +0000 (01:59 +0200)]
Merge branch 'MDL-62977_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 14:36:12 +0000 (16:36 +0200)]
Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle
Jonathon Fowler [Wed, 25 Jul 2018 10:53:06 +0000 (12:53 +0200)]
MDL-62983 core_user: Hold multiple filters when clicking any link
Mihail Geshoski [Wed, 1 Aug 2018 02:32:37 +0000 (10:32 +0800)]
MDL-51883 libraries: 3.1 final deprecation in lib/deprecatedlib.php
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 21:53:52 +0000 (23:53 +0200)]
Merge branch 'MDL-62344-master-final' of https://github.com/Tsheke/moodle
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 21:50:43 +0000 (23:50 +0200)]
Merge branch 'MDL-41847-master' of git://github.com/sarjona/moodle
David Monllao [Tue, 31 Jul 2018 15:18:17 +0000 (17:18 +0200)]
Merge branch 'MDL-61290_master' of https://github.com/aanabit/moodle
Amaia Anabitarte [Wed, 25 Jul 2018 16:39:45 +0000 (17:39 +0100)]
MDL-61290 mod_feedback: adding groups to csv download
Thanks Christine LEGEMBLE for your proposal
David Monllao [Tue, 31 Jul 2018 11:52:49 +0000 (13:52 +0200)]
Merge branch 'MDL-63001_master' of git://github.com/markn86/moodle
David Monllao [Tue, 31 Jul 2018 11:36:21 +0000 (13:36 +0200)]
Merge branch 'master_MDL-58015' of https://github.com/danmarsden/moodle
David Monllao [Tue, 31 Jul 2018 11:30:41 +0000 (13:30 +0200)]
Merge branch 'MDL-59611-master' of git://github.com/damyon/moodle
David Monllao [Tue, 31 Jul 2018 09:18:39 +0000 (11:18 +0200)]
Merge branch 'MDL-44538-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Tue, 31 Jul 2018 08:18:44 +0000 (16:18 +0800)]
Merge branch 'MDL-58768-master-2' of git://github.com/rezaies/moodle
Andrew Nicols [Mon, 30 Jul 2018 23:23:50 +0000 (07:23 +0800)]
Merge branch 'MDL-61960-master' of git://github.com/farhan6318/moodle
Eloy Lafuente (stronk7) [Mon, 30 Jul 2018 19:09:55 +0000 (21:09 +0200)]
Merge branch 'MDL-57977-master' of git://github.com/vmdef/moodle
David Monllao [Mon, 30 Jul 2018 15:47:51 +0000 (17:47 +0200)]
Merge branch 'MDL-56712-master' of git://github.com/mihailges/moodle
David Monllao [Mon, 30 Jul 2018 15:41:06 +0000 (17:41 +0200)]
Merge branch 'MDL-54858-master' of git://github.com/mihailges/moodle
David Monllao [Mon, 30 Jul 2018 15:33:21 +0000 (17:33 +0200)]
Merge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Mon, 30 Jul 2018 14:15:16 +0000 (16:15 +0200)]
Merge branch 'MDL-63002_master' of git://github.com/markn86/moodle
Mark Nelson [Mon, 30 Jul 2018 12:47:57 +0000 (20:47 +0800)]
MDL-63002 core: fixed incorrect calls to non-existent delete_record()
Adrian Perez [Fri, 20 Jul 2018 12:25:25 +0000 (14:25 +0200)]
MDL-63002 core_grade: fixed deletion of overriden letters
David Monllao [Mon, 30 Jul 2018 11:37:12 +0000 (13:37 +0200)]
Merge branch 'MDL-60435_master' of git://github.com/markn86/moodle
Jun Pataleta [Mon, 30 Jul 2018 08:34:57 +0000 (16:34 +0800)]
Merge branch 'MDL-62931-master' of git://github.com/rezaies/moodle
Jun Pataleta [Mon, 30 Jul 2018 08:05:03 +0000 (16:05 +0800)]
Merge branch 'MDL-62943-master' of git://github.com/mihailges/moodle
Mihail Geshoski [Thu, 19 Jul 2018 06:15:19 +0000 (14:15 +0800)]
MDL-62943 core_output: Final deprecation of update_module_button
Mihail Geshoski [Thu, 21 Jun 2018 06:15:23 +0000 (14:15 +0800)]
MDL-57666 repositories: Error when copying file from Dropbox repository
Mihail Geshoski [Wed, 18 Jul 2018 08:38:24 +0000 (16:38 +0800)]
MDL-56712 media: Remove 3.2 deprecated functions and classes
Adrian Greeve [Mon, 16 Jul 2018 02:21:49 +0000 (10:21 +0800)]
MDL-55188 events: Final deprecation of part of events 1 API.
Adrian Greeve [Mon, 16 Jul 2018 02:21:16 +0000 (10:21 +0800)]
MDL-55188 events: First deprecation of eventslib.php
cescobedo [Thu, 12 Jul 2018 13:18:59 +0000 (15:18 +0200)]
MDL-55188 events: Final deprecation events_trigger.
Mihail Geshoski [Thu, 19 Jul 2018 02:34:44 +0000 (10:34 +0800)]
MDL-54858 user: Final deprecation of useredit_update_picture
Credit to Ankit Agarwal.
AMOS bot [Sun, 29 Jul 2018 00:07:10 +0000 (00:07 +0000)]
Automatically generated installer lang files
Shamim Rezaie [Thu, 5 Apr 2018 08:17:36 +0000 (18:17 +1000)]
MDL-58768 mod_assign: Added userid param to calendar callbacks
The mod_assign_core_calendar_is_event_visible and mod_assign_core_calendar_provide_event_action
functions now accept a new parameter ($userid) so they are not always dependet to the logged in user.
Shamim Rezaie [Wed, 4 Apr 2018 15:56:56 +0000 (01:56 +1000)]
MDL-58768 core: Fix a typo for callback name
Shamim Rezaie [Wed, 4 Apr 2018 15:15:47 +0000 (01:15 +1000)]
MDL-58768 mod_assign: Add $user param to assign::can_grade
Shamim Rezaie [Wed, 4 Apr 2018 14:37:56 +0000 (00:37 +1000)]
MDL-58768 calendar: Add $requestinguser to the container class
The requesting user is not always the same as the current user. The container class now allows a different user
to be set as the requesting user. All capability checks are done against the requesting user.
Also, the $requestinguser is passed to core_calendar_provide_event_action and core_calendar_is_event_visible
callback functions. These callback functions need to be updated in all activity modules to accept a $user parameter.
Shamim Rezaie [Wed, 4 Apr 2018 14:17:40 +0000 (00:17 +1000)]
MDL-58768 coursecat: coursecat::get to accept a $user parameter
Shamim Rezaie [Wed, 28 Mar 2018 14:58:06 +0000 (01:58 +1100)]
MDL-58768 Calendar: Update get_raw_events_legacy_implementation
Update get_raw_events_legacy_implementation to work with the passed $users parameter instead of the logged in user.
Also, fixed a bug where get_raw_events_legacy_implementation was failing when $users was set to true, and a list of
$groups was given.
Shamim Rezaie [Tue, 27 Mar 2018 13:19:10 +0000 (00:19 +1100)]
MDL-58768 Calendar: Added user param to calendar_set_filters
Decoupled calendar_set_filters from $USER.
Also removed the backward compatibility bit from the function because it was a left over.
Shamim Rezaie [Tue, 6 Mar 2018 04:22:11 +0000 (15:22 +1100)]
MDL-58768 Calendar: Added userid param to calendar_get_default_courses
Johnny Tsheke [Thu, 31 May 2018 04:31:58 +0000 (00:31 -0400)]
MDL-62344 mod_label: ID number feature support
David Mudrák [Mon, 23 Jul 2018 09:46:22 +0000 (11:46 +0200)]
MDL-62965 core_user: Fix missing user profile fields on signup page
Jun Pataleta [Fri, 27 Jul 2018 08:19:22 +0000 (16:19 +0800)]
Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle
Mark Nelson [Fri, 27 Jul 2018 03:39:32 +0000 (11:39 +0800)]
MDL-63001 core_form: final deprecation of the submitlink element
David Mudrák [Fri, 13 Jul 2018 10:48:14 +0000 (12:48 +0200)]
MDL-59847 core: Fix display of hidden identity fields in user lists
Places that display list of users (such as course participants page)
with additional identifier fields now respect the user's permission to
view other users' hidden profile fields.
Sara Arjona [Fri, 20 Jul 2018 13:25:09 +0000 (15:25 +0200)]
MDL-41847 core_user: Add preferred lang field to the user creation form
The preferred language has been added only to the user creation form.
For existing users, you should access to the user profile, click over
Preferences and go to the Preferred language page.
Sara Arjona [Tue, 17 Jul 2018 11:17:57 +0000 (13:17 +0200)]
MDL-41847 core_user: Add lang to login URL email for new user accounts
Mark Nelson [Wed, 25 Jul 2018 09:18:01 +0000 (17:18 +0800)]
MDL-62977 mod_wiki: style buttons appropriately
Andrew Nicols [Fri, 27 Jul 2018 02:05:17 +0000 (10:05 +0800)]
MDL-62950 behat: Disable editing for boost test
Dan Marsden [Mon, 20 Feb 2017 00:41:15 +0000 (13:41 +1300)]
MDL-58015 mod_scorm: set orgidentifier correctly for popup.
Eloy Lafuente (stronk7) [Thu, 26 Jul 2018 17:56:33 +0000 (19:56 +0200)]
weekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 26 Jul 2018 17:56:32 +0000 (19:56 +0200)]
NOBUG: Fixed file access permissions
Vadim Tabunshchik [Thu, 19 Jul 2018 08:29:34 +0000 (18:29 +1000)]
MDL-62871 quiz: incorrect foreign key declaration
Andrew Nicols [Thu, 26 Jul 2018 07:29:05 +0000 (15:29 +0800)]
MDL-62950 behat: Correct navbar references
Andrew Nicols [Thu, 26 Jul 2018 06:56:35 +0000 (14:56 +0800)]
MDL-62950 behat: Correct use of nav
Andrew Nicols [Thu, 26 Jul 2018 06:49:04 +0000 (14:49 +0800)]
MDL-62950 behat: Correct path to P&P
Andrew Nicols [Thu, 26 Jul 2018 02:34:15 +0000 (10:34 +0800)]
Merge branch 'MDL-54742-master-integration' of https://github.com/mihailges/moodle
Mihail Geshoski [Thu, 26 Jul 2018 02:09:35 +0000 (10:09 +0800)]
MDL-54742 general: Remove 'revealpassword' string deprecated in 3.2
Eloy Lafuente (stronk7) [Wed, 25 Jul 2018 22:34:37 +0000 (00:34 +0200)]
Merge branch 'MDL-62771-master_move_plag_disclosure' of https://github.com/jmcgettrick/moodle
Eloy Lafuente (stronk7) [Wed, 25 Jul 2018 16:59:05 +0000 (18:59 +0200)]
Merge branch 'MDL-57622-master' of git://github.com/mihailges/moodle
Jun Pataleta [Wed, 25 Jul 2018 08:38:47 +0000 (16:38 +0800)]
Merge branch 'MDL-62852-master' of git://github.com/sarjona/moodle
Sara Arjona [Wed, 4 Jul 2018 05:57:25 +0000 (07:57 +0200)]
MDL-62852 policy: Display policy audience in the viewall.php page
Damyon Wiese [Fri, 15 Dec 2017 01:54:57 +0000 (09:54 +0800)]
MDL-61041 assign: Remove assignment 2.2 upgrader
Jun Pataleta [Wed, 25 Jul 2018 05:48:15 +0000 (13:48 +0800)]
Merge branch 'MDL-62807-master' of git://github.com/damyon/moodle
Andrew Nicols [Wed, 25 Jul 2018 05:40:25 +0000 (13:40 +0800)]
Merge branch 'MDL-60826-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Wed, 25 Jul 2018 05:35:53 +0000 (13:35 +0800)]
Merge branch 'MDL-55259_master' of git://github.com/markn86/moodle
Simey Lameze [Wed, 25 Jul 2018 02:31:54 +0000 (10:31 +0800)]
MDL-60826 calendar: fix group event type logic
Andrew Nicols [Wed, 25 Jul 2018 04:42:31 +0000 (12:42 +0800)]
Merge branch 'MDL-62897-master' of git://github.com/rezaies/moodle
Tony Butler [Tue, 10 Jul 2018 11:28:07 +0000 (12:28 +0100)]
MDL-59611 mod_assign: Move help icons for subplugin types out of labels
Shamim Rezaie [Fri, 20 Jul 2018 08:11:32 +0000 (18:11 +1000)]
MDL-62897 Questions: Find duplicate top cats per context and fix them
Andrew Nicols [Wed, 25 Jul 2018 01:18:53 +0000 (09:18 +0800)]
Merge branch 'MDL-60826-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 25 Jul 2018 00:40:28 +0000 (08:40 +0800)]
MDL-60826 calendar: further performance improvements
This commit does few tweaks and other performance improvements to
calendar_get_allowed_event_types to be more efficient. Also some minor
queries optimizations on the event form to fetch the list of courses
without groups.
Andrew Nicols [Wed, 25 Jul 2018 00:32:22 +0000 (08:32 +0800)]
Merge branch 'MDL-61652-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 23:24:34 +0000 (01:24 +0200)]
Merge branch 'MDL-62961_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 23:16:38 +0000 (01:16 +0200)]
Merge branch 'MDL-62935-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 23:02:33 +0000 (01:02 +0200)]
Merge branch 'MDL-55365-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 22:37:05 +0000 (00:37 +0200)]
Merge branch 'MDL-62653-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 22:26:16 +0000 (00:26 +0200)]
Merge branch 'MDL-54551_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 17:03:32 +0000 (19:03 +0200)]
Merge branch 'MDL-60874-master-enrolautocomplete' of git://github.com/mudrd8mz/moodle
Amaia Anabitarte [Wed, 18 Jul 2018 16:24:21 +0000 (17:24 +0100)]
MDL-55778 enrol_self: New string for 'Notify before..' options
AMOS BEGIN
CPY [expirynotifyall,core_enrol],[expirynotifyall,enrol_self]
CPY [expirynotifyenroller,core_enrol],[expirynotifyenroller,enrol_self]
AMOS END
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 16:31:48 +0000 (18:31 +0200)]
Merge branch 'MDL-62925_master' of git://github.com/markn86/moodle
Jun Pataleta [Tue, 24 Jul 2018 08:24:39 +0000 (16:24 +0800)]
Merge branch 'MDL-62919-master' of git://github.com/cescobedo/moodle
Bas Brands [Tue, 24 Jul 2018 08:15:24 +0000 (10:15 +0200)]
MDL-62935 boost: slideshow view page overflow
sam marshall [Wed, 20 Jun 2018 16:44:51 +0000 (17:44 +0100)]
MDL-61652 tool_dataprivacy: Add capabilities to control data downloads
Jun Pataleta [Tue, 24 Jul 2018 03:58:38 +0000 (11:58 +0800)]
Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle
Jake Dallimore [Fri, 15 Dec 2017 03:47:46 +0000 (11:47 +0800)]
MDL-59595 admin: Make sure $ADMIN is properly unset when changing users