24515 Commits

Author SHA1 Message Date
Andrew Nicols
d607cdd782 Merge branch 'MDL-61601-master' of git://github.com/sarjona/moodle 2018-04-09 09:38:21 +08:00
Eloy Lafuente (stronk7)
970df71df3 MDL-61711 install: update the list of stale files for 3.5 2018-04-09 02:21:55 +02:00
Jake Dallimore
2f5fa7109e MDL-59581 database: remove mssql references from lib/ files 2018-04-09 02:00:09 +02:00
Jake Dallimore
48c3e99599 MDL-59581 database: remove mssql specific code from lib/dml 2018-04-09 01:58:26 +02:00
Mark Nelson
a8d022d814 MDL-60848 atto_recordrtc: removed use of bowser.js 2018-04-06 17:24:59 +08:00
Mark Nelson
492a795d67 MDL-60848 atto_recordrtc: removed unnecessary files 2018-04-06 17:24:47 +08:00
jfederico
b4bbf31bf1 MDL-60848 atto_recordrtc: Add recordrtc to core
Thanks also goes to Jacob Prud'homme from Blindside
Networks who contributed a vast portion of this code.
2018-04-06 17:14:36 +08:00
Sara Arjona
88cb8b781d MDL-61601 cohort: Add theme support for cohorts
If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
2018-04-06 08:28:01 +02:00
Mark Johnson
e65560e3eb MDL-61869 output: Infer rendering of templatables 2018-04-05 09:45:15 +01:00
Eloy Lafuente (stronk7)
f21b5591c6 Merge branch 'MDL-61818-master' of git://github.com/andrewnicols/moodle 2018-04-05 00:49:23 +02:00
Eloy Lafuente (stronk7)
9c93f67328 Merge branch 'wip-MDL-61746-master' of https://github.com/RohithSrk/moodle 2018-04-05 00:42:11 +02: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)
92221e9d44 Merge branch 'MDL-61451-master' of git://github.com/cescobedo/moodle 2018-04-04 01:39:36 +02:00
Eloy Lafuente (stronk7)
c8cbdfce24 Merge branch 'MDL-61817-master' of git://github.com/andrewnicols/moodle 2018-04-04 01:22:36 +02:00
Eloy Lafuente (stronk7)
5b123ab8d3 Merge branch 'MDL-61724-master' of git://github.com/mihailges/moodle 2018-04-03 23:38:59 +02:00
Eloy Lafuente (stronk7)
f6873c2e31 Merge branch 'MDL-61766-master' of git://github.com/junpataleta/moodle 2018-04-03 01:18:20 +02:00
Eloy Lafuente (stronk7)
7d4c1953d9 Merge branch 'MDL-61223-master' of git://github.com/andrewnicols/moodle 2018-04-02 11:53:10 +02:00
Andrew Nicols
1d055d806b MDL-61817 tinymce: Add privacy implementation for all plugins
None of the TinyMCE plugins have any user preference or database table.
They all implement the null provider.
2018-04-02 13:50:48 +08:00
Andrew Nicols
658f84ab0c MDL-61818 antivirus: Implement core_privacy API 2018-04-02 13:47:17 +08:00
Jun Pataleta
a2e7a47a6e MDL-61766 xmldb: Handle custom admin path 2018-03-29 18:29:32 +08:00
Eloy Lafuente (stronk7)
83c64f78c0 Merge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle 2018-03-28 18:42:18 +02:00
Andrew Nicols
e8b3c3e178 Merge branch 'MDL-61364-master' of git://github.com/lameze/moodle 2018-03-28 18:16:40 +02:00
Andrew Nicols
bddf012b7c Merge branch 'MDL-61364-master' of git://github.com/lameze/moodle 2018-03-28 18:16:37 +02: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
Eloy Lafuente (stronk7)
6aaf27af91 Merge branch 'MDL-60736-master' of git://github.com/jleyva/moodle 2018-03-28 18:16:22 +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
Eloy Lafuente (stronk7)
c3f771aeba Merge branch 'MDL-61248' of https://github.com/ak4t0sh/moodle 2018-03-28 18:12:52 +02:00
Andrew Nicols
56f5e21f6e Merge branch 'MDL-61733-master' of https://github.com/MartinGauk/moodle 2018-03-28 18:12:39 +02:00
Simey Lameze
02b1868c32 MDL-61364 core: fix cibot coding issues 2018-03-28 10:18:33 +08:00
Simey Lameze
15cd009097 MDL-61364 core_question: tests for question_has_capability_on exception 2018-03-28 08:54:11 +08:00
Andrew Nicols
ca18d567d7 MDL-61364 question: Add unit tests for question_has_capability_on 2018-03-28 08:54:11 +08:00
Rohith
0ef25faa73 MDL-61746 PARAM_CLEANHTML: Fix documentation typos 2018-03-27 23:40:11 +05:30
Simey Lameze
e7329cd026 MDL-61364 question: refactor question_has_capability_on 2018-03-27 16:14:44 +08:00
Mihail Geshoski
e91bc73f87 MDL-61257 reports: Report logs link to unavailable completion report 2018-03-26 12:22:00 +08:00
Mihail Geshoski
d609207c3e MDL-61724 resource: Unable to view or download file resource 2018-03-26 11:14:46 +08:00
Arnaud Trouvé
a15e507366 MDL-61248 admin: fix incorrectly initialized property 2018-03-23 16:25:36 +01:00
Martin Gauk
db3da830c1 MDL-61733 atto_table: fix creating new table
If Atto is embedded in an HTML table (e.g. in the database activity
on the template pages), you could not create a new table.
2018-03-23 09:08:39 +00:00
Jun Pataleta
d5458014b3 MDL-36941 core: Remove default for convhash field in upgrade.php 2018-03-23 14:14:49 +08:00
Mark Nelson
e159b53b5b MDL-36941 core_message: improved performance of helper::get_messages()
Improved the query to use the 'convhash' field as well as adding an index.

Also fixed issue where 'timeread' was hardcoded as 0.
2018-03-23 12:30:30 +08:00
Mark Nelson
2ccbb8ed62 MDL-36941 core: added index to 'message_user_actions' table 2018-03-23 12:30:30 +08:00
Mark Nelson
74ad60bfbe MDL-36941 core_message: deprecated 'api::mark_all_read_for_user' 2018-03-23 12:30:30 +08:00
Mark Nelson
0d657cc9b7 MDL-36941 core: removed 'message_working' table 2018-03-23 12:30:29 +08:00
Mark Nelson
b2cd17e6a9 MDL-36941 core: added 'convhash' field to quickly get conversations 2018-03-23 12:30:28 +08:00
Mark Nelson
0d51ae7ef3 MDL-36941 core: final deprecation of functions
This was done earlier than the usual deprecation
process since we have changed the table structure.
It would take time to change the logic in these
functions, but as they have been deprecated for
some time it was decided to forego this effort.
2018-03-23 12:30:28 +08:00
Mark Nelson
2b595d96f4 MDL-36941 core: added new mark notification as read webservice 2018-03-23 12:30:28 +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