Commit graph

87518 commits

Author SHA1 Message Date
sam marshall
8736fbc190 MDL-60981 core_search: New indexpriority field in search index queue
Adds indexpriority field to the database table which holds a queue of
indexing requests. This allows for potentially large area reindexes
to have a lower priority, so as not to halt the special indexes that
run after a course restore.
2017-12-22 13:05:10 +00:00
sam marshall
25564a784b MDL-60981 core_search: Add get_contexts_to_reindex API
This new API returns a list of contexts for each search area. This
allows the areas to be reindexed in a sensible order (roughly
speaking, newest first) and also allows this to be controlled by
each area.

An implementation in the forum module means that forums are ordered
by the date of the most recent discussion, so that active forums
will be reindexed early even if they were created a long time ago.
2017-12-22 13:02:37 +00:00
Kathrin Osswald
e20b490da3 MDL-60363 conditional activities: Dim the icon also in student's view.
The class dimmed_text would only dim the activity's title and not the icon.
The teacher has both, icon and text, dimmed. So I added the class dimmed
to the class dimmed_text, what dims both elements for the students.
2017-12-22 13:14:22 +01:00
Kevin Wiliarty
8284ffede3 MDL-56246 gradebook: sitewide setting for grade export with feedback 2017-12-22 06:51:11 -05:00
Luca Bösch
4bfcdfed4e MDL-50246 quiz: Add selected questions to quiz btn disabled 0 selected 2017-12-22 09:25:12 +01:00
Luca Bösch
59d3deb9c0 MDL-60439 blocks: Tags block title multilang 2017-12-22 09:24:26 +01:00
Luca Bösch
11f2cec1ac MDL-51089 quiz: "Add" menu in edit quiz more keyboard accessible 2017-12-22 09:23:07 +01:00
Luca Bösch
1d8d3a0186 MDL-60359 theme_boost: have correct mc question check mark not overlap 2017-12-22 09:20:48 +01:00
Ryan Wyllie
0377e78e36 MDL-60966 external: contexts can be passed to external format funcs 2017-12-22 13:10:39 +08:00
Zig Tan
85ba9528c9 MDL-33886 backup: Add backup filename length < 255 char validation 2017-12-22 13:03:08 +08:00
Jun Pataleta
9993c1d02c weekly release 3.5dev 2017-12-22 14:41:56 +13:00
Jun Pataleta
847f10653d Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2017-12-22 14:41:55 +13:00
Eloy Lafuente (stronk7)
3e38589f77 Merge branch 'MDL-32113-master-xmldbnumeric' of https://github.com/mudrd8mz/moodle 2017-12-21 22:43:26 +01:00
David Mudrák
7cdb4266e0 MDL-32113 xmldb: Fix and extend unit tests for XMLDB_TYPE_NUMBER
These tests describe the new behaviour of the XMLDB_TYPE_NUMBER fields.
2017-12-21 19:48:04 +01:00
David Mudrák
521252d642 MDL-32113 xmldb: Support numeric fields with precision up to 38 digits
The patch increases the maximum supported precision (total number of
digits) for numeric (decimal) fields to 38 digits (current limit on
Oracle and MSSQL).

Additionally, we add our own limit for the whole number part of numeric
fields so they are no longer than integer fields (20 digits). This is to
make it easier to eventually convert from one field type to another.
Note that PHP floats commonly support precision of roughly 15 digits
anyway.
2017-12-21 19:48:03 +01:00
David Mudrák
457eaef9ec MDL-32113 xmldb: Remove hard-coded exceptions for long number fields
We are going to unify the maximum supported precision of all numeric
fields to 38 digits (which are the current Oracle and MSSQL limits). Get
rid of hard-coded exceptions for longer fields.
2017-12-21 15:37:08 +01:00
Mihail Geshoski
f44f9db418 MDL-43827 filepicker: Multiple actions not accessible using keyboard 2017-12-21 14:06:25 +08:00
David Monllao
ba211d5678 MDL-61062 analytics: Fix unit test wrong statement 2017-12-20 07:29:01 +01:00
Jun Pataleta
3cdb015828 Merge branch 'MDL-50666-master-fix' of git://github.com/junpataleta/moodle 2017-12-20 15:57:17 +13:00
Jun Pataleta
8403325c9e MDL-50666 core: Add sortorder to fields to be queried 2017-12-20 15:43:19 +13:00
Jun Pataleta
10c607a9bc MDL-50666 core: Add allowview key in install.xml 2017-12-20 14:46:42 +13:00
Jun Pataleta
b65198b81b Merge branch 'MDL-50666-master-fix' of git://github.com/junpataleta/moodle 2017-12-20 13:42:58 +13:00
Jun Pataleta
ccb8edbff5 MDL-50666 behat: Make feature names unique
* We need to have unique feature names for our Behat tests.
* I also removed the custom Behat tag @role_visibility as we only allow
Behat tags with the component name in Frankenstyle format.
2017-12-20 13:37:28 +13:00
Jun Pataleta
a8dffa2d03 Merge branch 'MDL-50666-master' of https://github.com/junpataleta/moodle 2017-12-20 12:49:28 +13:00
Jun Pataleta
eaf01ad4aa MDL-50666 group: Make test run without @javascript 2017-12-20 10:16:44 +13:00
Eloy Lafuente (stronk7)
a4e7e6f345 Merge branch 'MDL-60567-master' of git://github.com/damyon/moodle 2017-12-19 11:30:08 +01:00
Damyon Wiese
baa8c89a56 MDL-32113 qtype_numerical: Fix db upgrade step
The upgrade step was creating a column with no default, which is different to the structure
for a new install. This was picked up by the magical cibot.
2017-12-19 16:54:25 +08:00
Simey Lameze
39cda40590 MDL-61055 calendar: guest user cannot create events 2017-12-19 16:30:08 +08:00
Damyon Wiese
6e1bfdda19 Merge branch 'MDL-32113-master' of https://github.com/lucaboesch/moodle 2017-12-19 15:12:11 +08:00
Luca Bösch
ff4d8e802c MDL-32113 qtype numerical: Cope with oracle & mssql DB float 38 limit. 2017-12-19 08:07:22 +01:00
David Monllao
df060516ed Merge branch 'MDL-60938-master-2' of git://github.com/junpataleta/moodle 2017-12-19 07:53:15 +01:00
Mark Nelson
55595bcfcb MDL-40613 auth: added note in upgrade.txt 2017-12-19 14:13:35 +08:00
Mark Nelson
4afad1faeb MDL-40613 auth: moved lang string to common auth file
Also fixed call to get_string() and defined var 'errorlogtag'
in base class.

AMOS BEGIN
 MOV [auth_dbusernotexist,auth_db],[auth_usernotexist,auth]
AMOS END
2017-12-19 14:13:35 +08:00
Mark Nelson
4e133e775c MDL-40613 auth: avoid undefined property 'suspended_attribute'
Re-introduce MDL-53580.
2017-12-19 14:13:34 +08:00
Mark Nelson
220ca688c1 MDL-40613 auth_ldap: include necessary file for saving profile fields 2017-12-19 14:13:34 +08:00
Albert Gasset
2c977ceb29 MDL-40613 auth_ldap: sync custom profile fields 2017-12-19 14:13:34 +08:00
David Monllao
d41203c55f Merge branch 'MDL-61045' of git://github.com/timhunt/moodle 2017-12-19 06:43:17 +01:00
David Monllao
dcae64d3a3 Merge branch 'MDL-61016_hideif_disabledif' of git://github.com/davosmith/moodle 2017-12-19 06:16:18 +01:00
Simey Lameze
7a1a9ec635 MDL-57431 mod_quiz: remove unnecessary class from selector 2017-12-19 12:47:43 +08:00
Andrew Nicols
3d444c4e6d MDL-19667 report_outline: Clone permissions from view capability 2017-12-19 11:51:36 +08:00
Andrew Nicols
b09b1a0a0b Merge branch 'MDL-19667-master-viewuserreport' of https://github.com/dmitriim/moodle 2017-12-19 11:49:33 +08:00
Damyon Wiese
5fe6205813 Merge branch 'MDL-60767-master-3' of https://github.com/snake/moodle 2017-12-19 11:12:47 +08:00
Damyon Wiese
b260dec8b7 Merge branch 'MDL-59999-master' of git://github.com/mihailges/moodle 2017-12-19 10:49:36 +08:00
Andrew Hancox
64cd459648 MDL-50666 core: Rename allow_ACTION to core_role_set_ACTION_allowed 2017-12-19 13:53:23 +13:00
Andrew Hancox
a63cd3e2ca MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00
Jun Pataleta
3e882c418b Merge branch 'MDL-59709_master' of https://github.com/marcusfabriczy/moodle 2017-12-19 13:21:35 +13:00
Eloy Lafuente (stronk7)
e20a041100 Merge branch 'MDL-59200-master' of git://github.com/damyon/moodle 2017-12-19 01:08:15 +01:00
Eloy Lafuente (stronk7)
cb5fb8aea5 Merge branch 'MDL-58888-master' of git://github.com/junpataleta/moodle 2017-12-19 01:04:54 +01:00
Eloy Lafuente (stronk7)
dc3f4ac929 Merge branch 'MDL-60750-master' of git://github.com/lameze/moodle 2017-12-19 00:56:14 +01:00
Eloy Lafuente (stronk7)
2b7fda50d9 Merge branch 'wip-MDL-60594-master' of git://github.com/marinaglancy/moodle 2017-12-19 00:36:28 +01:00