Commit graph

79694 commits

Author SHA1 Message Date
Cameron Ball
37c10287be
MDL-54847 MDL-54847 weblib: Support basic HTML media tags 2016-08-02 10:58:48 +08:00
Andrew Nicols
8dc3b7697b Merge branch 'MDL-55355-master' of git://github.com/lameze/moodle 2016-08-02 10:29:30 +08:00
Andrew Nicols
346cf5abb9 Merge branch 'MDL-55352-master-fix' of https://github.com/lameze/moodle 2016-08-02 10:10:38 +08:00
Simey Lameze
30452f23cb MDL-55352 mod_feedback: Change series labels on multi choice rated 2016-08-02 09:23:18 +08:00
Andrew Nicols
b34d7e700b Merge branch 'MDL-54879-master' of git://github.com/junpataleta/moodle 2016-08-02 09:10:19 +08:00
Stephen Bourget
952c6e2697 MDL-55398 mod_feedback: prevent direct script access to lib files. 2016-08-01 20:53:46 -04:00
Andrew Nicols
8f33657dae Merge branch 'MDL-55140_m32v2' of https://github.com/sbourget/moodle 2016-08-02 08:48:36 +08:00
Dan Poltawski
6349765c44 Merge branch 'MDL-55360-master-workshopgradepass' of git://github.com/mudrd8mz/moodle 2016-08-01 18:57:00 +01:00
AMOS bot
fa76a5b0af Automatically generated installer lang files 2016-08-02 00:04:17 +08:00
Dan Poltawski
4638a26eca MDL-55376 assign: trailing whitespace 2016-08-01 16:07:43 +01:00
Dan Poltawski
b9fe2f38d4 Merge branch 'MDL-55376-master' of git://github.com/cameron1729/moodle 2016-08-01 16:07:00 +01:00
Dan Poltawski
65a427cc64 Merge branch 'MDL-55367-master' of git://github.com/lameze/moodle 2016-08-01 14:25:38 +01:00
Dan Poltawski
066e31fd74 Merge branch 'MDL-55323-master' of git://github.com/junpataleta/moodle 2016-08-01 13:58:20 +01:00
Dan Poltawski
307e63cb00 Merge branch 'MDL-55374-master' of git://github.com/damyon/moodle 2016-08-01 13:50:37 +01:00
Dan Poltawski
a5cb07477c Merge branch 'MDL-55352-master' of git://github.com/lameze/moodle 2016-08-01 09:30:33 +01:00
Andrew Nicols
1a1771b944 Merge branch 'MDL-53152-master' of git://github.com/junpataleta/moodle 2016-08-01 15:04:17 +08:00
Jun Pataleta
259bf04f8a MDL-53152 theme: Add parentheses to variable calculations 2016-08-01 13:40:38 +08:00
Simey Lameze
c5a90a4a5d MDL-55367 report_log: Prevent invalid time to be passed to Charts API 2016-08-01 12:57:57 +08:00
Jake Dallimore
0cced3ced3 MDL-54745 mod_assign: Remove leftover changegradewarning string and js 2016-08-01 12:48:25 +08:00
Andrew Nicols
5ee6125591 Merge branch 'MDL-55266-master' of git://github.com/jleyva/moodle 2016-08-01 10:49:15 +08:00
Andrew Nicols
f00d967b43 Merge branch 'MDL-50286_m32v3' of https://github.com/sbourget/moodle 2016-08-01 09:54:06 +08:00
Stephen Bourget
3dee255163 MDL-50286 report_log: Allow filtering by event origin. 2016-07-31 21:45:27 -04:00
Jake Dallimore
243ddbcf50 MDL-55322 assignfeedback_editpdf: Prevent scroll when moving comments
Prevent the default scroll behaviour when using gestures to move
comments on the mobile site.
2016-08-01 09:43:03 +08:00
Simey Lameze
2356c4f6f2 MDL-55355 core: Change chart link text when status change 2016-08-01 09:13:59 +08:00
Marina Glancy
07d4777816 MDL-33741 file_info: show courses in hidden categories
This also has a couple of bugfixes:
- file_info_context_system::get_children() was looking for courses with parent=0, it is impossible, block removed;
- file_info_context_coursecat::get_area_coursecat_description() was checking the wrong capability to view files in description
2016-08-01 09:12:36 +08:00
Marina Glancy
b195a5b331 MDL-33741 file_info: check capability when serving file in coursecat description 2016-08-01 09:12:18 +08:00
Andrew Nicols
78c19679d6 Merge branch 'MDL-55289-master-exsubmission' of git://github.com/mudrd8mz/moodle 2016-08-01 08:46:54 +08:00
Dan Poltawski
b4fe4e25b2 MDL-55167 stylelint: disable some rules in grunt
These will be fixed in a later issue
2016-07-30 13:07:54 +01:00
Dan Poltawski
3bd777652e MDL-55167 less: Add some stylelint exceptions to deal with later
1) Use of REM units in course.less
2) CSS hacks (MDL-55142)
2016-07-30 13:07:54 +01:00
Dan Poltawski
16fed4663b MDL-55167 less: fix line over length 2016-07-30 13:07:54 +01:00
Dan Poltawski
c73de4d5f1 MDL-55167 less: remove empty blocks 2016-07-30 13:07:54 +01:00
Dan Poltawski
75b68df3ee MDL-55167 less: reformat one line statemets into multiple lines 2016-07-30 13:07:53 +01:00
Dan Poltawski
c2d3fe21ef MDL-55167 less: add missing linebreak seperators
Detected by
http://stylelint.io/user-guide/rules/at-rule-empty-line-before/
2016-07-30 13:07:53 +01:00
Dan Poltawski
0e878352f1 MDL-55167 less: fix spacing of selectors
Detected by
http://stylelint.io/user-guide/rules/block-opening-brace-space-before/
http://stylelint.io/user-guide/rules/selector-combinator-space-after/
http://stylelint.io/user-guide/rules/at-rule-name-space-after/
http://stylelint.io/user-guide/rules/selector-list-comma-space-before/
http://stylelint.io/user-guide/rules/media-feature-colon-space-before/
http://stylelint.io/user-guide/rules/selector-list-comma-newline-after/
2016-07-30 13:07:53 +01:00
Dan Poltawski
23bb9e242a MDL-55167 less: fix missing semi colons
Detected by:
http://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon/
2016-07-30 13:07:52 +01:00
Dan Poltawski
418b932843 MDL-55167 less: fix spacing on properties
Detected by stylelint rules:
http://stylelint.io/user-guide/rules/declaration-colon-space-after/
http://stylelint.io/user-guide/rules/declaration-colon-space-before/
http://stylelint.io/user-guide/rules/function-comma-space-after/
http://stylelint.io/user-guide/rules/declaration-bang-space-before/
2016-07-30 13:07:52 +01:00
Dan Poltawski
855fc5d853 MDL-55167 grunt: add stylelint css linting 2016-07-30 13:07:52 +01:00
Stephen Bourget
a0e13871cf MDL-45734 Badges: Add additional events 2016-07-29 21:51:05 -04:00
Stephen Bourget
756e3c55c0 MDL-44369 Calendar: add events for subscriptions 2016-07-29 08:56:20 -04:00
Cameron Ball
867b413181
MDL-55376 mod_assign: Fix bug stopping admin from editing submissions 2016-07-29 19:05:22 +08:00
David Monllao
2a36babbc8 MDL-55357 search: Contents include UTF8 characters, adding u modifier 2016-07-29 14:36:17 +08:00
Simey Lameze
9698ca2d20 MDL-55352 core: Label values series should override tooltip 2016-07-29 13:22:59 +08:00
Damyon Wiese
fca211bf05 MDL-55374 mod_assign: Force utf-8 for DOMDocument
This prevents charset issues on some sites.
2016-07-29 10:43:25 +08:00
Andrew Nicols
56b9e796af MDL-24343 core: Deprecate zip_files 2016-07-29 08:15:16 +08:00
AMOS bot
72da3d5ef2 Automatically generated installer lang files 2016-07-29 00:05:37 +08:00
Juan Leyva
45fec98358 MDL-55266 user: New WS core_user_get_user_preferences 2016-07-28 12:08:58 +02:00
Juan Leyva
145900708c MDL-54941 webservice: Refactor file handling in WS
This commit reduces boilerplate code.
It also forces WS returning files to always return the following
fields: filename, filepath, mimetype, filesize, timemodified and
fileurl.
2016-07-28 12:07:04 +02:00
Dani Palou
3b40103c2f MDL-55348 wiki: Convert 'section' WS params to PARAM_RAW 2016-07-28 10:35:24 +02:00
David Mudrák
aea8c5541e MDL-55360 workshop: Add tests for setting grades to pass via mod form
These scenarios should cover common cases of defining the grades to pass
pass via the workshop settings form. Note that behaviour of the fields
in terms of locale-specific decimals input (MDL-51806) is not covered
with these tests as I want to avoid installation of additional language
pack. Instead, I assume that functionality of unformat_float() is tested
separately in the core.
2016-07-28 09:54:43 +02:00
David Mudrák
3c4cc10eff MDL-55360 workshop: Emptying grades to pass should set them to zero
When editing existing workshop with a grade to pass defined, when the
field is emptied, it should be interpreted as setting it to zero. This
was not happening because unformat_float replaces the field with null,
therefore effectively unsetting it.

By casting to float, we interpret all empty values (including null) as
zeros. This behaviour is consistent with how gradebook setup UI works.
2016-07-28 09:54:43 +02:00