25923 Commits

Author SHA1 Message Date
Sara Arjona
c5625cfbc7 Merge branch 'MDL-65056-master' of git://github.com/abias/moodle 2019-04-24 09:18:25 +02:00
Peter
cb28132dce MDL-65069 mod_forum: Remove unused code and additional dev docs.
Additional updates to setting default subscription value for discussions
2019-04-24 12:01:37 +08:00
Peter
e455d6f483 MDL-65069 core_form: Expose the form's submit's class attribute
Exposed the submit button's class attribute so it can be overriden by
custom classes provided by the programmer.
2019-04-24 10:29:30 +08:00
Eloy Lafuente (stronk7)
f7b52799e6 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.
2019-04-23 23:55:35 +02:00
Eloy Lafuente (stronk7)
1470cfc2fd Merge branch 'MDL-65354-master' of git://github.com/lameze/moodle 2019-04-23 23:45:21 +02:00
Eloy Lafuente (stronk7)
1e36bcfb67 Merge branch 'MDL-64151-master' of git://github.com/marinaglancy/moodle 2019-04-23 19:26:47 +02:00
Eloy Lafuente (stronk7)
1f39068e03 Merge branch 'MDL-65248' of git://github.com/stronk7/moodle 2019-04-23 13:56:06 +02:00
Eloy Lafuente (stronk7)
9c0edd1212 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
2019-04-23 13:53:46 +02:00
Jun Pataleta
0f39613771 Merge branch 'MDL-65311-xml-files' of https://github.com/brendanheywood/moodle 2019-04-23 13:53:39 +02:00
Eloy Lafuente (stronk7)
5dec930fb0 Merge branch 'MDL-62459' of git://github.com/stronk7/moodle 2019-04-23 13:53:24 +02:00
Eloy Lafuente (stronk7)
0d575a542a Merge branch 'MDL-65248_master' of git://github.com/dmonllao/moodle 2019-04-23 13:50:22 +02:00
Eloy Lafuente (stronk7)
735122c33f Merge branch 'MDL-64641-master' of git://github.com/jleyva/moodle 2019-04-23 13:43:56 +02:00
David Monllaó
906800a082 Merge branch 'MDL-65102-master' of git://github.com/rezaies/moodle 2019-04-23 13:42:37 +02:00
Juan Leyva
26e778d1b7 MDL-60680 file: Support any user id when creating tokens for files.
$includetoken parameter type has been changed. Now supports:
   boolean: False indicates to not include the token, true indicates to generate a token for the current user ($USER).
   integer: Indicates to generate a token for the user whose id is the integer value.
2019-04-23 13:16:15 +02:00
Juan Leyva
333d11c9fc MDL-60680 notifications: New customdata field
New field to store custom data for message processors.
2019-04-23 13:15:24 +02:00
Juan Leyva
c13438158b MDL-60680 message_output: Change message provider defaults
Since some versions ago the app allows a good user control of notifications.
This is why we should be enabling more notifications (mostly for students) by default.
2019-04-23 13:09:06 +02:00
Damyon Wiese
b3337bd5a4 MDL-64702 badges: Add missing data to backup
Backup and restore of badges is missing data:
* alignments
* endorsement

Also added to "clone" (duplicate a badge).
2019-04-23 11:14:00 +08:00
Eloy Lafuente (stronk7)
594717128d MDL-62459 database: remove unused table role_sortorder 2019-04-22 01:37:14 +02:00
Alexander Bias
d6cea5ccd9 MDL-65056 completion: Hide checkboxes on course page for teachers 2019-04-19 11:40:00 +02:00
Adrian Greeve
8c67db30a6 Merge branch 'MDL-64017_master' of git://github.com/markn86/moodle 2019-04-18 16:18:22 +08:00
Mark Nelson
168d782ff8 MDL-64017 message_email: task to send messages as a digest 2019-04-18 16:03:27 +08:00
Mark Nelson
c210455a4c MDL-64017 core: remove group conversation check for processors
We now want to allow processors to process group messages.
2019-04-18 14:28:09 +08:00
Mark Nelson
ca754fc8c2 MDL-64017 core_message: pass conversation type to processors 2019-04-18 14:28:09 +08:00
Adrian Greeve
48fa567da2 Merge branch 'MDL-29318-master' of git://github.com/junpataleta/moodle 2019-04-18 13:48:33 +08:00
Adrian Greeve
eae20bc94a MDL-64715 core_message: Fix for message upgrade db prefix. 2019-04-18 11:47:13 +08:00
Adrian Greeve
862a9b1d60 Merge branch 'MDL-64715-master-self-starred-pr-ryan' of git://github.com/sarjona/moodle 2019-04-18 11:06:57 +08:00
Simey Lameze
d26749b74c MDL-65354 core: rename course:browse cap to category:browsecourses 2019-04-18 08:57:48 +08:00
Sara Arjona
734b198fd3 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.
2019-04-15 20:17:54 +02:00
Sara Arjona
fcd7f0f982 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.
2019-04-15 14:29:10 +02:00
David Monllaó
7063b665e0 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]
2019-04-15 09:45:50 +02:00
Eloy Lafuente (stronk7)
c1634f3648 NOBUG: Fixed file access permissions 2019-04-12 21:38:18 +02:00
Sara Cenni
d78d97de8c MDL-64851 badge: reviewing badges of invisible courses 2019-04-12 09:50:33 +02:00
Eloy Lafuente (stronk7)
310a6ad297 Merge branch 'MDL-65072-fast-locks' of https://github.com/brendanheywood/moodle 2019-04-12 00:35:15 +02:00
Eloy Lafuente (stronk7)
ff3c8c0e6c Merge branch 'MDL-64656-master' of git://github.com/jleyva/moodle 2019-04-11 20:12:13 +02:00
Eloy Lafuente (stronk7)
7c924d311d Merge branch 'MDL-64284-36_get_component_classes_cache' of https://github.com/tomdickman/moodle 2019-04-11 20:01:37 +02:00
David Monllaó
69b68ad691 MDL-65175 mlbackend_php: Add missing checking for number of targets 2019-04-11 17:57:25 +02:00
Eloy Lafuente (stronk7)
fd652de81f Merge branch 'MDL-31355-master' of git://github.com/rezaies/moodle 2019-04-11 17:17:07 +02:00
Shamim Rezaie
1c96922da5 MDL-31355 core: Bump $lastmajordbchanges to trigger upgrade immediately 2019-04-11 18:47:35 +10:00
Eloy Lafuente (stronk7)
0f50e9cf90 Merge branch 'MDL-64543-slow-profile-patch' of https://github.com/brendanheywood/moodle 2019-04-11 10:45:59 +02:00
Juan Leyva
86fd9277c2 MDL-64656 core_tag: New WebService core_tag_get_tag_cloud 2019-04-11 10:20:44 +02:00
Juan Leyva
87bdad57c4 MDL-64656 core_tag: New WebService core_tag_get_tag_collections 2019-04-11 10:20:44 +02:00
Juan Leyva
07a4883796 MDL-64656 core_tag: New WebService core_tag_get_tag_areas 2019-04-11 10:20:44 +02:00
Juan Leyva
f121889933 MDL-64656 core_tag: New WebService core_tag_get_tagindex_per_area 2019-04-11 10:20:44 +02:00
Juan Leyva
52fcc0b827 MDL-64656 core_tag: Add existing WebServices to the mobile app service 2019-04-11 10:10:44 +02:00
Marina Glancy
e66acce81a MDL-64151 form: autocomplete element remove last choice
This is the same situation as was in MDL-56864 but now in 'course', 'autocomplete' and 'select' elements
- if the element allows multiple selection it is impossible to remove the last element
2019-04-11 10:00:22 +02:00
Adrian Greeve
8fa61e525a Merge branch 'MDL-65015-master' of git://github.com/cescobedo/moodle 2019-04-11 10:14:23 +08:00
Brendan Heywood
097616f8ac MDL-64543 profiling: Fixed code warning error 2019-04-11 12:02:43 +10:00
Eloy Lafuente (stronk7)
72b2e31802 Merge branch 'MDL-64543-slow-profile' of https://github.com/brendanheywood/moodle 2019-04-10 23:43:22 +02:00
Eloy Lafuente (stronk7)
83b2cbad02 Merge branch 'MDL-65177_master' of git://github.com/dmonllao/moodle 2019-04-10 17:47:56 +02:00
Marina Glancy
76f2d89471 MDL-10965 course: search only courses with completion
it is quite often when we need to have an autocomplete element that searches courses that
have completion enabled. This commit adds an option for the 'course' form element, and also
changes two places where we search for courses with completion. This should fix MDL-58989
2019-04-10 12:35:29 +02:00