Eloy Lafuente (stronk7)
4972dd43dd
Moodle release 3.6.4
2019-05-11 23:17:47 +02:00
Eloy Lafuente (stronk7)
2f1ed94388
weekly release 3.6.3+
2019-05-10 20:31:19 +02:00
Eloy Lafuente (stronk7)
f49a92efa5
Merge branch 'MDL-65537-36-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-05-10 20:08:45 +02:00
David Mudrák
7fb7ab13dc
MDL-65537 lang: Use fixed strings in tests, too
2019-05-10 16:12:10 +02:00
Helen Foster
34d9787dec
MDL-65537 lang: Import fixed English strings (en_fix)
2019-05-10 16:11:45 +02:00
Eloy Lafuente (stronk7)
d890ed6adf
Merge branch 'MDL-65558-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-05-10 11:30:10 +02:00
Jun Pataleta
ed10f401df
Merge branch 'MDL-65540-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-05-10 15:58:46 +08:00
Andrew Nicols
df5e6e00fb
MDL-65558 enrol_database: use , as port separator
2019-05-10 12:24:42 +08:00
Andrew Nicols
84eed6a5a4
MDL-65558 auth_db: use , as port separator
2019-05-10 12:24:42 +08:00
Andrew Nicols
cb857db4f2
MDL-63959 feedback: Adjust unit test for perf
2019-05-10 11:42:51 +08:00
Andrew Nicols
ff2435d89c
Merge branch 'MDL-63959-36' of git://github.com/tobiasreischmann/moodle into MOODLE_36_STABLE
2019-05-10 11:41:47 +08:00
Shamim Rezaie
111bca500e
MDL-65540 core_search: Explicit component name in the str helper
2019-05-10 08:07:31 +08:00
Shamim Rezaie
4701196ce8
MDL-65540 tool_dataprivacy: Explicit component name in the str helper
2019-05-10 08:07:27 +08:00
Eloy Lafuente (stronk7)
8d4f985112
Merge branch 'MDL-65197-36' of https://github.com/paulholden/moodle into MOODLE_36_STABLE
2019-05-09 20:02:38 +02:00
Eloy Lafuente (stronk7)
ac3f1bdecd
Merge branch 'MDL-29320-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-05-09 19:49:48 +02:00
Jun Pataleta
953195bf38
Merge branch 'MDL-65445_36-qtype_ddwtos' of https://github.com/jonof/moodle into MOODLE_36_STABLE
2019-05-09 15:58:36 +08:00
Andrew Nicols
fa6a5a4b29
Merge branch 'MDL-65479_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-05-09 15:17:01 +08:00
Andrew Nicols
6be75c49ec
Merge branch 'MDL-65435_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-05-09 14:51:36 +08:00
Jun Pataleta
5d9bf8fe28
Merge branch 'MDL-65141-36' of git://github.com/jleyva/moodle into MOODLE_36_STABLE
2019-05-09 12:27:39 +08:00
Adrian Greeve
c1143b3932
Merge branch 'MDL-58315_36_boost_block_classes' of https://github.com/zpottie/moodle into MOODLE_36_STABLE
2019-05-09 11:33:40 +08:00
Adrian Greeve
e2df9eabc5
Merge branch 'MDL-65387-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-05-09 11:23:44 +08:00
Eloy Lafuente (stronk7)
42481b9ca0
MDL-65435 behat: Support any arg type with behat reruns
...
Right now, when executing a single rerun of a parallel run
using vendor/bin/behat, not all the argument alternatives
are supported (equal or space). This commit allows both to work.
2019-05-08 23:23:00 +02:00
Luca Bösch
ecd0e011ee
MDL-65387 dataformats: Table download formats choose pulldown style.
2019-05-08 20:21:33 +02:00
Eloy Lafuente (stronk7)
e82c80f706
MDL-65479 repository_url: make regexp PCRE2 compatible
...
PHP 7.3 comes with the newer PCRE2 engine that is slightly stricter,
more specifically about using unescaped "-" within classes. They
now hat to be at the end of the class or escaped.
This is the only case we have found in core to make it compatible.
Also note that the file changes is, apparently an imported library,
but we have not it registered and already have performed changes to
it, so I've ignored that point. In fact, it has tabs and so on, I've
not modified that either.
2019-05-08 18:27:21 +02:00
Michael Hawkins
a8c51871f4
MDL-61738 messageinbound: Fix quota checks & filesize for email uploads
...
Private files uploaded by email will now honour the file quota limit,
because the filesize is set correctly and checked against users'
remaining personal quota limit. Previously, attachment size was always
set to zero, and quota was checked against the draft area (this is
not valid for email uploads, because each file is moved out of the
draft area as it is processed, so multiple files totalling greater
than the remaining quota would still pass the check).
2019-05-08 17:56:47 +02:00
Dan Marsden
d5067bffd2
MDL-64708 cohort: Return url is not used anywhere in core.
2019-05-08 17:56:47 +02:00
Mark Nelson
a3d19efab4
MDL-65365 core_message: prevent users from viewing all conversations
2019-05-08 17:56:47 +02:00
Eloy Lafuente (stronk7)
888f55e41e
weekly release 3.6.3+
2019-05-08 17:48:46 +02:00
Adrian Greeve
f22174be37
Merge branch 'MDL-65484-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-08 17:38:32 +02:00
Andrew Nicols
eff5fd4984
Merge branch 'MDL-35396-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
2019-05-08 17:38:28 +02:00
Damyon Wiese
09543c0123
MDL-65484 assign: Scrolling overflow CSS
...
Use relatively positioned elements, not absolutely positioned to prevent
elements being visible when they are scrolled outside the containing drawing region.
2019-05-07 16:21:33 +08:00
Mihail Geshoski
29924b65e3
MDL-35396 lesson: Fix detailed statistics display for essay questions
2019-05-07 13:59:23 +08:00
Jun Pataleta
7819b928b1
Merge branch 'MDL-65313-36-fix' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-05-07 11:25:53 +08:00
Jake Dallimore
151fc538de
MDL-65313 core: fix deletion of group conversation favourites
...
This now requires itemid, which cannot be null. This is safer. The
context is still used an an additional filter.
2019-05-07 11:03:28 +08:00
Jun Pataleta
391d53f871
Merge branch 'MDL-65153-36-fix1' of http://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-07 10:08:39 +08:00
Damyon Wiese
64f1f9ed5a
MDL-65153 competencies: course competencies page
...
The webservice to fetch the data for the course competencies page requires the
pluginbaseurl to be set.
2019-05-07 10:02:29 +08:00
Sara Arjona
c6631a119c
MDL-65313 core_favourite: fix issue with groups_delete_group
2019-05-06 13:03:02 +02:00
Sara Arjona
6af01fb2e4
Merge branch 'MDL-65374-36' of https://github.com/lucaboesch/moodle into
...
MOODLE_36_STABLE
2019-05-06 12:09:31 +02:00
Jun Pataleta
83af30b285
MDL-65313 core: Fix orphaned favourites cleanup
2019-05-06 16:48:43 +08:00
Jun Pataleta
37858eb4a8
Merge branch 'MDL-65399-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-05-06 16:26:34 +08:00
Sara Arjona
569b5eeac1
Merge branch 'MDL-65396-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-05-06 10:20:07 +02:00
Jun Pataleta
43a538205f
Merge branch 'MDL-65153-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-06 16:13:51 +08:00
Shamim Rezaie
5557ec004c
MDL-65399 mod_quiz: Handling the edge case when section name is ''
2019-05-06 18:13:42 +10:00
Shamim Rezaie
fe3d98f0a0
MDL-65399 mod_quiz: UI should prevent deleting the last slot of section
2019-05-06 18:13:41 +10:00
Shamim Rezaie
2b9c3f1089
MDL-65399 mod_quiz: remove_slot should update the existing info
...
The remove_slot method should update the remaining slot's slot
attribute. It also should update the remaining slot's question number
and section info.
2019-05-06 18:13:41 +10:00
Shamim Rezaie
e6b2cb22d0
MDL-65399 mod_quiz: Remove $slots from the \mod_quiz\structure class
...
It's enough to have $slotsinorder, and the $slots property
was redundant. There should only be a single source of truth.
2019-05-06 18:13:40 +10:00
Jun Pataleta
6f1ffbdf1f
Merge branch 'MDL-65313-36' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-05-06 16:02:10 +08:00
Adrian Greeve
65faf38134
Merge branch 'MDL-64968-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-05-06 15:59:10 +08:00
Jake Dallimore
a3b8e03c1c
MDL-65313 core: upgrade code to remove stale favourites for messaging
...
These were left behing when deleting a group or a course.
2019-05-06 14:14:38 +08:00
Jake Dallimore
daea8b596f
MDL-65313 core: delete relevant favourites when deleting a conversation
2019-05-06 14:13:24 +08:00
Adrian Greeve
84d3af595b
Merge branch 'MDL-65104-36' of git://git.cameron1729.xyz/moodle into MOODLE_36_STABLE
2019-05-06 11:59:27 +08:00
Adrian Greeve
a402077cf2
Merge branch 'MDL-65296_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-05-06 11:03:17 +08:00
Jake Dallimore
d199355889
Merge branch 'MDL-64988-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-05-06 10:34:31 +08:00
Luca Bösch
bdf593e235
MDL-65396 theme_boost: Style duration chooser pulldown select.
2019-05-04 11:02:01 +02:00
Luca Bösch
2ca8477af4
MDL-65374 core_grades: style "Move selected items to" pulldown.
2019-05-04 11:01:50 +02:00
Luca Bösch
947a322df7
MDL-64968 mod_lesson: Style "Yes, I'd like to try again" button.
2019-05-04 11:01:43 +02:00
Eloy Lafuente (stronk7)
0442f44049
weekly release 3.6.3+
2019-05-03 17:52:10 +02:00
Shamim Rezaie
43b55f1354
MDL-64988 mod_quiz: Fix questions always being added to the last section
2019-05-03 20:19:33 +10:00
zpottie
24bcd5b772
MDL-58315 core: Add support for custom block classes in Boost
2019-05-03 16:14:31 +12:00
Alexander Bias
07c0e0e090
MDL-65157 core_completion: no progress for untracked users
...
This is a backport of the code from MDL-64898 by Dmitrii Metelkin to Moodle 3.6
2019-05-03 11:54:15 +08:00
Andrew Nicols
dde68b8c47
Merge branch 'MDL-65299_boost_theme-colors_override_M36' of https://github.com/Dave-B/moodle into MOODLE_36_STABLE
2019-05-03 11:12:53 +08:00
Adrian Greeve
2b918bc767
Merge branch 'MDL-64851-36' of https://github.com/s-cenni/MDL-64851 into MOODLE_36_STABLE
2019-05-03 10:44:50 +08:00
Jake Dallimore
f411cdd29a
Merge branch 'MDL-65134-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-05-03 10:05:42 +08:00
Andrew Nicols
f3b6ddec28
Merge branch 'MDL-65262-36' of git://github.com/lameze/moodle into MOODLE_36_STABLE
2019-05-03 10:02:54 +08:00
Simey Lameze
091cad4be8
MDL-65262 core_calendar: change location param type
2019-05-03 09:43:02 +08:00
Andrew Nicols
d941f7a2bd
Merge branch 'MDL-64394-accesslog-MOODLE_36_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_36_STABLE
2019-05-03 08:50:26 +08:00
Sara Arjona
cf91bb38cf
MDL-65169 core_message: remove extra line at the end
2019-05-02 15:44:48 +02:00
Sara Arjona
c487276abc
Merge branch 'MDL-65169-36' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-05-02 15:29:22 +02:00
Andrew Nicols
687af3bae7
MDL-65447 theme: Apply pendingJS checks to BS transitions
2019-05-02 13:34:25 +02:00
Jun Pataleta
525db9e050
Merge branch 'MDL-65411-36' of git://github.com/lameze/moodle into MOODLE_36_STABLE
2019-05-02 17:02:43 +08:00
Ryan Wyllie
07d60fe334
MDL-65134 core_message: Introduce event specific function
...
Introduced an event specific formatting function.
Additional catch on render fn calls
2019-05-02 16:24:13 +08:00
Peter
3a7b1b4d6e
MDL-65134 core_message: Rerender the message with the updated last msg
...
* When a new last message we need to reorder the messages within the
message list. Call render for this.
* Standardize the cached items
* Delete cached entries on clear
2019-05-02 16:17:54 +08:00
Jun Pataleta
3332b5ed21
Merge branch 'MDL-65446-36' of https://github.com/ryanwyllie/moodle into MOODLE_36_STABLE
2019-05-02 15:01:14 +08:00
Jake Dallimore
f05770656d
Merge branch 'MDL-64439-MOODLE_36_STABLE' of https://github.com/ilya-catalyst/moodle into MOODLE_36_STABLE
2019-05-02 14:52:39 +08:00
Jun Pataleta
61dec4c904
Merge branch 'MDL-65273-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-05-01 17:25:12 +08:00
Paul Holden
e7bc8b35ee
MDL-65197 editor: handle empty user preference in privacy export.
2019-05-01 09:53:32 +01:00
Jun Pataleta
17a25fbe04
Merge branch 'MDL-65250_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-05-01 16:04:12 +08:00
Luca Bösch
168ac5c80a
MDL-65273 roles: Roles permissions buttons styles.
2019-05-01 09:28:32 +02:00
Adrian Greeve
b0d6391ab7
Merge branch 'MDL-65149-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-01 14:59:26 +08:00
Adrian Greeve
c74b156127
Merge branch 'MDL-64959_36_STABLE' of https://github.com/abhimanyuZ/moodle into MOODLE_36_STABLE
2019-05-01 14:31:12 +08:00
Adrian Greeve
a11e641a3a
Merge branch 'MDL-65031-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-01 14:05:00 +08:00
Adrian Greeve
832292c29e
Merge branch 'MDL-65178-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-01 11:57:52 +08:00
Simey Lameze
f5dedb71e1
MDL-65411 core_calendar: wrap long description text
2019-05-01 09:55:13 +08:00
Jake Dallimore
e7e5880c0f
Merge branch 'MDL-60851-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-05-01 09:33:14 +08:00
Damyon Wiese
4d6a6fb033
MDL-60851 backup: coding style fixes
2019-05-01 08:51:22 +08:00
Damyon Wiese
f86abcf932
MDL-60851 backup: Sanitise setting dependencies
...
The only different between each setting dependency type is the evaluation of the condition,
and the mform js validation arguments - so that should be the only thing that is extended
by each subclass.
2019-05-01 08:51:22 +08:00
Damyon Wiese
42c6dadcd4
MDL-60851 backup: Fix undefined $value
2019-05-01 08:51:22 +08:00
Damyon Wiese
cb49d89ba4
MDL-60851 backup: More unit tests for dependencies
2019-05-01 08:51:22 +08:00
Eloy Lafuente (stronk7)
f2c4f5cd07
Merge branch 'MDL-65397-36-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-05-01 01:43:03 +02:00
Eloy Lafuente (stronk7)
3bbf743330
weekly release 3.6.3+
2019-05-01 00:28:47 +02:00
Eloy Lafuente (stronk7)
edad20f8e4
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-05-01 00:28:45 +02:00
Juan Leyva
9c5af7f9ec
MDL-65141 tool_mobile: Return all the language translations
2019-04-30 15:25:39 +02:00
Jun Pataleta
9a6022b235
MDL-29320 user: Make email query case-insensitive
2019-04-30 16:21:25 +08:00
Jun Pataleta
90f26d99ab
MDL-29320 admin: Improve test for multiple accounts with same email
...
* Use Scenario Outlines
* More coverage:
- Test for email case-sensitivity
- Updating user profile as admin
- Updating own user profile
2019-04-30 16:21:25 +08:00
Jun Pataleta
35ed170068
MDL-29320 user: Remove @javascript tag for add new user behat test
...
* It's not necessary and will improve Behat execution time
2019-04-30 16:21:25 +08:00
Tobias Reischmann
c106bcfc54
MDL-63959 mod_feedback: Add phpunit tests for get_pages in completion
2019-04-30 07:57:17 +02:00
Zoltán Szarvas
f4e974d2fc
MDL-63959 mod_feedback: Fixed nested dependency handling
...
For example the dependecy chain is the following: A->B->C. When a
question (A) depends on another dependent item (B) and B hasn't
displayed (because of C's response), the $value for the B's response
will be null. In this case the can_see_item() method returned
null. Because the can_see_item() returned null (not false), the
get_pages() method displayed the question A, because it checks for
explicit false: $this->can_see_item($item) !== false.
Now, false is also returned, if the dependent question is not visible.
2019-04-30 07:57:16 +02:00
Ryan Wyllie
9075a96e5d
MDL-65446 admin: fix admin email option for cli install
2019-04-30 13:35:43 +08:00
Jake Dallimore
a1afcb2e7a
MDL-65169 core_message: user search respects profile visibility
...
Two modes of visibility checking are supported, depending on the value
of the 'messagingallusers' site setting (site-wide messaging):
- If site-wide messaging is enabled, a user may only be returned in
search results if the searching user can view their profile somewhere
(either the site profile or any course profile).
- If site-wide messaging is disabled, a user may only be returned in
search results if the searching user shares a course with them and can
view their course profile in the shared course.
2019-04-30 11:26:40 +08:00
Jonathon Fowler
ed35b34461
MDL-65445 qtype_ddwtos: reposition draggables when the drops move
2019-04-30 12:47:04 +10:00
Jake Dallimore
baa7be6a86
MDL-65169 core_message: add behat step allowing searching for a string
...
New step: 'I search for "xx" in messaging'.
2019-04-30 10:40:48 +08:00
Eloy Lafuente (stronk7)
acc98001f0
MDL-63137 mod_feedback: discern between user or id better
...
is_int('1') => false, so better we invert the check that is safer.
2019-04-30 08:50:12 +08:00
AMOS bot
e1282ad929
Automatically generated installer lang files
2019-04-30 00:12:26 +00:00
Eloy Lafuente (stronk7)
e24d2a78e5
Merge branch 'MDL-65293-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-04-29 22:46:05 +02:00
Eloy Lafuente (stronk7)
7cc659b2b9
Merge branch 'MDL-65439-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-29 22:41:59 +02:00
Eloy Lafuente (stronk7)
030ed9e798
Merge branch 'MDL-63137-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-29 20:10:51 +02:00
cescobedo
98c19db4c4
MDL-65439 core_message: Behat tests for manage preferences
2019-04-29 13:28:31 +02:00
cescobedo
344f8adeed
MDL-65439 core_message: New step to open settings preferences
2019-04-29 13:20:39 +02:00
Helen Foster
506317da3a
MDL-65397 lang: Import fixed English strings (en_fix)
...
Significant string changes:
* direct:view,gradeimport_direct - wording corrected from 'CSV' to
'spreadsheet'
* limitanswers_help,mod_choice - additional wording added explaining how
the setting works with groups
2019-04-29 11:45:16 +02:00
Jun Pataleta
1e8361252d
Merge branch 'MDL-65279-36' of https://github.com/tkorner/moodle into MOODLE_36_STABLE
2019-04-29 17:09:20 +08:00
Sara Arjona
d437812525
Merge branch 'MDL-64702-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-29 08:42:44 +02:00
Jun Pataleta
87f24237dc
Merge branch 'MDL-65206-36' of git://github.com/tobiasreischmann/moodle into MOODLE_36_STABLE
2019-04-29 12:44:43 +08:00
AMOS bot
927c441b10
Automatically generated installer lang files
2019-04-27 00:12:43 +00:00
Eloy Lafuente (stronk7)
138460e98b
weekly release 3.6.3+
2019-04-26 18:41:15 +02:00
Amaia Anabitarte
c42a9a49b4
MDL-63137 mod_feedback: PHPUnit tests for new userid parameter
2019-04-26 17:33:14 +02:00
Amaia Anabitarte
3f80870619
MDL-63137 mod_feedback: mod_feedback_core_calendar_provide_event_action
...
Update mod_feedback_core_calendar_provide_event_action function to add a new userid parameter
Add userid to check capabilities, etc. to feedback completion and structure.
2019-04-26 17:33:14 +02:00
Amaia Anabitarte
9c52e5ea99
MDL-63137 mod_feedback: Pointing TODO tasks to right deprecation issue
2019-04-26 17:33:14 +02:00
Sara Arjona
cafb171c3a
Merge branch 'MDL-64676-36-fix' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-04-26 11:50:40 +02:00
Jake Dallimore
e8b9a60126
MDL-64676 core_message: fix legacy behat step which failed on firefox
...
Old step was looking for a link, which didn't exist. Now, we use image.
2019-04-26 15:59:26 +08:00
Damyon Wiese
748117eb47
MDL-64702 badges: Add missing data to backup
...
Backup and restore of badges is missing data:
* related badges
* alignments
* endorsement
Also added to "clone" (duplicate a badge).
2019-04-26 09:38:37 +08:00
Eloy Lafuente (stronk7)
6c948829cd
MDL-60418 Behat: Fix missing $installurl
2019-04-25 23:38:58 +02:00
Eloy Lafuente (stronk7)
605d3e8d98
Merge branch 'MDL-60418_36' of git://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-04-25 23:26:06 +02:00
Tim Hunt
ba61f2f91b
MDL-60418 Behat: Fix broken docs links in Behat code.
2019-04-25 21:39:27 +01:00
David Monllaó
8cd7ebf239
Merge branch 'MDL-64673-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-25 18:41:46 +02:00
Amaia Anabitarte
eae54c38f7
MDL-64673 core_message: Modifying group_messate_tab xpath
2019-04-25 10:07:53 +02:00
Eloy Lafuente (stronk7)
6bfe5a229d
Merge branch 'MDL-65170-36' of https://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-24 20:37:23 +02:00
David Monllaó
937b5c4c69
Merge branch 'MDL-64672-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-24 20:07:06 +02:00
Sara Arjona
cab2c6ed9b
MDL-65170 core_user: fix behat for viewing full profile
...
Users belonging to the same course with separate groups forced
will only be able to find their contacts or other users on the
same group.
2019-04-24 19:53:17 +02:00
Amaia Anabitarte
808c1d1407
MDL-64673 core_message: Starring conversations behat test
2019-04-24 18:16:24 +02:00
Amaia Anabitarte
6a6da30b4d
MDL-64666 core_message: Favourite private conversations data generator
2019-04-24 18:16:24 +02:00
David Monllaó
5413077874
Merge branch 'MDL-64985-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-24 18:13:56 +02:00
David Monllaó
6ffae61d70
Merge branch 'MDL-64666-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-24 18:07:50 +02:00
Sara Arjona
ab20b56894
MDL-64985 message: display aria label in user profile link
...
Remove the aria-hidden label to display the label/text in
the user profile link.
2019-04-24 18:04:34 +02:00
Sara Arjona
e2d400a136
MDL-64985 message: add better aria labels to the actions menu
...
Add better aria labels to the action menus in messaging, renaming
some labels and declaring it as a menu.
2019-04-24 18:04:27 +02:00
Sara Arjona
0f7c44657e
MDL-64985 message: add aria label to cancel selection button
...
Add aria labels for cancel edit message button (the little cross
when selecting messages).
2019-04-24 18:04:20 +02:00
Amaia Anabitarte
4c9c07a855
MDL-64666 core_message: New behat test for delete conversation
2019-04-24 17:43:52 +02:00
Amaia Anabitarte
7e60d9f35f
MDL-64666 core_message: Favourite private conversations data generator
2019-04-24 17:43:52 +02:00
Eloy Lafuente (stronk7)
25e6630c5d
Merge branch 'MDL-64267-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-04-24 15:23:37 +02:00
Eloy Lafuente (stronk7)
d4f2b45455
Merge branch 'MDL-64151-36-fix' of https://github.com/marinaglancy/moodle into MOODLE_36_STABLE
2019-04-24 12:49:27 +02:00
Bas Brands
bc270ce303
MDL-64267 core_message: fix z-index on sticky positioned notification
2019-04-24 11:58:45 +02:00
Marina Glancy
90667b82e8
MDL-64151 forms: select element without selection
...
Select element that is not multiple should export null when nothing is
selected. If the element is displayed there will always be something
selected.
2019-04-24 11:40:39 +02:00
Jake Dallimore
09d7853909
Merge branch 'MDL-64267-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-04-24 16:55:19 +08:00
Amaia Anabitarte
179f527ae3
MDL-64672 core_message: Behat tests for unread messages
2019-04-24 10:00:52 +02:00
Amaia Anabitarte
e2c4522e8c
MDL-64666 core_message: Favourite private conversations data generator
2019-04-24 10:00:52 +02:00
Bas Brands
57ec34a9cc
MDL-64267 core_message: sticky positioning of contact request info
2019-04-24 09:31:38 +02:00
Tobias Reischmann
7d02fe560a
MDL-64267 core_message: Removed pb-2 from message-container
...
The padding at the bottom broke layout in clean theme since it caused an
overflow, which resulted in a second scrollbar on the message-drawer.
2019-04-24 09:31:37 +02:00
Tobias Reischmann
408efe43c5
MDL-64267 core_message: Moved contact-request to dont cause scrollbar
...
The contact-request-sent-message-container was outside of the
conversation body and caused multiple overflows and thus multiple
scrollbars. Moving it inside does not have an effect on the layout
except one scrollbar is enough now.
2019-04-24 09:31:37 +02:00
Sara Arjona
ea210f78e4
Merge branch 'MDL-65170-36' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-04-24 09:02:35 +02:00
Adrian Greeve
debc37f3c2
Merge branch 'MDL-65375-m36' of https://github.com/sammarshallou/moodle into MOODLE_36_STABLE
2019-04-24 10:30:22 +08:00
Adrian Greeve
e642c550c4
Merge branch 'MDL-65308_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-04-24 09:28:41 +08:00
Eloy Lafuente (stronk7)
dfc4176c4a
Merge branch 'MDL-64676-36' of https://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-23 19:48:42 +02:00
Eloy Lafuente (stronk7)
796a7c9b67
Merge branch 'MDL-64151-36' of git://github.com/marinaglancy/moodle into MOODLE_36_STABLE
2019-04-23 19:38:40 +02:00
Eloy Lafuente (stronk7)
972146bb1e
weekly release 3.6.3+
2019-04-23 17:36:27 +02:00
David Monllaó
eaba78a8b2
Merge branch 'MDL-64102-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-04-23 13:34:06 +02:00
David Monllaó
e9a8d6e781
Merge branch 'MDL-65102-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-04-23 13:34:03 +02:00
Damyon Wiese
da59e61407
MDL-64702 badges: Add to privacy
...
Add endorsement, related badges and alignment to privacy export.
2019-04-23 11:15:32 +08:00
Eloy Lafuente (stronk7)
7bdb7736b3
weekly release 3.6.3+
2019-04-23 11:15:32 +08:00
AMOS bot
dfd771cddb
Automatically generated installer lang files
2019-04-23 11:15:31 +08:00
sam marshall
2327fedbea
MDL-65375 Restore: Null data in other field should be serialised
...
If the 'other' field is empty, then following a restore of course
logs, it should still be serialised so that it is consistent with
the normal behaviour when logging.
Without this change, an event with null value for other has the
field set to NULL if you restore it, but 'N;' when the event is
initially created.
2019-04-18 15:04:18 +01:00
Adrian Greeve
5c0c0f1ceb
Merge branch 'MDL-29318-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-04-18 13:49:52 +08:00
Eloy Lafuente (stronk7)
2711a4013a
weekly release 3.6.3+
2019-04-17 20:04:27 +02:00
Eloy Lafuente (stronk7)
5e650c09fc
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-04-17 20:04:23 +02:00
Eloy Lafuente (stronk7)
f62ab50109
MDL-65308 core: change a couple of unsafe preg_quote() cases
...
With PHP 7.3, the hash (#) is being escaped by preg_quote().
While normally that doesnt have much impact and normal operations
continue working perfectly... when the results of the function are
used to match against the same string... they don't match anymore.
Have found a couple of there double-uses in core and this
commit fixes them. Covered with tests.
2019-04-16 02:13:40 +02:00
AMOS bot
85e6250179
Automatically generated installer lang files
2019-04-13 00:13:21 +00:00
Eloy Lafuente (stronk7)
808a369677
weekly release 3.6.3+
2019-04-12 21:35:15 +02:00
Eloy Lafuente (stronk7)
29e6d9d9eb
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-04-12 21:35:13 +02:00
Jake Dallimore
604796406c
Merge branch 'MDL-62974-36' of github.com:abgreeve/moodle into MOODLE_36_STABLE
2019-04-12 11:17:50 +08:00
Adrian Greeve
25f240bd6f
MDL-62974 mod_lesson: Minor update to html class.
2019-04-12 11:08:46 +08:00
Eloy Lafuente (stronk7)
29c5b2b01f
Merge branch 'MDL-62974-36' of https://github.com/jmvedrine/moodle into MOODLE_36_STABLE
2019-04-11 23:50:07 +02:00
Marina Glancy
dd971a0a45
MDL-64151 form: autocomplete element remove last choice
...
This is the same situation as was in MDL-56864 but now in 'course', 'autocomplete' and 'select' elements
- if the element allows multiple selection it is impossible to remove the last element
2019-04-11 16:46:40 +02:00
Sara Cenni
0a1a11aae4
MDL-64851 badge: reviewing badges of invisible courses
2019-04-11 13:29:57 +02:00
Adrian Greeve
a017a672bb
Merge branch 'MDL-64719-purge_user_cache-36' of git://github.com/leonstr/moodle into MOODLE_36_STABLE
2019-04-11 13:39:16 +08:00
David Balch
0df5a25aca
MDL-65299 Boost: Allow default.scss theme-colors override.
2019-04-10 14:13:18 +00:00
Adrian Greeve
39a920802e
Merge branch 'MDL-46975-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-04-10 14:25:30 +08:00
AMOS bot
23d1362718
Merge branch 'MOODLE_36_STABLE' into install_36_STABLE
2019-04-10 00:12:20 +00:00
Jean-Michel Vedrine
58b6b184b3
MDL-62974 lesson: Suppress HTML font tags
2019-04-09 22:58:13 +02:00
Eloy Lafuente (stronk7)
dcaa783741
weekly release 3.6.3+
2019-04-09 20:37:08 +02:00
Eloy Lafuente (stronk7)
ad55a7047e
Merge branch 'MDL-64819-36' of https://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-09 16:03:25 +02:00
Sara Arjona
550c3afcd8
MDL-64819 course: fix behat errors with the move icon
...
Some errors have been detected when using Clean + Goutte.
2019-04-09 14:13:56 +02:00
AMOS bot
efcf91a9a1
Automatically generated installer lang files
2019-04-09 00:11:24 +00:00
AMOS bot
04a30bd4df
Automatically generated installer lang files
2019-04-09 00:11:24 +00:00
Amaia Anabitarte
eeb0c2f410
MDL-64676 core_message: Fix old behat tests affected by new messaging
2019-04-08 19:49:56 +02:00
Sara Arjona
4831903987
Merge branch 'MDL-64819-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-08 14:20:41 +02:00
Tim Hunt
991ecfec28
MDL-65296 questions: field should be declared
...
It was already being set, but IDE autocomplete etc did not know that.
2019-04-08 12:24:49 +01:00
Sara Arjona
f32bb17861
Merge branch 'MDL-64669-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-04-08 13:12:49 +02:00
Bas Brands
828b40dca1
MDL-64102 core_message: add message tails to match ux design
2019-04-08 12:37:22 +02:00
Adrian Greeve
01872fd505
Merge branch 'MDL-65218-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-08 16:55:10 +08:00
Amaia Anabitarte
a64fdeacd8
MDL-64669 core_message: Waiting for buttons to hide before login out
2019-04-08 10:25:02 +02:00
Amaia Anabitarte
1118af2a3b
MDL-64669 core_message: New steps and selectors for messaging
2019-04-08 10:24:35 +02:00
Amaia Anabitarte
018aecdeb5
MDL-64669 core_message: Behat tests for send messages
2019-04-08 10:24:35 +02:00
Damyon Wiese
fadc44f298
MDL-64819 output: Hide icons with no title
...
When output from javascript they should match what gets output from php.
2019-04-08 15:41:18 +08:00
Shamim Rezaie
1987a409b8
MDL-65293 core_calendar: Privacy deletion fix
...
Deleting in course context should not delete from course modules
2019-04-08 15:39:36 +10:00
Jake Dallimore
b93b0d6355
MDL-65170 core_user: perf improvement for user_get_user_details_courses
...
We don't always need to iterate over the user's courses, so only fetch
them when we do.
2019-04-08 09:04:54 +08:00
Jake Dallimore
e3b664447b
MDL-65170 core_user: user_get_user_details_courses respects groupmode
...
This had a relatively simply check for course profile visibility, which
meant that users in separate groups could see one another's profile.
This has been replaced with the more correct check in
user_can_view_profile().
2019-04-08 09:04:54 +08:00
Eloy Lafuente (stronk7)
6155dd23d2
weekly release 3.6.3+
2019-04-05 18:32:39 +02:00
Thomas Korner
0553a6d90c
MDL-65279 core: typo in categoriesandcourses fixed
...
AMOS BEGIN
MOV [categoriesandcoures,core],[categoriesandcourses,core]
AMOS END
2019-04-05 14:36:27 +02:00
Damyon Wiese
9223d556fb
MDL-64819 output: Activity menu icons
...
Remove duplciate alt text from activity menu icons and the links to add new sections.
2019-04-05 12:02:56 +08:00
Eloy Lafuente (stronk7)
8e1ab8a382
Merge branch 'MDL-65029_36' of git://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-04-05 00:40:38 +02:00
Eloy Lafuente (stronk7)
4cb5500048
Merge branch 'MDL-65127-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-05 00:13:10 +02:00
Eloy Lafuente (stronk7)
9cc403d680
Merge branch 'MDL-65094-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-04-04 22:38:29 +02:00
Eloy Lafuente (stronk7)
8d98d2c9fd
Merge branch 'MDL-65038_MOODLE_36_STABLE' of https://github.com/maksudr/moodle into MOODLE_36_STABLE
2019-04-04 20:31:13 +02:00
Eloy Lafuente (stronk7)
44160cf213
MDL-65087 behat: Select the proper search button via xpath
...
By adding the "Search" aria label to a number of elements
any search of "Search" buttons, previously working in other
parts of the UI are not found anymore (because the hidden
ones are found before).
So, moving to click via xpath. Ideally we should be able to
find the target button in an easier, human readable way. But
there aren't many ids, names around to make it easier.
2019-04-04 11:39:12 +08:00
Jun Pataleta
1b57e6b87a
Merge branch 'MDL-62307_MOODLE_36_STABLE' of https://github.com/maksudr/moodle into MOODLE_36_STABLE
2019-04-03 16:50:14 +08:00
Jun Pataleta
885cf9f06a
Merge branch 'MDL-65112-MOODLE_36_STABLE' of https://github.com/dmitriim/moodle into MOODLE_36_STABLE
2019-04-03 16:19:28 +08:00
Jake Dallimore
8923fb3bb1
Merge branch 'MDL-65087-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-03 14:12:53 +08:00
Jake Dallimore
e246171b56
Merge branch 'MDL-65247-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-04-03 13:47:12 +08:00
Jun Pataleta
1ecc0f0769
MDL-65247 core: Fix action_modal Behat tests
2019-04-03 08:46:00 +08:00
Eloy Lafuente (stronk7)
21573d41f7
MDL-65250 core: Fix some undefined variables in compact()
...
Since PHP 7.3 they throw a PHP Notice.
2019-04-03 02:43:58 +02:00
Eloy Lafuente (stronk7)
b553489c13
Merge branch 'MDL-65213-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-04-03 00:23:06 +02:00
Eloy Lafuente (stronk7)
b7fe40f96a
Merge branch 'MDL-64994-36-pythonmlversion' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-04-03 00:09:38 +02:00
Sara Arjona
3efb002aaa
MDL-65213 core_message: fix random failures when declining contacts
2019-04-02 20:28:41 +02:00
Eloy Lafuente (stronk7)
2bcef03b09
weekly release 3.6.3+
2019-04-02 15:53:01 +02:00
Eloy Lafuente (stronk7)
7a13dabb1a
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-04-02 15:52:54 +02:00
Jun Pataleta
97e3be3cf6
Merge branch 'MDL-64331-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-02 10:56:54 +08:00
Adrian Greeve
7388f721e9
Merge branch 'MDL-65144-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-02 10:16:29 +08:00
Damyon Wiese
3f9247df88
MDL-64331 modals: Be careful closing modals
...
Don't close a modal when the user clicks outside of it and the modal contains a form.
2019-04-02 10:03:03 +08:00
Brendan Heywood
4ad8be5c62
MDL-64394 core: Fixed bug when using access log with pre_loginpage_hook
2019-04-02 11:41:25 +11:00
Ilya Tregubov
a6b98fe716
MDL-64439 auth: Refresh $cm in require_login after pre_loginpage_hook.
2019-04-02 10:23:40 +11:00
Leon Stringer
435d91e4bb
MDL-64719 cache: Implement purge_current_user() in \cache
...
\cache::make() may return a cache_disabled subclass but callers, specifically
user/lib.php:user_create_user(), invoke \cache::purge_current_user() which was
only implemented by the cache_session subclass. Added empty
\cache::purge_current_user() which subclasses can implement, i.e.
cache_session, or not, i.e. cache_disabled.
2019-04-01 15:35:21 +01:00
Damyon Wiese
baccabf20b
MDL-65144 output: Add img-fluid to logo
...
Extra wide logos do not scale to the screen size - this change adds the bootstrap class
img-fluid to logos on the loginpage, signupform and in the context header.
Thanks to Maksud R for working on this.
2019-04-01 15:51:18 +08:00
Jake Dallimore
9dcb7d057d
Merge branch 'MDL-65089_36' of https://github.com/dvdcastro/moodle into MOODLE_36_STABLE
2019-04-01 15:30:27 +08:00
Jake Dallimore
77fe79ff6d
Merge branch 'MDL-64194-36_block_myoverview_incorrect_pagination' of https://github.com/tomdickman/moodle into MOODLE_36_STABLE
2019-04-01 14:36:24 +08:00
Jun Pataleta
21e0be247c
Merge branch 'MDL-64524-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-01 13:46:41 +08:00
Jun Pataleta
564019efff
Merge branch 'MDL-63906_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-04-01 10:32:00 +08:00
Adrian Greeve
b5dfcb9e07
Merge branch 'MDL-65173_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-04-01 10:22:36 +08:00
Eloy Lafuente (stronk7)
49681cd03d
MDL-65218 recycle bin: cover immunization via settings provider
...
Both for course and category recycle bins
2019-04-01 09:26:50 +08:00
Eloy Lafuente (stronk7)
cdcc3ab5da
MDL-65218 recycle bin: immunize recycle bin from backup_auto_storage
...
As far as recycle bin is using MODE_AUTOMATED, it observes the backup_auto_storage
setting (storing backups @ real location. For recycle bin we want to ensure that
backup files are always stored in Moodle file area. In order to achieve that, we
hack the setting here via $CFG->forced_plugin_settings, so it won't interfere other
operations. See MDL-65218 for more information.
This hack will be removed once recycle bin switches to use its own backup mode, with
own preferences and 100% appart from MODLE_AUTOMATED.
2019-04-01 09:26:50 +08:00
Eloy Lafuente (stronk7)
165baf349b
MDL-65218 recycle bin: Course backups (cat bin) to use MODE_AUTOMATED
...
Surely this should have been done as part of MDL-63263, but it wasn't.
Better let's do it here so every recycle bin backup is using the
very same mode.
2019-04-01 09:26:50 +08:00
Tim Hunt
5b898cb5e0
MDL-65029 questions: refactor generation of question div id
...
We are planning to change the id in Moodle 3.7. However, the new
method name has been back-ported to stable branches, because we
know a lot of third-party question types like to have a single
branch which supports multiple Moodle versions.
2019-03-29 13:24:53 +00:00
Tobias Reischmann
24e4f1d1c8
MDL-65206 calendar: Enable update of location in repeated events.
...
The location is now updated in repeated events if it is altered in one
event and the option 'Also apply changes to the other X events in this
repeat series' is selected. If the location is not altered but some
other details, then manual changes of the location in other events
will not be overriden.
2019-03-29 14:14:24 +01:00
Sara Arjona
26e2d21925
MDL-65127 message: add aria-labels to the numbers in the overview
...
Add aria-label to the unread message and notification icons.
Add aria-label to the total conversations, unread conversations
and unread messages in the overview.
Add aria-label to the pending contact requests in the overview
and also in the contacts tab.
Add aria-hidden to the last message date.
2019-03-29 09:38:50 +01:00
Sara Arjona
bc1d3f2e2a
MDL-65087 message: add aria-label to some buttons on bootstrapbase
...
The aria-label has been added to the settings and search buttons and
also to the starred image displayed when a conversation is favourited.
2019-03-29 09:34:13 +01:00
Sara Arjona
b185b38288
MDL-65087 message: add aria-label to search, settings and starred
2019-03-29 09:34:13 +01:00
Sara Arjona
88426ca6bf
MDL-65087 message: add button role to action links on bootstrapbase
...
For accessibility reasons, add the role="button" attribute to the links
with href="#" performing actions for the bootstrapbase theme, like
the settings icon.
2019-03-29 09:34:13 +01:00
Sara Arjona
644ecdcaf3
MDL-65087 message: add button role to all the links that perfom actions
...
For accessibility reasons, add the role="button" attribute to the links
with href="#" performing actions, like the icon to open the messaging
drawer.
2019-03-29 09:34:13 +01:00
Jun Pataleta
07b01e4ff7
MDL-46975 core_auth: Make email validation case-insensitive
...
* Make email query case-insensitive
* Check only for duplicate emails if $CFG->allowaccountssameemail
is empty.
* Compare the values in "Email address" and "Email (again)" in the
signup form in a case-insensitive fashion.
2019-03-29 13:38:34 +08:00
Jun Pataleta
9b7293b190
MDL-46975 auth_email: Behat test for email validation on signup
2019-03-29 13:38:34 +08:00
Jun Pataleta
8c515e95b7
MDL-29318 login: Handle email in case-insensitive manner
...
* Let get_complete_user_data() handle the fetching of user data and
handle the logic of the errors to be shown based on the exception
it throws. This also saves us 1 DB query by eliminating the need to
count for the users that match a given email first before fetching
user information.
2019-03-29 13:32:59 +08:00
Jun Pataleta
06c88be18f
MDL-29318 login: Additional test for forgot_password_data_provider()
2019-03-29 13:32:59 +08:00
Jun Pataleta
8cb4579884
MDL-29318 core: Fixes for get_complete_user_data()
...
* Added email in the list of case-insensitive fields.
* New optional parameter $throwexception for \get_complete_user_data().
If true, an exception will be thrown when there's no matching record
found or when there are multiple records found for the given field
value. If false, it will simply return false.
Defaults to false when not set. This ensures that
get_complete_user_data() fetches the correct user data.
2019-03-29 13:32:59 +08:00
Jun Pataleta
b53ec2bb74
MDL-29318 core: More unit tests for get_complete_user_data()
2019-03-29 13:30:04 +08:00
Tom Dickman
a9883c6ee7
MDL-64194 block_myoverview: fix incorrect pagination
...
Pagination was found to be incorrect due to the all the items event not being triggered if the amount
of courses the user has is equal to the amount set via pagination.
The condition could not just be changed to `>=` as this would trigger the event when there were further
pages to display.
A check of `remainingCourses` was added to condition so if the amount of courses on the current loaded
page is less than the pagination amount, or there are no remaining courses, the all items event is
triggered and the pagination bar hidden correctly.
2019-03-29 11:53:10 +11:00
AMOS bot
1446f3f89c
Automatically generated installer lang files
2019-03-29 00:15:26 +00:00
David Castro
709cf42e06
MDL-65089 glossary: Enforcing case comparison in SQL.
2019-03-28 18:33:53 -05:00
Dmitrii Metelkin
0d493433d3
MDL-65112 mod_lesson: fix html for shortanswer responses
2019-03-29 08:32:04 +11:00
Eloy Lafuente (stronk7)
318fd402e1
weekly release 3.6.3+
2019-03-28 16:49:19 +01:00
Eloy Lafuente (stronk7)
1671a9f7fd
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-03-28 16:49:13 +01:00
Shamim Rezaie
72f0984c4e
MDL-65102 core_form: autocomplete element to handle submit event
2019-03-28 15:17:50 +11:00
Eloy Lafuente (stronk7)
7da687624c
Merge branch 'MDL-63196-36' of git://github.com/lameze/moodle into MOODLE_36_STABLE
2019-03-28 00:12:41 +01:00
Eloy Lafuente (stronk7)
4ecc15449c
Merge branch 'MDL-64996-36-untrainedstaticmodels' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-03-27 23:45:41 +01:00
Eloy Lafuente (stronk7)
b05f3cdc4b
Merge branch 'MDL-62992-36' of git://github.com/lameze/moodle into MOODLE_36_STABLE
2019-03-27 23:06:15 +01:00
Eloy Lafuente (stronk7)
4c627b6a57
Merge branch 'MDL-64664-36' of git://github.com/cescobedo/moodle into MOODLE_36_STABLE
2019-03-27 22:58:40 +01:00
cescobedo
d0770f8154
MDL-64664 core_message: Create more specific selector to contact menu
2019-03-27 13:57:44 +01:00
Jun Pataleta
25d5103a4c
Merge branch 'MDL-65008_moodle_36_stable' of https://github.com/dvdcastro/moodle into MOODLE_36_STABLE
2019-03-27 10:40:37 +08:00
Simey Lameze
98ab2d0a44
MDL-62992 quiz: fix tags filtering on random question modal
2019-03-27 10:26:19 +08:00
Simey Lameze
d57c35472a
MDL-62992 question: conditionaly enable question tags feature
2019-03-27 10:26:19 +08:00
Paul Holden
ed88c64a5c
MDL-43130 access: fix user counting when retrieving assignable roles.
...
Previously users assigned the same role in a context via multiple
components would be counted multiple times.
2019-03-27 00:17:59 +01:00
Eloy Lafuente (stronk7)
f1d125b08e
Merge branch 'MDL-65081-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-26 22:43:54 +01:00
Eloy Lafuente (stronk7)
9d84af2a52
Merge branch 'MDL-63152-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-26 13:28:21 +01:00
Eloy Lafuente (stronk7)
1c52897f85
Merge branch 'MDL-63149-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-26 13:25:11 +01:00
Eloy Lafuente (stronk7)
0a9117bd61
Merge branch 'MDL-63151-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-26 13:15:55 +01:00
Shamim Rezaie
abe0e8fbad
MDL-65094 registration: don't encourage registration if on localhost
2019-03-26 17:26:21 +11:00
Damyon Wiese
a05eb5558e
MDL-65178 competencies: count_competencies fix
...
Fix sql error in course_module_competency::count_competencies() function.
2019-03-26 09:49:00 +08:00
Sara Arjona
2bf03fc2e0
Merge branch 'MDL-64615-36' of git://github.com/jleyva/moodle into MOODLE_36_STABLE
2019-03-25 18:20:13 +01:00
Sara Arjona
17aaad9033
Merge branch 'MDL-64790-36_apidoc_fix' of https://github.com/nicoroeser/moodle into MOODLE_36_STABLE
2019-03-25 12:38:06 +01:00
Mark Nelson
22f75de983
MDL-65173 message_email: removed bogus logic
...
This reverts commit 844a59c301 .
2019-03-25 17:18:34 +08:00
David Mudrák
a825339917
MDL-64994 analytics: Improve the Python package version check
...
Use the new method to check that the installed Python package has high
enough yet still API-compatible version.
2019-03-25 09:24:06 +01:00
David Mudrák
0e91160efe
MDL-64994 analytics: Add a simple semantic version check method
...
This method is to be used for checking that a compatible version of the
moodlemlbackend package is installed on the server. The package is
expected to use the semantic versioning scheme (semver.org).
2019-03-25 09:24:06 +01:00
David Mudrák
6b1ce97894
MDL-64996 analytics: Make sure the no_teaching model is trained
...
Due to the bug, the no_teaching model might have been marked as
not-trained in the database. Static predictions models (i.e. those using
a target based on assumptions, not facts) are always considered as
trained. If they were marked as not-trained, the prediction scheduled
task would skip them and they would produce no predictions.
Ideally, such a fix should be done for all static models. But there is
no easy way to do it during the upgrade where accessing the analytics
API is not possible. I don't think there are many models out there that
would be affected by this so this seems to be good enough solution for
now (and the future ability to reset models will cover the rest).
2019-03-25 09:02:10 +01:00
David Mudrák
38ce5978dd
MDL-64996 analytics: Don't mark static model as untrained after clearing
...
Static predictions models (i.e. those using a target based on
assumptions, not facts) are always considered as trained. Clearing them
must not mark them as untrained. Doing so would make them being skipped
by the prediction scheduled task.
2019-03-25 08:59:33 +01:00
Adrian Greeve
5b4c20944d
Merge branch 'MDL-60339-36' of git://github.com/Chocolate-lightning/moodle into MOODLE_36_STABLE
2019-03-25 11:11:04 +08:00
Adrian Greeve
12c256a78b
Merge branch 'MDL-64492-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-25 10:59:19 +08:00
AMOS bot
6b45969dc6
Automatically generated installer lang files
2019-03-25 00:09:24 +00:00
Abhimanyu Kumar
4abab60161
MDL-64959 uploaduser: remove leading/trailing spaces from CSV headings
...
Earlier while uploading users via CSV, if any leading or trailing space was there in
headings of CSV file then error was displayed which will be difficult for a non-technical
person to understand. After this patch, leading and trailing spaces from headings will
be trimmed automatically.
2019-03-23 22:35:51 +05:30
maksudr
5bdbf3185d
MDL-62307 mod_feedback: Decode HTML special char in add_form_element()
2019-03-22 15:45:47 +00:00
Mathew May
159f20a93e
MDL-60339 course: Course editing only checked against site:manageblocks.
...
Add in additional capabilities to the page. When all_editing_caps is called it'll check against
moodle/site:manageblocks & added capabilities. If moodle/site:manageblocks
was not set the user would have trouble editing the page.
2019-03-22 13:50:49 +08:00
Damyon Wiese
24335e6c2b
MDL-65153 competencies: Urls course competencies
...
The template for the course competencies page expects a pluginbaseurl parameter
but the webservice that fetches when rendered by AJAX is missing this property.
2019-03-22 13:17:56 +08:00
Jun Pataleta
fe4763e560
MDL-65081 core_output: Unit tests for single_select and url_select
2019-03-22 11:15:10 +08:00
Jun Pataleta
8a80d01b70
MDL-65081 core_output: Set single_select and url_select attributes
2019-03-22 11:15:10 +08:00
Damyon Wiese
ee21767d92
MDL-64492 course: Hide activity icons for Ally
...
Empty alt text results in an image with no label.
role="presentation" does not hide - it only removes the semantic information.
If the image provides no information, make it hidden with aria-hidden.
2019-03-22 11:01:37 +08:00
Simey Lameze
d1e488ab9b
MDL-63196 core_calendar: add behat scenario
2019-03-22 10:45:47 +08:00
Simey Lameze
5863a07a46
MDL-63196 calendar: add missing option to export category events
2019-03-22 10:45:46 +08:00
Damyon Wiese
50a8ba5661
MDL-65149 emoticons: Do not show all emoticons
...
Allow some emoticons to still work, but not be selectable from the text editor plugins.
2019-03-22 10:06:39 +08:00
Eloy Lafuente (stronk7)
673922a628
weekly release 3.6.3+
2019-03-21 20:19:44 +01:00
Cameron Ball
3282dda765
MDL-65104 registration: Ensure $registration is always null when no record exists
2019-03-21 16:12:30 +08:00
Adrian Greeve
5da126bc67
Merge branch 'MDL-46803-greedy-roles-reset-MOODLE_36' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_36_STABLE
2019-03-21 11:22:23 +08:00
Eloy Lafuente (stronk7)
b503eca0d4
Merge branch 'wip-36-MDL-64563' of https://github.com/adpe/moodle into MOODLE_36_STABLE
2019-03-21 00:43:03 +01:00
Eloy Lafuente (stronk7)
95e75e70b5
MDL-63263 tool_recyclebin: show the note as part of the heading element
...
It looks better (IMO) than using admin_setting_description and works in all
branches.
2019-03-21 00:14:51 +01:00
Eloy Lafuente (stronk7)
d86ad34353
Merge branch 'MDL-63263-MOODLE_36_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_36_STABLE
2019-03-20 23:16:09 +01:00
Eloy Lafuente (stronk7)
c0b2cf55e4
Merge branch 'MDL-65022-36' of https://github.com/Dagefoerde/moodle into MOODLE_36_STABLE
2019-03-20 22:31:55 +01:00
Jan Dageförde
bdb8dec713
MDL-65059 messaging: don't refer to block plugin type
...
AMOS BEGIN
CPY [block,core],[blockuserconfirmbutton,core_message]
AMOS END
2019-03-20 22:22:11 +01:00
M
d4fc00666b
MDL-65038 core_files: Fix typo in function mock_response
2019-03-20 20:51:28 +00:00
Jun Pataleta
248f5a1efc
Merge branch 'MDL-62872-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-20 16:30:29 +08:00
Adrian Greeve
036e58c5b5
Merge branch 'MDL-65005-36-fix' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-20 13:57:17 +08:00
Jun Pataleta
ba7cf5ad88
MDL-65005 tool_policy: Ensure the user's on the Dashboard after agreeing
2019-03-20 13:13:23 +08:00
Eloy Lafuente (stronk7)
3f8bd31bf3
Merge branch 'MDL-65085_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-03-20 00:40:28 +01:00
Eloy Lafuente (stronk7)
de8c665fe3
Merge branch 'MDL-64990_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-03-19 23:05:03 +01:00
Eloy Lafuente (stronk7)
23cd28f38c
Merge branch 'MDL-64979-m36' of https://github.com/sammarshallou/moodle into MOODLE_36_STABLE
2019-03-19 22:07:51 +01:00
sam marshall
00c706dc8a
MDL-64979 Behat: Add option to increase timeouts
2019-03-19 17:14:46 +00:00
Eloy Lafuente (stronk7)
93973e0472
Merge branch 'MDL-65005-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-19 17:57:50 +01:00
Adrian Greeve
3e46ac327a
Merge branch 'MDL-64958-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-19 13:42:36 +08:00
Adrian Greeve
a9afba6a38
Merge branch 'MDL-63144-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-19 11:26:03 +08:00
Eloy Lafuente (stronk7)
95764ed91d
Merge branch 'MDL-64974-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-03-19 00:23:45 +01:00
Eloy Lafuente (stronk7)
b1dbc661bb
Merge branch 'MDL-64987-36' of git://github.com/abgreeve/moodle into MOODLE_36_STABLE
2019-03-19 00:21:23 +01:00
Eloy Lafuente (stronk7)
809901f7c8
Merge branch 'MDL-65006-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-03-18 23:35:59 +01:00
Julien Boulen
f8c209cf25
MDL-46803 course: Prevent unenrol users with multiple roles during reset
2019-03-18 11:18:46 +01:00
cescobedo
564ad754a8
MDL-64664 core_message: Behat tests to manage contacts
2019-03-18 09:50:00 +01:00
cescobedo
d940ccbe0b
MDL-64664 core_message: New data generator for contacts
2019-03-18 09:50:00 +01:00
cescobedo
cbf62420e0
MDL-64664 core_message: New step for open contact menu
2019-03-18 09:50:00 +01:00
David Monllaó
066673fb37
MDL-63906 analytics: Release the lock on \Throwable received
2019-03-18 09:09:50 +01:00
Damyon Wiese
0bec5987c8
MDL-64524 gradingform_guide: Marking guide comments
...
When there are too many comments, scroll the list so they still fit in the dialogue.
2019-03-18 15:57:11 +08:00
Damyon Wiese
7c5c76bcdf
MDL-64524 assign: Styles editpdf comments
...
Properly display the list of comments, but limiting their size (use title to indicate the full comments).
When there are too many comments, show a scrollbar in the menu.
2019-03-18 15:57:11 +08:00
Shamim Rezaie
4ef107fccb
MDL-63152 mod_workshop: Add userid param to calendar callbacks
2019-03-18 15:53:28 +11:00
Shamim Rezaie
9addd44bb4
MDL-63152 mod_workshop: check if the module is visible to the user
2019-03-18 15:53:27 +11:00
Shamim Rezaie
0bc2276751
MDL-62872 atto_recordrtc: max_filesize detection fix
2019-03-18 15:20:38 +11:00
Jake Dallimore
3612fa390d
Merge branch 'MDL-65291_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-03-16 07:17:47 +08:00
Eloy Lafuente (stronk7)
76e06c15c6
Merge branch 'MDL-65179-m36' of https://github.com/sammarshallou/moodle into MOODLE_36_STABLE
2019-04-16 20:45:23 +02:00
David Monllaó
ba22230a4f
Merge branch 'MDL-62572-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-15 11:07:08 +02:00
David Monllaó
cf77a2d72d
Merge branch 'wip-MDL-65220-MOODLE_36_STABLE' of https://github.com/jason-platts/moodle into MOODLE_36_STABLE
2019-04-15 07:58:18 +02:00
David Monllaó
e8fd0db959
Merge branch 'MDL-64894-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-04-15 07:45:41 +02:00
David Monllaó
99c7dc1929
Merge branch 'MDL-29317-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-04-15 07:41:45 +02:00
Eloy Lafuente (stronk7)
ceba417524
MDL-65291 phpunit: Make a test immune to DST changes
2019-04-15 01:22:41 +02:00
Damyon Wiese
4e5cd5956d
MDL-62572 backup: Duplicating an activity
...
Don't apply admin defaults for import when using the duplicate function.
2019-04-12 14:05:06 +08:00
Trisha Milan
c116d32f39
MDL-64894 Theme: Fix unable to expand collapsible topics
2019-04-01 14:54:26 +08:00
Jason Platts
e2338e14a7
MDL-65220 behat: test scenarios sometimes do not clear database data
2019-03-29 15:32:43 +00:00
Jun Pataleta
057a4fc85b
MDL-29317 gradeimport_csv: Case-insensitive query for email and username
...
Query using the following fields for
\gradeimport_csv_load_data::check_user_exists() should be done in a
case-insensitive manner:
* email - As agreed in MDL-29315
* username - Although usernames can only be in lowercase during
registration, usernames are being handled in a case-insensitive
fashion when logging in. It makes sense to make check_user_exists()
consistent with this behaviour.
2019-03-29 13:29:49 +08:00
Jun Pataleta
dfcad939ff
MDL-29317 gradeimport_csv: Tests for case-insensitivity
2019-03-29 13:29:49 +08:00
sam marshall
db6be2a885
MDL-65179 Web service: Token last access is updated too frequently
2019-03-28 17:14:02 +00:00
David Monllaó
5dfaf89ba2
MDL-65085 analytics: noreply user sends insights
2019-03-15 13:49:49 +01:00
Nicolas Roeser
0d72003e6e
MDL-64790 upgrade: parameter API doc regression fix
...
Partially update the API documentation of function
upgrade_plugin_savepoint.
This restores consistency between function parameters and API
documentation; as commit 17da2e6f28 (fix
for MDL-16438) had renamed parameter $dir to $plugin, but not also
applied this change to the API documentation.
Also reword the parameter comment text so that it is more meaningful to
developers: document that the parameter contains the name of the plugin.
Change the API documentation of parameter $type as well so that it is
a) correct, and
b) not in conflict with the API documentation for $plugin.
2019-03-15 11:12:40 +01:00
Nathan Nguyen
47b4f21994
MDL-63263 tool_recyclebin: Apply automated backup setting
...
Use Automated backup settings as settings for Recycle bin backup and restore.
2019-03-15 14:55:08 +11:00
Rex Lorenzo
8e6e56c066
MDL-63263 tool_recyclebin: Recycle bin should always save user data.
2019-03-15 14:55:08 +11:00
Jake Dallimore
f3ad037584
weekly release 3.6.3+
2019-03-15 11:01:30 +08:00
Paul Holden
13898c79db
MDL-46931 roles: retrieve distinct users in sub-query.
...
Prevents duplicate key column warning when a user is enrolled in
a course via multiple enrolment methods.
2019-03-14 01:27:30 +01:00
Eloy Lafuente (stronk7)
323801ad4b
Merge branch 'MDL-63146-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-03-14 01:22:07 +01:00
Eloy Lafuente (stronk7)
c013bb2cbc
Merge branch 'MDL-61585_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-03-14 01:15:59 +01:00
Eloy Lafuente (stronk7)
8789bc4fa6
Merge branch 'MDL-63524-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-03-13 23:55:36 +01:00
Andrew Nicols
f02688e713
MDL-63524 behat: Do not skip tests on Step 0 error
2019-03-14 06:54:37 +08:00
Amaia Anabitarte
5eefd56230
MDL-64670 core_message: fixing selector xpath
2019-03-13 17:52:42 +01:00
Juan Leyva
51ee36d039
MDL-64615 tool_mobile: Do not modify custom download URLs
2019-03-13 17:10:28 +01:00
Adrian Greeve
db65a2ca7e
Merge branch 'MDL-64568_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-03-13 15:48:40 +08:00
Amaia Anabitarte
6eef6e3ab9
MDL-64670 core_message: behat tests for group conversations
...
Co-authored-by: Mathew May <mathew@moodle.com >
Co-authored-by: Amaia Anabitarte <amaia@moodle.com >
2019-03-12 18:15:14 +01:00
Amaia Anabitarte
3dbced7596
MDL-64670 core_message: New steps and selectors for message drawer
...
Co-authored-by: Mathew May <mathew@moodle.com >
Co-authored-by: Amaia Anabitarte <amaia@moodle.com >
2019-03-12 18:15:13 +01:00
Jan Dageförde
86bef7c3b5
MDL-65022 wiki: declare the cancel button secondary
2019-03-12 09:05:42 +01:00
Shamim Rezaie
2436022f22
MDL-63151 mod_wiki: Add userid param to mod_wiki calendar callbacks
2019-03-12 17:16:53 +11:00
Shamim Rezaie
7fbf87df43
MDL-63151 mod_wiki: check if the module is visible to the user
2019-03-12 17:16:53 +11:00
Sara Arjona
ce2e9f1cfb
MDL-64974 badges: add missing configurecriteria capability check
2019-03-11 10:25:55 +01:00
David Monllaó
5bf54816e8
MDL-61585 analytics: Include missing indicators
2019-03-11 09:38:40 +01:00
Damyon Wiese
560b5b0efc
MDL-65031 theme_boost: gradebook notifications
...
Tell the gradebook page to stack things vertically so that notifications
take the correct amount of space.
2019-03-11 12:47:21 +08:00
Jun Pataleta
b211eb7afe
MDL-64958 gradeimport_csv: Better unit tests for check_user_exists()
2019-03-11 09:35:45 +08:00
Jun Pataleta
fc6d1fe719
MDL-64958 grade_import: Ensure correct user is being fetched
...
* We need to ensure that we are checking the correct user account.
Since email and idnumber are not unique fields, there's a chance that
multiple user records will match when querying for user data using
these fields. This might lead to a different user's grades being
inadvertently modified during grade import. In such a case, this
function needs to return a null userid.
2019-03-11 09:35:45 +08:00
Mark Nelson
93f39f3db6
MDL-64568 core_group: delete conversation and members on group deletion
2019-03-11 09:24:44 +08:00
Mark Nelson
c47c19634e
MDL-64568 core: upgrade step to remove orphaned group conversations
2019-03-11 09:24:44 +08:00
Mark Nelson
5806a1f251
MDL-64990 tool_usertours: do not show messaging tour when disabled
2019-03-11 07:50:29 +08:00
David Castro
803d87c60f
MDL-65008 question: Query enhancement.
...
Adding core_question as an additional filter to the tag backup.
2019-03-08 16:35:12 -05:00
Sara Arjona
4d3a32dde9
Moodle release 3.6.3
2019-03-08 11:03:15 +01:00
Sara Arjona
ff27e31a89
MDL-65006 policy: avoid loop when no policies need to be agreeded
...
Avoid an infinite loop when the user has no policies to agreed but
the policyagreed = 0.
2019-03-08 10:02:28 +01:00
Adrian Greeve
949282574a
MDL-64987 repository_nextcloud: Remove duplicate string.
2019-03-08 14:35:34 +08:00
Jun Pataleta
c42c551cff
MDL-65005 block_timeline: Behat fixes
2019-03-08 14:06:41 +08:00
Jun Pataleta
d3507a690a
MDL-65005 block_timeline: Fix accessibility of Day filter menu
2019-03-08 14:06:41 +08:00
Jun Pataleta
36a5774a81
MDL-65005 block_timeline: Fix accessibility of Sort-by menu
2019-03-08 14:06:37 +08:00
AMOS bot
bba5a34bc2
Automatically generated installer lang files
2019-03-08 00:15:20 +00:00
Eloy Lafuente (stronk7)
5c592fcf75
weekly release 3.6.2+
2019-03-07 16:42:00 +01:00
Eloy Lafuente (stronk7)
763f673820
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-03-07 16:41:57 +01:00
Shamim Rezaie
ace9ed3fc8
MDL-63149 mod_survey: Add userid param to mod_survey calendar callbacks
2019-03-07 17:54:43 +11:00
Shamim Rezaie
9042827e3f
MDL-63144 mod_lti: Add userid param to mod_lti calendar callbacks
2019-03-07 17:49:16 +11:00
Shamim Rezaie
8b7eb8620a
MDL-63144 mod_lti: Check if the module is visible to the user
2019-03-07 17:49:16 +11:00
Adrian Greeve
09f9f81835
Merge branch 'MDL-63905_36' of git://github.com/jmvedrine/moodle into MOODLE_36_STABLE
2019-03-07 09:13:00 +08:00
Andrew Nicols
5ee3cbc624
MDL-64410 access: Unit tests for context locking SQL
2019-03-06 12:36:26 +01:00
Andrew Nicols
90c2e5e707
MDL-64410 access: Check for context locking in cap functions
2019-03-06 12:36:26 +01:00
Jun Pataleta
f33bc18d2d
Merge branch 'MDL-64333_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-03-06 17:34:02 +08:00
Mark Nelson
00ee6158fc
MDL-64333 core_message: add migration message to new UI
2019-03-06 17:26:24 +08:00
Andrew Nicols
da40ba154c
Merge branch 'MDL-64774-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-06 15:46:33 +08:00
Jean-Michel Vedrine
5f9d6e34a3
MDL-63905 qtype_multianswer: validate imported questions
2019-03-06 08:38:21 +01:00
Andrew Nicols
552877454c
Merge branch 'MDL-64950-36-2' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-03-06 13:47:54 +08:00
Jun Pataleta
732698302e
MDL-64950 core: Handle username in a case-insensitive fashion
2019-03-06 12:46:01 +08:00
Jun Pataleta
c4d39ba7d7
MDL-64950 core: Unit tests for get_complete_user_data()
2019-03-06 12:46:01 +08:00
Jun Pataleta
3ca7a701a6
MDL-64950 login: core_login_validate_forgot_password_data() unit tests
2019-03-06 12:46:01 +08:00
Andrew Nicols
e389c5cd31
MDL-64971 access: Ensure that the capability exists when fetching
2019-03-06 10:15:55 +08:00
Jun Pataleta
7766baeb63
MDL-64774 user: Make email query case-insensitive
2019-03-06 09:00:18 +08:00
Jun Pataleta
5f779f05e8
MDL-64774 user: Better unit tests for updating users with similar emails
2019-03-06 09:00:18 +08:00
AMOS bot
be998e5e63
Automatically generated installer lang files
2019-03-06 00:09:32 +00:00
Eloy Lafuente (stronk7)
8971a35e38
Merge branch 'MDL-64943_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-03-05 22:49:43 +01:00
Eloy Lafuente (stronk7)
f6d98c3c8d
MDL-64943 behat: fix some remaining uses of old strings
2019-03-05 17:02:08 +01:00
Eloy Lafuente (stronk7)
70602491f6
Merge branch 'MDL-64943-36-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-03-05 11:09:27 +01:00
Jun Pataleta
b6f517c251
Merge branch 'MDL-62465-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-05 15:30:17 +08:00
Adrian Greeve
7ea5221a52
Merge branch 'MDL-64342-36' of git://github.com/cescobedo/moodle into MOODLE_36_STABLE
2019-03-05 15:02:00 +08:00
Damyon Wiese
7dac132efc
MDL-62465 assign: Remove behat step
...
We don't need to open the menu to choose the "Grade" item, we can just click the button.
2019-03-05 14:49:02 +08:00
Adrian Greeve
d9bb99f336
Merge branch 'MDL-64864-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-05 14:26:16 +08:00
Adrian Greeve
248639d3ae
Merge branch 'MDL-64678-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-05 13:52:53 +08:00
Andrew Nicols
45f4d171d4
Merge branch 'MDL-64961-m36' of https://github.com/sammarshallou/moodle into MOODLE_36_STABLE
2019-03-05 13:24:47 +08:00
Andrew Nicols
fdb8f40617
Merge branch 'MDL-64981_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-03-05 13:22:35 +08:00
Shamim Rezaie
8223305818
MDL-63146 mod_quiz: Add userid param to mod_quiz calendar callbacks
2019-03-05 14:23:33 +11:00
Shamim Rezaie
5226cc8a50
MDL-64830 core_calendar: Do cap check on event edit form
2019-03-05 04:16:40 +01:00
Damyon Wiese
1fc481dd7b
MDL-64651 comments: Do not send referrer
...
Use blanktarget option on all comments to prevent malicious links.
2019-03-05 04:16:40 +01:00
Viktor
cd3060d941
MDL-62702 core_lib: fix broken verification signature
2019-03-05 04:16:40 +01:00
Mark Nelson
868a80972c
MDL-62702 core_lib: updated the 'ltiprovider' readme_moodle.txt
2019-03-05 04:16:40 +01:00
Brendan Cox
430f685834
MDL-62702 core_lib: parameters in POST override other LTI values
...
This fixes an exploit where you could alter the 'Content-Type' of the
request and bypass the case-sensitive check 'strstr'. For example,
setting it to 'application/x-www-FORM-urlencoded'. However, changing
this to use 'stristr' was also not an acceptable approach as you
could also bypass it by setting the value to 'multipart/form-data'.
2019-03-05 04:16:40 +01:00
Ryan Wyllie
a37e26d2ef
MDL-63786 core: set $CFG->forceclean for logged in as sessions
...
Turn on the forceclean config setting when a user is logged in as a
different user. This is a precautionary measure, which forces all
user submitted content to be cleaned of JavaScript before rendering
it to the logged in as user.
2019-03-05 04:16:40 +01:00
Luca Bösch
7f22b14efb
MDL-64706 theme_boost: Remove logo link in secure template
2019-03-05 04:16:40 +01:00
Jun Pataleta
78fa8d7e8e
Merge branch 'MDL-64652-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-03-05 11:13:40 +08:00
Adrian Greeve
c355be438d
Merge branch 'MDL-64941-36' of https://github.com/MartinGauk/moodle into MOODLE_36_STABLE
2019-03-05 11:10:27 +08:00
Andrew Nicols
c2a6c7c134
MDL-64652 mod_data: Break LEFT JOINs to multiple INNER
2019-03-05 10:14:15 +08:00
Andrew Nicols
309931c876
MDL-64652 glossary: Break LEFT JOINs to multiple INNER
2019-03-05 10:14:15 +08:00
Andrew Nicols
445deddb96
MDL-64652 forum: Use an inner join when fetching ratings
2019-03-05 10:14:15 +08:00
Andrew Nicols
842723567c
MDL-64652 rating: Add optional inner join option to sql
2019-03-05 10:14:12 +08:00
Andrew Nicols
28fc193cf6
MDL-64652 mod_forum: Performance improvement for provider
...
There are possibly some further improvements that can be made to:
- export_discussion_data
- export_all_posts
2019-03-05 10:13:16 +08:00
Adrian Greeve
650d667817
Merge branch 'MDL-64863-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-05 09:53:37 +08:00
Jun Pataleta
4dcbcc6f93
Merge branch 'MDL-62143-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-03-05 09:44:46 +08:00
Damyon Wiese
781b8153dd
MDL-64864 core_competency: Include course category
...
These courses are passed through to the course_summary_exporter which
requires a category id in each course record.
2019-03-05 08:53:24 +08:00
Damyon Wiese
6cc9fd7dc1
MDL-64678 assign: More ios touch
...
Only disable touch scrolling when the touch event is within the drawing region of the canvas.
2019-03-05 08:47:04 +08:00
AMOS bot
d1a13ec7ce
Automatically generated installer lang files
2019-03-04 00:09:44 +00:00
cescobedo
9779a220fa
MDL-64342 core_message: make ajax call when privacy setting is changed
...
Only fire ajax request when the privacy setting value is changed.
2019-03-03 23:35:38 +01:00
sam marshall
68157ec22f
MDL-64961 REST web service: Fatal error in error handler
2019-03-01 11:57:33 +00:00
Tim Hunt
4ed6bb0c22
MDL-64981 dml tests: pgsql_native_recordset_testcase port number
2019-03-01 11:13:16 +00:00
Martin Gauk
f484cf49c4
MDL-64941 qtype_multianswer: keep order of existing wrapped questions
2019-03-01 09:49:26 +00:00
AMOS bot
fdd78199a2
Automatically generated installer lang files
2019-03-01 00:15:45 +00:00
David Mudrák
7be07980d9
MDL-64943 lang: Fix regression in the test caused by the reworded string
2019-02-28 19:58:41 +01:00
Eloy Lafuente (stronk7)
b39b8eb2f5
weekly release 3.6.2+
2019-02-28 18:51:48 +01:00
Eloy Lafuente (stronk7)
9d3bcd1abf
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-02-28 18:51:45 +01:00
David Mudrák
d2a16b6e81
MDL-64943 lang: Fix regressions in Behat caused by reworded strings
2019-02-28 17:58:03 +01:00
Helen Foster
9fb3f4ca10
MDL-64943 lang: Import fixed English strings (en_fix)
...
Significant string changes:
* importgroups_help,core_group - Correcting optional fieldnames
(removing picture, hidepicture and adding groupidnumber, groupingname
and enablemessaging)
* penaltyforeachincorrecttry_help,core_question - additional paragraph
about scoring logic
* resultdownloadready,tool_dataprivacy - wording corrected (no need to
go to a download page)
* auth_dbfielduser,auth_db - varchar data type requirement
2019-02-28 17:55:05 +01:00
Eloy Lafuente (stronk7)
0130945cf5
Merge branch 'MDL-64444-36' of git://github.com/jleyva/moodle into MOODLE_36_STABLE
2019-02-28 01:21:10 +01:00
Eloy Lafuente (stronk7)
e7bf9748c5
Merge branch 'MDL-64878-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-27 19:01:03 +01:00
Sara Arjona
2dd56328a7
Merge branch 'MDL-55135-36-competencies-manage-in-coursecontext' of https://github.com/wjroes/moodle into MOODLE_36_STABLE
2019-02-27 11:51:42 +01:00
Sara Arjona
352ed37ac4
Merge branch 'MDL-62454-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-02-27 08:58:11 +01:00
Andrew Nicols
c4edcf9960
Merge branch 'MDL-64889_36_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_36_STABLE
2019-02-27 14:43:54 +08:00
Andrew Nicols
7b0134f69d
Merge branch 'wip-36-MDL-62345' of https://github.com/adpe/moodle into MOODLE_36_STABLE
2019-02-27 14:14:02 +08:00
Andrew Nicols
a1eb4ad4d3
Merge branch 'MDL-63674-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-02-27 13:01:46 +08:00
Damyon Wiese
7cd7f20202
MDL-64878 grades: Update delete_instance
...
When grades are deleted, it needs to know the context so any files
in the gradebook can be deleted. This means module delete_instance
functions must delete the grade_item before they delete the module record.
2019-02-27 10:40:02 +08:00
Damyon Wiese
1a3faa11b7
MDL-64878 grades: Rebuild cache on import
...
When the course module cache is out of date during a gradebook re-calculcation it throws
throws exceptions because the module cannot be found. This prevents access to gradebook or
any type of grading functions until the cache is rebuilt.
When the cache still has no module record we log an error and return the course context.
2019-02-27 10:40:02 +08:00
Andrew Nicols
8152908f69
Merge branch 'MDL-64591_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-27 09:54:51 +08:00
AMOS bot
aca4c2a49c
Automatically generated installer lang files
2019-02-27 00:09:43 +00:00
Eloy Lafuente (stronk7)
24ffbc4e2b
Merge branch 'MDL-63417-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
2019-02-26 23:19:12 +01:00
Sara Arjona
aa1279b7cf
Merge branch 'MDL-43428-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-02-26 14:09:06 +01:00
Tim Hunt
2cbf3ea580
MDL-64591 User tours: don't show during redirects & other bad times
2019-02-26 13:05:51 +00:00
Shamim Rezaie
63559b4796
MDL-43428 accessrule_timelimit: timeclose can be ealier than timelimit
2019-02-26 14:45:24 +11:00
Andrew Nicols
39113784bc
Merge branch 'MDL-64663_36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-02-26 11:08:02 +08:00
Sara Arjona
71dc512e46
Merge branch 'MDL-64862-36-workshopgradepass' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-02-25 18:31:26 +01:00
Sara Arjona
fb62fb8e69
Merge branch 'MDL-64931_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-02-25 17:19:33 +01:00
Adrian Greeve
fff6f3fa55
Merge branch 'MDL-64640-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-02-25 10:28:11 +01:00
Amaia Anabitarte
ec32dbcd8c
MDL-64663 core_message: Behat to test admin settings
2019-02-25 10:16:17 +01:00
Andrew Nicols
fc13071f37
Merge branch 'MDL-64561-36-test' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-02-25 15:52:23 +08:00
Charles Fulton
7b37ec0381
MDL-64561 install: show help text before database check
2019-02-25 16:44:22 +11:00
Shamim Rezaie
1e2491b9ea
MDL-63674 core_messaging: Fix message drawer's shadow in RTL
2019-02-25 14:41:07 +11:00
Shamim Rezaie
9e0958bb49
MDL-63674 core_messaging: Bidi text support
2019-02-25 14:41:07 +11:00
Mark Nelson
2c50550271
MDL-64931 core_message: fixed PHP error when users are deleted from DB
2019-02-25 07:49:39 +08:00
Adrian Perez
ddce5a8d34
MDL-62345 navigation: Change data-key for dashboard rootnode
2019-02-22 16:57:43 +01:00
Andrew Nicols
289475f3da
weekly release 3.6.2+
2019-02-22 10:51:34 +08:00
Andrew Nicols
63c7118de6
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-02-22 10:51:30 +08:00
Bas Brands
be1e22c5f0
MDL-62454 theme_boost: numerical qtype answer inline
2019-02-21 14:35:40 +01:00
Adrian Greeve
61451240d2
Merge branch 'MDL-64729-36' into MOODLE_36_STABLE
2019-02-21 12:33:07 +01:00
John Beedell
1d4da3c1b6
MDL-64729 mod_glossary: glossary_get_entries_search case sensitivity
2019-02-21 12:31:59 +01:00
Andrew Nicols
a628bbe9f7
Merge branch 'MDL-64571-36' of git://github.com/cescobedo/moodle into MOODLE_36_STABLE
2019-02-21 08:38:29 +08:00
Adrian Greeve
b406ced13c
Merge branch 'MDL_64856_m36v1' of git://github.com/sbourget/moodle into MOODLE_36_STABLE
2019-02-20 18:04:44 +01:00
Adrian Greeve
baa408f1af
Merge branch 'MDL-64200-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-20 15:59:16 +01:00
Adrian Greeve
c61a082515
Merge branch 'MDL-64450-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-02-20 11:37:45 +01:00
Matteo Scaramuccia
4945e2e146
MDL-64443 git: Excluded vim swap files
...
Vim swap filenames are deterministic someway.
Refs:
- http://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file
- https://github.com/vim/vim/blob/4efe73b478d3ba689078da502fd96f45204ff1f5/src/memline.c#L4683
- https://unix.stackexchange.com/a/326737
- https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
2019-02-20 10:22:34 +01:00
David Monllaó
5d25911f42
MDL-64500 tool_analytics: noanalysables negation better than analysables
2019-02-20 10:09:58 +01:00
Andrew Nicols
09ad6346b2
Merge branch 'MDL-64570-36-fix1' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-20 10:55:09 +08:00
Damyon Wiese
5c6553f4bb
MDL-64570 user: input field purpose
...
Do not autocomplete the user fields when editing another user.
2019-02-20 09:49:29 +08:00
Eloy Lafuente (stronk7)
3909b0e461
Merge branch 'MDL-64679_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-02-20 00:07:00 +01:00
Eloy Lafuente (stronk7)
0b4d0426ea
Merge branch 'MDL-63134-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-02-20 00:01:01 +01:00
Eloy Lafuente (stronk7)
98c4307560
Merge branch 'MDL-64806-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-19 23:34:47 +01:00
Eloy Lafuente (stronk7)
7ce55f6f3e
Merge branch 'MDL-64242_36' of git://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-19 23:23:00 +01:00
Eloy Lafuente (stronk7)
272004978a
Merge branch 'MDL-64791-36' of git://github.com/jleyva/moodle into MOODLE_36_STABLE
2019-02-19 17:43:06 +01:00
Eloy Lafuente (stronk7)
8db7687f02
Merge branch 'MDL-62008-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-19 17:23:52 +01:00
Eloy Lafuente (stronk7)
db75278d93
Merge branch 'MDL-64500_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-02-19 17:10:47 +01:00
Damyon Wiese
2165cd3410
MDL-64540 assign: Backport of MDL-60008
...
This patch combines the following changes:
* Basically we should produce a combined PDF from all the files that it was possible to convert.
* If any one submission input file fails conversion, it should just be omitted in the result.
* When not all files are available in the online pdf, display a warning to graders
that some files must be downloaded.
* Better support for information messages from the conversion process.
* Remove the z-index values from the expand / collapse panels. They cause errors when mixed with dialogues.
* The edit pdf menus are all broken on small screen sizes. They consume 100% of the page with for no reason.
* The heights of the buttons to hide/show panels are arbitrarily big. There is not need to set them specifically.
Amended on integration to get rid if incorrect 'destroyed' block of
code. See the issue for more information.
2019-02-19 15:53:36 +01:00
Adrian Greeve
02bcf4644d
Merge branch 'MDL-60459_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-02-19 11:49:45 +01:00
David Monllaó
e0ca602e98
MDL-64570 user: Remove empty line
2019-02-19 09:27:13 +01:00
David Monllaó
1825a5a6dc
Merge branch 'MDL-64570-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-19 09:26:20 +01:00
David Monllaó
7bab771a8b
Merge branch 'MDL-45151-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-19 06:40:28 +01:00
Damyon Wiese
f63afeb168
MDL-64570 user: coding style
...
Fix cibot warnings on line length.
2019-02-19 09:45:21 +08:00
Damyon Wiese
fbf75a8605
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:45:21 +08:00
Damyon Wiese
633e97845f
MDL-64570 accessibility: purpose login fields
...
Provide the autocomplete attribute and username / current-password values to username
and password fields in login forms.
https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose.html
2019-02-19 09:45:21 +08:00
David Mudrák
0488a0b30b
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 17:46:11 +01:00
Adrian Greeve
b07174669f
Merge branch 'MDL-64452-36-cachesession' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-02-18 15:53:51 +01:00
Mark Johnson
0c81fe1f2e
MDL-64889 completion: Fix performance of get_course_progress_percentage
2019-02-18 14:07:37 +00:00
willem
bef3421021
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 11:00:04 +01:00
AMOS bot
e28cb2630d
Automatically generated installer lang files
2019-02-16 00:13:48 +00:00
David Mudrák
9fb92df867
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:37:51 +01:00
David Mudrák
c2922fab27
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:37:51 +01:00
David Monllaó
ce23f4f65c
MDL-64679 tool_analytics: Allow trained models to be cleared
2019-02-15 08:43:24 +01:00
Damyon Wiese
d531638e2d
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:10:27 +08:00
Andrew Nicols
22430761b1
weekly release 3.6.2+
2019-02-15 08:29:28 +08:00
Andrew Nicols
b83543bb45
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-02-15 08:29:26 +08:00
Stephen Bourget
d0aa6e157a
MDL-64856 mod_glossary: Always show the settings cog on the view page.
2019-02-14 12:45:30 -05:00
Jun Pataleta
55d1f79921
Merge branch 'MDL-64736-36-2' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-02-14 15:00:48 +08:00
Andrew Nicols
3b0b9777be
Merge branch 'MDL-64788_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-02-14 09:40:37 +08:00
Jun Pataleta
38a80c43db
Merge branch 'MDL-63892-36-rework' of git://github.com/mickhawkins/moodle into MOODLE_36_STABLE
2019-02-13 21:01:05 +08:00
Michael Hawkins
1ddc6cc840
MDL-63892 mod_forum: Behat update for post order
2019-02-13 17:24:38 +08:00
Jun Pataleta
10ddb5d90c
Merge branch 'MDL-64835-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-02-13 16:27:08 +08:00
Andrew Nicols
4ad618ec4d
Merge branch 'MDL-64714-36' of git://github.com/cescobedo/moodle into MOODLE_36_STABLE
2019-02-13 11:24:26 +08:00
Andrew Nicols
8bc84e2fd9
Merge branch 'MDL-63892-36-rework' of git://github.com/mickhawkins/moodle into MOODLE_36_STABLE
2019-02-13 10:19:15 +08:00
Andrew Nicols
e556c94666
MDL-64835 JS: Reduce cache invalidation checks
...
The cache invalidation check was previously occuring every time either
the `set` or `get` function was called on the cache. However, the cache
invalidation check is based on the jsrev which is static for the
lifetime of the page.
This change moved the invalidation to happen during the setup of the AMD
module such that it only happens one time per storage type (Local +
Session).
2019-02-13 10:13:43 +08:00
Andrew Nicols
44bc92dfdd
MDL-64835 JS: Stop using the jsrev in the jsrevPrefix
...
We only use the jsrevPrefix to determine if the cache should be
invalidated, but the prefix that we were using is based on the new
jsrev.
For example, the jsrevPrefix will be:
hash(wwwroot + '/ + config.jsrev) + '/jsrev'
Where config.jsrev is the _current_ (new) jsrev.
As a result when searching for the jsrev used to store the data which is
currently in the storage cache, no key is returned, and we instead set
an 'initial' value and the cache is not cleared
This patch changes the jsrevPrefix to be:
hash(wwwroot) + '/jsrev'
Since the wwwroot does not change, the key remains static for the
current site. As a result, when the jsrev is bumped via a Moodle cache
purge, we are able to correctly fetch the old jsrev from the cache,
determine that the jsrev has changed, and purge the cache.
2019-02-13 10:13:43 +08:00
AMOS bot
519ce6aef9
Automatically generated installer lang files
2019-02-13 00:11:44 +00:00
Eloy Lafuente (stronk7)
d64e812632
Merge branch 'MDL-64420-2_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-12 12:56:35 +01:00
David Monllaó
38ba693c91
Merge branch 'MDL-64590_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-12 12:46:57 +01:00
David Monllaó
bb10d3523e
Merge branch 'MDL-64730-lti-adv-0score-36' of https://github.com/CengageEng/moodle into MOODLE_36_STABLE
2019-02-12 12:33:44 +01:00
John Beedell
fb77164490
MDL-64420 qtype: gapselect unit tests unsafe
2019-02-12 11:27:02 +00:00
David Monllaó
0b796573d4
Merge branch 'MDL-32096-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-02-12 09:41:41 +01:00
Andrew Nicols
51e5aebafc
Merge branch 'MDL-64291_36' of https://github.com/KietChan/moodle into MOODLE_36_STABLE
2019-02-12 10:55:32 +08:00
Jun Pataleta
1385b3a3cb
Merge branch 'MDL-64493-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-12 10:11:58 +08:00
cescobedo
1796fe1494
MDL-64571 core_message: Fix duplicate footer in msg notification email
2019-02-12 00:44:01 +01:00
Andrew Nicols
f37e6ca42a
MDL-64736 course: Rewrite behat step to avoid changing a checkbox
2019-02-12 07:43:37 +08:00
Eloy Lafuente (stronk7)
7005a8da73
Merge branch 'MDL-61326-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-02-12 00:20:29 +01:00
Peter
4a8d7f56cd
MDL-61326 repository_equella: Pass proper labels for roles with no name
2019-02-12 07:11:31 +08:00
Eloy Lafuente (stronk7)
695b639f4b
Merge branch 'MDL-64694_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-02-12 00:10:26 +01:00
Eloy Lafuente (stronk7)
2af09bc931
Merge branch 'MDL-64606-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-02-12 00:02:32 +01:00
Eloy Lafuente (stronk7)
e1c332acbb
Merge branch 'MDL-64238-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-02-11 23:56:55 +01:00
Peter
e7f53ec0c8
MDL-64238 mod_quiz: Check enrollment on calendar_action generator
...
* Updated unit tests to account for participants
2019-02-12 06:26:40 +08:00
Peter
0cf0c2f339
MDL-64238 mod_lesson: Check enrollment calendar_action generator
...
* Updated unit tests to account for participants
2019-02-12 06:26:40 +08:00
Eloy Lafuente (stronk7)
44e3097e3d
Merge branch 'MDL-64725-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-02-11 17:04:45 +01:00
Eloy Lafuente (stronk7)
98e572b770
Merge branch 'M3.6-MDL-64599' of https://github.com/marcusboon/moodle into MOODLE_36_STABLE
2019-02-11 12:51:06 +01:00
Eloy Lafuente (stronk7)
152ec9fda2
Merge branch 'MDL-64385-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-02-11 12:35:34 +01:00
Sara Arjona
2b4b6c934e
Merge branch 'MDL-64031-36' of https://github.com/lethevinh/moodle into MOODLE_36_STABLE
2019-02-11 12:33:13 +01:00
David Monllaó
0e3b2bab1b
Merge branch 'MDL-64391_36' of git://github.com/vmdef/moodle into MOODLE_36_STABLE
2019-02-11 11:09:23 +01:00
Sara Arjona
f87961e5ef
Merge branch 'MDL-48338-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-02-11 10:41:15 +01:00
David Monllaó
188d64d2b0
Merge branch 'MDL-62666-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-02-11 09:49:05 +01:00
Tim Hunt
f2d827461d
MDL-64242 qtype_essay: more efficient query in restore code
...
Thanks to Juan Ibarra for the suggestion that lead to this fix.
2019-02-11 08:40:43 +00:00
Andrew Nicols
02606519d6
Merge branch 'MDL-64597-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-02-11 16:35:28 +08:00
Jun Pataleta
8729365749
Merge branch 'MDL-64488-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-11 16:05:45 +08:00
Jun Pataleta
aecc41b81c
Merge branch 'MDL-64644_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-02-11 15:28:55 +08:00
Andrew Nicols
29062ac7b6
Merge branch 'MDL-64393_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-11 15:11:38 +08:00
Shamim Rezaie
5848b3abf5
MDL-63134 mod_chat: Check if the module is visible to the user
2019-02-11 16:10:23 +11:00
Shamim Rezaie
659a617729
MDL-63134 mod_chat: Add userid param to mod_chat calendar callbacks
2019-02-11 16:10:23 +11:00
AMOS bot
20fd621fcb
Automatically generated installer lang files
2019-02-10 00:10:16 +00:00
Adrian Perez
eaaaeface3
MDL-64563 theme_boost: Add page site admin category name word-break
2019-02-09 20:16:21 +01:00
Luca Bösch
e4f0b24b18
MDL-64606 templates: Show & instead of & in url-select.
2019-02-08 13:22:58 +01:00
Jun Pataleta
bc41eabea5
weekly release 3.6.2+
2019-02-08 14:54:37 +08:00
Damyon Wiese
d050b00a71
MDL-64806 theme_boost: Do not label "More" icon
...
The icon is next to the text that says the same thing. Hide it from screenreaders.
2019-02-08 09:37:18 +08:00
Juan Leyva
181e04ce5d
MDL-64791 messages: Bring back 'messagecontactrequests' message
2019-02-07 12:07:01 +01:00
Eloy Lafuente (stronk7)
a28ffd62d9
Merge branch 'MDL-62680-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-07 10:22:53 +01:00
Anthony Ales
841709bbb5
MDL-48338 forum: Missing #unread in discussion post url
...
When a user user selects the unread messages link from the forum
discussion page, the link does not include '#unread' in the url.
This patch appends '#unread' to the url by changing the appropriate
value in the reference link assigned to $out within the function
forum_cm_info_view() of the 'lib.php'file.
A similar change is on the forum index.
2019-02-07 15:17:03 +08:00
Andrew Nicols
4f4d5af3ed
Merge branch 'MDL-64633-36' of https://github.com/ewallah/moodle into MOODLE_36_STABLE
2019-02-07 14:54:26 +08:00
Andrew Nicols
6be3214047
Merge branch 'MDL-64577-36-fix' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-02-07 11:54:50 +08:00
Jun Pataleta
29c224ce81
MDL-64577 grade: Put back the accidentally deleted value attribute
2019-02-07 11:26:49 +08:00
Peter Eliyahu Kornfeld
a5720360db
MDL-60459 core_course: set default for 'visibleoncoursepage'
2019-02-07 10:54:09 +08:00
Damyon Wiese
6f70544c44
MDL-62680 output: Only hide icons with no label
...
For accessibility we don't want to read an icon with a label immediately next to the label,
but in this case it's clearer for the icon to have no alt text / title for both
screen readers and non-screen readers. Worse is not reading important information just
because it's displayed as an icon.
2019-02-07 10:12:08 +08:00
Eloy Lafuente (stronk7)
747db5e953
Merge branch 'MDL-64577-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-02-07 00:45:38 +01:00
Eloy Lafuente (stronk7)
574831353e
Merge branch 'MDL-64551-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-02-06 23:44:43 +01:00
Eloy Lafuente (stronk7)
00e5454374
Merge branch 'MDL-64469-36' of https://github.com/lethevinh/moodle into MOODLE_36_STABLE
2019-02-06 22:55:11 +01:00
Eloy Lafuente (stronk7)
fa10771730
Merge branch 'MDL-63148-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-02-06 13:28:30 +01:00
Eloy Lafuente (stronk7)
3fb2606779
Merge branch 'MDL-63614_M36v1' of https://github.com/sbourget/moodle into MOODLE_36_STABLE
2019-02-06 13:19:47 +01:00
Jun Pataleta
c45f8a01bc
Merge branch 'MDL-63967_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-02-06 16:58:28 +08:00
Mihail Geshoski
7cfe8b3567
MDL-63417 lesson: Re-apply class variable to the question response
2019-02-06 15:02:17 +08:00
Mark Nelson
85b4823199
MDL-64788 core_message: removed unused temporary page
2019-02-06 13:56:29 +08:00
Jun Pataleta
967fd3b748
Merge branch 'MDL-61405-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-06 13:12:42 +08:00
Damyon Wiese
fc5d655fa4
MDL-61405 assign: Multiple pdfs are expected
...
In the same page it is normal (expected) to have multiple links to different annotated pdfs.
In the grading page, we also abort pending ajax progress when the current user is changed.
2019-02-06 09:36:27 +08:00
Eloy Lafuente (stronk7)
d3d6bd7fbf
Merge branch 'MDL-63516-MOODLE_36_STABLE' of https://github.com/dmitriim/moodle into MOODLE_36_STABLE
2019-02-06 00:16:37 +01:00
Dmitrii Metelkin
bf2e077fc8
MDL-63516 groups: fix unexpected debugging message
2019-02-06 09:23:32 +11:00
Sara Arjona
3d0a5f7c54
Merge branch 'MDL-62893_36' of https://github.com/mfabriczy/moodle into MOODLE_36_STABLE
2019-02-05 20:06:41 +01:00
Eloy Lafuente (stronk7)
be388ba917
Merge branch 'MDL-61441_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-02-05 16:11:46 +01:00
Jun Pataleta
795465cb0a
Merge branch 'MDL-64632_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-02-05 22:40:51 +08:00
cescobedo
63b1eaf29c
MDL-64714 core_auth: Fix early break foreach in delete_data_for_user
2019-02-05 12:52:02 +01:00
Marcus Fabriczy
3394af753d
MDL-62893 mod: Grade visibility bug in the Outline/Complete reports
...
Grades that have been hidden will appear in the outline/complete
report - even if the user is a student.
The modules that have been fixed are:
* mod_assign
* mod_data
* mod_forum
* mod_glossary
* mod_lesson
* mod_scorm
* mod_workshop
2019-02-05 20:09:30 +10:30
Peter
6b5d5ce16f
MDL-64450 mod_lesson: Update the css for lesson forms
...
* Reduce the width for the mediaplugin when displayed in forms
* Correct the css to exclude mediaplugin when applying styles
2019-02-05 12:55:37 +08:00
Olivier Piton
24eae720fa
MDL-61535 report_security: SQL Perf improvement
2019-02-05 01:44:07 +01:00
Eloy Lafuente (stronk7)
eb9f552ac9
Merge branch 'wip-MDL-64404-36' of https://github.com/Beedell/moodle into MOODLE_36_STABLE
2019-02-05 01:30:53 +01:00
Eloy Lafuente (stronk7)
0b0b26f356
Merge branch 'MDL-64649-36' of https://github.com/felicemcc/moodle into MOODLE_36_STABLE
2019-02-04 16:50:55 +01:00
Eloy Lafuente (stronk7)
3de8463fc1
Merge branch 'MDL-63975-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-02-04 13:21:50 +01:00
Damyon Wiese
361b66bdff
MDL-62008 output: Help icon text is escaped
...
The argument to render the pix_icon template from the help_icon template should not
be escaped, they will be escaped by the pix_icon template when it generates the HTML.
2019-02-04 13:46:28 +08:00
Mark Nelson
9ee908f314
MDL-64632 core_message: fixed PHP error when users are deleted from DB
2019-02-04 13:07:11 +08:00
Damyon Wiese
9a4056cbc4
MDL-62465 assign: Allow grade scrolling
...
Remove the custom override that disables no-overflow in the grading table. This page is better to use
when the grading table is scrollable and the controls around it are not scrollable.
2019-02-04 11:40:31 +08:00
Damyon Wiese
aa88adf108
MDL-62465 grade: scrolling CSS
...
Grading pages have their own special javascript to force "fixed" headers
when scrolling a large table. They rely on the entire page being scrolled,
not just the main region.
2019-02-04 11:40:31 +08:00
Damyon Wiese
534e9692c5
MDL-62465 CSS: scrolling tables
...
Tables displayed inside a flex box container need position:relative to
calculate their size or they cause incorrect scrollable regions to appear in the page.
2019-02-04 11:40:31 +08:00
Jun Pataleta
7493ad56cb
MDL-64725 composer: Use lowercase for package name of dev dependencies
2019-02-04 09:37:53 +08:00
Eloy Lafuente (stronk7)
74647f9ca3
MDL-63967 libs: some filter_var() filters are deprecated with php73
...
The explicit usage of the constants FILTER_FLAG_SCHEME_REQUIRED and
FILTER_FLAG_HOST_REQUIRED is now deprecated; both are implied for
FILTER_VALIDATE_URL anyway.
2019-02-01 11:56:24 +01:00
David Monllaó
220c8920c9
MDL-64694 report_insights: Remove unnecessary cell classes
2019-02-01 09:10:01 +01:00
Luca Bösch
b83af3894d
MDL-64577 grade: style "Add ID numbers" button.
2019-02-01 07:09:15 +01:00
David Monllao
e3d3ae2e18
MDL-64500 tool_analytics: No invalid analysables message
2019-02-01 06:59:14 +01:00
Damyon Wiese
3926512713
MDL-45151 assign: Add anonymous flag to events if blindmarking
2019-02-01 09:13:31 +08:00
Jun Pataleta
2188da9eed
weekly release 3.6.2+
2019-02-01 08:57:15 +08:00
Jun Pataleta
ebd32e0241
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-02-01 08:57:14 +08:00
Eloy Lafuente (stronk7)
c254bb8471
Merge branch 'MDL-64737-36-attoprivacysql' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-01-31 22:46:24 +01:00
Sara Arjona
32117f2d12
MDL-62514 form: Add missing data-tags attribute
...
The data-tags=1 attribute was missing for the autocomplete forms
without suggestions.
2019-01-31 13:50:30 +01:00
David Mudrák
6a5f60d419
MDL-64737 editor_atto: Fix the privacy export_user_data() implementation
...
Multiple issues fixed:
* Fixed order of the statements to avoid access to undefined variables.
* Fixed population of the SQL query parameter to make sure they match
the placeholder in the query.
* Fixed missing table aliases in the second query to make sure the query
actually works as expected.
2019-01-31 12:51:18 +01:00
David Mudrák
1ac0d67ee8
MDL-64737 privacy: Fix privacy provider testsuite file names
...
Only files ending with "_test.php" suffix are implicit part of a
testsuite. So these two were not actually executed.
2019-01-31 12:51:17 +01:00
Felice Candilio
2c7a567491
MDL-64649 amd: Removing underscores from icons in [Roles/Groups] forms
2019-01-31 11:07:01 +01:00
Damyon Wiese
8027c1dd30
MDL-63975 assign: Fix error when there is no grader
2019-01-31 13:09:27 +08:00
Damyon Wiese
11f2f7efad
MDL-64200 atto_media: Improve behat test
...
By setting the window size before the modal dialogs are opened, we will get
consistent behaviour when interacting with the modal.
2019-01-31 11:54:09 +08:00
Eloy Lafuente (stronk7)
cb41802683
Merge branch 'MDL-64320_36' of git://github.com/dmonllao/moodle into MOODLE_36_STABLE
2019-01-31 00:29:34 +01:00
Eloy Lafuente (stronk7)
9666362605
Merge branch 'MDL-64521_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-01-30 23:48:57 +01:00
Eloy Lafuente (stronk7)
e3c859bfb3
Merge branch 'MDL-62514-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-01-30 23:01:02 +01:00
Claude Vervoort
703d3f1a05
MDL-64730 LTI Adv: do not ignore 0 score
2019-01-30 16:13:03 -05:00
Eloy Lafuente (stronk7)
bdecee10d6
MDL-64528 core_completion: new cap version bump
2019-01-30 21:25:58 +01:00
Charles Fulton
f7afadd846
MDL-64528 core_completion: prevent toggling completion in frozen context
2019-01-30 21:25:09 +01:00
Sara Arjona
a7e2a7fecf
Merge branch 'MOODLE_36_STABLE' of https://github.com/kristian-94/moodle into MOODLE_36_STABLE
2019-01-30 19:09:11 +01:00
Juan Leyva
ff28d273e0
MDL-64444 mod_assign: Use correct permissions for context locking
...
Some WebServices does not use the correct permissions.
This mean that when a context is locked, they don't behave as expected.
2019-01-30 15:27:49 +01:00
Sara Arjona
730b017a9c
Merge branch 'MDL-47247-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
2019-01-30 14:03:03 +01:00
David Monllao
4939925fd0
MDL-64320 analytics: Validate discrete indicators separately
2019-01-30 12:11:34 +01:00
Sara Arjona
4b07fd7203
Merge branch 'MDL-64566_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-01-30 09:32:08 +01:00
Sara Arjona
e2ba0043cf
Merge branch 'MDL-64143-36' of https://github.com/ryanwyllie/moodle into MOODLE_36_STABLE
2019-01-30 09:22:42 +01:00
Ryan Wyllie
4293c035a6
MDL-64143 message: make message drawer contacts bold
2019-01-30 09:02:41 +08:00
Andrew Nicols
977cfafd53
MDL-62514 behat: Inplace editable pendingjs wrapper
2019-01-30 08:26:18 +08:00
Andrew Nicols
f24c46b406
MDL-62514 behat: Remove potentially conflicting names from description
2019-01-30 08:26:18 +08:00
Andrew Nicols
e809dc3394
MDL-62514 behat: Add additional autocomplete validation
2019-01-30 08:26:18 +08:00
Andrew Nicols
55efc4667d
MDL-62514 behat: Rewrite handling of autocomplete
...
This includes a minor restructure of the autocomplete JS to make use of
promises and improve tracking of pending JS.
In particular it improves the way in which throttled text input is
handled to ensure that the behat does not continue until:
- typing is fully complete; and
- all possible ajax requests have been sent; and
- all possible ajax requests complete; and
- the suggestions are updated.
A number of conditions existed where behat would move on to the next
step too early in a race condition effect between Behat and Autocomplete.
2019-01-30 08:26:18 +08:00
Andrew Nicols
dd3fa5c531
MDL-62514 behat: Add a wait_for_pending_js to form field
2019-01-30 08:26:18 +08:00
AMOS bot
0ada596ccb
Automatically generated installer lang files
2019-01-30 00:10:15 +00:00
Eloy Lafuente (stronk7)
2e65323d4f
Merge branch 'MDL-64424-36-expiredfrontpage' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-01-29 23:48:21 +01:00
Eloy Lafuente (stronk7)
4557f2c67b
Merge branch 'MDL-64464_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-01-29 19:40:38 +01:00
Ryan Wyllie
ffaa6c9f20
MDL-64144 message: show message date in message search results
2019-01-29 16:08:37 +01:00
Sara Arjona
7ab09d0dcc
Merge branch 'MDL-63168_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2019-01-29 13:01:00 +01:00
Sara Arjona
e14e6a434f
Merge branch 'MDL-64313-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-29 12:35:40 +01:00
Sara Arjona
de4e98c355
Merge branch 'MDL-61623-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-29 11:20:20 +01:00
Damyon Wiese
7f0ebd3510
MDL-61623 accessibility: Use role, not aria-role
2019-01-29 14:00:04 +08:00
Mihail Geshoski
0932a5b52e
MDL-47247 mod_folder: Apply site config when showexpanded is not set
2019-01-29 08:58:38 +08:00
Sara Arjona
f1a21cb9ce
Merge branch 'MDL-62668-36' of git://github.com/jleyva/moodle into MOODLE_36_STABLE
2019-01-28 19:43:16 +01:00
Binh Thai
be3cc9bed3
MDL-64291 GDPR export: Context paths can be very long, not unique
2019-01-28 20:01:54 +07:00
Sara Arjona
cfe678062e
Merge branch 'MDL-56604-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-28 13:32:49 +01:00
Sara Arjona
485fd16ae0
Merge branch 'MDL-63378-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-28 11:38:11 +01:00
Sara Arjona
7152b86394
Merge branch 'MDL-54804_36' of https://github.com/mfabriczy/moodle into MOODLE_36_STABLE
2019-01-28 10:21:41 +01:00
Garrett Boone
bc3ba913e7
MDL-64640 feedback: Fix target link on deletion
2019-01-27 18:15:35 +08:00
Andrew Nicols
52804421a0
MDL-64640 usertours: Fix target link on deletion
2019-01-27 18:15:35 +08:00
Kristian Ringer
8237a017d0
MDL-64700 block_recentlyaccessedcourses: don't escape course names
2019-01-25 10:25:34 +11:00
Eloy Lafuente (stronk7)
cc8d7ee698
weekly release 3.6.2+
2019-01-24 15:12:36 +01:00
Eloy Lafuente (stronk7)
8339c17385
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-01-24 15:12:34 +01:00
Shamim Rezaie
e02b7243e0
MDL-52132 qbehaviour_manualgraded: no change when comment is left blank
2019-01-24 16:20:10 +08:00
Damyon Wiese
1cf6ed5a17
MDL-56604 assign: Group submission status
...
On the page listing all assignments for the course,
show the status of the group submission if teamsubmissions is enabled
for the assignment.
2019-01-24 14:34:17 +08:00
Jun Pataleta
a48bccf753
MDL-64597 behat: Properly import behat_util when dropping parallel sites
2019-01-24 12:52:03 +08:00
Damyon Wiese
f30ed91534
MDL-64493 completion: Manual completion Ally
...
Do not use duplicate title attributes on buttons, use aria-live to force the correct state to be
read after clicking on a button.
2019-01-24 08:37:16 +08:00
Damyon Wiese
72ea6fc68e
MDL-64488 output: User picture Ally
...
Do not include alt and title for a user picture if it is hidden from screen readers.
Use aria-hidden to properly hide the image from screen readers.
2019-01-24 08:32:13 +08:00
Eloy Lafuente (stronk7)
2ad0e72498
Merge branch 'MDL-64240-36' of git://github.com/mickhawkins/moodle into MOODLE_36_STABLE
2019-01-24 00:56:50 +01:00
Eloy Lafuente (stronk7)
da13ccc61f
Merge branch 'MDL-62963-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-24 00:38:28 +01:00
Juan Leyva
e76b511228
MDL-62668 mod_workshop: Return feedback for reviewer in assessment phase
...
Teachers were not able to view the existing feedback.
2019-01-23 18:10:46 +01:00
Eloy Lafuente (stronk7)
ff9ba586a1
Merge branch 'MDL-64609-36' of git://github.com/merrill-oakland/moodle into MOODLE_36_STABLE
2019-01-23 18:05:36 +01:00
Mark Sharp
eafc25c718
MDL-64391 core_analytics: courseextendednamedisplay
2019-01-23 12:02:15 +00:00
David Mudrák
8bd88a1ecd
MDL-64424 privacy: Use system context purpose on the front page, too
...
For activities on the site's front page, use the purpose and retention
periods as defined for the system context, not for the courses.
2019-01-23 11:12:25 +01:00
Mark Nelson
04ae9eeb9f
MDL-64644 completion: fixed assertions in privacy test
2019-01-23 17:31:06 +08:00
Mark Nelson
d7cc2c8444
MDL-64644 completion: set status correctly in provider
2019-01-23 17:31:06 +08:00
Mark Nelson
dacceac522
MDL-64644 completion: ensure we return array for provider
2019-01-23 17:31:06 +08:00
Sara Arjona
663c66b8c0
Merge branch 'MDL-64107-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-23 10:19:07 +01:00
Sara Arjona
16d059cf92
Merge branch 'MDL-63628-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-23 08:24:34 +01:00
Mark Nelson
a0c78cc672
MDL-63168 core_message: added unit test
2019-01-23 13:24:06 +08:00
eWallah
534b0b6147
MDL-63168 core_message: fix failures in migrate_message_data task.
2019-01-23 13:24:06 +08:00
Eric Merrill
b2ac807c9f
MDL-64609 gradebook: Prevent infinite loop in regrading
2019-01-22 21:40:52 -05:00
Jake Dallimore
b92327307a
Merge branch 'MDL-52132-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-01-23 09:21:17 +08:00
Eloy Lafuente (stronk7)
7832112121
Merge branch 'MDL-63870_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-01-23 00:09:37 +01:00
Eloy Lafuente (stronk7)
69e8445ac2
Merge branch 'MDL-64465_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-01-23 00:01:48 +01:00
Eloy Lafuente (stronk7)
613c607593
Merge branch 'MDL-64412-36' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-01-22 23:49:13 +01:00
Eloy Lafuente (stronk7)
56310c4e30
Merge branch 'MDL-64629-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-01-22 19:00:54 +01:00
Eloy Lafuente (stronk7)
f6857e42fe
Merge branch 'MDL-64441-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-01-22 18:49:17 +01:00
Shamim Rezaie
0e835752a3
MDL-64521 groups: add more unit tests
...
These tests were created for MDL-64526, just before MDL-64521 came along
and removed the buggy code. These are good tests, so they are being
kept.
2019-01-22 16:43:33 +00:00
Tim Hunt
186fa09d2b
MDL-64521 grouplib: reduce memory use in groups_get_all_groups
...
This avoids loading multiple copies of g.* when $withmembers is true
2019-01-22 16:43:31 +00:00
Sara Arjona
c5fcf18d69
Merge branch 'MDL-63480-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
2019-01-22 15:19:02 +01:00
Justus Dieckmann
d783d4759c
MDL-58256 group: prevents users to be added to a group twice
2019-01-22 13:02:22 +01:00
eWallah
d5e0ef78b1
MDL-64633 behat: fix FormatterNotFoundException when updating steps.
2019-01-22 11:39:36 +01:00
Sara Arjona
691da3a929
Merge branch 'MDL-64486-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-01-22 08:23:20 +01:00
Michael Hawkins
8c28651948
MDL-63892 mod_forum: Updating lib unit test
2019-01-22 13:54:54 +08:00
Michael Hawkins
ecc36f6066
MDL-63892 mod_forum: Fix last post details in forum view
2019-01-22 13:54:54 +08:00
Michael Hawkins
7f166e30a7
MDL-63892 mod_forum: Correction to timestamp added to edit strings
2019-01-22 13:54:54 +08:00
Peter
86f1a6ba5f
MDL-32096 core_report: Remove duplicate filters in reports
...
* Remove duplicate filters from activity completion and course completion report pages
2019-01-22 13:41:44 +08:00
Damyon Wiese
bad1713693
MDL-63628 accessibility: Trigger file links with keyboard
2019-01-22 08:40:49 +08:00
AMOS bot
94ef41597a
Automatically generated installer lang files
2019-01-22 00:09:58 +00:00
David Mudrák
9b90c17f74
MDL-64553 message: Add index for the notifications.useridfrom field
...
The useridfrom would normally be a foreign key to the users table. But
it can also contain some extra negative values with special semantics
(-10 or -20 for no-reply or support user). Therefore we can't make it a
foreign key and the index must be created explicitly.
2019-01-21 13:26:33 +01:00
Jake Dallimore
3741df64fe
Merge branch 'MDL-28445-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2019-01-21 15:58:50 +08:00
Jun Pataleta
843e909b7f
MDL-62666 course: Only set the groups setting to true when necessary
...
* Plus update the comment to be more descriptive.
2019-01-21 14:43:01 +08:00
Andrew Hancox
7ed127cfbb
MDL-62666 course: Ignore restore_general_groups on activity duplication
2019-01-21 14:43:01 +08:00
Mihail Geshoski
ee724278d3
MDL-63480 reports: Fix name filters in completion reports
2019-01-21 09:24:08 +08:00
Jake Dallimore
cbd56f1537
Merge branch 'MDL-60972-36_delete_section_files' of https://github.com/awagner/moodle into MOODLE_36_STABLE
2019-01-21 09:04:40 +08:00
Tim Hunt
aa8e765a5d
MDL-64590 questions: wrong comments shown in the state history table
2019-01-18 18:06:50 +00:00
Sara Arjona
ee59fe2276
MDL-64629 theme_clean: Remove underscore near the help icon
2019-01-18 14:32:53 +01:00
Sara Arjona
c8ebfd55a2
Merge branch 'MDL-62968-36' of git://github.com/mickhawkins/moodle into MOODLE_36_STABLE
2019-01-18 12:39:56 +01:00
Amaia Anabitarte
2fcf9253b7
MDL-64385 user: Case insensitive comparison for email domains
2019-01-18 10:05:56 +01:00
Marcus Boon
2e7607d68c
MDL-64599 phpunit: Fix typo in arraydataset
2019-01-18 07:09:06 +10:00
Tim Hunt
a7428f69ad
MDL-63870 quiz: new preview should abandon, not finish, current attempt
2019-01-17 17:55:39 +00:00
Eloy Lafuente (stronk7)
7412ad6141
weekly release 3.6.2+
2019-01-17 17:48:02 +01:00
Andreas Wagner
1f7b1ad0f2
MDL-60972 core_course: delete section files, when section is deleted.
2019-01-17 08:22:32 +01:00
Peter
68e6a93c70
MDL-28445 mod_glossary: Use compound strings as opposed to anglicised
...
* Use compound strings on buttons to help with proper translations
* Updated behat tests
2019-01-17 10:59:30 +08:00
Eloy Lafuente (stronk7)
1732de328b
Merge branch 'MDL-63103-m36' of https://github.com/NeillM/moodle into MOODLE_36_STABLE
2019-01-16 19:02:28 +01:00
Sara Arjona
1e559e85a8
Merge branch 'MDL-63916-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-16 15:33:23 +01:00
Ryan Wyllie
59305e78ed
MDL-64134 message: hide empty sections in search results
2019-01-16 13:12:20 +01:00
Ryan Wyllie
63ab57ef42
MDL-64166 message: reduce size of conversation counts in overview
2019-01-16 08:50:41 +01:00
Eloy Lafuente (stronk7)
1f0f6452bb
Merge branch 'MDL-63607-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-01-16 00:37:09 +01:00
Sara Arjona
41da53abe4
Merge branch 'MDL-64346-36' of git://github.com/abgreeve/moodle into MOODLE_36_STABLE
2019-01-15 15:38:28 +01:00
Adrian Greeve
793727d8f4
MDL-64346 mod_resource: Fix problems with # in file name.
2019-01-15 14:29:18 +01:00
Sara Arjona
1c8abf9e96
Merge branch 'MDL-64171-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-01-15 13:55:04 +01:00
Sara Arjona
6a6d78107c
Merge branch 'MDL-64425-36' of git://github.com/lameze/moodle into MOODLE_36_STABLE
2019-01-15 13:21:05 +01:00
Sara Arjona
4944798626
Merge branch 'MDL-64432_m36' of git://github.com/gjb2048/moodle into MOODLE_36_STABLE
2019-01-15 12:57:48 +01:00
Sara Arjona
33788a4b5f
Merge branch 'MDL-62439-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-01-15 12:02:24 +01:00
Sara Arjona
356e345fb5
Merge branch 'MDL-63881-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2019-01-15 11:39:02 +01:00
Andrew Nicols
1ed1421f0f
MDL-52132 core_question: Comment is different if format has changed
2019-01-15 18:57:16 +11:00
Shamim Rezaie
32636f9c2c
MDL-52132 qbehaviour_manualgraded: unit test for changing comment format
2019-01-15 18:57:16 +11:00
Eloy Lafuente (stronk7)
0d3c7b21be
Merge branch 'MDL-63677-36' of git://github.com/sarjona/moodle into MOODLE_36_STABLE
2019-01-14 23:03:59 +01:00
Mark Nelson
81eb28ab34
MDL-64519 core_message: add missing strings causing AMOS issues
2019-01-14 13:30:02 +01:00
Sara Arjona
64fd3da15d
Merge branch 'MDL-60082-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-14 12:26:35 +01:00
Shamim Rezaie
5428bcca6c
MDL-64551 core_question: Fix double ampersand escaping in tag button
2019-01-14 18:23:59 +11:00
Mark Nelson
624922d3d5
MDL-64566 core_message: removed unnecessary DB call
2019-01-14 09:46:19 +08:00
Eloy Lafuente (stronk7)
68b59f336b
Moodle release 3.6.2
2019-01-12 13:26:00 +01:00
Tim Hunt
5361e60e93
MDL-64465 qtypes: fix incorrect context passed to format_string
2019-01-11 11:12:52 +00:00
Tim Hunt
a747d9311a
MDL-64464 drag-drop qtypes: allow <span lang=".."> id draggables
...
This is for accessibility, so that screen readers can read the drag
items with correct pronunciation.
2019-01-11 11:12:37 +00:00
Tim Hunt
814dee2184
MDL-64393 drag-drop qtypes: be more robust when page layout changes
2019-01-11 11:11:50 +00:00
Tim Hunt
7fbca34efb
MDL-61441 accesslib: get_users_by_capability groups perf improvement
2019-01-11 10:55:31 +00:00
Sara Arjona
4be3c44a5b
MDL-63677 core_user: Avoid redirection during signup
...
Purge cache just for the current user to avoid redirection when 2
simultaneous users try to sign up at the same time and some policy
has to be agreed.
The 'createduser' invalidation event has been removed also because
is not used any more.
Thanks John Azinheira for spotting it!
2019-01-11 10:23:04 +01:00
Neill Magill
3e14b40724
MDL-63103 filebrowser: Speed up finding activities with files
...
Before this change the query examined at every course_module record in
the context table.
With this change we use the course_modules table to more efficiently
find all the activities in the course, which means that many less
records in the context table need to be examined.
2019-01-11 09:03:58 +00:00
VinhLe
173d968f87
MDL-64031 enrol_manual: Fix hard-coded list of user fields.
...
Respect get_extra_user_fields() in PHP code
2019-01-11 11:37:05 +07:00
VinhLe
0b4bb56b4d
MDL-64469 Question bank: Change link questions in category question.
...
Make it easier to navigate from the category list to the questions in a category.
2019-01-11 11:29:53 +07:00
Luca Bösch
18581165c5
MDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link.
2019-01-10 22:17:12 +01:00
Luca Bösch
6efd56e074
MDL-62439 output: Debugstringids in overlay windows.
2019-01-10 22:16:48 +01:00
Sara Arjona
dfd605320e
weekly release 3.6.1+
2019-01-10 17:51:31 +01:00
Sara Arjona
8f6ba8afc4
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2019-01-10 17:51:30 +01:00
Jake Dallimore
b41a94128a
Merge branch 'MDL-64004-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-10 11:00:25 +08:00
AMOS bot
7365115cf3
Automatically generated installer lang files
2019-01-10 00:08:42 +00:00
Eloy Lafuente (stronk7)
5f85b35305
Merge branch 'MDL-64479_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2019-01-09 23:36:57 +01:00
Ryan Wyllie
ea2f42bde4
MDL-64043 message: stop group conversation header re-rendering
2019-01-09 18:46:54 +01:00
Marcus Fabriczy
c049e374c3
MDL-54804 templates: Prevent posting when no option is selected
...
When no value is set for an option element and a user selects it, a
POST request is made, which is incorrect. Usually that option is a
placeholder value, e.g., "Choose..." - the form expecting the end user
to choose an actual value.
2019-01-09 23:56:28 +10:30
Eloy Lafuente (stronk7)
3dd8792045
Merge branch 'MDL-63686-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-01-09 12:36:33 +01:00
Andrew Nicols
a335f9c4c0
MDL-63686 core: recordset => records when fetching contexts
2019-01-09 19:08:08 +08:00
Tim Hunt
6873ac11a0
MDL-64479 dd-qtypes: fix questions with non-consecutive groups
2019-01-09 10:20:01 +00:00
Jake Dallimore
a022611e09
Merge branch 'MDL-64375-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-09 15:33:27 +08:00
Damyon Wiese
0d72593a7c
MDL-62143 accessibility: Label breadcrumbs
2019-01-09 15:18:36 +08:00
Andrew Nicols
97a0132511
Merge branch 'MDL-62550-36-2' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-01-09 15:10:12 +08:00
Jake Dallimore
210429d952
Merge branch 'MDL-64345-36' of https://github.com/s-cenni/MDL-64345 into MOODLE_36_STABLE
2019-01-09 14:14:28 +08:00
Jake Dallimore
aeb7c0026d
MDL-62550 core_theme: remove unused #fgroup_ and #fitem_ rules
...
These ids didn't exists in form elements in Boost until now, so we'll
remove the rules to prevent them having any effect now.
2019-01-09 11:31:54 +08:00
Jake Dallimore
19c1651247
MDL-62550 core_form: bring back the form item unique ids to fix js fails
...
This id matches the id seen on the clean theme elements and is needed by
the forms js.
2019-01-09 11:31:52 +08:00
Jake Dallimore
f369450561
Merge branch 'MDL-63761-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2019-01-09 09:07:07 +08:00
Eloy Lafuente (stronk7)
b60fa84aad
Merge branch 'MDL-64285-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2019-01-09 00:03:13 +01:00
Andrew Nicols
0c8852c98b
Merge branch 'MDL-24951_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-01-09 06:43:45 +08:00
Andrew Nicols
0f44be2b7a
Merge branch 'MDL-64426_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-01-09 06:38:34 +08:00
Eloy Lafuente (stronk7)
db729d9510
MDL-64426 core_message: fix context::instance_by_id() wrong use
2019-01-08 23:07:22 +01:00
Eloy Lafuente (stronk7)
e41fd189dd
MDL-24951 mod_forum: Apply new string to related scenarios
...
Plus amend an scenario name that was clearly incorrect.
2019-01-08 16:51:21 +01:00
Michael Hawkins
279df86c7f
MDL-64395 groups: Added XSS Risk to the manage groups capability
2019-01-08 16:26:48 +01:00
Michael Hawkins
2e057f082d
MDL-64372 userpix: Escape fullname string on userpix index page
2019-01-08 16:26:48 +01:00
Sara Arjona
20c3619d77
MDL-64222 badge: Removed backpackurl from the edit_form
2019-01-08 16:26:48 +01:00
Eloy Lafuente (stronk7)
d21c67114f
Merge branch 'MDL-64509-36-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_36_STABLE
2019-01-08 16:18:31 +01:00
Andrew Nicols
d55a0b81d6
Merge branch 'MDL-58596-36' of git://github.com/vmdef/moodle into MOODLE_36_STABLE
2019-01-08 16:15:34 +08:00
Andrew Nicols
987e822c5e
Merge branch 'MDL-64426-36-2' of https://github.com/snake/moodle into MOODLE_36_STABLE
2019-01-08 16:10:06 +08:00
Leon Stringer
7ad3a22b79
MDL-58596 core_stats: fixed infinite loop cause by DST change
2019-01-08 08:08:14 +00:00
Jake Dallimore
0c638fda5c
MDL-64426 core_message: fix filter support in api::get_conversations()
...
Conversation name and subname should support filters, so the data should
be passed through format_string, and advertised in the external params
as PARAM_TEXT.
2019-01-08 15:51:32 +08:00
Jake Dallimore
caa2b2ce21
Merge branch 'MDL-63686-36' of git://github.com/andrewnicols/moodle into MOODLE_36_STABLE
2019-01-08 14:38:07 +08:00
Andrew Nicols
afba820e1d
MDL-63686 core: Preload parent contexts
2019-01-08 14:11:53 +08:00
Andrew Nicols
1e59e03e60
Merge branch 'MDL-24951-36' of git://github.com/Chocolate-lightning/moodle into MOODLE_36_STABLE
2019-01-08 13:52:35 +08:00
Andrew Nicols
a155e8cb75
Merge branch 'MDL-64497-m36' of https://github.com/sammarshallou/moodle into MOODLE_36_STABLE
2019-01-08 12:28:56 +08:00
Andrew Nicols
6aa1364030
Merge branch 'MDL-63722-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-01-08 12:12:55 +08:00
Andrew Nicols
691a2997b8
Merge branch 'MDL-64400-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2019-01-08 08:28:21 +08:00
Andrew Nicols
bd5464547a
Merge branch 'MDL-63276_36' of https://github.com/stronk7/moodle into MOODLE_36_STABLE
2019-01-08 06:56:13 +08:00
Eloy Lafuente (stronk7)
90fc88b56d
Merge branch 'MDL-63809-36-5' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2019-01-07 22:13:00 +01:00
Helen Foster
bb7ebc0ee5
MDL-64509 lang: Import fixed English strings (en_fix)
...
Significant string change: enablerunnow_desc,tool_task - including
mention of pathtophp requirement
2019-01-07 20:09:48 +01:00
Sara Arjona
8555878283
Merge branch 'MDL-64419-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2019-01-07 14:18:23 +01:00
Andrew Nicols
5a04efc1eb
Merge branch 'MDL-57636_m36' of https://github.com/dasistwas/moodle into MOODLE_36_STABLE
2019-01-07 13:48:08 +08:00
David Bogner
352ddf9d42
MDL-57636 frontpage: Fix display enrolled courses
2019-01-04 11:00:25 +01:00
Damyon Wiese
20ad67d21d
MDL-64375 gradingform_rubric: Styles for overflow
...
Allow people to define lots of levels, and make the scroll region just the rubric table,
not the entire content region.
2019-01-04 08:44:38 +08:00
sam marshall
6e7597f569
MDL-64497 GDPR: moodle_content_writer can cause endless loop
...
Fixes a buggy function by replacing it with a call to file_get_contents,
and adds error detection on a couple of file accesses.
2019-01-03 17:05:47 +00:00
Jake Dallimore
1f2934b656
Merge branch 'MDL-49651-36' of git://github.com/Chocolate-lightning/moodle into MOODLE_36_STABLE
2019-01-03 10:46:36 +08:00
Peter
a03105e4b1
MDL-64486 mod_glossary: Add missing separator for special links
2019-01-03 08:39:59 +08:00
Eloy Lafuente (stronk7)
7bdf798d6a
MDL-63276 environment: PHP 7.1 and Moodle 3.2 required
2019-01-03 01:19:48 +01:00
Eloy Lafuente (stronk7)
fd1fb3e6db
MDL-63276 environment: 3.7 base information
...
This is a direct copy of the 3.6 branch to
have changes under control easier in next commits.
2019-01-03 01:19:48 +01:00
Jake Dallimore
61bdf6fab3
MDL-64412 core_message: remove ordering code from message_search_users()
...
This code is no longer needed as get_member_info() now respects the
ordering of the $userids param.
2019-01-02 15:21:39 +08:00
Jake Dallimore
bed5aa4d13
MDL-64412 core_message: get_member_info() respects provided ordering
...
This change makes sure the function returns the member information in
the same order as those users provided in the $userids param.
2019-01-02 15:21:34 +08:00
Peter
07deeb497c
MDL-63148 mod_scorm: Accept userid param in event action
...
* Update lib scorm functions to accept and use a passed in userid
* Additional phpunit tests
2019-01-02 14:36:31 +08:00
Michael Hawkins
2fd170c550
MDL-62968 Boost: Adding editor SCSS support
2019-01-02 14:21:22 +08:00
Damyon Wiese
e607001e7e
MDL-63761 grade: Performance fix for regrading
...
Don't use a separate variable to count the number of items in finalids.
2019-01-02 10:25:04 +08:00
Amaia Anabitarte
844a59c301
MDL-64400 core_messages: Mark notifications sent via email as read
2018-12-27 09:18:14 +01:00
Amaia Anabitarte
f10c2934aa
MDL-64400 core_messages: Allow cron to delete unread notifications too
2018-12-27 09:18:14 +01:00
Mathew
efe7f18200
MDL-49651 mod_forum: Respect course visibility in cron
...
This checks the courses' current visibility and the users permissions.
If they have the permission to view the course when it is hidden they'll get messages.
We already have checks for the users enrolled & subscription status.
2018-12-24 09:35:38 +08:00
Mathew
0df8f503a3
MDL-24951 mod_forum: Check user capability to know what message to show.
...
If the user has the following capabilty: mod/forum:canposttomygroups then show them
the more technical of the strings. Otherwise we use something a bit easier for them to ask their
tutor or teacher about.
2018-12-24 09:14:39 +08:00
Gareth Barnard
6a9e87112c
MDL-64432 theme_bootstrapbase: Favourites myoverview icon tooltip.
2018-12-21 11:24:20 +00:00
AMOS bot
c4b911d645
Automatically generated installer lang files
2018-12-21 00:08:07 +00:00
Sara Arjona
7534d21e59
MDL-64441 badges: Remove notice when language is empty
2018-12-20 16:29:28 +01:00
Víctor Déniz Falcón
524e1fa64e
MDL-58596 core_stats: unit test for stats_get_base_weekly
2018-12-20 13:59:34 +00:00
Adrian Greeve
7f234acc6e
weekly release 3.6.1+
2018-12-20 11:09:17 +01:00
Adrian Greeve
1003775c7c
NOBUG: Fixed SVG browser compatibility
2018-12-20 11:09:17 +01:00
Adrian Greeve
025c532aa9
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2018-12-20 11:09:16 +01:00
Andrew Nicols
b1c50364d0
Merge branch 'MDL-64038-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2018-12-20 13:56:45 +08:00
Andrew Nicols
eac010fbb9
Merge branch 'MDL-63512-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-20 13:03:49 +08:00
Peter
c556416385
MDL-63512 mod_lesson: Update the lesson css to exclude mediaplugin div
2018-12-20 12:51:04 +08:00
Peter
1f91c082c5
MDL-63512 mod_lesson: Fix video links provided in feedback
2018-12-20 12:51:04 +08:00
Stephen Bourget
f4c843d00b
MDL-63614 badges: Add COMPLETION_FAIL support to badge criteria
2018-12-19 10:30:27 -05:00
Adrian Greeve
421358bc47
Merge branch 'MDL-64392-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2018-12-19 12:04:29 +01:00
Adrian Greeve
7b661b8d6f
MDL-59954 course: Remove unused global.
2018-12-19 10:48:27 +01:00
Peter
74780ef62b
MDL-59954 mod_course: Remove file size restriction on D&D on course page
...
Remove file size restrictions for teachers on course page.
Use user_max_upload_file_size instead of the max_file_size
2018-12-19 10:47:01 +01:00
Shamim Rezaie
a9223b49a0
MDL-63722 javascript: misinterpret as outside click if DOM is modified
2018-12-19 16:06:38 +11:00
Jake Dallimore
50e3951acc
Merge branch 'MDL-64229_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-19 11:37:40 +08:00
Jake Dallimore
e4cac445c2
Merge branch 'MDL-64216-m36' of https://github.com/micaherne/moodle into MOODLE_36_STABLE
2018-12-19 11:08:05 +08:00
Andrew Nicols
1dca8a6679
Merge branch 'MDL-63512-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-19 10:00:10 +08:00
AMOS bot
2f90c2a35d
Automatically generated installer lang files
2018-12-19 00:09:03 +00:00
Simey Lameze
6f76116cd2
MDL-64425 block_timeline: fix incorrect get_string parameter
2018-12-19 07:42:25 +08:00
Adrian Greeve
30ff131e71
Merge branch 'MDL-64025-36' of https://github.com/christianwolters/moodle into MOODLE_36_STABLE
2018-12-18 16:00:47 +01:00
Bas Brands
6d66740146
MDL-64171 block_myoverview: change course summary view image size
...
Size reduced from 7rem to 5rem for smaller devices
and for courses without a description.
2018-12-18 10:39:17 +01:00
Michael Hawkins
a7c9b0b43d
MDL-64240 mod_forum: Clean forum post text before storing
...
Previously only edited messages were cleaned, so longer strings could
be stored in the database, which would never be displayed.
This update takes into account trusted text before cleaning (as editing does).
2018-12-18 14:12:47 +08:00
Michael Hawkins
38a757cc18
MDL-64240 mod_forum: Update word count to use current message length
...
Previously this used the length of the message stored in the database,
before scripts etc are cleaned to display the content. That resulted
in cases where the count would seem much larger than the message size.
2018-12-18 14:12:47 +08:00
Shamim Rezaie
10c38b2e34
MDL-63809 question: handling bad questions in question_has_capability_on
2018-12-18 15:44:20 +11:00
Tim Hunt
636a752d11
MDL-63809 question bank: ensure question_has_capability_on can be called
2018-12-18 15:44:20 +11:00
Damyon Wiese
73d4d4f8c3
MDL-60082 assign: Grading worksheet with no grade
...
If the grade type is NONE - do not include the maxgrade column.
2018-12-18 11:14:17 +08:00
Jake Dallimore
909b8fe981
Merge branch 'MDL-64309_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-18 11:11:45 +08:00
Damyon Wiese
1e96000bb3
MDL-64004 webservice: Do not update accesstime
...
Do not update the automatically update the course access time when a
course is accessed via a webservice or ajax.
2018-12-18 09:08:17 +08:00
Bas Brands
ceb92a3553
MDL-64419 core_message: fix user info in bootstrapbase message drawer
...
* updated the bootstrapbase template for the messaging conversation menu
info option to match the menu in
"/core_message/message_drawer_view_conversation_header_content_type_private.mustache"
2018-12-17 15:51:19 +01:00
John Beedell
79265f94a9
MDL-64404 qtype: gapselect currency like options dont show
2018-12-17 12:34:31 +00:00
Sara Cenni
9d235abdb4
MDL-64345 core: Make FB logo upgrade cross-DB compatible
2018-12-17 11:22:27 +01:00
Jun Pataleta
c9e518f483
Merge branch 'MDL-59629-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-17 15:56:13 +08:00
Andrew Nicols
bcc163c6fd
MDL-63607 behat: Remove theme from config whitelist
2018-12-17 15:55:03 +08:00
Damyon Wiese
391eed0198
MDL-62963 boost: Increase contrast btn-secondary
...
The background colour of these buttons is too light, so they don't look like buttons.
2018-12-17 15:47:49 +08:00
Tomasz Muras
c9f765452f
MDL-52966 core: static cache fix for file types.
2018-12-17 15:40:39 +08:00
Andrew Nicols
6dea9ae21e
Merge branch 'MDL-61633-36' of https://github.com/lucisgit/moodle into MOODLE_36_STABLE
2018-12-17 15:29:12 +08:00
Andrew Nicols
b9ada50b92
Merge branch 'MDL-60518-36' of git://github.com/aanabit/moodle into MOODLE_36_STABLE
2018-12-17 14:59:39 +08:00
Jun Pataleta
ff42789a76
Merge branch 'MDL-63260_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2018-12-17 14:10:12 +08:00
Damyon Wiese
174c288c0f
MDL-63378 theme_boost: Contrast of menu items
...
Enforce the :active menu text colour during a mouse click on an action menu.
2018-12-17 14:02:56 +08:00
Damyon Wiese
1e6296c745
MDL-64107 questions: Increase highlight contrast
...
When a question has just been edited, it is highlighted. We need to ensure
the colour contrast of text on background is accessible.
2018-12-17 12:35:46 +08:00
Jake Dallimore
4cb644cf24
Merge branch 'MDL-62756_MOODLE_36' of https://github.com/miotto/moodle into MOODLE_36_STABLE
2018-12-17 11:24:59 +08:00
Andrew Nicols
867a3147ad
Merge branch 'MDL-64388-36' of git://github.com/bmbrands/moodle into MOODLE_36_STABLE
2018-12-17 09:14:36 +08:00
Christian Wolters
26640d3831
MDL-64025 admin_bookmarks: Enable bookmarking of admin categories
2018-12-16 15:48:12 +01:00
AMOS bot
24aa36db21
Automatically generated installer lang files
2018-12-15 00:09:15 +00:00
Bas Brands
0cd2c36605
MDL-64392 core_question: flexbox compatible separator for question types
...
* the br tag does not work well in a flexbox context, a 100% with div
works in both clean and boost.
2018-12-14 16:30:52 +01:00
Bas Brands
ea6ae74019
MDL-64038 core_message: add default group image
...
add default group image to improve the alignment
of group names in the message drawer group messages section
2018-12-14 14:13:51 +01:00
Bas Brands
99440d3db7
MDL-64388 core_themes: update docs on new required output method
...
* Method standard_after_main_region_html was added to the core_renderer
used by the messaging ui to message drawer
2018-12-14 11:30:30 +01:00
Mirko Otto
89f8d4adde
MDL-62756 form: Remove any click handler first.
...
The handler has the old state variable. Remove any click handler first.
2018-12-14 10:30:49 +01:00
Amaia Anabitarte
7b11b53d51
MDL-60518 core_competency: Set $USER global variable for tests
2018-12-14 10:25:44 +01:00
Frédéric Massart
dd815d254f
MDL-60518 core_user: A user with ID 0 is never a real user
2018-12-14 10:25:44 +01:00
Jun Pataleta
aa0b2c74dd
MDL-64285 core: Skip 64 bits check for 32-bit PHP versions in unit tests
2018-12-14 11:21:00 +08:00
Jun Pataleta
06b76ab9c8
MDL-64285 core: Fix environment check test
...
* Looping the environment results and skipping some items mean that
if a test gets skipped, the rest of the environment results won't be
tested. It's better to use a data provider for this in order to
individually test each environment result.
2018-12-14 11:21:00 +08:00
Peter
90ec922213
MDL-59629 mod_block: Set the default region in add_region
...
Check and update default region in add_region if none set.
2018-12-14 10:30:07 +08:00
Peter
54ff8c77bf
MDL-63512 mod_lesson: Fix video links provided in feedback
2018-12-14 10:27:24 +08:00
Jake Dallimore
9c85ac5d89
weekly release 3.6.1+
2018-12-14 07:51:49 +08:00
Jake Dallimore
4a087d2701
Merge branch 'install_36_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_36_STABLE
2018-12-14 07:51:48 +08:00
Tony Butler
79c7162899
MDL-61633 assignfeedback_editpdf: Scroll back to top when changing pages
2018-12-13 12:18:43 +00:00
Mark Nelson
fd12e12d8c
MDL-64229 core_message: ensure profile pic links to profile
2018-12-13 12:15:13 +08:00
Jake Dallimore
19a759649c
Merge branch 'MDL-62624-36' of git://github.com/mihailges/moodle into MOODLE_36_STABLE
2018-12-12 16:13:44 +08:00
Damyon Wiese
467efca6aa
MDL-63916 backup: Do not display timestamp
...
Convert the date+time field to a userdate for display.
2018-12-12 12:20:13 +08:00
Jun Pataleta
39fbf414ad
Merge branch 'MDL-41507-36' of git://github.com/rezaies/moodle into MOODLE_36_STABLE
2018-12-12 11:17:40 +08:00
Shamim Rezaie
6299c142c4
MDL-41507 core_group: Consistent default value for FEATURE_GROUPS
2018-12-12 14:04:47 +11:00
Jake Dallimore
17fccfc78b
Merge branch 'MDL-64003-36' of https://github.com/aanabit/moodle into MOODLE_36_STABLE
2018-12-12 10:03:22 +08:00
Jake Dallimore
7c073af175
MDL-63887 auth_ldap: fix unclean exit from sync when users not found
...
We should return, not exit, and we should clean up before we do.
2018-12-12 09:43:04 +08:00
Jake Dallimore
3b114369bc
Merge branch 'MDL-63887_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-12 09:42:55 +08:00
Jake Dallimore
1641091ae7
Merge branch 'MDL-63150-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-12 08:32:35 +08:00
Jake Dallimore
6b391174e4
Merge branch 'MDL-63145-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-12 08:30:00 +08:00
Jake Dallimore
5c2cae3d9c
Merge branch 'MDL-63147-36' of git://github.com/peterRd/moodle into MOODLE_36_STABLE
2018-12-12 08:25:28 +08:00
Peter
8eae354c0f
MDL-63145 mod_page: Accept userid param as override
...
Accept a userid as an override in the lib function instead of
relying on $USER
2018-12-12 07:32:09 +08:00
Peter
8a1ebcf100
MDL-63150 mod_url: Accept a userid override in event action
...
Accept a userid in the event action instead of depending on $USER
2018-12-12 07:18:40 +08:00
Peter
c8289ad180
MDL-63147 mod_resource: Accept userid in resource event_action
2018-12-12 07:08:25 +08:00
Tim Hunt
a637d77826
MDL-63260 qtype_random: orphaned random questions should be deleted
...
This fix is based on some original code written by Bo Pierce.
2018-12-11 14:04:13 +00:00
Amaia Anabitarte
00302ce7a2
MDL-64003 core_message: Use sql_like_escape() in message_search_users
2018-12-11 11:41:52 +01:00
Jake Dallimore
9617c3a660
Merge branch 'MDL-64357_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-11 17:44:27 +08:00
Mark Nelson
0ccc7a8a5c
MDL-64357 ltiservice_gradebookservices: updated unit tests
2018-12-11 17:03:15 +08:00
Claude Vervoort
8d84ee97da
MDL-64357 ltiservice_gradebookservices: fix cleanup deleting lineitems
2018-12-11 17:03:15 +08:00
Damyon Wiese
59f6c0c7dd
MDL-64313 assign: feedback viewed event
...
When a student views their submission, if it has feedback create an event.
2018-12-11 14:07:12 +08:00
Jake Dallimore
c8de0b91a0
Merge branch 'MDL-62922-36' of git://github.com/junpataleta/moodle into MOODLE_36_STABLE
2018-12-11 12:50:36 +08:00
Jun Pataleta
841c9314ba
Merge branch 'MDL-64280-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2018-12-11 09:53:51 +08:00
AMOS bot
bcab22a63b
Automatically generated installer lang files
2018-12-11 00:10:00 +00:00
Luca Bösch
3fba5b6826
MDL-64280 core_outcome: Add/remove outcome buttons style.
2018-12-10 17:56:13 +01:00
Ryan Wyllie
67db9af9db
MDL-64275 message: fix update unread conversation counts
2018-12-10 15:07:22 +08:00
Jun Pataleta
6b34db6b00
Merge branch 'MDL-62061-36' of git://github.com/abgreeve/moodle into MOODLE_36_STABLE
2018-12-10 14:46:44 +08:00
Mihail Geshoski
36d683c805
MDL-62624 lesson: Fix alignment in matching questions in boost
2018-12-10 13:47:37 +08:00
Jun Pataleta
6fe370eef9
Merge branch 'MDL-64332_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2018-12-10 09:37:51 +08:00
Jake Dallimore
11d0c68d56
weekly release 3.6.1+
2018-12-10 08:10:21 +08:00
Andrew Nicols
0cd5cf60de
Merge branch 'MDL-46783-36-fix' of https://github.com/snake/moodle into MOODLE_36_STABLE
2018-12-10 08:09:09 +08:00
Jake Dallimore
e8cabad431
MDL-46783 accesslib: add recordrtc cap check to match master branch
2018-12-10 08:04:54 +08:00
Tim Hunt
343f4e9d56
MDL-64332 questions: idnumber should not prevent easy duplication
2018-12-06 14:41:58 +00:00
Adrian Greeve
6ff8d9bb2c
MDL-62061 core_privacy: Stop directories being created.
...
This stops directories being created in the root directory
while running unit tests.
2018-12-06 11:37:41 +01:00
papillon326
53949e65a7
MDL-63887 auth_ldap: avoid infinite loop when search limit is reached
2018-12-06 15:40:34 +08:00
papillon326
946bef37bf
MDL-63887 auth_ldap: changed variable names to be conform to core
2018-12-06 15:40:34 +08:00
Jun Pataleta
ed9ee5743d
Merge branch 'MDL-64283-36' of git://github.com/damyon/moodle into MOODLE_36_STABLE
2018-12-06 14:57:41 +08:00
Damyon Wiese
115b696f30
MDL-64283 competency: Correct numbering in tests
2018-12-06 14:27:26 +08:00
Jake Dallimore
8f0bd4fb15
Merge branch 'MDL-63710-MOODLE_36' of https://github.com/ilya-catalyst/moodle into MOODLE_36_STABLE
2018-12-06 11:41:11 +08:00
Jake Dallimore
4071cbebf5
Merge branch 'MDL-46783_36' of https://github.com/timhunt/moodle into MOODLE_36_STABLE
2018-12-06 10:23:32 +08:00
Ilya Tregubov
3b9f40920a
MDL-63710 repository: Delete orphaned file records.
2018-12-06 12:35:47 +11:00
Jun Pataleta
866de1e3ff
Merge branch 'MOODLE_36_STABLE-MDL-64290-imscc-restore-temp-dir' of https://github.com/mspall/moodle into MOODLE_36_STABLE
2018-12-06 08:57:09 +08:00
Michael Spall
60c93464b5
MDL-64290 backup imscc: Use correct tempdir for imscc restore
...
Use configured temp directory $CFG->tempdir instead of hard coded
$CFG->dataroot . '/temp/backup/'
Remove unused variable, $CFG
2018-12-05 11:09:20 -07:00
Tim Hunt
0c081d2468
MDL-46783 accesslib: add tests for MDL-63818
...
MDL-46783 and MDL-63818 were originally coded on the
assumption that MDL-46783 would get integrated first. However it wasn't.
Therefore, it was not easy to add unit tests for MDL-63818
at the time, but it is now, so here they are.
2018-12-05 16:46:20 +00:00
Tim Hunt
550c4bdf6e
MDL-46783 permissions: let some moodle/ caps be overriden in all mods
...
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:
* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity
This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.
As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
2018-12-05 16:46:15 +00:00
Mark Nelson
54fc0f1b28
MDL-64309 core_message: minor string changes to drawer
2018-12-05 19:34:12 +08:00
Jun Pataleta
6522f66dd7
MDL-62922 core_user: Check auth mechanism before validating password
...
* External authentication mechanisms (e.g. via oauth2, etc.) don't store
password in the user table, so we shouldn't be requiring password in
such case when creating users via the core_user_create_users WS
function.
2018-12-05 15:32:09 +08:00
Ryan Wyllie
e7691f15b9
MDL-64274 message: deleteMessages in message_repository return promise
2018-12-05 14:57:43 +08:00
Jake Dallimore
fe1d7d118e
Merge branch 'MDL-64198-36' of https://github.com/lucaboesch/moodle into MOODLE_36_STABLE
2018-12-05 14:30:43 +08:00
Damyon Wiese
7e2f393054
Merge branch 'MDL-60267-master' of https://github.com/rogerbaba/moodle into MOODLE_36_STABLE
2018-12-05 12:46:51 +08:00
Eloy Lafuente (stronk7)
d09dc52b0a
Moodle release 3.6.1
2018-12-04 17:42:58 +01:00
Luca Bösch
c192c5e4e3
MDL-64198 course: set formatted modulename for togglecompletion js.
2018-12-04 14:33:34 +01:00
Michael Aherne
3ff4fc8e45
MDL-64216 privacy: Split query to use indexes.
2018-12-04 13:31:10 +00:00
Eloy Lafuente (stronk7)
6e19850f6e
weekly release 3.6+
2018-12-04 13:06:09 +01:00
Bas Brands
5d30474242
MDL-63223 theme_boost: flexbox for login pagin footer
2018-12-04 12:06:49 +08:00
Jun Pataleta
1b972c31ac
Merge branch 'MDL-64307_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-04 12:03:08 +08:00
Mark Nelson
29b6ac23e9
MDL-64307 core_message: do not include disabled conversations in count
2018-12-04 11:48:54 +08:00
Mark Nelson
44b6ffb68c
MDL-64307 core: set all individual conversations to enabled
2018-12-04 11:44:59 +08:00
Jun Pataleta
79abbd9adc
Merge branch 'MDL-64206_36' of git://github.com/markn86/moodle into MOODLE_36_STABLE
2018-12-04 11:13:37 +08:00
Tim Hunt
270524858e
MDL-64286 qtype_gapselect: removed unneeded line of code
...
The extended Behat test show the qtype works fine without it.
2018-12-04 11:12:52 +08:00
Damyon Wiese
60f9a401a9
Merge branch 'MDL-64155-master' of git://github.com/vmdef/moodle into MOODLE_36_STABLE
2018-12-03 15:26:56 +08:00
Tim Hunt
ac0b8201a9
MDL-63459 qtype_calculatedmulti: fix incorrect hint object type
2018-12-03 14:25:41 +08:00
Tim Hunt
be27fc0fe3
MDL-63459 qtype_calculatedmulti: unit test should test this qtype
...
This also demonstrates the bug to be fixed
2018-12-03 14:25:17 +08:00
Mark Nelson
ebd104448f
MDL-64206 core: updated FB logo URL
2018-12-03 12:23:47 +08:00
Andrew Nicols
c69f425a7a
Merge branch 'MDL-64300_36' of git://github.com/stronk7/moodle into MOODLE_36_STABLE
2018-12-03 08:35:32 +08:00
Eloy Lafuente (stronk7)
e38e718441
MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts
2018-12-02 18:37:59 +01:00
Roger Barras
6959abc816
MDL-60267 user: Fix set default data for the user profile field
2018-11-02 20:09:04 +01:00