Shamim Rezaie
faa5d173cc
MDL-58768 mod_assign: Add $user param to assign::can_grade
2018-07-28 07:51:32 +10:00
Shamim Rezaie
95ae74a7bc
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-28 07:51:32 +10:00
Shamim Rezaie
f7115c2e80
MDL-58768 coursecat: coursecat::get to accept a $user parameter
2018-07-28 07:51:32 +10:00
Shamim Rezaie
7385ee37f9
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-28 07:51:32 +10:00
Shamim Rezaie
d8c6c21c95
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-28 07:41:50 +10:00
Shamim Rezaie
bd8705732d
MDL-58768 Calendar: Added userid param to calendar_get_default_courses
2018-07-28 07:41:50 +10:00
Eloy Lafuente (stronk7)
6e8235c7d3
weekly release 3.6dev
2018-07-26 19:56:33 +02:00
Eloy Lafuente (stronk7)
7e7732e8e7
NOBUG: Fixed file access permissions
2018-07-26 19:56:32 +02:00
Vadim Tabunshchik
d5f47f8f39
MDL-62871 quiz: incorrect foreign key declaration
2018-07-26 11:36:43 +02:00
Andrew Nicols
739b7bcf9f
Merge branch 'MDL-54742-master-integration' of https://github.com/mihailges/moodle
2018-07-26 10:34:15 +08:00
Mihail Geshoski
8ba04d4565
MDL-54742 general: Remove 'revealpassword' string deprecated in 3.2
2018-07-26 10:19:36 +08:00
Eloy Lafuente (stronk7)
e270bf92a1
Merge branch 'MDL-62771-master_move_plag_disclosure' of https://github.com/jmcgettrick/moodle
2018-07-26 00:34:37 +02:00
Eloy Lafuente (stronk7)
b562240b61
Merge branch 'MDL-57622-master' of git://github.com/mihailges/moodle
2018-07-26 00:22:37 +02:00
Jun Pataleta
6830ae12c7
Merge branch 'MDL-62852-master' of git://github.com/sarjona/moodle
2018-07-25 16:38:47 +08:00
Sara Arjona
7b3a113776
MDL-62852 policy: Display policy audience in the viewall.php page
2018-07-25 10:20:01 +02:00
Jun Pataleta
a77beeb245
Merge branch 'MDL-62807-master' of git://github.com/damyon/moodle
2018-07-25 13:48:15 +08:00
Andrew Nicols
59d072a81a
Merge branch 'MDL-60826-master-fix' of https://github.com/lameze/moodle
2018-07-25 13:40:25 +08:00
Andrew Nicols
dc45b688b3
Merge branch 'MDL-55259_master' of git://github.com/markn86/moodle
2018-07-25 13:35:53 +08:00
Simey Lameze
f8a95c3df6
MDL-60826 calendar: fix group event type logic
2018-07-25 12:43:37 +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
687112af22
MDL-60826 calendar: further performance improvements
...
This commit does few tweaks and other performance improvements to
calendar_get_allowed_event_types to be more efficient. Also some minor
queries optimizations on the event form to fetch the list of courses
without groups.
2018-07-25 08:54:59 +08:00
Andrew Nicols
c46919aa91
Merge branch 'MDL-61652-master' of git://github.com/mihailges/moodle
2018-07-25 08:32:22 +08:00
Eloy Lafuente (stronk7)
193a3aa9d7
Merge branch 'MDL-62961_master' of git://github.com/markn86/moodle
2018-07-25 01:24:34 +02:00
Eloy Lafuente (stronk7)
cbbbdf27b1
Merge branch 'MDL-62935-master' of git://github.com/bmbrands/moodle
2018-07-25 01:16:38 +02:00
Eloy Lafuente (stronk7)
6c48428f37
Merge branch 'MDL-55365-master' of git://github.com/cescobedo/moodle
2018-07-25 01:02:33 +02:00
Eloy Lafuente (stronk7)
e3f3c41252
Merge branch 'MDL-62653-master' of git://github.com/andrewnicols/moodle
2018-07-25 00:37:05 +02:00
Eloy Lafuente (stronk7)
75d4e6c4f1
Merge branch 'MDL-54551_master' of git://github.com/markn86/moodle
2018-07-25 00:26:16 +02:00
Eloy Lafuente (stronk7)
252905427c
Merge branch 'MDL-60874-master-enrolautocomplete' of git://github.com/mudrd8mz/moodle
2018-07-24 19:03:32 +02:00
Amaia Anabitarte
9c7b226579
MDL-55778 enrol_self: New string for 'Notify before..' options
...
AMOS BEGIN
CPY [expirynotifyall,core_enrol],[expirynotifyall,enrol_self]
CPY [expirynotifyenroller,core_enrol],[expirynotifyenroller,enrol_self]
AMOS END
2018-07-24 18:41:00 +02:00
Eloy Lafuente (stronk7)
402d1c538a
Merge branch 'MDL-62925_master' of git://github.com/markn86/moodle
2018-07-24 18:31:48 +02:00
Jun Pataleta
f7497ace8a
Merge branch 'MDL-62919-master' of git://github.com/cescobedo/moodle
2018-07-24 16:24:39 +08:00
Bas Brands
1deead46cc
MDL-62935 boost: slideshow view page overflow
2018-07-24 10:22:13 +02:00
sam marshall
635c7b29a0
MDL-61652 tool_dataprivacy: Add capabilities to control data downloads
2018-07-24 14:23:16 +08:00
Jun Pataleta
07249cbb3a
Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle
2018-07-24 11:58:38 +08:00
Simey Lameze
e2b7dca006
MDL-60826 groups: deprecate groups_get_all_groups_for_courses function
2018-07-24 07:58:35 +08:00
Simey Lameze
0f1e7ec906
MDL-60826 calendar: restrict course fields to be retrieved
2018-07-24 07:58:34 +08:00
Simey Lameze
cf2df6199d
MDL-60826 calendar: update manage subscription page to use new function
2018-07-24 07:58:34 +08:00
Simey Lameze
375b15a346
MDL-60826 calendar: deprecate calendar_get_all_allowed_types
2018-07-24 07:58:34 +08:00
Simey Lameze
dfc609e55d
MDL-60826 calendar: lazy load groups on event form
2018-07-24 07:58:34 +08:00
Simey Lameze
633c5ffbfe
MDL-60826 calendar: tests for calendar_get_allowed_event_types
2018-07-24 07:58:34 +08:00
Simey Lameze
4be55b06da
MDL-60826 calendar: introduce calendar_get_allowed_event_types function
2018-07-24 07:58:34 +08:00
Mark Nelson
0089fc929e
MDL-62961 mod_feedback: style buttons appropriately
2018-07-23 15:47:38 +08:00
Andrew Nicols
9266d24827
Merge branch 'MDL-35977-master' of git://github.com/mihailges/moodle
2018-07-23 15:30:51 +08:00
Jun Pataleta
60bf79ac88
Merge branch 'MDL-62948-master' of git://github.com/andrewnicols/moodle
2018-07-23 15:20:47 +08:00
Jun Pataleta
6ab64dde9c
Merge branch 'MDL-62949-master' of git://github.com/andrewnicols/moodle
2018-07-23 14:55:18 +08:00
Andrew Nicols
1f16daa4cf
Merge branch 'MDL-62962-master' of git://github.com/junpataleta/moodle
2018-07-23 14:51:18 +08:00
Andrew Nicols
a6034c9611
Merge branch 'MDL-54742-master' of git://github.com/mihailges/moodle
2018-07-23 14:29:55 +08:00
Mihail Geshoski
10bd37fabd
MDL-54742 general: Remove strings deprecated in 3.2
2018-07-23 14:25:14 +08:00