Commit graph

92464 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
aff8ad46f2 Merge branch 'm37_MDL-64443_Ignore_More_Swap_File_Types' of https://github.com/scara/moodle 2019-02-20 10:21:46 +01:00
David Monllaó
84ca3ccce4 MDL-64500 tool_analytics: noanalysables negation better than analysables 2019-02-20 10:09:26 +01:00
Simey Lameze
ce97cd44e4 MDL-64880 mod_wiki: remove useless wiki_cron() function 2019-02-20 14:41:44 +08:00
Andrew Nicols
0f5b2a1782 Merge branch 'MDL-64570-master-fix1' of git://github.com/damyon/moodle 2019-02-20 10:52:22 +08:00
Damyon Wiese
145a10f7a9 MDL-64570 user: input field purpose
Do not autocomplete the user fields when editing another user.
2019-02-20 09:42:26 +08:00
Eloy Lafuente (stronk7)
4776098fe4 Merge branch 'MDL-64679_master' of git://github.com/dmonllao/moodle 2019-02-20 00:06:50 +01:00
Eloy Lafuente (stronk7)
31dc8b8320 Merge branch 'MDL-63134-master' of git://github.com/rezaies/moodle 2019-02-19 23:57:10 +01:00
Eloy Lafuente (stronk7)
ffd3185c63 Merge branch 'MDL-64806-master' of git://github.com/damyon/moodle 2019-02-19 23:34:38 +01:00
Eloy Lafuente (stronk7)
84dd2193c1 Merge branch 'MDL-64242' of git://github.com/timhunt/moodle 2019-02-19 23:22:52 +01:00
Eloy Lafuente (stronk7)
c8469a9757 Merge branch 'MDL-63938-master' of https://github.com/HuongNV13/moodle 2019-02-19 19:07:14 +01:00
Eloy Lafuente (stronk7)
bfaebeb754 Merge branch 'MDL-64791-master' of git://github.com/jleyva/moodle 2019-02-19 17:42:21 +01:00
Eloy Lafuente (stronk7)
88edfc77c1 Merge branch 'MDL-62008-master' of git://github.com/damyon/moodle 2019-02-19 17:23:41 +01:00
Eloy Lafuente (stronk7)
50564f27ca Merge branch 'MDL-64500_master' of git://github.com/dmonllao/moodle 2019-02-19 17:10:38 +01:00
Adrian Greeve
2fb695f8df Merge branch 'MDL-60459_master' of git://github.com/markn86/moodle 2019-02-19 11:48:14 +01:00
Huong Nguyen
1f00fdb0d2 MDL-63938 Enrolments: course_enrolment_manager method improvement
course_enrolment_manager method should not always do a count_records and a get_records
2019-02-19 13:57:48 +07:00
David Monllaó
7677a86cc0 Merge branch 'MDL-64570-master' of git://github.com/damyon/moodle 2019-02-19 06:45:21 +01:00
David Monllaó
4f3f8fba67 Merge branch 'MDL-45151-master' of git://github.com/damyon/moodle 2019-02-19 06:39:24 +01:00
Damyon Wiese
3d97770365 MDL-64570 user: coding style
Fix cibot warnings on line length.
2019-02-19 09:44:20 +08:00
Damyon Wiese
2159983aff MDL-64570 accessibility: autocomplete user profile fields
Only if editing your own user details and not logged in as someone else.
2019-02-19 09:44:15 +08:00
Arjen Lentz
4b71e99564 MDL-21475 weblib: Simplify validate_email() to use existing function. 2019-02-19 10:51:21 +10:00
Eloy Lafuente (stronk7)
53bc11dd78 Merge branch 'MDL-53346-master' of git://github.com/damyon/moodle 2019-02-19 00:23:21 +01:00
Eloy Lafuente (stronk7)
b7b914fbdc Merge branch 'MDL-64314-master-upgrade-fix' of git://github.com/abgreeve/moodle 2019-02-18 16:49:50 +01:00
Adrian Greeve
6d6a83e91d MDL-64314 messaging: Quick fix for empty insights configuration. 2019-02-18 16:30:19 +01:00
Adrian Greeve
33f070f1f6 Merge branch 'MDL-64452-master-cachesession' of git://github.com/mudrd8mz/moodle 2019-02-18 15:51:30 +01:00
Mark Johnson
272c7948d2 MDL-64889 completion: Fix performance of get_course_progress_percentage 2019-02-18 14:03:52 +00:00
Adrian Greeve
45dc542a40 Merge branch 'MDL-64314_master' of git://github.com/dmonllao/moodle 2019-02-18 14:50:59 +01:00
David Mudrák
395bca32a1 MDL-64862 workshop: Fix grades to pass editing
There was a bug here that had not exposed until MDL-60820 introduced the
call $mform->setDefault() at the bottom of the definition_after_data()
method. That call triggers the 'updateValue' event on all form elements.
For input text elements, this effectively sets their value to the
default one, which was empty in this case due to the way how the value
had been set.

The solution here is to set the value via the same way like the normal
set_data() method does it.

The attached Behat test reproduces the problem and makes sure the patch
works.
2019-02-18 14:40:02 +01:00
David Monllaó
0a828b592d Merge branch 'MDL-64587-master' of https://github.com/junpataleta/moodle 2019-02-18 10:25:35 +01:00
Adrian Greeve
ceea116626 Merge branch 'MDL-55211-master' of git://github.com/damyon/moodle 2019-02-18 09:34:43 +01:00
Jun Pataleta
b0e8a833f9 MDL-64587 tool_xmldb: Change Continue to Back link for consistency
* For consistency with the rest of navigation links in the tool, change
the Continue button to a Back link.
2019-02-18 16:09:50 +08:00
Michael Aherne
495b4b412d MDL-64587 xmldb: XMLDB option to add mandatory persistent fields. 2019-02-18 15:38:23 +08:00
willem
e42d429c7b MDL-55135 competencies: fix capabilities managing course competencies
Capability check in a course was using global competency capabilities 
moodle/competency:competencyview and  moodle/competency:competencymanage 
instead of the course equivalents. Users outside the course context 
could not manage course competencies.
2019-02-18 08:07:38 +01:00
Jun Pataleta
2baf5722ab Merge branch 'MDL-62142-master' of git://github.com/damyon/moodle 2019-02-18 14:28:09 +08:00
Damyon Wiese
9df03b1940 MDL-62142 navigation: accessibility
Set unique meaningful labels on all nav components rendered in the "boost" theme.
2019-02-18 14:09:48 +08:00
Andrew Nicols
8b7c3b97d0 Merge branch 'MDL-62728-locale_5' of https://github.com/DSI-Universite-Rennes2/moodle 2019-02-18 12:27:40 +08:00
Andrew Nicols
3127feeb74 Merge branch 'MDL-61575-master' of git://github.com/cescobedo/moodle 2019-02-18 08:34:46 +08:00
Matteo Scaramuccia
8812534837 MDL-64443 git: Excluded vim swap files
Vim swap filenames are deterministic someway.
Refs:
- http://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file
- 4efe73b478/src/memline.c (L4683)
- https://unix.stackexchange.com/a/326737
- https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
2019-02-16 22:20:05 +01:00
AMOS bot
a531837689 Automatically generated installer lang files 2019-02-16 00:13:20 +00:00
John Beedell
af00998f74 MDL-64729 mod_glossary: glossary_get_entries_search case sensitivity 2019-02-15 16:53:20 +00:00
Julien Boulen
1a549472fa MDL-62728 lang: display a warning when missing some locales on server 2019-02-15 09:53:00 +01:00
David Mudrák
ea43f6c1c8 MDL-64452 cache: Add tests for key prefix based on session id
Unfortunately, we can't simply use session_id() to regenerate the
session id in unit tests. Starting from PHP 7.2, it would trigger
"session_id(): Cannot change session id when headers already sent",
refer to MDL-60978 and PHP bug #75628 for more details.

As a workaround, we use a static property allowing us to inject the
value that we then use as a session identifier. This is reasonably
enough to make sure that the identifier is used as a part of the key
prefix.
2019-02-15 09:36:43 +01:00
David Mudrák
0ea0dfde6d MDL-64452 cache: Always use the current session id in the key prefix
The current logic in the cache_session::check_tracked_user() is not
right. We must always set the current session id. A typical use case is
when the cache instance is instantiated for a not logged in user. We
can't let the sessionid property null in that case as it forms an
important part of the parsed key.

Similarly, even if we have the same user currently loaded, we must still
set the sessionid to make sure the data will be associated with the
current PHP session. Same user (including visitors or guest users) can
access the site from different browsers and each must end up with its
own key prefix.
2019-02-15 09:36:43 +01:00
Jun Pataleta
53d1a16828 Merge branch 'MDL-63944-master' of https://github.com/lethevinh/moodle 2019-02-15 16:27:02 +08:00
David Monllaó
b5b112f62c MDL-64314 messaging: Web notifications for insights 2019-02-15 08:47:01 +01:00
David Monllaó
e40af65c87 MDL-64679 tool_analytics: Allow trained models to be cleared 2019-02-15 08:43:13 +01:00
VinhLe
d02247448b MDL-63944 Question: Add toggle all to Quiz Activity 2019-02-15 14:42:07 +07:00
Andrew Nicols
270fd3f5e4 MDL-63944 Question: Convert toggle all to generic module 2019-02-15 10:07:08 +07:00
VinhLe
b65bc972e6 MDL-63944 Questions Bank: Select all checkbox should be checked
When checkbox item be chosen then "Select All" be chosen.
When "Select All" be chosen then all checkbox item be chosen.
2019-02-15 10:07:08 +07:00
Damyon Wiese
769cd8c4cc MDL-64863 tool_lp: Progress if needed
Do not immediately show progress bars since most operations work
in under a second. This will use the default timeout (5 seconds)
before showing progress bars.
2019-02-15 09:06:04 +08:00
Andrew Nicols
124999563a weekly release 3.7dev 2019-02-15 08:29:14 +08:00