25325 Commits

Author SHA1 Message Date
Jun Pataleta
3c7bf4ea88 MDL-57898 core: Bump $lastmajordbchanges to trigger upgrade immediately 2019-01-22 09:36:15 +08:00
David Mudrák
c5944a1d57 MDL-64553 message: Add index for the notifications.useridfrom field
The useridfrom would normally be a foreign key to the users table. But
it can also contain some extra negative values with special semantics
(-10 or -20 for no-reply or support user). Therefore we can't make it a
foreign key and the index must be created explicitly.
2019-01-21 12:57:11 +01:00
Jake Dallimore
85e62192f2 Merge branch 'MDL-60972-master_delete_section_files' of https://github.com/awagner/moodle 2019-01-21 08:51:48 +08:00
Jun Pataleta
c01388f713 Merge branch 'MDL-57898-master' of git://github.com/marinaglancy/moodle 2019-01-18 22:21:23 +08:00
Marina Glancy
d1fc4bdc1e MDL-57898 core_customfield: strings and other minor fixes 2019-01-18 14:28:24 +01:00
Marina Glancy
bbf60b1412 MDL-57898 core_customfield: coding style fixes 2019-01-18 14:28:24 +01:00
David Matamoros
7a0162f17a MDL-57898 core_course: add custom fields support to courses
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:18 +01:00
Ruslan Kabalin
493e7526f9 MDL-57898 core_customfield: Custom fields API
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:18 +01:00
Marina Glancy
0e367a119c MDL-57898 core_customfield: Custom fields API
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:18 +01:00
Daniel Neis Araujo
01c1095954 MDL-57898 core_customfield: Custom fields API
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:17 +01:00
Sara Arjona
b577f30b8e Merge branch 'MDL-62968-master' of git://github.com/mickhawkins/moodle 2019-01-18 12:38:14 +01:00
Toni Barberà Melià
1eeb465a0c MDL-57898 core_customfield: Custom fields API
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 09:02:30 +01:00
Andreas Wagner
d5ef685249 MDL-60972 core_course: delete section files, when section is deleted. 2019-01-17 08:04:13 +01:00
Jake Dallimore
849e657b06 Merge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle 2019-01-17 08:22:37 +08:00
Andrew Nicols
987d112340 MDL-49399 task: Remove hardcoded LIMIT 2019-01-17 08:02:24 +08:00
Eloy Lafuente (stronk7)
7a5da322b2 Merge branch 'MDL-64347-master' of git://github.com/andrewnicols/moodle 2019-01-16 23:53:59 +01:00
Eloy Lafuente (stronk7)
98b845bd59 Merge branch 'MDL-64359-master' of git://github.com/andrewnicols/moodle 2019-01-16 19:05:30 +01:00
Eloy Lafuente (stronk7)
3d8a771d09 Merge branch 'MDL-63103' of https://github.com/NeillM/moodle 2019-01-16 19:02:21 +01:00
Andrew Nicols
23d6756256 MDL-64347 task: Add restrictions to scheduled task runner 2019-01-16 17:20:25 +08:00
Andrew Nicols
24bfd53c73 MDL-64347 task: Add restrictions to adhoc task runner 2019-01-16 17:20:25 +08:00
Jake Dallimore
6e683cd2d2 Merge branch 'MDL-49399-master' of git://github.com/andrewnicols/moodle 2019-01-16 15:56:40 +08:00
Andrew Nicols
cca12f68d0 MDL-49399 core: Allow creation of a new per-request basedir
Shutdown handlers are processed in order. If something in a shutdown
handler uses a file which is stored in a per-request directory, and
another, unrelated, per-request directory was created before the handler
started. then a fresh per-request directory will be required.
2019-01-16 12:14:25 +08:00
Andrew Nicols
251ee97c35 MDL-49399 tool_task: Link to log viewer
This commit also adds the fa-file-text icon from font-awesome.
2019-01-16 12:14:25 +08:00
Andrew Nicols
8c69e86cd4 MDL-49399 task: Add admin log viewer
AMOS BEGIN
 CPY [eventstarttime,core_calendar],[task_starttime,core_admin]
 CPY [eventduration,core_calendar],[task_duration,core_admin]
 CPY [result,core_cache],[task_result,core_admin]
 CPY [database,install],[task_dbstats,core_admin]
 CPY [fail,install],[task_result:failed,core_admin]
AMOS END
2019-01-16 12:14:25 +08:00
Andrew Nicols
4b71596fc9 MDL-49399 task: Add task logging API 2019-01-16 12:14:25 +08:00
Eloy Lafuente (stronk7)
4f4e987cdb Merge branch 'MDL-63607-master' of git://github.com/andrewnicols/moodle 2019-01-16 00:36:59 +01:00
Sara Arjona
74a6abc6bb Merge branch 'MDL-62439-master' of https://github.com/lucaboesch/moodle 2019-01-15 12:02:05 +01:00
Andrew Nicols
af540d426d MDL-49399 task: Add task log table 2019-01-15 07:56:20 +08:00
Andrew Nicols
702123a1dd MDL-49399 core: Add ability to specify a header col 2019-01-15 07:55:36 +08:00
Sara Arjona
c654e35007 MDL-63677 core_user: Avoid redirection during signup
Purge cache just for the current user to avoid redirection when 2
simultaneous users try to sign up at the same time and some policy
has to be agreed.
The 'createduser' invalidation event has been removed also because
is not used any more.
Thanks John Azinheira for spotting it!
2019-01-11 10:20:59 +01:00
Neill Magill
1b43c84980 MDL-63103 filebrowser: Speed up finding activities with files
Before this change the query examined at every course_module record in
the context table.

With this change we use the course_modules table to more efficiently
find all the activities in the course, which means that many less
records in the context table need to be examined.
2019-01-11 08:58:39 +00:00
Luca Bösch
1bfed23bf5 MDL-62439 output: Debugstringids in overlay windows. 2019-01-10 22:18:50 +01:00
Jake Dallimore
2336493501 Merge branch 'MDL-64004-master' of git://github.com/damyon/moodle 2019-01-10 10:59:56 +08:00
Eloy Lafuente (stronk7)
a887977cba Merge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle 2019-01-09 12:36:09 +01:00
Andrew Nicols
889b585b29 MDL-63686 core: recordset => records when fetching contexts 2019-01-09 19:08:08 +08:00
Andrew Nicols
8cd02f0c51 Merge branch 'MDL-62550-master-2' of https://github.com/snake/moodle 2019-01-09 15:09:00 +08:00
Jake Dallimore
f68426d1fb Merge branch 'MDL-64345-master' of https://github.com/s-cenni/MDL-64345 2019-01-09 14:13:38 +08:00
Jake Dallimore
574861588a MDL-62550 core_form: bring back the form item unique ids to fix js fails
This id matches the id seen on the clean theme elements and is needed by
the forms js.
2019-01-09 11:34:26 +08:00
Jake Dallimore
f49e93d406 Merge branch 'MDL-63761-master' of git://github.com/damyon/moodle 2019-01-09 09:05:38 +08:00
Eloy Lafuente (stronk7)
3dd0251dd4 Merge branch 'MDL-64285-master' of git://github.com/junpataleta/moodle 2019-01-09 00:09:15 +01:00
Michael Hawkins
6360f87cdc MDL-64395 groups: Added XSS Risk to the manage groups capability 2019-01-08 16:24:48 +01:00
Andrew Nicols
bbf4a7f38b Merge branch 'MDL-58596-master' of git://github.com/vmdef/moodle 2019-01-08 16:14:58 +08:00
Leon Stringer
8f402dbc66 MDL-58596 core_stats: fixed infinite loop cause by DST change 2019-01-08 07:37:42 +00:00
Víctor Déniz Falcón
5007d1cb04 MDL-58596 core_stats: unit test for stats_get_base_weekly 2019-01-08 07:36:48 +00:00
Jake Dallimore
662371fd65 Merge branch 'MDL-63686-master' of git://github.com/andrewnicols/moodle 2019-01-08 14:37:31 +08:00
Andrew Nicols
ccbdced987 MDL-63686 core: Preload parent contexts 2019-01-08 14:11:00 +08:00
Andrew Nicols
024b5c5b9f Merge branch 'MDL-63722-master' of git://github.com/rezaies/moodle 2019-01-08 12:04:19 +08:00
Andrew Nicols
8feef7308a Merge branch 'MDL-64400-master' of git://github.com/aanabit/moodle 2019-01-08 08:27:06 +08:00
Andrew Nicols
792267c3b4 Merge branch 'MDL-63276' of https://github.com/stronk7/moodle 2019-01-08 06:55:37 +08:00
Eloy Lafuente (stronk7)
11825f1439 Merge branch 'MDL-63809-master-5' of git://github.com/rezaies/moodle 2019-01-07 22:12:45 +01:00