Peter [Mon, 25 Mar 2019 23:24:53 +0000 (07:24 +0800)]
MDL-65069 mod_forum: Stripped out inpage form and advanced redirect
* Stripped out the form for the inpage on the discussion list page.
* Tweaked the 'Advanced' redirect to take into account a nosubmit button
which populates the subject, message and any files used within it.
Peter [Mon, 25 Mar 2019 03:07:25 +0000 (11:07 +0800)]
MDL-65069 mod_forum: inline 'add discussion' form
Adrian Greeve [Wed, 24 Apr 2019 01:27:07 +0000 (09:27 +0800)]
Merge branch 'MDL-65308' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 22:04:45 +0000 (00:04 +0200)]
Merge branch 'MDL-65382-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 21:55:35 +0000 (23:55 +0200)]
MDL-65354 core: pretend that 'moodle/course:browse' never existed
As far as the old capability only was added to master and we are
renaming it before release:
- don't need to deprecate the lang string.
- don't need to make any reference to it in the upgrade.txt info
So, basically, pretend it never existed.
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 21:45:21 +0000 (23:45 +0200)]
Merge branch 'MDL-65354-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 17:45:18 +0000 (19:45 +0200)]
Merge branch 'MDL-64676-master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 17:26:47 +0000 (19:26 +0200)]
Merge branch 'MDL-64151-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 15:36:46 +0000 (17:36 +0200)]
on-demand release 3.7dev+
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 12:06:00 +0000 (14:06 +0200)]
MDL-64017 message_email: trailing whitespace fix
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 08:14:22 +0000 (10:14 +0200)]
Merge branch 'MDL-65324-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 23 Apr 2019 08:04:51 +0000 (16:04 +0800)]
MDL-65324 mod_forum: Fix tests for timed discussion settings
Adrian Greeve [Tue, 23 Apr 2019 06:38:33 +0000 (14:38 +0800)]
Merge branch 'MDL-64703-master-fix-1' of https://github.com/ryanwyllie/moodle
Ryan Wyllie [Tue, 23 Apr 2019 06:14:24 +0000 (14:14 +0800)]
MDL-64703 message: fix group conversation heading alignment
Adrian Greeve [Tue, 23 Apr 2019 05:32:55 +0000 (13:32 +0800)]
Merge branch 'MDL-64017_master-fix' of https://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 11:56:06 +0000 (13:56 +0200)]
Merge branch 'MDL-65248' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 22 Apr 2019 23:22:19 +0000 (01:22 +0200)]
MDL-65248 analytics: Replace upgrade script to apply for all moves
While strictly we don't nedd to provide an upgrade path for master,
any dev/integration site already using some of the 3.7 new tagets
in models will break (class rename/move) if we don't perform the
update of all them.
This commit takes rid of the previous upgrade step, only performing
the update of a couple of targets and now supports all the (5) targets:
- course_dropout
- course_competencies
- course_completion
- course_gradetopass
- no_teaching
Eloy Lafuente (stronk7) [Mon, 22 Apr 2019 23:18:49 +0000 (01:18 +0200)]
MDL-65248 core_user: Move some upcoming_activities_due strings
From course lang files to user lang files (where the target belongs to)
AMOS BEGIN
MOV [target:upcomingactivitiesdue,core_course],[target:upcomingactivitiesdue,core_user]
MOV [target:upcomingactivitiesdue_help,core_course],[target:upcomingactivitiesdue_help,core_user]
AMOS END
Jun Pataleta [Tue, 23 Apr 2019 03:53:26 +0000 (11:53 +0800)]
Merge branch 'MDL-65311-xml-files' of https://github.com/brendanheywood/moodle
Jun Pataleta [Tue, 23 Apr 2019 03:48:50 +0000 (11:48 +0800)]
Merge branch 'MDL-65324-master' of git://github.com/peterRd/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 11:53:24 +0000 (13:53 +0200)]
Merge branch 'MDL-62459' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 11:50:22 +0000 (13:50 +0200)]
Merge branch 'MDL-65248_master' of git://github.com/dmonllao/moodle
David Monllaó [Mon, 22 Apr 2019 11:26:42 +0000 (13:26 +0200)]
Merge branch 'MDL-64924' of git://github.com/Chocolate-lightning/moodle
David Monllaó [Mon, 22 Apr 2019 11:24:52 +0000 (13:24 +0200)]
Merge branch 'MDL-64102-master' of git://github.com/bmbrands/moodle
David Monllaó [Mon, 22 Apr 2019 11:22:31 +0000 (13:22 +0200)]
Merge branch 'MDL-61199-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 11:43:56 +0000 (13:43 +0200)]
Merge branch 'MDL-64641-master' of git://github.com/jleyva/moodle
David Monllaó [Mon, 22 Apr 2019 11:16:32 +0000 (13:16 +0200)]
Merge branch 'MDL-65102-master' of git://github.com/rezaies/moodle
David Monllaó [Mon, 22 Apr 2019 08:23:49 +0000 (10:23 +0200)]
Merge branch 'MDL-65211-master' of git://github.com/jleyva/moodle
David Monllaó [Mon, 22 Apr 2019 08:22:23 +0000 (10:22 +0200)]
Merge branch 'MDL-65251-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 23 Apr 2019 11:42:08 +0000 (13:42 +0200)]
Merge branch 'MDL-65254-master' of git://github.com/cescobedo/moodle
David Monllaó [Mon, 22 Apr 2019 08:08:57 +0000 (10:08 +0200)]
Merge branch 'MDL-65255-master' of git://github.com/jleyva/moodle
David Monllaó [Mon, 22 Apr 2019 08:05:50 +0000 (10:05 +0200)]
Merge branch 'MDL-65184' of git://github.com/Chocolate-lightning/moodle
David Monllaó [Mon, 22 Apr 2019 07:39:26 +0000 (09:39 +0200)]
Merge branch 'MDL-64701-category-customfields-master' of https://github.com/dmitriim/moodle
Mark Nelson [Tue, 23 Apr 2019 03:28:01 +0000 (11:28 +0800)]
MDL-64017 message_email: fixed incorrect unread count
David Monllaó [Mon, 22 Apr 2019 07:08:37 +0000 (09:08 +0200)]
Merge branch 'MDL-65222' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 28 Mar 2019 22:41:36 +0000 (23:41 +0100)]
MDL-62459 database: remove unused table role_sortorder
Eloy Lafuente (stronk7) [Sun, 21 Apr 2019 23:03:34 +0000 (01:03 +0200)]
Merge branch 'MDL-65378_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Sun, 21 Apr 2019 22:58:37 +0000 (00:58 +0200)]
Merge branch 'MDL-65275_master' of git://github.com/markn86/moodle
Adrian Greeve [Thu, 18 Apr 2019 08:14:57 +0000 (16:14 +0800)]
Merge branch 'MDL-64017_master' of git://github.com/markn86/moodle
Mark Nelson [Fri, 5 Apr 2019 06:48:06 +0000 (14:48 +0800)]
MDL-64017 message_email: task to send messages as a digest
Jun Pataleta [Thu, 18 Apr 2019 05:47:50 +0000 (13:47 +0800)]
MDL-65382 tool_dataprivacy: Fix appearance of status labels
Jun Pataleta [Thu, 18 Apr 2019 05:47:30 +0000 (13:47 +0800)]
MDL-65382 mod_lti: Fix appearance of status labels
Jun Pataleta [Thu, 18 Apr 2019 05:29:28 +0000 (13:29 +0800)]
MDL-65382 admin: Fix appearance of status labels
Jun Pataleta [Thu, 18 Apr 2019 06:55:20 +0000 (14:55 +0800)]
Merge branch 'MDL-64137-master' of git://github.com/bmbrands/moodle
Bas Brands [Fri, 5 Apr 2019 04:18:26 +0000 (12:18 +0800)]
MDL-64017 message_email: Added mustache templates for email
Mark Nelson [Fri, 5 Apr 2019 06:48:26 +0000 (14:48 +0800)]
MDL-64017 core_message: can specify conversation to view on index page
Mark Nelson [Tue, 26 Mar 2019 02:07:49 +0000 (10:07 +0800)]
MDL-64017 message_email: populate new DB table when required
Mark Nelson [Mon, 25 Mar 2019 04:39:59 +0000 (12:39 +0800)]
MDL-64017 core: remove group conversation check for processors
We now want to allow processors to process group messages.
Mark Nelson [Mon, 25 Mar 2019 02:51:46 +0000 (10:51 +0800)]
MDL-64017 core_message: pass conversation type to processors
Mark Nelson [Thu, 18 Apr 2019 04:29:03 +0000 (12:29 +0800)]
MDL-64017 message_email: updated privacy provider
Mark Nelson [Mon, 25 Mar 2019 02:31:26 +0000 (10:31 +0800)]
MDL-64017 message_email: add new database table
This table will be responsible for storing the messages
that need to be emailed, but have not yet. A task will
run that will email these and then remove them from the
table.
Adrian Greeve [Thu, 18 Apr 2019 05:48:33 +0000 (13:48 +0800)]
Merge branch 'MDL-29318-master' of git://github.com/junpataleta/moodle
Adrian Greeve [Thu, 18 Apr 2019 03:47:13 +0000 (11:47 +0800)]
MDL-64715 core_message: Fix for message upgrade db prefix.
Jun Pataleta [Thu, 18 Apr 2019 03:09:49 +0000 (11:09 +0800)]
Merge branch 'MDL-64956-master2' of git://github.com/peterRd/moodle
Adrian Greeve [Thu, 18 Apr 2019 03:06:57 +0000 (11:06 +0800)]
Merge branch 'MDL-64715-master-self-starred-pr-ryan' of git://github.com/sarjona/moodle
Adrian Greeve [Thu, 18 Apr 2019 01:10:52 +0000 (09:10 +0800)]
Merge branch 'MDL-64703-master' of git://github.com/bmbrands/moodle
Simey Lameze [Mon, 15 Apr 2019 04:03:53 +0000 (12:03 +0800)]
MDL-65354 core: replace all usages of old cap
Simey Lameze [Mon, 15 Apr 2019 03:58:58 +0000 (11:58 +0800)]
MDL-65354 core: rename course:browse cap to category:browsecourses
Peter [Wed, 17 Apr 2019 00:27:39 +0000 (08:27 +0800)]
MDL-64956 mod_forum: Updates based on IR
Eloy Lafuente (stronk7) [Wed, 17 Apr 2019 18:07:01 +0000 (20:07 +0200)]
on-demand release 3.7dev+
Eloy Lafuente (stronk7) [Wed, 17 Apr 2019 18:06:58 +0000 (20:06 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllaó [Wed, 17 Apr 2019 11:56:04 +0000 (13:56 +0200)]
MDL-65378 tool_analytics: Add missing require
David Monllaó [Wed, 17 Apr 2019 09:16:44 +0000 (11:16 +0200)]
Merge branch 'MDL-62907' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Wed, 17 Apr 2019 08:43:02 +0000 (10:43 +0200)]
MDL-62907 Logging: Allow nulls on info, cases have been detected
Peter [Mon, 11 Mar 2019 01:22:57 +0000 (09:22 +0800)]
MDL-64956 mod_forum: Inpage reply
* Basic functionality for an inpage reply. With advanced link that takes you to the previous "Reply page".
* Updated behat function to handle the additional step
* Updated templates to have some identifiers on where one is storing the replies post
* Updated discussion_post to use the new vault functions to get the corresponding records
* Jumpto newly created post
Eloy Lafuente (stronk7) [Tue, 16 Apr 2019 22:49:21 +0000 (00:49 +0200)]
Merge branch 'MDL-65137' of https://github.com/KietChan/moodle
Eloy Lafuente (stronk7) [Tue, 16 Apr 2019 20:37:23 +0000 (22:37 +0200)]
Merge branch 'MDL-65179-master' of https://github.com/sammarshallou/moodle
Ryan Wyllie [Tue, 16 Apr 2019 08:33:25 +0000 (16:33 +0800)]
MDL-64715 message: improve the front-end for the self-conversations
David Monllaó [Tue, 16 Apr 2019 09:14:51 +0000 (11:14 +0200)]
Merge branch 'MDL-64855_fixviews' of git://github.com/dmonllao/moodle
Tom Dickman [Thu, 21 Mar 2019 00:56:02 +0000 (11:56 +1100)]
MDL-64855 block_myoverview: Fix list and summary views
Eloy Lafuente (stronk7) [Tue, 16 Apr 2019 08:59:55 +0000 (10:59 +0200)]
Merge branch 'MDL-64777_delete-static' of https://github.com/dmonllao/moodle
David Monllaó [Tue, 16 Apr 2019 08:46:20 +0000 (10:46 +0200)]
MDL-64777 tool_analytics: Static models can also be deleted
Adrian Greeve [Tue, 16 Apr 2019 05:19:15 +0000 (13:19 +0800)]
Merge branch 'MDL-65034-master' of git://github.com/ryanwyllie/moodle
Ryan Wyllie [Tue, 16 Apr 2019 02:51:43 +0000 (10:51 +0800)]
MDL-65034 mod_forum: fix author for single discussion forum
Eloy Lafuente (stronk7) [Tue, 9 Apr 2019 01:13:57 +0000 (03:13 +0200)]
MDL-65308 core: change a couple of unsafe preg_quote() cases
With PHP 7.3, the hash (#) is being escaped by preg_quote().
While normally that doesnt have much impact and normal operations
continue working perfectly... when the results of the function are
used to match against the same string... they don't match anymore.
Have found a couple of there double-uses in core and this
commit fixes them. Covered with tests.
Eloy Lafuente (stronk7) [Mon, 15 Apr 2019 21:53:58 +0000 (23:53 +0200)]
Merge branch 'MDL-59298-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Mon, 15 Apr 2019 21:37:43 +0000 (23:37 +0200)]
Merge branch 'MDL-64777-master-modelsrestore' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 15 Apr 2019 20:53:55 +0000 (22:53 +0200)]
Merge branch 'MDL-64786-master-renamemodels' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 15 Apr 2019 18:43:13 +0000 (20:43 +0200)]
Merge branch 'MDL-65307_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 15 Apr 2019 18:26:17 +0000 (20:26 +0200)]
Merge branch 'MDL-60470' of https://github.com/brendanheywood/moodle
Sara Arjona [Wed, 6 Mar 2019 20:26:29 +0000 (21:26 +0100)]
MDL-64715 message: add support for self conversations
Added new MESSAGE_CONVERSATION_TYPE_SELF type for self-conversations
and upgraded legacy self-conversations to the new type, removing
repeated members in the message_conversation_members table.
Besides, from now, a self-conversation will be created by default for
all the existing users.
All the self-conversations have been also starred and a default message
will be displayed always to explain how to use them.
Brendan Heywood [Wed, 18 Oct 2017 05:20:33 +0000 (16:20 +1100)]
MDL-60470 core: New hook 'after_require_login'
This adds a hook towards the end of the require_login function.
Sara Arjona [Fri, 22 Feb 2019 14:12:41 +0000 (15:12 +0100)]
MDL-64715 message: add send-self-message button to the user profile
The "Send message" button is now also displayed from the current user
profile to let them access to their self-conversations.
Sara Arjona [Wed, 6 Mar 2019 12:01:35 +0000 (13:01 +0100)]
MDL-64715 message: avoid duplicate entries when searching messages
Sara Arjona [Mon, 15 Apr 2019 11:53:15 +0000 (13:53 +0200)]
Merge branch 'MDL-65328' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 15 Apr 2019 11:13:14 +0000 (13:13 +0200)]
Merge branch 'MDL-65281' of git://github.com/stronk7/moodle
David Monllaó [Mon, 15 Apr 2019 09:04:54 +0000 (11:04 +0200)]
Merge branch 'MDL-62572-master' of git://github.com/damyon/moodle
David Monllaó [Mon, 8 Apr 2019 10:31:28 +0000 (12:31 +0200)]
MDL-65248 core_course: Move analytics targets to course
MOV [coursealreadyfinished, moodle], [coursealreadyfinished, course]
MOV [coursenotyetstarted, moodle], [coursenotyetstarted, course]
MOV [coursenotyetfinished, moodle], [coursenotyetfinished, course]
MOV [nocourseactivity, moodle], [nocourseactivity, course]
MOV [nocourseendtime, moodle], [nocourseendtime, course]
MOV [nocoursesections, moodle], [nocoursesections, course]
MOV [nocoursestudents, moodle], [nocoursestudents, course]
MOV [studentsatriskincourse, moodle], [studentsatriskincourse, course]
MOV [target:coursecompletion, moodle], [target:coursecompletion, course]
MOV [target:coursecompletion_help, moodle], [target:coursecompletion_help, course]
MOV [target:coursecompetencies, moodle], [target:coursecompetencies, course]
MOV [target:coursecompetencies_help, moodle], [target:coursecompetencies_help, course]
MOV [target:coursedropout, moodle], [target:coursedropout, course]
MOV [target:coursedropout_help, moodle], [target:coursedropout_help, course]
MOV [target:coursegradetopass, moodle], [target:coursegradetopass, course]
MOV [target:coursegradetopass_help, moodle], [target:coursegradetopass_help, course]
MOV [target:noteachingactivity, moodle], [target:noteachingactivity, course]
MOV [target:noteachingactivity_help, moodle], [target:noteachingactivity_help, course]
MOV [target:upcomingactivitiesdue, moodle], [target:upcomingactivitiesdue, course]
MOV [target:upcomingactivitiesdue_help, moodle], [target:upcomingactivitiesdue_help, course]
MOV [targetlabelstudentcompletionno, moodle], [targetlabelstudentcompletionno, course]
MOV [targetlabelstudentcompletionyes, moodle], [targetlabelstudentcompletionyes, course]
MOV [targetlabelstudentcompetenciesno, moodle], [targetlabelstudentcompetenciesno, course]
MOV [targetlabelstudentcompetenciesyes, moodle], [targetlabelstudentcompetenciesyes, course]
MOV [targetlabelstudentdropoutyes, moodle], [targetlabelstudentdropoutyes, course]
MOV [targetlabelstudentdropoutno, moodle], [targetlabelstudentdropoutno, course]
MOV [targetlabelstudentgradetopassno, moodle], [targetlabelstudentgradetopassno, course]
MOV [targetlabelstudentgradetopassyes, moodle], [targetlabelstudentgradetopassyes, course]
MOV [targetlabelteachingyes, moodle], [targetlabelteachingyes, course]
MOV [targetlabelteachingno, moodle], [targetlabelteachingno, course]
MOV [coursetoolong, analytics], [coursetoolong, course]
MOV [errorendbeforestart, analytics], [errorendbeforestart, course]
Mihail Geshoski [Mon, 1 Apr 2019 00:43:34 +0000 (08:43 +0800)]
MDL-65034 forum: Rename identifier to camel case
Ryan Wyllie [Fri, 22 Mar 2019 03:50:02 +0000 (11:50 +0800)]
MDL-65034 forum: add aria keyboard nav to discussion
Ryan Wyllie [Mon, 18 Mar 2019 07:14:09 +0000 (15:14 +0800)]
MDL-65034 forum: add aria attributes to forum post
David Mudrák [Thu, 4 Apr 2019 06:40:28 +0000 (08:40 +0200)]
MDL-64786 analytics: Make the list of indicators collapsed by default
The list may become very long and it does not help the usability of the
table. Similarly to what we have on the restore models page, we now have
the list of indicators collapsed by default.
David Mudrák [Wed, 3 Apr 2019 16:39:05 +0000 (18:39 +0200)]
MDL-64786 analytics: Fix documentation of models_list template
The list of expected context variables was missing. The example context
was not correct, particularly the help icons are a single object, not a
list.
David Mudrák [Wed, 3 Apr 2019 16:37:54 +0000 (18:37 +0200)]
MDL-64786 analytics: Allow renaming models via inplace editable element
David Mudrák [Tue, 2 Apr 2019 10:37:04 +0000 (12:37 +0200)]
MDL-64786 analytics: Add a new name field to the models table
David Mudrák [Tue, 2 Apr 2019 16:46:27 +0000 (18:46 +0200)]
MDL-64786 analytics: Add missing parameter to model::export() method
All methods that export an object to be rendered via a template, must
have the instance of a renderer available.
David Mudrák [Wed, 27 Mar 2019 15:37:01 +0000 (16:37 +0100)]
MDL-64777 analytics: Add ability to restore missing default models
The patch introduces a new page restoredefault.php that allows the user
to select missing models to be restored.
David Mudrák [Thu, 28 Mar 2019 10:42:17 +0000 (11:42 +0100)]
MDL-64777 analytics: Add method to get target and indicators instances
This will be needed in some other places, too.
David Mudrák [Wed, 27 Mar 2019 09:39:20 +0000 (10:39 +0100)]
MDL-64777 analytics: Add method to load all model definitions
David Mudrák [Wed, 27 Mar 2019 14:31:58 +0000 (15:31 +0100)]
MDL-64777 analytics: Add method for identifying a model declaration
This is intended to be used to as a declaration identifier in HTML or as
a HTTP parameter value.