Andrew Nicols
8bb7148a9a
Merge branch 'MDL-56168-master' of git://github.com/FMCorz/moodle
2016-10-03 08:20:38 +08:00
John Beedell
b5cbcc4dfb
MDL-55911 Quiz: Accessibility, Label blanks in DD questions
2016-09-30 09:43:59 +01:00
John Beedell
905953909f
MDL-31243 access/enrol libs: rename new groups functions
2016-09-30 09:27:59 +01:00
John Beedell
9121bb2d23
MDL-31243 access/enrol libs: new fns returning useful SQL fragments
...
Refactor similar SQL generation code from get_users_by_capability
and get_enrolled_uses to make get_with_capability_sql.
Modified files: accesslib.php, enrollib.php, grouplib.php, new tests.
2016-09-30 09:27:56 +01:00
John Beedell
9f5170e955
MDL-31243 access/enrol libs: move enrol functions
2016-09-30 09:27:53 +01:00
Dan Poltawski
e63d89a51d
MDL-55168 assign: fix some incorrectly defined css transitions
...
The lint error suggests as though we were waiting 0s to do a
transiition of duration of 0s (i.e. nothing), but thats not actually
the case.
2016-09-30 09:25:30 +01:00
Dan Poltawski
efd03a8e71
MDL-55168 report_competency: delete empty css file
2016-09-30 09:25:26 +01:00
Dan Poltawski
693652b78d
MDL-55168 css: fix various errors detected by stylelint
...
Ignored properties, invalid propertiies, duplicates, invalid selectors..
Detected by stylelint rules:
http://stylelint.io/user-guide/rules/declaration-block-no-ignored-properties
http://stylelint.io/user-guide/rules/selector-type-no-unknown
http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties
http://stylelint.io/user-guide/rules/max-line-length
http://stylelint.io/user-guide/rules/no-browser-hacks
2016-09-30 09:25:25 +01:00
Dan Poltawski
99fe296eb2
MDL-55168 css: remove 0-length units
2016-09-30 09:25:25 +01:00
Dan Poltawski
aea8eaecde
MDL-55168 css: use shorthand colour props when possible
2016-09-30 09:25:24 +01:00
Dan Poltawski
e90cef839c
MDL-55168 css: ignore some stylelint complains
...
1) Legacy css where it would not be a good use of time to
update.
2) Ignored some long lines and added todo
3) Fixed some line length issues
2016-09-30 09:25:24 +01:00
Dan Poltawski
ed6aea6002
MDL-55168 css: fix spacing of selectors
2016-09-30 09:25:24 +01:00
Dan Poltawski
bc33e9bd3f
MDL-55168 css: reformat plain css with stylefmt
2016-09-30 09:25:23 +01:00
Dan Poltawski
d5dff6316a
MDL-55168 grunt: Add plain css linting
2016-09-30 09:25:23 +01:00
Dan Poltawski
195f42de40
MDL-56164 theme_boost: remove empty stylesheet
2016-09-30 08:55:06 +01:00
Dan Poltawski
ad9da28cb5
MDL-56164 theme_boost: remove empty stylesheet
2016-09-30 08:50:47 +01:00
Neill Magill
c3e1c98f04
MDL-52317 Atto: Large resized images may display scroll bars
...
When an image was added via Atto and it was set to resize automatically
if the alignment was set to Top, Middle or Bottom when it was made
smaller then a vertical scroll bar would be displayed.
This was caused by the interaction of the margin settings on the image
and the 100% width set via the img-responsive css class. The width of
an element only includes the content area and not any borders, padding
or margins.
This change stops atto hardcoding the styles for image alignment into
the images style tag, it instead adds a class that defines the alignment
the image should have.
This change has the benefit that themers will now be able to adjust
how atto image alignments work if they wish.
Images added before this patch will continue to have the issue
until they are edited by the plugin, at which time their legacy style
will be removed and the new alignment method will be added.
Thanks to Andrew Nicols who provided a refactor for the Alignment
and style detection code.
2016-09-30 08:48:33 +01:00
Rajesh Taneja
eed52d64bb
MDL-56210 behat: Ensure behat waits for dependancy manager
2016-09-30 10:19:09 +08:00
Dan Poltawski
c561b23d8f
MDL-55886 block_rss_client: fix oracle compatibility
2016-09-29 16:55:07 +01:00
Dan Poltawski
81c9e018b4
MDL-56172 admin: remove cssoptimiser config options
2016-09-29 16:41:29 +01:00
Dan Poltawski
d52ebf11d3
MDL-56172 css: remove css optimiser
...
This functionality no longer makes sense inside Moodle now that we have
external tools like stylelint to help us with this. It was not able to
be used by any core themes.
The code was always marked as not for external use.
2016-09-29 16:40:40 +01:00
Dan Poltawski
cdcfc4bcd2
MDL-55165 bootstrap: built css
2016-09-29 16:39:30 +01:00
Dan Poltawski
13e0d7f3e6
MDL-55165 stylelint: remove unset redundant properities rule
...
http://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values/
Fred and I had discussed enabling this rule, but think it's better for
CSS newcomers to be disabled, so lets remove trace of it.
2016-09-29 16:39:30 +01:00
Dan Poltawski
07482105c1
MDL-55165 less: use lowercase hex codes for colours
...
And use shorthand where possible.
Detected by
http://stylelint.io/user-guide/rules/color-hex-case/
http://stylelint.io/user-guide/rules/color-hex-length/
When reviewing this change, you can hide the case changes by
reviewing with:
GIT_EXTERNAL_DIFF='diff -ipu #' git diff --ext-diff
2016-09-29 16:39:30 +01:00
Dan Poltawski
65f9a71fbd
MDL-55165 less: ensure no units on 0 length things
...
Detected by http://stylelint.io/user-guide/rules/length-zero-no-unit/
2016-09-29 16:39:30 +01:00
Dan Poltawski
62ce522cde
MDL-55165 less: fix various errors in less
...
Detected by stylelint rules:
http://stylelint.io/user-guide/rules/declaration-block-no-ignored-properties/
http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/
http://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides/
http://stylelint.io/user-guide/rules/value-keyword-case/
http://stylelint.io/user-guide/rules/selector-type-no-unknown/
http://stylelint.io/user-guide/rules/selector-type-no-unknown/
2016-09-29 16:39:30 +01:00
Eloy Lafuente (stronk7)
83edfba240
MDL-56127 forms: multiple select dependencies fixed
...
This is a fix for a regressions introduced by MDL-54778. It
seems that escaped all our tests because there isn't any case
of such a dependency in core, but Daniele Cordella was facing
it within his surveypro module.
2016-09-29 16:53:08 +02:00
Frédéric Massart
a4808411a4
MDL-56056 theme_boost: Align completion icons with activity menus
2016-09-29 15:04:13 +02:00
Dan Poltawski
ddd8dc0d1b
weekly release 3.2dev
2016-09-29 12:42:50 +01:00
Dan Poltawski
e77a0e0922
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2016-09-29 12:42:48 +01:00
David Mudrák
b706012657
MDL-56181 lang: Fix CI and CZ country short names to match ISO 3166
2016-09-29 11:47:11 +02:00
Frédéric Massart
36553104da
MDL-56168 theme_boost: Make default accent colour match preset
2016-09-29 10:02:13 +02:00
Simey Lameze
48dc4059da
MDL-56000 lib: upgrade PHPMailer to 5.2.16
2016-09-29 15:09:10 +08:00
Jun Pataleta
6c43d831f0
MDL-49609 mod_lti: Fixes for problems found in testing
...
* Load contentitem_return doc before processing
* Also use new AMD modal instead of the YUI one.
* Remove conversion of text columns in union queries
- Since the value column in lti_types_config was changed to a
text type, there is no need to use $DB->sql_compare_text()
for the lti_types columns involved in the union queries in
lti_get_type_config().
2016-09-29 11:13:50 +08:00
Eloy Lafuente (stronk7)
d231f3cb0d
Merge branch 'MDL-53870-master' of git://github.com/jleyva/moodle
2016-09-29 01:45:02 +02:00
Eloy Lafuente (stronk7)
d0deb28c24
Merge branch 'MDL-55804_master' of git://github.com/dmonllao/moodle
2016-09-29 01:14:33 +02:00
Rajesh Taneja
71ee163664
MDL-49609 behat: Replace deprecated step
2016-09-29 07:06:26 +08:00
Eloy Lafuente (stronk7)
b3823c4365
Merge branch 'MDL-56019-master' of git://github.com/dpalou/moodle
2016-09-28 20:08:31 +02:00
Eloy Lafuente (stronk7)
1138bbc69e
Merge branch 'wip-mdl-55879' of https://github.com/rajeshtaneja/moodle
2016-09-28 20:05:08 +02:00
Eloy Lafuente (stronk7)
7bc32ebccd
Merge branch 'MDL-55785-master' of git://github.com/jleyva/moodle
2016-09-28 19:59:20 +02:00
Serge Gauthier
ceee6e9bd8
MDL-55964 report_competency: Missing blocks in Competency breakdown
...
Fix also the breadcrumb.
2016-09-28 13:16:45 -04:00
Dan Poltawski
2b53e97cd3
MDL-56167 setup: bail out on lower version requirements in all cases
...
It's quite possible to get incomrehensible errors otherwise
2016-09-28 15:35:34 +01:00
Frédéric Massart
d1de864fab
MDL-56166 theme_boost: Apply default dashboard styles to dashboard only
2016-09-28 15:31:58 +02:00
Dan Poltawski
cf1d2cb073
Merge branch 'MDL-55420-master' of git://github.com/FMCorz/moodle
2016-09-28 14:03:52 +01:00
Frédéric Massart
89d9895b8c
MDL-55420 theme_boost: Migrate CSS added since Boost development started
2016-09-28 14:51:29 +02:00
Frédéric Massart
bf089a18f3
MDL-56003 theme_boost: Update Bootstrap to v4.0.0-alpha.4
2016-09-28 13:00:58 +02:00
Dan Poltawski
8793ebdd15
Merge branch 'MDL-55071-master-behat-fixes-is-back' of https://github.com/FMCorz/moodle
2016-09-28 12:00:17 +01:00
Dani Palou
43695b6a72
MDL-56160 ws: Return site course ID in get_site_info
2016-09-28 12:26:32 +02:00
Frédéric Massart
17a6f94749
MDL-55071 behat: Action menus can be opened without Javascript
...
Standard action menus expand automatically when Javascript is disabled
thus there is no need to open them. In Boost, they expand when they're
hovered or when the focus is set on their trigger.
2016-09-28 11:50:09 +02:00
Frédéric Massart
a82c49473b
MDL-55071 behat: Adapting form_row selector to reflect recent changes
...
Labels are no longer used for static elements. The form row selector
has been changed to include "labels" from static elements.
2016-09-28 11:13:53 +02:00