Jun Pataleta
d38bb774ef
Merge branch 'MDL-37810-master-fix' of https://github.com/snake/moodle
2017-09-22 10:54:40 +08:00
Eloy Lafuente (stronk7)
7ab0993265
MDL-53169 database: use bound empty strings for cross-db
2017-09-21 19:27:59 +02:00
Jake Dallimore
b7e9f1cc42
MDL-37810 roles: fix profile roles logic to include all roles
...
If the user has the role:assign capability then the list of profile roles
will include any role assigned in the context or above.
2017-09-21 22:23:41 +08:00
Ankit Agarwal
c7f9a59f3d
MDL-58550 libraries: Upgrade matthiasmullie libraries
2017-09-21 16:46:24 +05:30
Jun Pataleta
7326663237
Merge branch 'MDL-53169-master' of https://github.com/sammarshallou/moodle
2017-09-19 22:26:30 +08:00
David Mudrák
05e77ab8f0
MDL-59645 flickrlib: Show debug notice when using legacy authentication
2017-09-19 14:44:41 +02:00
David Mudrák
f438cca1a0
MDL-59645 oauth1: Implement a new simple Flickr API client
...
Flickr has switched over to OAuth 1.0 based authentication. This is a
simple client allowing Moodle to perform authenticated calls to the
Flickr API.
2017-09-19 14:44:41 +02:00
David Mudrák
a650517a41
MDL-59645 oauth1: Improve reporting of token errors
...
Provide a more meaningful error message and debuginfo allowing to
diagnose what is going on. In case of flickr, this is typically thrown
when flickr API responses with their "bad, bad panda" HTML page instead
of the expected reply.
2017-09-19 14:44:41 +02:00
David Mudrák
f2252e9501
MDL-59645 oauth1: Pass oauth_callback only to obtain the request token
...
As per the oauth1 spec, the oauth_callback is supposed to be passed only
when obtaining the initial request token. The client used to append it
automatically to all requests which broke the request signature.
2017-09-19 14:44:41 +02:00
sam marshall
22ef155087
MDL-53169 Lib: enrol_get_my_courses can list available courses too
2017-09-19 12:19:49 +01:00
Dan Poltawski
708100cbef
Merge branch 'MDL-59277-master' of https://github.com/snake/moodle
2017-09-19 09:48:30 +01:00
Dan Poltawski
5b1d6143be
Merge branch 'MDL-59507-master' of https://github.com/snake/moodle
2017-09-19 09:17:47 +01:00
Dan Poltawski
a1b8b9c9b5
Merge branch 'MDL-59960_mimetype' of https://github.com/mrmark/moodle
2017-09-19 09:10:24 +01:00
Jun Pataleta
c8d20b2a73
Merge branch 'MDL-60065-master' of git://github.com/andrewnicols/moodle
2017-09-19 13:38:26 +08:00
Andrew Nicols
5ff6114623
MDL-60065 calendar: Deprecate calendar_get_mini and friends
...
This is no longer used and should be deprecated.
2017-09-19 13:21:58 +08:00
Eloy Lafuente (stronk7)
dffca49945
Merge branch 'MDL-37810-master' of https://github.com/snake/moodle
2017-09-19 01:45:29 +02:00
Jun Pataleta
58cd2bfd82
Merge branch 'MDL-59995_master' of git://github.com/markn86/moodle
2017-09-18 14:39:46 +08:00
Jake Dallimore
434d138c2a
MDL-37810 roles: added manager case to test_get_user_roles_in_course()
...
Managers can assign managers, and should be able to see that role on
the course profile page, as a link to the participants page.
2017-09-18 10:16:08 +08:00
Jake Dallimore
5d0cc05b20
MDL-59277 navigation: add support for container type in get_css_type()
2017-09-18 09:03:51 +08:00
Jake Dallimore
b8c31dfe6d
MDL-59507 forms: unit tests confirming that .xxx is an invalid extension
...
Modified:
- test_data_for_browser()
- test_unknow_file_types()
2017-09-18 09:03:00 +08:00
Jake Dallimore
405cbc09ba
MDL-59507 forms: accepted file types won't allow the .xxx extension
...
- Modified get_filetypes_browser_data() to exclude this extension.
- Server side form validation blocks this extension too.
2017-09-18 09:03:00 +08:00
Jake Dallimore
da655d9ee4
MDL-37810 roles: get_user_roles_in_course returns all relevant roles
...
Fixed to return both those roles in the profileroles site policy and
any roles which the current user can assign in the respective context,
meaning a user can see a link to any role they can assign.
2017-09-18 08:59:29 +08:00
Jake Dallimore
42a2c4794d
MDL-37810 roles: unit tests for get_profile_roles()
2017-09-18 08:59:29 +08:00
Jake Dallimore
7b30582669
MDL-37810 roles: fix get_profile_roles() so it returns assignable roles
2017-09-18 08:59:29 +08:00
Ankit Agarwal
f3a3e23448
MDL-57115 blocks: Cleanup block_messages instances and other configs
2017-09-14 09:57:03 +05:30
Dan Poltawski
59f431e8a7
Merge branch 'MDL-59084-master' of git://github.com/andrewnicols/moodle
2017-09-12 15:28:26 +01:00
Andrew Nicols
7e4c4b6f1f
MDL-59084 core: Allow adhoc tasks to run as a specified user
2017-09-12 21:58:50 +08:00
Dan Poltawski
77d2c7b937
Merge branch 'MDL-60039_master' of git://github.com/dmonllao/moodle
2017-09-12 11:28:59 +01:00
David Monllao
d08f177042
MDL-60039 search: Force messaging search areas to be reindexed
2017-09-12 11:57:00 +02:00
Dan Poltawski
68e3c5f71b
Merge branch 'MDL-59929' of git://github.com/timhunt/moodle
2017-09-12 10:54:11 +01:00
Eloy Lafuente (stronk7)
2c821c1b82
Merge branch 'wip-MDL-59775-master' of git://github.com/marinaglancy/moodle
2017-09-12 11:44:47 +02:00
Mark Nelson
391663ce28
MDL-59995 core_admin: added setting to define Python bin path
2017-09-12 17:33:16 +08:00
Dan Poltawski
8e085aacc0
Merge branch 'MDL-58835_master' of git://github.com/dmonllao/moodle
2017-09-12 09:44:56 +01:00
David Monllao
dc9f39bfc3
Merge branch 'MDL-59399-master' of git://github.com/ryanwyllie/moodle
2017-09-12 08:12:26 +02:00
David Monllao
2cef0d3ade
Merge branch 'MDL-59867-master' of git://github.com/damyon/moodle
2017-09-12 07:10:46 +02:00
David Monllao
fb6ff3c553
Merge branch 'MDL-59879-master' of https://github.com/abias/moodle
2017-09-12 07:04:34 +02:00
Eloy Lafuente (stronk7)
e658430a88
Merge branch 'MDL-59761-master' of git://github.com/danpoltawski/moodle
2017-09-12 01:43:19 +02:00
Dan Poltawski
52516f2b19
Merge branch 'MDL-35849-master' of git://github.com/ankitagarwal/moodle
2017-09-11 14:18:51 +01:00
Jun Pataleta
eca853c8eb
Merge branch 'MDL-59977_master' of git://github.com/markn86/moodle
2017-09-11 17:18:16 +08:00
Mark Nelson
93b47710ac
MDL-59977 core: do not directly check 'viewparticipant' capability
2017-09-11 12:44:27 +08:00
Jun Pataleta
4dfc2d19e7
Merge branch 'wip-MDL-35668-master' of git://github.com/marinaglancy/moodle
2017-09-11 11:01:41 +08:00
Marina Glancy
3dee4faec4
MDL-59775 forms: add option to display any form vertical
2017-09-11 11:00:48 +08:00
Marina Glancy
032674eebc
MDL-59775 forms: add femptylabel class to els without labels
...
This class was present in clean/more but was forgotted in boost
2017-09-11 10:33:48 +08:00
David Monllao
025363d17c
MDL-58835 analytics: Store prediction actions separately
...
New event for insights viewed as part of this issue.
2017-09-07 14:45:34 +02:00
David Monllao
0a68e283d0
MDL-59657 analytics: Move lang string to correct location
2017-09-07 10:58:38 +02:00
Eloy Lafuente (stronk7)
95fc1e720c
Merge branch 'MDL-59983-master-enfix' of git://github.com/mudrd8mz/moodle
2017-09-07 10:58:35 +02:00
Juan Leyva
35b9bca0ca
MDL-58762 core: Get full course objects on navigation
...
The course object passed as parameter to extend_navigation_user
callback contained only a few parameters, some parameters like
showgrades or showreports were missing.
The callback should receive a full course object.
2017-09-07 10:53:33 +02:00
David Monllao
0e0e92c5e0
Merge branch 'MDL-59759-master-2' of git://github.com/junpataleta/moodle
2017-09-07 10:52:20 +02:00
Jun Pataleta
305f38d310
Merge branch 'm34_MDL-59635_Properly_Escape_Column_Names_Reserved_Words_Proof' of https://github.com/scara/moodle
2017-09-07 10:52:19 +02:00
Eloy Lafuente (stronk7)
59e56e7f71
Merge branch 'MDL-59696-master' of git://github.com/junpataleta/moodle
2017-09-07 10:50:18 +02:00