Zig Tan
127b54ffbe
MDL-61870 mod_assign: Fix/clean up imported group override duedates
...
- Prevent group override duedate events from being imported when groups are excluded
- Clean up any existing group override duedate events when editing assignment in upgradelib.php
- Updated lib.php unit tests
2018-08-02 13:03:05 +08:00
Andrew Nicols
8450d9948a
Merge branch 'MDL-59847-35' of https://github.com/snake/moodle into MOODLE_35_STABLE
2018-08-02 11:40:08 +08:00
Andrew Nicols
3eca9bf311
Merge branch 'MDL-62983-35' of git://github.com/sarjona/moodle into MOODLE_35_STABLE
2018-08-02 11:22:50 +08:00
Andrew Nicols
6b3738bc20
MDL-63050 cachestore_redis: Update hExists to check empty
2018-08-02 11:00:27 +08:00
Andrew Nicols
1974156194
MDL-63050 redis: Make session check compatible with Redis 4.0
2018-08-02 11:00:27 +08:00
David Mudrák
f0a4839154
MDL-59847 core: Fix display of hidden identity fields in user selectors
...
User selectors now respect the user's permission to view other users'
hidden profile fields.
2018-08-02 10:37:07 +08:00
Eloy Lafuente (stronk7)
3ab6d8ba2b
Merge branch 'MDL-57666-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE
2018-08-02 01:27:55 +02:00
Eloy Lafuente (stronk7)
1d2b6c84a2
Merge branch 'MDL-62965-35-userprofilesignup' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE
2018-08-02 00:41:36 +02:00
Eloy Lafuente (stronk7)
266744a6f9
Merge branch 'MDL-59595-35-2' of git://github.com/snake/moodle into MOODLE_35_STABLE
2018-08-02 00:21:35 +02:00
Eloy Lafuente (stronk7)
c3a1ccc244
Merge branch 'MDL-62977_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE
2018-08-01 16:42:10 +02:00
Jonathon Fowler
96df578e8e
MDL-62983 core_user: Hold multiple filters when clicking any link
2018-08-01 12:11:13 +02:00
Eloy Lafuente (stronk7)
6cf6523cc7
Merge branch 'MDL-41847-35' of git://github.com/sarjona/moodle into MOODLE_35_STABLE
2018-07-31 23:50:52 +02:00
David Monllao
43eadce6fc
Merge branch 'm35_MDL-58015' of https://github.com/danmarsden/moodle into MOODLE_35_STABLE
2018-07-31 13:37:11 +02:00
David Monllao
98fe6eee32
Merge branch 'MDL-59611-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2018-07-31 13:31:07 +02:00
David Monllao
671ad6b497
Merge branch 'MDL-44538-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE
2018-07-31 11:21:16 +02:00
Jun Pataleta
49bfb1e5f9
Merge branch 'MDL-58768-35-2' of git://github.com/rezaies/moodle into MOODLE_35_STABLE
2018-07-31 16:18:26 +08:00
David Monllao
000a5d0bec
MDL-63026 course: Fix reference to unexisting capability
2018-07-31 08:32:00 +02:00
Shamim Rezaie
936ed6067f
MDL-58768 mod_assign: Fixed incorrect version number in upgrade.php
2018-07-31 16:23:56 +10:00
Shamim Rezaie
238006f649
MDL-58768 mod_assign: Added userid param to calendar callbacks
...
The mod_assign_core_calendar_is_event_visible and mod_assign_core_calendar_provide_event_action
functions now accept a new parameter ($userid) so they are not always dependet to the logged in user.
2018-07-31 16:15:38 +10:00
Shamim Rezaie
d11038dd43
MDL-58768 core: Fix a typo for callback name
2018-07-31 16:15:38 +10:00
Shamim Rezaie
6b8b06911b
MDL-58768 mod_assign: Add $user param to assign::can_grade
2018-07-31 16:15:38 +10:00
Shamim Rezaie
fe1ae23939
MDL-58768 calendar: Add $requestinguser to the container class
...
The requesting user is not always the same as the current user. The container class now allows a different user
to be set as the requesting user. All capability checks are done against the requesting user.
Also, the $requestinguser is passed to core_calendar_provide_event_action and core_calendar_is_event_visible
callback functions. These callback functions need to be updated in all activity modules to accept a $user parameter.
2018-07-31 16:15:38 +10:00
Shamim Rezaie
64b5d44abc
MDL-58768 coursecat: coursecat::get to accept a $user parameter
2018-07-31 16:15:37 +10:00
Shamim Rezaie
526e3e8c97
MDL-58768 Calendar: Update get_raw_events_legacy_implementation
...
Update get_raw_events_legacy_implementation to work with the passed $users parameter instead of the logged in user.
Also, fixed a bug where get_raw_events_legacy_implementation was failing when $users was set to true, and a list of
$groups was given.
2018-07-31 16:15:37 +10:00
Shamim Rezaie
8668391630
MDL-58768 Calendar: Added user param to calendar_set_filters
...
Decoupled calendar_set_filters from $USER.
Also removed the backward compatibility bit from the function because it was a left over.
2018-07-31 16:15:06 +10:00
Shamim Rezaie
f35e7a0eeb
MDL-58768 Calendar: Added userid param to calendar_get_default_courses
2018-07-31 16:07:15 +10:00
Eloy Lafuente (stronk7)
949f522c13
Merge branch 'MDL-57977-35' of git://github.com/vmdef/moodle into MOODLE_35_STABLE
2018-07-30 21:10:08 +02:00
Eloy Lafuente (stronk7)
ac6bef4e38
Merge branch 'MDL-63002_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE
2018-07-30 16:15:27 +02:00
Marina Glancy
72bb7ac302
MDL-61424 admin: reset registration if token is rejected
2018-07-30 16:12:39 +02:00
Mark Nelson
1b4cd6be30
MDL-63002 core: fixed incorrect calls to non-existent delete_record()
2018-07-30 21:00:25 +08:00
Adrian Perez
10dae695ec
MDL-63002 core_grade: fixed deletion of overriden letters
2018-07-30 21:00:24 +08:00
Jun Pataleta
fc12d8d459
Merge branch 'MDL-62931-35' of git://github.com/rezaies/moodle into MOODLE_35_STABLE
2018-07-30 16:34:36 +08:00
Claude Vervoort
c46c85055b
MDL-62993 ltiservice_memberships: make message an array per spec
...
Also added resultSourcedId to member for BC.
2018-07-30 10:07:22 +08:00
Mihail Geshoski
f4411ba700
MDL-57666 repositories: Error when copying file from Dropbox repository
2018-07-30 09:29:51 +08:00
AMOS bot
37002deeda
Automatically generated installer lang files
2018-07-29 00:07:19 +00:00
David Mudrák
06e4325bda
MDL-62965 core_user: Fix missing user profile fields on signup page
2018-07-27 10:36:56 +02:00
Jun Pataleta
8aa12f5bff
Merge branch 'MDL-62950-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE
2018-07-27 16:19:02 +08:00
David Mudrák
84bef5413c
MDL-62619 privacy: Fix a missing alias in the blog provider class
...
The new implementation revealed another existing bug that did not expose
before due to coincidently same named table alias in the outer query.
2018-07-27 10:14:38 +02:00
David Mudrák
df26945105
MDL-62619 privacy: Fix some bits of performance improvements
...
* We need to use is_numeric() in this case as is_int() would never
return true.
* Extend the supported cases, add support for SQL consisting just of
numerical value or selectinga numerical constant.
* Do not rely on any particulat letter case in provided SQL.
* Add unit tests for the new method. Even when it is a protected one, it
is an essential unit to be tested on its own.
2018-07-27 10:14:38 +02:00
Andrew Nicols
b9b8d94716
MDL-62619 privacy: Improve performance of contexts loading
...
When possible, we want to use JOIN over WHERE IN. It is known that the
later performs badly in MySQL.
2018-07-27 10:14:38 +02:00
David Mudrák
ec92a0762d
MDL-59847 core: Fix display of hidden identity fields in user lists
...
Places that display list of users (such as course participants page)
with additional identifier fields now respect the user's permission to
view other users' hidden profile fields.
2018-07-27 10:04:56 +02:00
Jun Pataleta
9bd851f39c
MDL-62996 tool_dataprivacy: Add 3.4/3.3 upgrade steps to 3.5+
...
This is to ensure that sites that have the early dev version of the tool
can upgrade smoothly to 3.5 and up.
2018-07-27 15:57:01 +08:00
Sara Arjona
502b17bebd
MDL-41847 core_user: Add preferred lang field to the user creation form
...
The preferred language has been added only to the user creation form.
For existing users, you should access to the user profile, click over
Preferences and go to the Preferred language page.
2018-07-27 09:07:22 +02:00
Sara Arjona
2857ca0c9f
MDL-41847 core_user: Add lang to login URL email for new user accounts
2018-07-27 09:07:22 +02:00
Andrew Nicols
5a1aa729df
MDL-62950 behat: Disable editing for boost test
2018-07-27 10:59:46 +08:00
Andrew Nicols
6020745280
MDL-62950 behat: Correct navbar references
2018-07-27 10:59:46 +08:00
Andrew Nicols
948485dbd6
MDL-62950 behat: Correct use of nav
2018-07-27 10:59:45 +08:00
Andrew Nicols
1da88f2c6a
MDL-62950 behat: Correct path to P&P
2018-07-27 10:59:45 +08:00
Mark Nelson
ab38db069e
MDL-62977 mod_wiki: style buttons appropriately
2018-07-27 10:51:25 +08:00
Dan Marsden
c1a29fc252
MDL-58015 mod_scorm: set orgidentifier correctly for popup.
2018-07-27 10:36:43 +12:00