Commit graph

1591 commits

Author SHA1 Message Date
Matteo Scaramuccia
ef844148a9 MDL-60923 backup: Added $CFG->backuptempdir
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.

Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
Marina Glancy
cf398020d5 MDL-61864 tool_policy: user agreement reports 2018-04-16 11:30:13 +08:00
Łukasz Szeremeta
65bcb7da0e MDL-61827 auth: Change Facebook Graph API v2.8 to v.2.12 in OAuth2
Use v2.12 Facebook Graph API instead of v2.8
2018-04-13 21:40:42 +02:00
Andrew Nicols
1c406559b8 Merge branch 'MDL-60848_master' of https://github.com/markn86/moodle 2018-04-13 13:54:24 +08:00
Mark Nelson
2ce4291183 MDL-60848 core: added recordrtc to core plugin list 2018-04-13 11:46:51 +08:00
Kathrin Osswald
45ae297f7a MDL-61298 theme Boost: Nav drawer icon improvements - fixes. 2018-04-12 13:28:37 +02:00
Andrew Nicols
934b1e9832 MDL-50907 antivirus: Switch to correct string 2018-04-12 10:30:25 +08:00
Ruslan Kabalin
bd74bda383 MDL-50907 antivirus: Implement data stream scanning default process. 2018-04-12 10:30:25 +08:00
Ruslan Kabalin
8504673116 MDL-50907 antivirus: Make antivirus_exception message more general.
Since the scan can be run not only as a result of file uploading, the
language string should be more general.
2018-04-12 10:30:25 +08:00
Kathrin Osswald
64448e1ea9 MDL-61298 theme Boost: Nav drawer icon improvements. 2018-04-10 15:31:12 +02:00
Eloy Lafuente (stronk7)
7aeb85770f Merge branch 'MDL-61875-master' of https://github.com/snake/moodle 2018-04-10 13:03:27 +02:00
Jake Dallimore
5749f8a4f7 MDL-61875 core_component: new method to get full components list 2018-04-10 08:44:40 +08:00
Mark Nelson
2e352cd1fa MDL-60416 core: added 'gradebookservices' to plugin list 2018-04-09 12:08:35 +08:00
Andrew Nicols
6ab10c3d77 Merge branch 'wip-MDL-56635-master' of git://github.com/marinaglancy/moodle 2018-04-04 11:27:11 +08:00
Eloy Lafuente (stronk7)
55bfb8ab5f Merge branch 'wip-MDL-51362-master' of git://github.com/marinaglancy/moodle 2018-03-28 18:16:28 +02:00
Jun Pataleta
4683e5ff11 Merge branch 'MDL-61257-master' of git://github.com/mihailges/moodle 2018-03-28 18:16:06 +02:00
Eloy Lafuente (stronk7)
bdb22af959 Merge branch 'MDL-53226-master' of git://github.com/andrewnicols/moodle 2018-03-28 18:15:52 +02:00
Mihail Geshoski
e91bc73f87 MDL-61257 reports: Report logs link to unavailable completion report 2018-03-26 12:22:00 +08:00
Mark Nelson
0d657cc9b7 MDL-36941 core: removed 'message_working' table 2018-03-23 12:30:29 +08:00
Mark Nelson
376a79c242 MDL-36941 core: added events for notifications 2018-03-23 12:30:27 +08:00
Mark Nelson
548936a6c9 MDL-36941 core_message: mark notification/messages takes stdClass
This avoid unnecessary DB calls.
2018-03-23 12:30:27 +08:00
Mark Nelson
883ce42127 MDL-36941 core: convert existing api to use new table structure
Also deprecated the following functions -

1. message_move_userfrom_unread2read - It is not necessary
   for us to mark a message as read on user deletion.
2. message_get_blocked_users - Horrible logic used to
   determine if a user is blocked via reference on some
   randomly chosen 'isblocked' variable.
3. message_get_contacts - The same as above. This can be
   done in a much nicer way.
4. message_mark_message_read - We want two functions to do
   this to avoid confusing messages and notifications.
5. message_can_delete_message - This assumed the variable
   $message contained the 'useridto' property, which
   was present in the old table structure. We do not want
   future usages where a query is done on the new table
   and is simply passed as this won't contain this property.
6. message_delete_message - Same as above.
2018-03-23 12:30:27 +08:00
Mark Nelson
4cd439887a MDL-36941 core: alter events to use new table structure 2018-03-23 09:27:57 +08:00
Ankit Agarwal
222595b1f0 MDL-51362 libraries: Remove deprecated admin tool unittest 2018-03-22 15:47:35 +08:00
David Monllao
2ee2f53021 MDL-53226 search_simpledb: Adding clumsy search 2018-03-20 18:33:03 +01:00
Eloy Lafuente (stronk7)
dd9f60ee49 Merge branch 'MDL-61625_master' of git://github.com/dmonllao/moodle 2018-03-14 01:00:13 +01:00
David Monllao
f5bc604de0 MDL-61625 persistent form: Add missing param to the constructor 2018-03-11 22:23:15 +01:00
Andrew Nicols
dcc16e155d MDL-61307 core: Define a new privacy component 2018-03-09 09:59:36 +08:00
Cameron Ball
40e53599b3 MDL-61394 core_scss: Null coalesce path to sassc setting 2018-02-22 08:30:54 +08:00
Cameron Ball
4658220b2d
MDL-61394 Administration: Add experimental feature to use SassC 2018-02-19 14:39:11 +08:00
Marina Glancy
6bc6757084 MDL-56635 tags: use recordset since component may not be unique 2018-02-16 09:50:57 +08:00
Stephen Bourget
b4993d29f7 MDL-45837 Grades: Minor fixes to grade_letter events 2018-02-14 17:31:57 +01:00
Mark Nelson
e960152141 MDL-45837 core: minor tidy up to events 2018-02-09 12:13:48 +08:00
Stephen Bourget
31647f0cc9 MDL-45837 Grades: Add events for grade letters 2018-02-09 11:41:38 +08:00
Stephen Bourget
2f3b709859 MDL-45837 Grades: Add events for scales 2018-02-09 11:41:38 +08:00
Simey Lameze
f31804c01c MDL-61133 core_output: add fontawesome mapping for tags icon 2018-02-05 09:36:52 +08:00
Arnaud Trouvé
30146ed1ad MDL-60997 messages: add property replytoname 2018-01-18 08:41:40 +01:00
Eloy Lafuente (stronk7)
2ab36722f2 Merge branch 'MDL-53113-master' of git://github.com/junpataleta/moodle 2018-01-17 10:37:23 +01:00
Ankit Agarwal
3becfcd226 MDL-53113 libraries: Remove deprecated constants 2018-01-15 20:19:07 +01:00
sam marshall
470d59d31f MDL-61063 Scheduled tasks: Add link to clear fail delay 2018-01-12 11:10:29 +00:00
Cameron Ball
9aa776a848 MDL-61143 core_files: Don't append dot when checking domain names or IP addresses.
Previously we appended a dot at the end of IP addresses and domain names in the
cURL security helper, but it causes issues with Google OAuth so this patch removes it.
2018-01-10 15:22:17 +08:00
Cameron Ball
fbe7f1f8ba MDL-61143 core_files: Block hosts that cannot be determined to be an IP address of domain name
Freaky deaky Unicode/octal/hex domains can be resolved by cURL but are technically not valid.

This patch causes anything that Moodle does not consider to be a valid domain or IP to be blocked
by the cURL security helper.
2018-01-09 16:54:32 +08:00
Cameron Ball
cae2eb357d MDL-61143 core_files: Check all A records when testing blocked IPs 2018-01-09 16:54:32 +08:00
Ryan Wyllie
0377e78e36 MDL-60966 external: contexts can be passed to external format funcs 2017-12-22 13:10:39 +08:00
Andrew Hancox
a63cd3e2ca MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00
Marina Glancy
10c71d8a2f MDL-31436 registration: do not send false in update request 2017-12-13 13:51:25 +08:00
Andrew Nicols
6d326b17d8 Merge branch 'MDL-59866' of https://github.com/marcusboon/moodle 2017-12-12 13:46:07 +08:00
Marcus Boon
f8e2383bdd MDL-59866 session: Add retry for redis sessions
There is an edge case whereby redis will fail
to accept connections on the first try but
retrying the connection seems to make it work

Included in this commit:
* Retry functionality in the session init
2017-12-12 14:42:04 +10:00
Andrew Nicols
abb61e0b02 Merge branch 'MDL-60983' of git://github.com/timhunt/moodle 2017-12-12 10:56:37 +08:00
Damyon Wiese
fe955c5645 Merge branch 'wip-MDL-45500-master' of git://github.com/marinaglancy/moodle 2017-12-11 12:56:18 +08:00