Ryan Wyllie
119c0124c4
MDL-63044 javascript: add getUserMidnightForTimestamp to user_date
2018-09-27 13:09:23 +08:00
Ryan Wyllie
6e403eb62f
MDL-63044 javascript: add global helper for dropdowns
2018-09-27 13:09:23 +08:00
Ryan Wyllie
d4e8e94025
MDL-63044 javascript: add simple pubsub implementation
2018-09-27 13:09:23 +08:00
Eloy Lafuente (stronk7)
d6b71d7923
Merge branch 'MDL-54035_master-fix' of git://github.com/dmonllao/moodle
2018-09-26 23:28:34 +02:00
Eloy Lafuente (stronk7)
659d9fe942
Merge branch 'MDL-63013-master-prioritypolicy' of git://github.com/mudrd8mz/moodle
2018-09-26 23:21:09 +02:00
David Monllao
e8ce6ca306
MDL-54035 accesslib: Check if the user can switch role before switching
2018-09-26 13:03:08 +02:00
Eloy Lafuente (stronk7)
201d21edad
Merge branch 'MDL-63113-master' of git://github.com/bmbrands/moodle
2018-09-26 10:57:20 +02:00
David Monllao
0e79528704
Merge branch 'MDL-61161-master' of https://github.com/mackensen/moodle
2018-09-26 10:23:39 +02:00
Bas Brands
a81e6914d7
MDL-63113 theme boost: initialsbar wrapping
2018-09-26 10:18:11 +02:00
Eloy Lafuente (stronk7)
d813c9e745
Merge branch 'MDL-61981-master_nestedmath' of git://github.com/Mankro/moodle
2018-09-25 23:36:17 +02:00
Eloy Lafuente (stronk7)
51181541ab
Merge branch 'MDL-62279-master' of git://github.com/damyon/moodle
2018-09-25 23:25:10 +02:00
Eloy Lafuente (stronk7)
a649a3a120
Merge branch 'MDL-62714-boost_course_visibility_in_navbar' of https://github.com/fskandalis/moodle
2018-09-25 23:17:52 +02:00
Eloy Lafuente (stronk7)
de7c685e52
Merge branch 'MDL-63253-master-adminsearchresults' of git://github.com/mudrd8mz/moodle
2018-09-25 22:56:11 +02:00
Eloy Lafuente (stronk7)
0ddc272116
Merge branch 'MDL-62334-master' of https://github.com/danielneis/moodle
2018-09-25 22:50:41 +02:00
Charles Fulton
3b31d8c92c
MDL-61161 course: grace period for classifying in progress courses
2018-09-25 14:11:32 -04:00
Daniel Neis Araujo
28af88f364
MDL-62334 admin: add a new course link on admin/search
2018-09-25 14:31:50 -03:00
Eloy Lafuente (stronk7)
b687205e27
Merge branch 'MDL-60028' of https://github.com/paulholden/moodle
2018-09-25 16:57:58 +02:00
Eloy Lafuente (stronk7)
b8749c6208
Merge branch 'wip-MDL-62708-master' of https://github.com/Beedell/moodle
2018-09-25 16:52:50 +02:00
Charles Fulton
49b464f814
MDL-58000 badges: use large image when baking
2018-09-25 10:46:05 -04:00
Eloy Lafuente (stronk7)
fc008d6769
MDL-57610 assignfeedback_editpdf: add missing UK to install.xml
2018-09-25 15:21:42 +02: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
8199e69b47
Merge branch 'MDL-63119-master' of git://github.com/lameze/moodle
2018-09-25 12:36:08 +02:00
David Monllao
cebb7ba17c
Merge branch 'MDL-62930-master' of git://github.com/damyon/moodle
2018-09-25 12:28:10 +02:00
David Monllao
9d4c8d45ef
Merge branch 'MDL-62717-master' of https://github.com/lucaboesch/moodle
2018-09-25 12:18:36 +02:00
Alexander Bias
3e24741d0a
MDL-63442 login: Show MOODLEID cookie note only if needed
...
AMOS BEGIN
CPY [cookiesenabled,core],[cookiesenabledonlysession,core]
AMOS END
2018-09-25 12:16:47 +02:00
David Monllao
85d4b77cd3
Merge branch 'MDL-61967-master' of git://github.com/sarjona/moodle
2018-09-25 11:08:53 +02:00
Andrew Nicols
1a9fc39277
Merge branch 'MDL-63346' of https://github.com/stronk7/moodle
2018-09-25 08:35:08 +08: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
Eloy Lafuente (stronk7)
0de29dbf35
MDL-63020 tests: ensure that searching for is null values also works ok
2018-09-24 17:38:10 +02:00
Eloy Lafuente (stronk7)
985b6b75c2
Merge branch 'MDL-63020' of git://github.com/timhunt/moodle
2018-09-24 16:01:21 +02:00
Tim Hunt
eb6c769a8c
MDL-63020 dml: improve the unit tests
2018-09-24 11:41:25 +01:00
David Monllao
bac1731614
Merge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle
2018-09-24 11:24:49 +02:00
John Beedell
dfa85ad002
MDL-62708 qformat_xml: phpunit test correction.
2018-09-24 09:37:12 +01:00
David Monllao
6ef77520cd
MDL-47962 upgrade.txt: Update commit reference
2018-09-24 09:50:05 +02:00
David Monllao
ccff34bf07
Merge branch 'MDL-47962' of git://github.com/timhunt/moodle
2018-09-24 09:45:47 +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
d2a98f89bd
MDL-54035 course: Test reset roles in reset_course_userdata()
...
Previously, reset_course_userdata() was deleting the role_capabilities
directly, but has_capability() checks the local capabilities cache
which was still returning the previous value.
2018-09-21 09:17:43 -04: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
Jonathan Champ
b2f349a433
MDL-54035 accesslib: separate role definition cache clear
...
Thanks to MDL-49398, we can separate the combined user session and role
definition cache clearing function into two separate functions. At the
same time, we want to identify and remove mark_dirty() calls that were
added for role definition changes but were incorrectly left behind.
Change highlights:
- Remove unnecessary mark_dirty() calls performed after
assign_capability(), unassign_capability(), delete_role(),
deleted contexts, brand new contexts
- Move role definition cache clear from the user-centric
accesslib_clear_all_caches() to the newly created,
role-dedicated accesslib_reset_role_cache()
2018-09-21 09:17:42 -04:00
John Beedell
6189fda47f
MDL-62708 question: Add idnumbers to question and question category
2018-09-21 12:26:24 +01:00
Paul Holden
f56e695883
MDL-60028 enrol: fix counting of enrolled users in a given context.
...
Previously users enrolled in a course via multiple enrolment methods
would be counted multiple times.
2018-09-21 10:14:55 +01:00
Markku Riekkinen
a776169ee9
MDL-61981 filter_mathjaxloader: add unit tests
2018-09-21 09:58:42 +03:00
Markku Riekkinen
194ffa2344
MDL-61981 filter_mathjaxloader: nested math environments
...
The MathJax filter used to break mathematics if inline math was
used inside display math. Nolink spans were added around
the inline math even though it was nested inside another math
environment. This fix is aware of the nesting so that the spans
may be inserted only at the outer math environment. No regular
expressions are used because they do not support detecting
arbitrary, unlimited nesting of parentheses in the text, which
is now needed.
2018-09-21 09:58:27 +03:00
Tim Hunt
3923151a1a
MDL-47962 filter_glossary: changes made during integration review
2018-09-20 17:58:01 +01:00
Tim Hunt
5a8c44d000
MDL-47962 filter_glossary: only create replacement HTML if needed
2018-09-20 17:58:01 +01:00
Tim Hunt
1d8d00d91d
MDL-47962 filter_glossary: only prepare the replacement if used
2018-09-20 17:58:00 +01:00
Tim Hunt
ac66652078
MDL-47962 filter_glossary: clean up filterobject class
...
This is another preliminary commit, rationalising the ->work... fields
and also moving the code that sets them up into a separate function.
This is also to prepare for the next commit.
2018-09-20 17:58:00 +01:00