Frédéric Massart
b91ddd160e
MDL-60518 core_user: A user with ID 0 is never a real user
2018-12-14 10:28:34 +01:00
Eloy Lafuente (stronk7)
d27e49448f
Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle
2018-11-13 23:55:38 +01:00
Andrew Nicols
0616f045c3
MDL-53566 core: Add support for context locking
...
This chagne adds support for a new feature known as Context Locking.
This allows a context to be locked, thereby removing all write
capabilities for all users (including admin) for that context, and all
child contexts.
2018-11-13 21:17:40 +08:00
Damyon Wiese
160e77f9d0
MDL-63716 course: less user_accesstime_log() calls
...
We should only call this function when a user actually views a course. It is not called
automatically when a course context is validated from a webservice. It is called directly
from the core_course_view_course webservice.
2018-11-12 16:11:15 +08:00
Matt Porritt
d5adb60fa3
MDL-62777 Administration: CLI upgrade new setting notification
...
During a CLI upgrade when there are new settings in core or in
a plugin, the settings are set to the defined defaults
automatically. There is no ouput shown on the CLI about which
new settings have been introduced or what default values the
setting are set to.
This patch outputs the name of the new setting and what the
default value being is set is to the CLI during an upgrade.
Objects and arrays are expanded into a human readable format.
This plugin also makes the function that sets the defaults to
be more robust so it isno longer required to be called multiple
times to ensure all settings are set.
2018-10-22 14:28:06 +11:00
David Monllao
32b01d2b02
Merge branch 'MDL-63214-master' of git://github.com/sarjona/moodle
2018-10-17 15:55:44 +02:00
David Monllao
a9bbbd7a50
Merge branch 'MDL-27520_master' of git://github.com/markn86/moodle
2018-10-17 15:42:55 +02:00
Sara Arjona
327914160f
MDL-63214 message: Add setting to force enabling messagingallusers
2018-10-17 11:52:57 +02:00
Mark Nelson
14de10c463
MDL-63547 core_message: updated message_deleted event to support groups
2018-10-17 12:05:16 +08:00
Mark Nelson
5d7a9ea6f9
MDL-27520 core_grades: accept feedback files via grade_update()
2018-10-16 12:32:44 +08:00
Mark Nelson
beeadbf783
MDL-63211 core: updated upgrade.txt files
2018-10-03 11:51:29 +08:00
Eloy Lafuente (stronk7)
4f06a97702
Merge branch 'MDL-57610' of git://github.com/aolley/moodle
2018-09-25 14:46:09 +02:00
David Monllao
85d4b77cd3
Merge branch 'MDL-61967-master' of git://github.com/sarjona/moodle
2018-09-25 11:08:53 +02:00
Adam Olley
1afbb97b6b
MDL-57610 assignfeedback_editpdf: integration cleanup
...
* Add a note to upgrade.php to notify devs/admins of the new setting.
* Replace update_record with set_field.
* Add missing phpdoc.
2018-09-25 09:54:39 +09:30
Sara Arjona
5290d0604b
MDL-61967 core_user: Allow filtering by No groups on participants page
...
A new optional parameter $context has been added to the
core_group::groups_get_members_join() function.
Besides, some core_group methods now accept -1 (USERSWITHOUTHGROUP) for
the groupid field.
2018-09-24 18:33:45 +02:00
David Monllao
bdc511364c
MDL-54035 upgrade.txt: Limit comments to relevant info for upgrades
2018-09-24 09:41:18 +02:00
Jonathan Champ
1113e34675
MDL-54035 accesslib: Add context->get_parent_context_paths()
...
Returns full context paths for parent contexts. Useful for exact
matches, such as when checking dirtycontexts.
2018-09-21 09:17:43 -04:00
Jonathan Champ
1d049e08e5
MDL-54035 accesslib: add mark_user_dirty helper
...
Instead of marking an entire context dirty and affecting all users
of those contexts, mark the user as dirty when the change only
affects that user.
2018-09-21 09:17:43 -04:00
Jonathan Champ
34dd57053d
MDL-54035 accesslib: only modify role_capabilities in accesslib
...
Whenever the role_capabilities table is changed, we need to remember
to clear the cache for the role(s) being modified. This is far simpler
when all of those changes happen in a single file, i.e. accesslib.php,
allowing other parts of the application to use the public functions
without requiring knowledge of the cache internals.
2018-09-21 09:17:43 -04:00
Andrew Nicols
89aff0d828
MDL-63329 core: Remove memcache session support
2018-09-12 08:15:35 +08:00
Jake Dallimore
8981ac0197
Merge branch 'MDL-62657-master' of git://github.com/junpataleta/moodle
2018-08-29 09:30:07 +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
Jun Pataleta
69781cdae1
MDL-62657 user: More users fields for creation/update WS functions
2018-08-21 12:08:20 +08:00
Víctor Déniz Falcón
02fda279ed
MDL-57281 behat: deprecated step definition I navigate to node in
...
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Andrew Nicols
88d89512e4
MDL-36754 output: Support token pluginfiles in userpic
2018-08-14 07:08:29 +08:00
Andrew Nicols
883f655552
MDL-36754 output: Support token pluginfiles in group pic
2018-08-14 07:06:09 +08:00
Jun Pataleta
2454ddb6ef
Merge branch 'MDL-45170-master' of git://github.com/junpataleta/moodle
2018-08-08 16:27:55 +08:00
Jun Pataleta
c353ad20c3
MDL-45170 core: Integration review fixes
...
* Pass $forcehttps parameter to call extract_draft_file_urls_from_text()
call in \core_weblib_testcase::test_extract_draft_file_urls_from_text()
* Style fixes
2018-08-08 16:17:32 +08:00
Charles Fulton
7d7d3b1731
MDL-45170 files: check other draftfile areas when processing
2018-08-08 16:15:23 +08:00
Andrew Nicols
0c759ba614
Merge branch 'MDL-56335-master' of git://github.com/mihailges/moodle
2018-08-08 13:14:00 +08:00
Andrew Nicols
03655bb050
Merge branch 'MDL-50225_master' of git://github.com/markn86/moodle
2018-08-08 08:14:55 +08:00
Eloy Lafuente (stronk7)
925d1dc60e
Merge branch 'MDL-62065-master' of git://github.com/cescobedo/moodle
2018-08-07 15:51:34 +02:00
Andrew Nicols
6acae5165c
Merge branch 'MDL-62975_master' of git://github.com/markn86/moodle
2018-08-07 14:38:00 +08:00
Andrew Nicols
4af25b000f
Merge branch 'MDL-54741-master' of git://github.com/mihailges/moodle
2018-08-07 12:19:44 +08:00
Adrian Greeve
cc4952e997
MDL-55449 messages: Remove support for stdClass messages.
...
This also makes message_sent::create_from_ids() $courseid
parameter required.
2018-08-07 11:04:22 +08:00
Mihail Geshoski
216b89475d
MDL-54741 general: 3.2 final deprecation in lib/deprecatedlib.php
2018-08-06 09:29:54 +08:00
Mihail Geshoski
f2cdf99382
MDL-56335 behat: prefixed_tablenode_transformations final deprecation
2018-08-06 09:27:08 +08:00
Andrew Nicols
aa75f70280
Merge branch 'MDL-59847-master' of https://github.com/snake/moodle
2018-08-02 11:39:50 +08:00
David Mudrák
afa3e0ff32
MDL-59847 core: Stop supporting custom identity fields in user selectors
...
The user_selector classes supported custom list of extra identity
fields. But they should obey the configured user policy and respect the
privacy setting made by site administrators. So the list of user
identifiers should never be hard-coded, but the setting
$CFG->showuseridentity should be always respected.
2018-08-02 10:22:07 +08:00
Eloy Lafuente (stronk7)
3578f04762
Merge branch 'MDL-51883-master' of git://github.com/mihailges/moodle
2018-08-01 16:39:45 +02:00
Mihail Geshoski
5ab8824394
MDL-51883 libraries: 3.1 final deprecation in lib/deprecatedlib.php
2018-08-01 10:32:37 +08:00
David Monllao
f967e6795d
Merge branch 'MDL-63001_master' of git://github.com/markn86/moodle
2018-07-31 13:52:49 +02:00
Jun Pataleta
77b6d458e5
Merge branch 'MDL-58768-master-2' of git://github.com/rezaies/moodle
2018-07-31 16:18:44 +08:00
David Monllao
a50b8a438a
Merge branch 'MDL-56712-master' of git://github.com/mihailges/moodle
2018-07-30 17:47:51 +02:00
David Monllao
627d9aa6c8
Merge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle
2018-07-30 17:33:21 +02:00
Mark Nelson
f8d15c66c3
MDL-62975 core_form: deprecate the htmleditor element
2018-07-30 10:01:01 +08:00
Mark Nelson
350d7b0686
MDL-50225 core: properly deprecate print_textarea
2018-07-30 09:55:11 +08:00
Mihail Geshoski
d8e8734291
MDL-62943 core_output: Final deprecation of update_module_button
2018-07-30 09:43:49 +08:00
Mihail Geshoski
d77b5db55f
MDL-56712 media: Remove 3.2 deprecated functions and classes
2018-07-30 09:25:34 +08:00
Adrian Greeve
b41e1d7c55
MDL-55188 events: Final deprecation of part of events 1 API.
2018-07-30 09:25:06 +08:00