Tobias Reischmann
4acb33f67b
MDL-59173 tablelib.php: changed default of $params in set_sql to array()
...
Default of $params = null leads to a problem in query_db().
There this value is used in array_merge, which can not handle null
values. If null is passed for one of the params the outcome will be null
independent of the value of the second param!
2017-06-16 10:26:31 +02:00
Jun Pataleta
20456abffc
Merge branch 'MDL-58248-master-iconfix' of github.com:snake/moodle
2017-06-15 17:08:03 +08:00
Mark Nelson
3dabb083ad
MDL-59140 core: apply limit only on courses to be shown in specific nav
...
There can be a different number of courses displayed in the
'Navigation' block and in the 'Flat' navigation. This patch
decides what courses we want to display on each, then
applies the 'navcourselimit' setting individually.
2017-06-15 13:10:14 +08:00
Jake Dallimore
0cd6e1bfec
MDL-58248 theme: use pix icon for side panel menu icon instead of char
...
Replaces the trigram for heaven char with the fa-bars pix icon for
improved support with all screen readers.
2017-06-15 09:57:52 +08:00
Jake Dallimore
bb931788cc
Merge branch 'MDL-59142-master' of git://github.com/lameze/moodle
2017-06-14 12:38:11 +01:00
Mark Nelson
f25e2b1dc7
MDL-55548 core: fixed misleading comment in upgrade code
2017-06-14 12:36:38 +01:00
Dan Poltawski
569907002f
Merge branch 'MDL-59140_master' of git://github.com/markn86/moodle
2017-06-14 12:36:37 +01:00
Mark Nelson
c8f2e0e96b
MDL-59140 core: upgrade 'navcourselimit' if set to old default value
2017-06-14 12:32:05 +01:00
Mark Nelson
fa238237a0
MDL-59140 core: limit the number of courses shown in the navigation
...
If the user is enrolled in more courses than the limit then a 'More...'
link is displayed which takes the user to the course/index.php page.
2017-06-14 12:32:04 +01:00
Jake Dallimore
63aa8c27be
Merge branch 'MDL-58136-master' of git://github.com/damyon/moodle
2017-06-14 12:31:56 +01:00
Eloy Lafuente (stronk7)
e0f8686f39
Merge branch 'MDL-40015-master' of git://github.com/jleyva/moodle
2017-06-14 12:30:41 +01:00
Eloy Lafuente (stronk7)
f30af085a9
Merge branch 'MDL-58318-master' of git://github.com/damyon/moodle
2017-06-14 12:30:39 +01:00
Damyon Wiese
c561297d26
MDL-58136 navigation: Ensure we have all course fields
...
To properly classify courses we need the start/end dates etc.
2017-06-13 10:07:54 +08:00
Damyon Wiese
ddce4f4ba9
MDL-58136 cache: Add a course completion cache
...
The last change added 1 db read per course per page which is not OK. Add a cache to compensate.
2017-06-13 10:03:00 +08:00
Damyon Wiese
d07373f289
MDL-58136 boost: Limit courses in flatnav
...
Only show "in-progress" courses in the boost flat navigation (as per the myoverview block).
2017-06-13 10:02:14 +08:00
Simey Lameze
4cc2f33b08
MDL-59142 core_theme: cache post-processed css
...
Thanks Cameron Ball for the base patch
2017-06-13 09:35:35 +08:00
Dan Poltawski
a52d3abbb6
Merge branch 'MDL-55548_master' of git://github.com/markn86/moodle
2017-06-12 10:00:24 +01:00
Devang Gaur
4ddf7c6025
MDL-55548 course: added timemodified field to course_sections table
2017-06-12 15:52:53 +08:00
Jake Dallimore
8430250a2f
MDL-59042 upgrade: fix for non existent table in core upgrade.
...
Moved upgrade step to the assign mod where table is known to exist.
2017-06-12 15:03:31 +08:00
Jake Dallimore
3b3460bc73
Merge branch 'MDL-57103-master' of https://github.com/xow/moodle
2017-06-12 13:58:14 +08:00
Jake Dallimore
4cd1d4c70f
MDL-59042 upgrade: datafix assign group overrides with null priority
...
Find any events records for assign group overrides having null priority
and sets their priority to the sortorder value from the corresponding
assign_overrides table entry.
2017-06-12 13:18:40 +08:00
John Okely
c9a4d37c3d
MDL-57103 lib: Force ajax renderer for all ajax fatal errors
2017-06-12 10:36:42 +08:00
Juan Leyva
67adb4d8c1
MDL-40015 core_course: Fix description of duplicate_course WS
...
It said that the duplication didn’t include user data, but that’s not
true since there is a parameter to include it.
2017-06-08 10:19:47 +01:00
Jun Pataleta
83740b9fc1
MDL-58567 upgradelib: Do not show upgrade times on install
2017-06-07 16:15:40 +08:00
Eloy Lafuente (stronk7)
6fff2a911a
Merge branch 'MDL-50265-master' of git://github.com/danpoltawski/moodle
2017-06-06 19:27:59 +02:00
Jake Dallimore
58a4dacf87
Merge branch 'MDL-57304_template_comments_fix' of https://github.com/gthomas2/moodle
2017-06-06 15:54:33 +08: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
Jun Pataleta
4079a000ef
Merge branch 'MDL-58646-master' of git://github.com/danpoltawski/moodle
2017-06-06 12:24:07 +08: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
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
Alexander Bias
79675c05d0
MDL-58970 themes: Fix references to core/loginform template
2017-06-02 20:29:24 +02: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
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
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
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
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
David Mudrák
8cf36e9c81
MDL-53240 filetypes: Introduce admin_setting_filetypes class
...
This new type of admin settings makes use of the filetypes browser but
for the admin settings.
2017-06-01 09:48:45 +02:00
David Mudrák
8b493eb09d
MDL-53240 filetypes: Enhance the filetypes element with a types browser
2017-06-01 09:20:07 +02:00
John Okely
86bb4f5bf2
MDL-53240 filetypes: Add functions to be used for input validation
2017-06-01 09:18:38 +02:00
David Mudrák
e3ad9db6b6
MDL-53240 filetypes: Add methods for generating the browser tree content
...
These new methods will be used to render the tree of file types groups
and extensions in the browser widget.
Co-Authored-By: John Okely <john@moodle.com>
2017-06-01 09:18:38 +02:00