84902 Commits

Author SHA1 Message Date
Dan Poltawski
cafd4bc67e Merge branch 'MDL-59086_master' of git://github.com/markn86/moodle 2017-06-06 08:44:46 +01:00
Jun Pataleta
4b64128f5b Merge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle 2017-06-06 14:47:52 +08:00
Jun Pataleta
c9a3a21c31 Merge branch 'MDL-49398_final4' of https://github.com/sk-unikent/moodle 2017-06-06 12:43:14 +08:00
Mark Nelson
0a5d493c70 MDL-59076 format_weeks: if 'enddate' does not exist in backup then use 0 2017-06-06 12:39:38 +08:00
Jun Pataleta
4079a000ef Merge branch 'MDL-58646-master' of git://github.com/danpoltawski/moodle 2017-06-06 12:24:07 +08:00
Jake Dallimore
98acb48366 Merge branch 'MDL-58900-master' of git://github.com/lameze/moodle 2017-06-06 11:37:16 +08:00
Nick Phillips
3543eabc36 MDL-58820 question: Allow styling response numbering in MCQs 2017-06-06 15:29:41 +12:00
Nadav Kavalerchik
06bedaf83f MDL-50011 qtype_multichoice: add settings (defaults for new questions) 2017-06-06 15:23:41 +12:00
Simey Lameze
01d22ff8c6 MDL-58991 report_stats: use same date handling on chart rendering
This commmit fixes applies the same date handling used on stats
table render to the charts render.
2017-06-06 09:46:23 +08:00
Eloy Lafuente (stronk7)
fa58bc0a36 Merge branch 'MDL-58826_master' of https://github.com/marxjohnson/moodle 2017-06-06 01:44:18 +02:00
Eloy Lafuente (stronk7)
31409e0718 Merge branch 'MDL-59096-master' of https://github.com/sammarshallou/moodle 2017-06-06 01:34:21 +02:00
Eloy Lafuente (stronk7)
39f0cb8b8f Merge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle 2017-06-05 23:38:23 +02:00
Eloy Lafuente (stronk7)
f3f4c142fc Merge branch 'MDL-58970-master' of https://github.com/abias/moodle 2017-06-05 22:27:52 +02:00
David Mudrák
710a2414d8 MDL-53240 filetypes: Use multibyte safe variant of strtolower
Credit goes to failed unit tests.
2017-06-05 20:50:28 +02:00
Matt McDermott
d55c1ef2d2 MDL-36501 grades: Include 'Parent Category' on create grade item
Force the edit and creat grade item forms to include the same content. This is accomplished by creating a new grade item and setting the correct category. From there the same logic applied when editing a grade item is applied when creating a grade item.
2017-06-05 09:22:28 -07:00
Skylar Kelty
4bdd769309
MDL-49398 accesslib: Update for 3.4 and cleanups 2017-06-05 15:13:07 +01:00
Dan Poltawski
10cd2bfad3 Merge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle 2017-06-05 14:54:54 +01:00
Dan Poltawski
646916b914 Merge branch 'MDL-59080_master' of git://github.com/lazydaisy/moodle 2017-06-05 12:49:03 +01:00
Dan Poltawski
e796817c97 Merge branch 'MDL-58567-master-v2' of https://github.com/sammarshallou/moodle 2017-06-05 12:39:47 +01:00
Mark Johnson
7e732c5d5a MDL-58826 theme_boost: Prevent fatal errors in action menu behat steps 2017-06-05 09:01:20 +01:00
AMOS bot
498566c065 Automatically generated installer lang files 2017-06-04 00:06:57 +08:00
AMOS bot
6b178cd439 Automatically generated installer lang files 2017-06-04 00:06:57 +08:00
Dan Poltawski
37c9bbe37d Merge branch 'MDL-59091_gherkinlint_fix' of https://github.com/mrmark/moodle 2017-06-03 08:54:43 +01:00
Alexander Bias
79675c05d0 MDL-58970 themes: Fix references to core/loginform template 2017-06-02 20:29:24 +02:00
Mark Nielsen
965c700dad MDL-59091 behat: Fix gherkinlint errors
Just whitespace problems.
2017-06-02 09:31:40 -07:00
Mark Nielsen
58923606e4 MDL-59091 behat: Properly propagate gherkinlint exit code 2017-06-02 09:27:48 -07:00
AMOS bot
a891c41cbe Automatically generated installer lang files 2017-06-03 00:07:17 +08:00
sam marshall
6d7c06a990 MDL-59096 Tasks: Web running local plugin scheduled tasks fails 2017-06-02 17:06:28 +01:00
sam marshall
03440bcb37 MDL-58567 Upgrade: Show upgrade times 2017-06-02 17:05:35 +01:00
Dan Poltawski
45de56112a MDL-50265 tests: update tag events tests
Remove use of final deprecated functions. Sadly these tests were not
properly updated when the functions were deprecated and continued to use
the deprecated functions. I've removed the uses of the final deprecated
functions and updated a few of the non-final-deprecation uses (but not
all)
2017-06-02 11:11:37 +01:00
Dan Poltawski
b6989e92ba MDL-50265 tests: remove deprecated useragent tests 2017-06-02 11:11:37 +01:00
Dan Poltawski
e4f4d34131 MDL-50265 deprecatedlib: final deprecation of 3.0 deprecations
These functions have now been deprecated for 4 releases, so are being
removed according to:
https://docs.moodle.org/dev/Deprecation#Step_2._Final_deprecation
2017-06-02 11:11:37 +01:00
Tony Levi
95c0b810bf
MDL-49398 accesslib: Change competency to use new accesslib function 2017-06-02 10:04:09 +01:00
Tony Levi
e705e69e7f
MDL-49398 accesslib: Simplify role definition loading and cache
This change removes the complex and partial loading of role definition data for users.
It is replaced by keeping one system-wide definition for each role in MUC.

This is cheaper to regenerate as it avoids complex database queries (repeated LEFT JOIN to context).
Memory usage is kept low thanks to array CoW for each user access data.
2017-06-02 07:53:23 +01:00
Mary Evans
7bfebce0c0 MDL-59080 theme_boost: make drawer.scss variables default
--author="Urs Hunkler <urs.hunkler@unodo.de>"
2017-06-02 07:53:03 +01:00
Dan Poltawski
2fe51fa327 MDL-58646 lib: import latest sabberworm/PHP-CSS-Parser
This version includes a fix[1] contributed by Frédéric Massart investigating
our compilation time issues, which significantly improves the speed of
processing font awesome.

Thanks, Fred!

[1] https://github.com/sabberworm/PHP-CSS-Parser/pull/120
2017-06-02 07:45:57 +01:00
Dan Poltawski
50c277a5d8 MDL-57139 js: built 2017-06-01 14:54:40 +01:00
Dan Poltawski
751ec02540 MDL-57139 amd/templates: catch unhandled promise failure 2017-06-01 14:54:39 +01:00
Dan Poltawski
4276f9c717 MDL-57139 amd/user_date: always return 2017-06-01 14:54:39 +01:00
Dan Poltawski
f8587005cb MDL-57139 survey: fix promise return 2017-06-01 14:54:39 +01:00
Dan Poltawski
a1ce326669 MDL-57139 course: update menu action promises to best practices 2017-06-01 14:54:38 +01:00
Dan Poltawski
72ed079f60 MDL-57139 myoverview: Use promise best practices
Simplified promise
* Always return
* Make use of promise chaining features to simplfy flow
2017-06-01 14:54:38 +01:00
Dan Poltawski
08c2360e4a MDL-57139 competencies: ensure promise best practices 2017-06-01 10:27:59 +01:00
Dan Poltawski
1fea12b0eb MDL-57139 mod_lti: ensure promise best practices 2017-06-01 10:27:59 +01:00
Dan Poltawski
7efdac5fc3 MDL-57139 tool_usertours: return in promises 2017-06-01 10:27:59 +01:00
Dan Poltawski
e58ecca175 MDL-57139 core/fragment: simplify promises and always return
We can remove the DIY promise handling because the ajax request can just
return a promise itself.
2017-06-01 10:27:59 +01:00
Dan Poltawski
d85d7831d0 MDL-57139 assign: ensure promise best practices 2017-06-01 10:27:58 +01:00
Dan Poltawski
877d997fe1 MDL-57139 messages/notifications: ensure promise best practices
Previously there were a few issues with the code

* We were capturing a promise without then then .then() that came after
  it, so our promise wouldn't always be completely resolved by the time
  then next piece of code was operating on it

* We weren't catching all errors with .catch()
2017-06-01 10:27:58 +01:00
Dan Poltawski
66a91ddada MDL-57139 eslint: enable eslint-plugin-promise rules
For promise best practices
2017-06-01 10:27:58 +01:00
Dan Poltawski
78ab4f741b weekly release 3.4dev 2017-06-01 09:28:17 +01:00