Andrew Nicols
8bb7148a9a
Merge branch 'MDL-56168-master' of git://github.com/FMCorz/moodle
2016-10-03 08:20:38 +08:00
lazydaisy
0ef2631d1c
MDL-55226 theme/index.php: Tidy up irregular spacing in original markup
2016-10-01 15:14:57 +01:00
lazydaisy
4b58fc61dd
MDL-55226 theme/index.php: Make theme selector responsive.
2016-10-01 14:58:12 +01:00
Tim Hunt
67c8c9b493
MDL-56069 quiz: nav buttons don't scroll to the right question
...
When there is more than one question on a page, say questions 2, 3 & 4.
Then when you click the navigation button for Q4, then it should load
the next page scrolled down so that Q4 is visible. That was not working.
2016-09-30 15:05:02 +01: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
c2b0213b08
MDL-55986 behat: Re-factor exiting api's
...
Return all features and contexts, so they can
be filtered well at one place
2016-09-30 13:32:20 +08:00
Damyon Wiese
f5ba9ac995
MDL-45969 editpdf: The logic for showing a previous attempt is wrong
...
It originally was only ever going to show static pdfs for older versions,
but this doesn't make sense in the UI for 3.1.
2016-09-30 13:15:00 +08:00
Rajesh Taneja
eed52d64bb
MDL-56210 behat: Ensure behat waits for dependancy manager
2016-09-30 10:19:09 +08:00
Jake Dallimore
20df227e22
MDL-56011 libraries: upgrade mustache.php to 2.11.1
2016-09-30 08:40:41 +08:00
Dan Poltawski
c561b23d8f
MDL-55886 block_rss_client: fix oracle compatibility
2016-09-29 16:55:07 +01:00
Deepa Jayaprakash
9b24ebd665
MDL-55861 course: Click drag&drop icon, incorrect activities shown
2016-09-29 16:42:10 +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
239fd05cc9
MDL-56016 theme_boost: Add plain preset for plain Moodle & Bootstrap
2016-09-29 15:18:40 +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
Juan Leyva
80adabef0e
MDL-55100 course: New Web Service get_courses_by_field
2016-09-29 12:20:49 +01:00
Frédéric Massart
23faa312a3
MDL-56194 admin: Allow HTML in admin setting headings
2016-09-29 13:18:35 +02: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