Commit graph

4599 commits

Author SHA1 Message Date
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
Eloy Lafuente (stronk7)
94fe0fa02e Merge branch 'wip-mdl-52839' of https://github.com/rajeshtaneja/moodle 2016-01-29 10:15:20 +08:00
Rajesh Taneja
380ab95f20 MDL-52839 behat: Fixed xpath and wait to ensure element is visible 2016-01-21 15:50:44 +08:00
Paul Nicholls
6d1ee59af2 MDL-52773 course: Fix section return from single section page
When editing a section from a single section page, you should be returned
to the section you were viewing/editing, not always to section 1.
2016-01-15 11:49:51 +13:00
Marina Glancy
74fa9f76dc MDL-50851 course: use new tag API 2016-01-10 15:25:47 +08:00
Marina Glancy
c026a28d59 MDL-50851 core_tag: introduce tag collections 2016-01-10 15:25:43 +08:00
Dan Poltawski
835ca0419b MDL-52552 course management: insufficient cleaning of search output 2016-01-04 10:13:58 +08:00
David Monllao
19a1973a9a MDL-52347 format_social: Replicate wait between new discussions 2015-12-30 14:47:45 +08:00
Dan Poltawski
a3f238a120 Merge branch 'MDL-52275_master' of git://github.com/markn86/moodle 2015-12-29 10:04:42 +00:00
Marina Glancy
a4269b45bc MDL-52347 behat: fix random failures on fast computer 2015-12-24 14:14:58 +08:00
Mark Nelson
5d0aa9dcfe MDL-52275 core: fixed grade-to-pass being overwritten
Thanks goes to W.J. Roes for the patch.
2015-12-23 14:31:53 +08:00
Marina Glancy
1a0df5535e MDL-52081 forms: Use __construct() for constructors 2015-12-10 13:38:01 +08:00
Dan Poltawski
c8d8a09369 Merge branch 'MDL-51411' of https://github.com/andrewhancox/moodle 2015-12-08 09:05:45 +00:00
David Monllao
7e092a97d7 Merge branch 'MDL-52370-master' of git://github.com/danpoltawski/moodle 2015-12-07 15:01:42 +08:00
Dan Poltawski
fc3c595d51 MDL-26935 behat: add coverage for role renaming in course 2015-12-03 11:13:25 +01:00
Eloy Lafuente (stronk7)
7828bb972e Merge branch 'MDL-26935' of https://github.com/andrewhancox/moodle 2015-12-03 11:13:07 +01:00
David Monllao
0ee52b8214 Merge branch 'MDL-51830-master' of git://github.com/lucisgit/moodle 2015-12-03 11:11:04 +01:00
Dan Poltawski
29d4cc656f MDL-52370 course: purge contacts cache on role rename
Previously teachers would rename roles and the change would not be
reflected in course listings.
2015-12-01 12:44:34 +00:00
Dan Poltawski
8be9cffb8b MDL-52219 phpunit: updated for new defaults
The externallib assertion was previously never being run and had a typo..
2015-11-26 14:07:17 +00:00
Dan Poltawski
aa306e7bc8 MDL-52219 behat: remove steps which turn on avaibility/completion
Now its the default, we can reduce test time by relying on the default
state rather than going around turning it on
2015-11-26 14:07:17 +00:00
Andrew Hancox
3390551872 MDL-51411 course: Fixed warning when deleting activity with js disabled 2015-11-25 14:42:40 +00:00
Ruslan Kabalin
fa29c0c3d4 MDL-51830 course: Add course section deletion event. 2015-11-12 11:19:37 +00:00
Eloy Lafuente (stronk7)
2e144835bb MDL-52059 versions: bump all versions and requires near release
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Cameron Ball
c47b6f97d7 MDL-51993 course: Set valid default for section_edit_control_menu
Thank you to Gareth Barnard for originally providing this patch.
2015-11-03 10:29:38 +08:00
Dan Poltawski
4f5d5628d1 Merge branch 'MDL-51679-groupmode-ajax' of https://github.com/Dagefoerde/moodle 2015-10-15 11:41:26 +01:00
David Monllao
a97cde7a6e Merge branch 'wip-MDL-51604-master' of git://github.com/marinaglancy/moodle 2015-10-15 16:21:07 +08:00
Damyon Wiese
bb6ca6f360 MDL-51260 tags: Update the tags form element to use the autocomplete field
AMOS BEGIN
    REM [interestslist_help,moodle] Commas are no longer required
    REM [entertags,tag] Commas are no longer required
    REM [othertags,tag] Commas are no longer required
AMOS END
2015-10-15 12:03:35 +08:00
Jan C. Dageförde
ee20bdcb8a MDL-51679 course: Update groupmode CSS class
Changing groupmode of an activity via AJAX did not change the button's CSS class accordingly.
2015-10-14 14:33:20 +02:00
Eric Merrill
d76acdbc17 MDL-51610 course: Change section menu to "Edit" and order buttons 2015-10-12 11:53:33 -04:00
Dan Poltawski
69783d15da Merge branch 'MDL-50945-master' of git://github.com/xow/moodle 2015-10-07 12:14:47 +01:00