Frédéric Massart
258143e34d
MDL-56005 output: Support prepending SCSS code instead of variables only
2016-10-10 10:59:52 +02:00
David Monllao
e8cd446ecd
Merge branch 'MDL-45388-master' of git://github.com/danpoltawski/moodle
2016-10-10 16:59:06 +08:00
Tony Butler
3cd718e859
MDL-56324 assignfeedback_editpdf: Get current page no from page selector
...
When navigating to next/previous page or jumping to a comment
2016-10-10 09:52:19 +01:00
David Monllao
47e863bb73
Merge branch 'MDL-56162-master' of git://github.com/FMCorz/moodle
2016-10-10 16:48:07 +08:00
Dan Poltawski
a4a815f31c
MDL-56331 tests: update with current coordinates
...
The previous commit will minor updates to pass, but this updates
to current values.
2016-10-10 09:10:07 +01:00
Dan Poltawski
0b73876317
MDL-56331 tests: increase tolerance of coordinate tests
...
1) It seems the maxmind database is getting relatively frequent updates
which are causing differences in exact coordinates
2) GeoIP location lookups are not an exact science, I tried to pick some
ips which I thought would remain fairly static, but these things are
just guesses.
3) Moving to 2 decimal places should give us good enough results for
this test, according to:
http://gis.stackexchange.com/questions/8650/measuring-accuracy-of-latitude-and-longitude
"The second decimal place is worth up to 1.1 km: it can separate one
village from the next."
"The third decimal place is worth up to 110 m: it can identify a
large agricultural field or institutional campus."
2016-10-10 09:07:38 +01:00
Andrew Nicols
3a4c497c15
MDL-52051 oauth: expires_in is optional
2016-10-10 14:02:20 +08:00
David Monllao
e84c33d694
Merge branch 'MDL-56232-master' of git://github.com/junpataleta/moodle
2016-10-10 13:27:50 +08:00
Jun Pataleta
2d3130532c
MDL-56232 mod_lti: Fix logic for disabling mod_form fields
...
* Disable tool "Select content" button if selected preconfigured tool
does not support Content-Item, and if the selected option is set to
"Automatic, based on launch URL".
* Disable tool configuration form fields if selected preconfigured tool
does not support Content-Item, but enable these fields if the selected
option is set to "Automatic, based on launch URL".
* Behat tests also updated to check disabling/enabling of launch url field.
2016-10-10 13:16:25 +08:00
David Monllao
96d2a6fd5f
Merge branch 'MDL-56254-master' of git://github.com/FMCorz/moodle
2016-10-10 13:01:40 +08:00
David Monllao
fae446b9cb
Merge branch 'MDL-56097' of git://github.com/stronk7/moodle
2016-10-10 12:57:27 +08:00
David Monllao
cf489b75ef
Merge branch 'MDL-56216-master' of git://github.com/danpoltawski/moodle
2016-10-10 12:49:07 +08:00
Ryan Wyllie
a92eda4b26
MDL-56292 core: make popover region event bindings on open
2016-10-10 12:48:52 +08:00
Ryan Wyllie
0d602fdd37
MDL-56292 message: fix message_get_recent_conversations
...
Renamed the $user param to a more common pattern and removed the
readtable flags from the SQL, which are no longer required.
2016-10-10 12:48:52 +08:00
Ryan Wyllie
2d552f37b8
MDL-56292 core: auto_rows should fire event on element
2016-10-10 12:48:52 +08:00
Ryan Wyllie
eea7dd4156
MDL-56292 messages: made popover region css less specific
2016-10-10 12:48:52 +08:00
Ryan Wyllie
bab2ec4664
MDL-56292 message: fix param in notificationpreferences.php
2016-10-10 12:48:52 +08:00
Ryan Wyllie
df9986c87f
MDL-56292 message: split up preferences templates
2016-10-10 12:48:52 +08:00
Ryan Wyllie
5cdebf2d7e
MDL-56292 message: simplify get_popup_notifications function
2016-10-10 12:48:51 +08:00
Ryan Wyllie
dff7c82ecb
MDL-56292 message: fix sql query in mark_all_read_for_user
2016-10-10 12:48:51 +08:00
Mark Nelson
cc22b515ea
MDL-56333 core_message: fixed return type for get_profile WS
2016-10-10 12:48:51 +08:00
Russell Smith
82905c097c
MDL-51584 gradebook: use direct $CFG access for freeze.
...
get_config() is called a lot of times on freeze and is expensive,
using $CFG is much lower overhead.
2016-10-10 15:42:04 +11:00
Rajesh Taneja
389e5a0ff4
MDL-55522 behat: test realtive dates
2016-10-10 11:54:13 +08:00
Rajesh Taneja
45ff0ff5d8
MDL-55522 behat: Add support for relative dates
2016-10-10 11:54:13 +08:00
Frédéric Massart
7001a3b273
MDL-56081 theme_boost: Adjust user menu for switched role and login as
2016-10-10 10:22:43 +08:00
Jake Dallimore
4c1bc2422d
MDL-56228 phpunit: Force sort order in mod data generator test
2016-10-10 09:32:24 +08:00
AMOS bot
3a39ef7fb6
Automatically generated installer lang files
2016-10-09 00:06:11 +08:00
lazydaisy
42bbb05f44
MDL-51633 theme_bootstrapbase: Restyled ADD BLOCK to remove max-width.
2016-10-07 18:50:46 +01:00
AMOS bot
5f9aead5aa
Automatically generated installer lang files
2016-10-08 00:04:30 +08:00
Frédéric Massart
ba92a049f4
MDL-55736 theme_boost: Subtle highlighting of a section
2016-10-07 16:54:27 +02:00
Frédéric Massart
82b945dbbe
MDL-56095 output: Make the progress bar templatable
...
The order of inclusion of weblib and outputlib had to change
as the progress_bar (weblib) uses interfaces defined in outputlib.
2016-10-07 16:40:38 +02:00
Frédéric Massart
ff274ab0e5
MDL-56277 theme_boost: Define core maintenance renderer
2016-10-07 11:38:36 +02:00
Dan Poltawski
e4edbce35d
MDL-55835 js: fix lint issues
...
Some caused by eslint checks being better, some just not detected
because we don't show warnings well (MDL-54930).
2016-10-07 10:03:43 +01:00
Dan Poltawski
00c714f05c
MDL-55835 eslint: bump to v3.7.1
...
1) Bump eslint verson in npm
2) Enable tabs rule introduced in 3.2.0
3) With rules deprecated in 3.3.0 to their replacements
http://eslint.org/blog/2016/08/eslint-v3.3.0-released
4) Deprecate the use of M.str (fixes MDLSITE-3646) with new
no-restricted-properties introduced in 3.5.0
5) Fixup no-unused-vars - remove argsIgnorePattern which shouldn't have allowed
partial matches and turns out to be uncesssary
(detected because of https://github.com/eslint/eslint/issues/7250 in 3.6.0)
2016-10-07 10:00:26 +01:00
Michael Aherne
4582da2464
MDL-56319 blocks: Observe empty default blocks setting
2016-10-07 09:59:09 +01:00
Mark Nelson
de55cb1b53
MDL-56089 core_message: modified API so it is not tied to renderables
...
Also did some minor refactoring/tidying of the code.
2016-10-07 16:37:56 +08:00
Ryan Wyllie
a038fcf5d6
MDL-55635 message: create notifications page
2016-10-07 16:37:56 +08:00
Mark Nelson
e68a1cbdaa
MDL-55942 core: do not show popovers to the guest user
2016-10-07 16:37:56 +08:00
Mark Nelson
c476de1872
MDL-55942 core_message: moved SELECTORS and EVENTS to modules
...
Also took this time to capitalise the local module names.
2016-10-07 16:37:56 +08:00
Mark Nelson
48e8bdba13
MDL-55942 core_message: renamed the term 'people' to 'user'
2016-10-07 16:37:56 +08:00
Mark Nelson
66e1bdda3f
MDL-55942 core_message: cleaned the index.php page
...
Also removed the no longer used send_form.php file.
2016-10-07 16:37:55 +08:00
Mark Nelson
5b0769db68
MDL-54744 core_message: deprecated functions in message/lib.php
...
Also -
1) Made note of the deprecation as well as the functions and
files that were removed earlier in upgrade.txt.
2) Added new functions to api.php to replace the deprecated ones
that were being used in unit tests.
3) Removed files that are no longer being used.
2016-10-07 16:35:25 +08:00
Ryan Wyllie
7b477f5982
MDL-55813 message: add online/offline help icons on preferences page
2016-10-07 16:26:40 +08:00
Ryan Wyllie
fadb831658
MDL-56028 message: change forced to locked on preferences page
2016-10-07 16:26:40 +08:00
Mark Nelson
7b55aaa12e
MDL-55942 core: obey the mighty CiBoT
2016-10-07 16:26:40 +08:00
Mark Nelson
79f6c36c12
MDL-55942 core_message: moved added functionality from message/lib.php
2016-10-07 16:26:40 +08:00
Mark Nelson
c598f278ca
MDL-55942 core_message: removed WS function core_user_update_user
...
This function was ignoring any capabilities and was only used to
update the preferences, but could be potentially used to update
any user attribute. A new WS function has been introduced to
handle user preferences with the necessary capability checks.
2016-10-07 16:26:40 +08:00
Mark Nelson
ebf4e53209
MDL-55814 core_message: removed 'Web' notification hack
...
Reverts: MDL-54698 core_message: remove 'offline' checkbox
for popup processor
2016-10-07 16:26:40 +08:00
Mark Nelson
5f8e4733b8
MDL-56024 core_message: prevent WS error when messaging disabled
2016-10-07 16:26:40 +08:00
Mark Nelson
837941e9bc
MDL-55909 core_message: added missing WS capability checks
2016-10-07 16:26:40 +08:00