Simey Lameze
bc577c541f
MDL-51267 mod: move the changes from the API to the form file
2016-04-19 16:36:26 +08:00
David Monllao
c3b661403c
Merge branch 'cbe' of git://github.com/FMCorz/moodle
2016-04-19 12:37:11 +08:00
David Monllao
218fbd6ca2
Merge branch 'MDL-51267-master' of git://github.com/lameze/moodle
2016-04-19 11:53:22 +08:00
Simey Lameze
819e1ff0ad
MDL-51267 mod_url: make the url and resource forms friendlier
2016-04-19 11:13:18 +08:00
Frederic Massart
56537316f6
MDL-53719 competency: Delete content upon course and cm delete/reset
2016-04-18 11:06:01 +08:00
Frederic Massart
91e5464282
MDL-53700 competency: Making CiBoT happier
2016-04-18 11:06:00 +08:00
Frederic Massart
07fc0ec380
MDL-53700 competency: Implementing a URL resolver
2016-04-18 11:06:00 +08:00
Damyon Wiese
8995c2702f
MDL-52534 course: Course module form can be extended by plugins via callbacks.
...
3 new plugin callbacks are available to extend any course module form.
xx_coursemodule_standard_elements()
xx_coursemodule_validation()
xx_coursemodule_edit_post_actions()
This allows you to add elements to the form, extend the validation
and process the extra information once the module has been created/updated.
2016-04-18 10:58:52 +08:00
Damyon Wiese
e02e7f5a01
MDL-53772 libraries: More context fixes
...
1. Improve upgrade note
2. Don't abuse $PAGE to get the current course/cm
3. Use validate_context, never $PAGE->set_context()
4. Reset current coursemodule in validate_context().
5. Respect moodlepageclass when calling an external function.
2016-04-14 15:02:41 +08:00
David Monllao
3dd89357d4
Merge branch 'MDL-53772-master' of git://github.com/damyon/moodle
...
Conflicts:
lib/upgrade.txt
2016-04-14 14:01:16 +08:00
Marina Glancy
787ec240c1
MDL-53772 inplace_editable: set context in callbacks
2016-04-14 13:58:29 +08:00
Marina Glancy
9ca0420e93
MDL-45064 course: mod callback get_shortcuts()
...
also deprecate callback get_types()
2016-04-13 08:30:04 +08:00
John Okely
01e8bfd745
MDL-45064 lti: LTI types in activity chooser
2016-04-13 08:30:04 +08:00
Eloy Lafuente (stronk7)
11c673f3a3
Merge branch 'MDL-53167-master' of git://github.com/merrill-oakland/moodle
2016-04-12 21:34:41 +02:00
Eric Merrill
935ee1c6c6
MDL-53167 search: Adding unit tests for external API change
2016-04-11 21:24:18 -04:00
Dan Poltawski
4a39dd3071
Merge branch 'wip-MDL-53363-master' of https://github.com/marinaglancy/moodle
2016-04-11 16:34:26 +01:00
Dan Poltawski
d5327021e0
Merge branch 'MDL-53440-master' of git://github.com/cameron1729/moodle
2016-04-11 15:28:37 +01:00
Marina Glancy
4218ad9371
MDL-53363 tags: helper to search for tagged items; search course modules
2016-04-11 13:22:47 +08:00
Eric Merrill
427e3cbcd6
MDL-53167 search: Add ability to limit courses searched
2016-04-07 14:41:59 -04:00
Abhijit A.M
1b276bfc9d
MDL-53440 course: Better interface for approving multiple courses
...
Added another target 'pending' in course/edit.php for redirection
This will help administrator/managers approve multiple courses
one after another
2016-04-07 10:38:42 +08:00
Rajesh Taneja
921faad9ad
MDL-53571 behat: Use Escaper for escaping
...
xpathLiteral has been depreacted, use Escaper instead
2016-04-06 15:38:31 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
David Monllao
c111ef9718
Merge branch 'MDL-48012_master' of git://github.com/markn86/moodle
2016-03-21 09:41:09 +08:00
David Monllao
5162ffec0d
Merge branch 'wip-MDL-52869-master' of https://github.com/marinaglancy/moodle
2016-03-16 10:05:52 +08:00
Marina Glancy
f59f89b4a8
MDL-52869 course: use inplace_editable for activity names
2016-03-15 17:19:38 +08:00
Mark Nelson
ea88fd4e66
MDL-48012 core: added pre_*_delete hooks
2016-03-15 16:58:46 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Mark Nelson
9621d5a7ae
MDL-52252 core_course: removed unused variables
...
The call to 'context_coursecat::instance($COURSE->category);'
was causing Moodle to throw an exception due to non-existent
category.
2016-03-10 13:17:11 +01:00
David Monllao
b8bc9037f1
Merge branch 'wip-MDL-52252-master' of https://github.com/marinaglancy/moodle
2016-03-09 15:35:16 +08:00
Marina Glancy
1ea2f7d650
MDL-52252 tags: course module tags small correction
2016-03-09 15:33:25 +08:00
Nadav Kavalerchik
dffcf46f43
MDL-52252 Tags: Add tags to modules (Resources and Activities)
2016-03-09 14:19:47 +08:00
Damyon Wiese
235ef57a3d
MDL-51324 forms: Add a new course selector
...
This is a squashed commit containing a number of changes:
This is an ajax driven course selector that has searching etc. It can select single, or multiple courses.
Make course selector accept a list of courses to exclude
courseselector - lookup coursename on setValue
Use the get_course_display_name_in_list function to generate the course names
Add a throttle to auto-complete to reduce spamming the server
Do a single query to fetch all the courses in the mform element when validation fails
Fix core course search function to return results when there are less than 2 chars in the query.
Handle setData with an empty array in new course selector
2016-03-09 13:30:18 +08:00
Dan Poltawski
7f02500bd8
Merge branch 'MDL-53154-master' of git://github.com/junpataleta/moodle
2016-02-29 10:13:06 +08:00
Eloy Lafuente (stronk7)
316d6574e2
Merge branch 'MDL-53071-master' of git://github.com/junpataleta/moodle
2016-02-24 11:01:15 +01:00
Jun Pataleta
eb66223c42
MDL-53071 course: Allow blank space input for section name
2016-02-23 09:41:47 +08:00
Rajesh Taneja
9b4903c8fd
MDL-52970 behat: Wait for page to be ready after click
...
After click enusre to wait so text fields are not
use autosize
2016-02-19 15:23:49 +08:00
Jun Pataleta
41d6a25a19
MDL-53154 course: Raise PHP time limit when deleting a course
2016-02-18 10:10:01 +08:00
Dan Poltawski
0b14d8612b
Merge branch 'MDL-51214-master' of git://github.com/andrewnicols/moodle
2016-02-17 07:58:15 +00:00
Eloy Lafuente (stronk7)
642a4fde4b
Merge branch 'wip-MDL-51802-master4' of https://github.com/marinaglancy/moodle
2016-02-16 23:22:35 +01:00
David Monllao
b018aec5da
Merge branch 'MDL-51117-master' of git://github.com/andrewnicols/moodle
2016-02-16 13:26:37 +08:00
Andrew Nicols
5ddf81cd27
MDL-51214 block_news_items: Rename to "Latest announcements"
2016-02-16 10:05:27 +08:00
Andrew Nicols
265a9bf769
MDL-51214 mod_forum: Update News forum => Announcements
2016-02-16 10:05:24 +08:00
Dan Poltawski
07853905ef
Merge branch 'MDL-49146' of git://github.com/timhunt/moodle
2016-02-15 12:13:30 +00:00
Marina Glancy
f26481c2dc
MDL-51802 course: allow to edit section names on the course page
2016-02-13 11:07:46 +08:00
Andrew Nicols
296af14b19
MDL-51117 JavaScript: Convert alert to M.core.alert in dndupload
...
This also updates a language string to use string params instead of
hard-prefixing.
2016-02-11 08:43:27 +08:00
Mark Nelson
664d8be7ea
MDL-48634 core: prevent change of grade values when necessary
...
Three additional checks have been added.
Once grades have been recorded for the activity/grade item -
1) Do not allow the grade type to be changed.
2) Do not allow the scale to be changed.
3) If we are using ratings do not allow the 'Maximum points'
value to be changed.
Also reordered form elements, removed form elements that
were not necessary, added and changed existing language
strings to improve the overall UI.
2016-02-09 17:46:42 +08:00
Tim Hunt
028044707f
MDL-49146 single-activity course format: key activity must be visible
...
With a single-activity course, visibility to students is controlled by
course visibility. There is no sense in having the key activity not
visible to students, and, if you did, the symptoms were almost
incomprehensible. It was very hard to work out what you had done wrong.
2016-02-06 14:55:46 +00:00
Damyon Wiese
e7c71c189b
MDL-48634 grades: Make the rescaling option required if maxgrade changes
2016-02-05 18:20:17 +08:00
Damyon Wiese
d629c601c5
MDL-48634 grades: Add an option to rescale when changing the maxgrade
2016-02-05 18:20:17 +08:00
Marina Glancy
e11d7380c2
MDL-51283 core_tag: change tagtype to isstandard
...
Change 'official' to 'standard' in UI
2016-02-02 17:31:14 +08:00