94189 Commits

Author SHA1 Message Date
Mark Nelson
6a1ad7c677 MDL-65794 core: allow ajax calls to specify a cache key
This allows for better caching capabilities on servers. If a
cache key is passed and the web service call does not require
the user to be logged in we will attempt to use GET for the
request. This allows for things like proxy caching on URLs.
The cache key must be changed if we do not want to retrieve
what has been cached and want to perform the request again.
2019-07-16 14:23:34 +08:00
Mark Nelson
7fa4e41052 MDL-65794 core: no need for sesskey when login not required 2019-07-12 13:03:43 +08:00
Eloy Lafuente (stronk7)
f7e108438f weekly release 3.8dev 2019-07-11 23:33:29 +02:00
Eloy Lafuente (stronk7)
f795e2008f NOBUG: Fixed file access permissions 2019-07-11 23:33:29 +02:00
Eloy Lafuente (stronk7)
2cb2a818e2 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2019-07-11 23:33:27 +02:00
Jun Pataleta
42255de5bc Merge branch 'MDL-65926-master_lowercase_username_sql_query' of https://github.com/andrewmadden/moodle 2019-07-11 20:57:29 +02:00
AMOS bot
ddb3755c35 Automatically generated installer lang files 2019-07-11 00:08:53 +00:00
Eloy Lafuente (stronk7)
65b10696c5 Merge branch 'MDL-65931-master' of https://github.com/sammarshallou/moodle 2019-07-11 00:33:57 +02:00
sam marshall
107ab4b97b MDL-65931 Web services: get_courses_by_field minor inefficiency
When called with a list of course IDs, this change makes it preload
the contexts and categories before further processing. This saves a
number of queries, depending on how many courses you call it for.

(Typically the function is called with a list of all your enrolled
courses.)

The change may also improve performance for other web services that
call the validate_courses function.
2019-07-10 18:27:42 +01:00
Eloy Lafuente (stronk7)
e6bfe3f32b Merge branch 'MDL-66114-master-fix' of git://github.com/marinaglancy/moodle 2019-07-10 12:42:04 +02:00
Marina Glancy
de08f8b2ba MDL-66114 core_calendar: normalise categoryid value 2019-07-10 11:28:26 +02:00
Andrew Nicols
2c860ec20e Merge branch 'MDL-65747' of git://github.com/Chocolate-lightning/moodle 2019-07-10 14:33:10 +08:00
Andrew Nicols
aeac7a10bc Merge branch 'MDL-66114-master-2' of git://github.com/marinaglancy/moodle 2019-07-10 14:28:27 +08:00
Jun Pataleta
1b81ed2f97 Merge branch 'MDL-66012-master' of git://github.com/lameze/moodle 2019-07-10 12:17:44 +08:00
Simey Lameze
7bfe4a52a3 MDL-66012 calendar: fix no event message on calendar views
Ahhh Jun. Thanks legend :)
2019-07-10 11:34:35 +08:00
Jun Pataleta
b17040fdfc Merge branch 'MDL-64002-master-rebased' of git://github.com/ryanwyllie/moodle 2019-07-10 11:01:51 +08:00
Mathew May
062dc67e4e MDL-65747 libraries: Remove the pear/CHAP library 2019-07-10 08:42:19 +08:00
Andrew Nicols
3034726dc9 Merge branch 'MDL-65562_master' of git://github.com/dmonllao/moodle 2019-07-10 08:09:25 +08:00
Andrew Nicols
511edea98f Merge branch 'MDL-65741-master' of git://github.com/sarjona/moodle 2019-07-10 08:07:43 +08:00
Eloy Lafuente (stronk7)
884bd3da36 Merge branch 'MDL-56835_master-coursetimecreated' of git://github.com/markn86/moodle 2019-07-10 00:07:46 +02:00
Eloy Lafuente (stronk7)
d0df20d88b Merge branch 'MDL-64811_group_submission_warning' of git://github.com/davosmith/moodle 2019-07-09 17:57:37 +02:00
Marina Glancy
1f37e37356 MDL-66114 core_calendar: events without category 2019-07-09 17:52:07 +02:00
David Monllaó
1d5cb38292 MDL-65562 analytics: New get_prediction_actions API 2019-07-09 13:36:11 +02:00
David Monllaó
4de032eba3 MDL-65562 tool_analytics: Effectiveness report base 2019-07-09 13:36:11 +02:00
Jun Pataleta
28ebbfd77e Merge branch 'MDL-66081-master' of git://github.com/lameze/moodle 2019-07-09 17:11:41 +08:00
Davo Smith
07aafc9f80 MDL-64811 mod_assign: add webservice return type change to upgrade.txt 2019-07-09 09:01:44 +01:00
Andrew Nicols
b25bcc45dc Merge branch 'MDL-64258-master' of https://github.com/HuongNV13/moodle 2019-07-09 14:26:13 +08:00
Ryan Wyllie
18cb44460b MDL-64002 message: add error handling for failed messages
Add inline error messages when messages fail to send. Also add
support for deleting messages that failed to send.
2019-07-09 13:49:24 +08:00
Andrew Nicols
b6bbcd6ecb Merge branch 'MDL-65936' of git://github.com/Chocolate-lightning/moodle 2019-07-09 13:29:42 +08:00
Andrew Nicols
c30d15814a Merge branch 'MDL-65965-master-fix' of git://github.com/junpataleta/moodle 2019-07-09 10:59:14 +08:00
Jun Pataleta
5fb766da14 MDL-65965 behat: Do not fetch grouping IDs for empty grouping idnumbers 2019-07-09 10:47:53 +08:00
Mark Nelson
11362b4aaf MDL-56835 report_participation: remove unreachable if condition 2019-07-09 09:14:15 +08:00
Andrew Nicols
dbeada6f27 Merge branch 'MDL-65772-master' of git://github.com/vmdef/moodle 2019-07-09 08:44:48 +08:00
Mark Nelson
2604998150 MDL-56835 report_participation: initialise action variables 2019-07-09 08:27:17 +08:00
Mark Nelson
5a9e1bc18e MDL-56835 report_participation: use course timecreated as minlog 2019-07-09 08:27:17 +08:00
Eloy Lafuente (stronk7)
d94c54f092 Merge branch 'MDL-66054-master' of git://github.com/rezaies/moodle 2019-07-09 00:57:07 +02:00
Eloy Lafuente (stronk7)
b062e4c4cb Merge branch 'MDL-65965-master' of git://github.com/junpataleta/moodle 2019-07-09 00:54:56 +02:00
Eloy Lafuente (stronk7)
33b511bbc7 Merge branch 'MDL-60949_master' of git://github.com/dmonllao/moodle 2019-07-09 00:52:49 +02:00
Eloy Lafuente (stronk7)
cb153cfe80 Merge branch 'MDL-65915' of https://github.com/timhunt/moodle 2019-07-09 00:51:12 +02:00
David Monllaó
35b10d09eb MDL-60949 analytics: Sort models by name 2019-07-08 08:19:47 +02:00
Mathew May
9193075486 MDL-65936 libraries: Remove duplicate fontawesome scss 2019-07-08 11:07:13 +08:00
AMOS bot
76fb9df69b Automatically generated installer lang files 2019-07-08 00:09:57 +00:00
AMOS bot
d315eb9956 Automatically generated installer lang files 2019-07-07 00:08:47 +00:00
Sara Arjona
fe3bec8a5e MDL-65741 libraries: Fix coding style errors in Excel lib 2019-07-05 15:59:37 +02:00
Sara Arjona
0238ea21c4 MDL-65741 libraries: Replace PHPExcel with PHPSpreadsheet 2019-07-05 15:59:36 +02:00
Simey Lameze
316412beb4 MDL-66081 calendar: fix typo in attribute description 2019-07-05 17:04:13 +08:00
Matt Porritt
d00715e410 MDL-56835 report_participation: release session lock 2019-07-05 10:33:13 +08:00
Ryan Wyllie
485ebc9b67 MDL-64002 message: buffer send messages in UI for slow connections 2019-07-05 10:10:08 +08:00
AMOS bot
05eb5122dc Automatically generated installer lang files 2019-07-05 00:09:35 +00:00
Andrew Madden
907be50c42 MDL-65926 moodlelib: Convert username to lowercase prior to SQL query
Within a very large project, it was found that searching for a user with their username in the user table using a case insensitive
search was inefficient. Instead it is proposed that the username input is made to be lowercase prior to executing a database query
as the username for each user in the database must be lowercase. This allows for a case sensitive query to find the user data.
Essentially we are moving a case insensitive search for a user from SQL into PHP to increase performance.
2019-07-05 09:02:56 +10:00