Commit graph

2795 commits

Author SHA1 Message Date
Jun Pataleta
0410cee69e MDL-63493 core_message: Fix field parameters for the index definitions
* The fields for the ID number-related indexes that were created for
  the messages and message_user_actions tables in MDL-36941 should not
  be in comma-separated strings.
2018-10-02 11:31:36 +08:00
Mark Nelson
b65bfc8ab4 MDL-63211 core: upgrade to remove duplicate contacts
Remove any duplicate rows - from now on adding contacts just requires 1 row.
The person who made the contact request (userid) and the person who approved
it (contactid). Upgrade the table so that the first person to add the contact
was the one who made the request.
2018-09-28 10:19:57 +08:00
Mark Nelson
3ec5c7701c MDL-63211 core: upgrade to remove non-mutual contacts 2018-09-28 10:19:56 +08:00
Mark Nelson
4428b042cb MDL-63211 core: upgrade to move blocked contacts to new table 2018-09-28 09:16:31 +08:00
Mark Nelson
d842d9a90a MDL-63211 core: added new database tables
Allow NULL values for timecreated in both message_contacts
and message_users_blocked because there is existing data
that has no timecreated value associated with it.
2018-09-28 09:15:52 +08:00
Andrew Nicols
20f9b981f9 Merge branch 'dashboard-split-overview-block' of https://github.com/ryanwyllie/moodle 2018-09-27 14:08:55 +08:00
Ryan Wyllie
2c1d19fde6 MDL-63044 course: add get_enrolled_courses_by_timeline_classification 2018-09-27 13:10:44 +08:00
John Beedell
6189fda47f MDL-62708 question: Add idnumbers to question and question category 2018-09-21 12:26:24 +01:00
David Monllao
0e5144fe24 Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle 2018-09-18 12:17:46 +02:00
Mark Nelson
cbc3833d27 MDL-63333 core: removed unused setting 'messaginghidereadnotifications' 2018-09-17 10:02:37 +08:00
Amaia Anabitarte
fdb45f7943 MDL-63279 messaging: Add admin setting for toggling site-wide messaging 2018-09-14 13:20:18 +02:00
Andrew Nicols
666196271f MDL-60630 cachestore: Remove memcache plugin 2018-09-12 21:07:01 +08:00
Mihail Geshoski
c69a43f2fc MDL-56998 blog: Remove associated blog posts when module is deleted 2018-09-03 08:33:38 +08:00
Marina Glancy
442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Eloy Lafuente (stronk7)
20c7822f6d Merge branch 'MDL-57244-master' of git://github.com/abgreeve/moodle 2018-08-02 00:24:14 +02:00
Eloy Lafuente (stronk7)
1ffa22bbc7 Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle 2018-08-01 16:36:12 +02:00
Adrian Greeve
b41e1d7c55 MDL-55188 events: Final deprecation of part of events 1 API. 2018-07-30 09:25:06 +08:00
Damyon Wiese
3412b12c22 MDL-61041 assign: Remove assignment 2.2 upgrader 2018-07-25 14:11:10 +08:00
Andrew Nicols
5ecca25603 Merge branch 'MDL-62897-master' of git://github.com/rezaies/moodle 2018-07-25 12:42:31 +08:00
Shamim Rezaie
3f0a60e33d MDL-62897 Questions: Find duplicate top cats per context and fix them 2018-07-25 12:26:08 +10:00
Andrew Nicols
834054ee06 Merge branch 'MDL-60826-master' of git://github.com/lameze/moodle 2018-07-25 09:18:53 +08:00
Simey Lameze
dfc609e55d MDL-60826 calendar: lazy load groups on event form 2018-07-24 07:58:34 +08:00
Adrian Greeve
3714fe7e6e MDL-57244 general: Remove old class renames. 2018-07-23 15:54:13 +08:00
Mihail Geshoski
204178d646 MDL-61707 authentication: Remove presignup session upon user signup 2018-07-23 09:33:08 +08:00
Jun Pataleta
a746b6e840 Merge branch 'MDL-37624-master' of git://github.com/mickhawkins/moodle 2018-07-04 15:33:43 +08:00
Michael Hawkins
4c838be5bb MDL-37624 calendar: Updated location db comment 2018-07-04 14:52:44 +08:00
David Mudrák
82b7ad70b1 MDL-62621 comments: Add missing indexes on comments table
The composite index over the fields contextid, commentarea and itemid
helps the comments API to load all comments for the given area
effectively.

The index over the userid field helps the privacy API to load all
comments by the given user.
2018-07-02 10:04:26 +02:00
Michael Hawkins
ef4e04ee26 MDL-37624 calendar: Added location support 2018-06-29 10:46:54 +08:00
Mihail Geshoski
5226999dd7 MDL-6074 blocks: Hide user in online users block 2018-06-13 09:02:24 +08:00
Eloy Lafuente (stronk7)
00977e984e MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
David Monllao
b96a064f14 Merge branch 'MDL-61714-master' of git://github.com/sarjona/moodle 2018-05-11 11:31:22 +02:00
Sara Arjona
ee66104098 MDL-61714 admin: Removed Slovenian digital age 2018-05-11 10:12:16 +02:00
David Monllao
4033c2a11b Merge branch 'MDL-61714-master' of git://github.com/sarjona/moodle 2018-05-10 18:10:29 +02:00
Sara Arjona
b1f1bd2e54 MDL-61714 admin: Update digital age consent map according legislation 2018-05-10 10:32:49 +02:00
Andrew Nicols
e3a1b34376 Revert "MDL-61876 admin: for upgraded sites keep forceclean=0"
This reverts commit 7529031368.
2018-05-08 13:28:09 +08:00
Marina Glancy
7529031368 MDL-61876 admin: for upgraded sites keep forceclean=0 2018-05-04 15:55:45 +08:00
David Monllao
c5a8065258 Merge branch 'MDL-61028-master' of https://github.com/sammarshallou/moodle 2018-04-23 13:09:53 +02:00
sam marshall
a6cacdd266 MDL-61028 core_search: Allow filtering search by user (front-end)
Creates a new 'Users' field in the search filters form. This field
requires new JavaScript and, to implement this, a new AJAX-callable
web service to search for users by name, with detailed restrictions
based on the current user's access to view profiles.
2018-04-20 17:10:03 +01:00
Ryan Wyllie
6768729e08 MDL-61138 question: external function to get random question set 2018-04-19 13:51:40 +08:00
David Monllao
728b851eb5 Merge branch 'MDL-55491-master' of git://github.com/sarjona/moodle 2018-04-11 17:53:37 +02:00
Eugene Venter
abc07b53a7 MDL-55491 badges: Add cohort as badge criteria
commissioned by NZ Customs Service
2018-04-09 10:23:50 +02: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
Eloy Lafuente (stronk7)
83c64f78c0 Merge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle 2018-03-28 18:42:18 +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
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
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
2b595d96f4 MDL-36941 core: added new mark notification as read webservice 2018-03-23 12:30:28 +08:00