Commit graph

101582 commits

Author SHA1 Message Date
Luca Bösch
c0bb9750f3 MDL-71373 tool_usertours: localize "previous"/"next" in user tours. 2021-05-19 09:56:08 +02:00
Luca Bösch
b739173419 MDL-71373 core_table: localize "previous"/"next" in pagination. 2021-05-19 09:56:08 +02:00
Eloy Lafuente (stronk7)
03b86c5364 Merge branch 'MDL-71619-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-18 22:59:24 +02:00
Eloy Lafuente (stronk7)
bca8b8bd49 Merge branch 'MDL-71373-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-05-18 22:54:25 +02:00
David Mudrák
3d2b204283 MDL-71659 completion: Consider modules without grade_item incomplete
Activity modules may not have the associated grade_item created yet. It
used to throw fatal error in that case - even when trying to view the
course or edit the activity. So there was no easy way to recover from
this situation.

The patch is based on reasoning that an activity without grade item is
same as activity without any grades. And as such it is considered
incomplete.

A new unit test is added to cover this specific scenario. The existing
unit test is modified and it does not expect the exception any more.
There does not seem to be any good reason why this situation should be
exceptional.
2021-05-18 20:56:31 +02:00
Dongsheng Cai
5464f37017 MDL-65203 template: tab should be quoted to produce valid json 2021-05-18 20:42:17 +10:00
AMOS bot
857626bbe1 Automatically generated installer lang files 2021-05-18 00:07:36 +00:00
Paul Holden
113bef8365 MDL-71647 user: allow searching user selector by identity fields.
Fixes regression from d916cd77, which passed empty extra fields when
not including custom fields.
2021-05-17 16:07:39 +01:00
Sara Arjona
536a5a4ac5 Merge branch 'MDL-71638_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-05-17 12:44:50 +02:00
Nhan Vo
7981b16046
MDL-71047 HTML Editor (Atto): Cursor position is not correct when paste 2021-05-17 14:22:53 +07:00
Eloy Lafuente (stronk7)
b23a50a063 MDL-71638 upgrade: add 3.10.0 separation line to all upgrade scripts 2021-05-16 00:00:43 +02:00
Eloy Lafuente (stronk7)
94f2d3fc4b Moodle release 3.11 2021-05-15 18:10:59 +02:00
Luca Bösch
0c3a643182 MDL-71373 core_enrol: localize "close" in role manager. 2021-05-14 14:17:47 +02:00
Luca Bösch
c9be7c7c5b MDL-71373 tool_usertours: localize "previous"/"next" in user tours. 2021-05-14 14:17:47 +02:00
Luca Bösch
280ec710c7 MDL-71373 core_table: localize "previous"/"next" in pagination. 2021-05-14 14:17:47 +02:00
Huong Nguyen
c08dab048b MDL-71126 Quiz: Manual grading page size preference can get stuck at 0
Including in this change:
 - New positiveint regex rule to check if the value is a positive integer
2021-05-14 17:02:28 +07:00
Sara Arjona
bdd30ee5b1 Moodle release 3.11rc2 2021-05-14 11:09:10 +02:00
Sara Arjona
c537bd587c Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-05-14 11:09:07 +02:00
Sara Arjona
2864b51c7b MDL-67935 tool_lp: fix random errors with login/logout 2021-05-14 10:53:13 +02:00
AMOS bot
3f02adabd1 Automatically generated installer lang files 2021-05-14 00:07:33 +00:00
Víctor Déniz
439d1cf29d Merge branch 'MDL-71569_Summarydata' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-13 22:40:15 +01:00
Paul Holden
e16b41d630 MDL-71626 admin: filter site fullname in CLI maintenance script. 2021-05-13 20:27:58 +01:00
Paul Holden
9d5b74865f MDL-71619 privacy: extend correct class in provider testcases.
Extending the privacy provider testcase means that it's tearDown
method will reset the request writer.
2021-05-13 20:25:03 +01:00
Sara Arjona
511986822d Merge branch 'MDL-71611-311_blockaccessreviewupgrade' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-13 11:45:41 +02:00
Jun Pataleta
3bf7557afd Merge branch 'MDL-71612-311' of https://github.com/snake/moodle into MOODLE_311_STABLE 2021-05-13 14:30:07 +08:00
Jun Pataleta
789fab146f Merge branch 'MDL-71584-311_Languagestrings' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-13 14:00:28 +08:00
Jake Dallimore
aaaaf28ec2 MDL-71612 tool_oauth2: remove erroneous hideIf rules for form fields
Some fields were being hidden based on whether the service was set up
for internal service use or was a service shown on the login page.
These fields refer to OAuth 2 logins and must be configurable for both
kinds of services.
2021-05-13 12:54:01 +08:00
Eloy Lafuente (stronk7)
370a38484f Merge branch 'MDL-71580-311-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-05-12 23:00:00 +02:00
Mike Churchward
311dc0cdea MDL-71611 block_accessreview: Return formats if feature disabled. 2021-05-12 16:27:55 -04:00
David Mudrák
857d7b613f MDL-71580 lang: Fix reworded strings in tests 2021-05-12 17:11:57 +02:00
Helen Foster
5070425e99 MDL-71580 lang: Import fixed English strings (en_fix) 2021-05-12 17:11:57 +02:00
Mike Churchward
38f57b67b6 MDL-71584 tool_brickfield: Fixed up language string issues. 2021-05-12 08:42:30 -04:00
Jun Pataleta
6c3f385c8b Merge branch 'MDL-71590-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-05-12 13:25:28 +08:00
Huong Nguyen
8a4a205bb5 MDL-71590 usertours: Create language string for activity information 2021-05-12 11:30:54 +07:00
Jake Dallimore
c2d7d4cf35 Merge branch 'MDL-71583_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-05-12 10:36:01 +08:00
Karen Holland
66a7400dcf MDL-71569 Accessibility toolkit: Fix Summary data task failure 2021-05-11 19:44:41 -04:00
Eloy Lafuente (stronk7)
0524a0b9f9 MDL-71583 versions: Add all the missing full-stops to version/requires
It seems that the new phpcs3 checker is now controlling those
line comments that previously were ignored.

This commit just looks for all the cases and bulk-add
them when needed. The bash script (mac) used to add all them is:

while read -r line; do
    arr=(${line//:/ })
    if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
        echo "  file ${arr[0]}, line ${arr[1]}"
        sed -i "${arr[1]}s/\$/\./" ${arr[0]}
    fi
done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
2021-05-11 20:00:11 +02:00
Eloy Lafuente (stronk7)
ab8275f28f MDL-71583 versions: main version bump 2021-05-11 18:50:49 +02:00
Eloy Lafuente (stronk7)
71d0cfefab MDL-71583 versions: bump all versions and requires near release
version = 2021051700 release version
requires= 2021051100 current rc1 (week7roll1) version

Note that, because we are under parallel development period,
this is being done in the branch that is going to be released
(MOODLE_311_STABLE already existing) for Moodle 3.11.0 and
not in master, that is the one getting the bump under normal
(non-parallel) periods.
2021-05-11 18:50:34 +02:00
Sara Arjona
62142a081a Moodle release 3.11rc1 2021-05-11 12:43:50 +02:00
Sara Arjona
7fa14d7439 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-05-11 12:43:47 +02:00
AMOS bot
9f2e86e07c Automatically generated installer lang files 2021-05-11 00:07:34 +00:00
Thong Bui
6af383f5b4 MDL-71060 Questions: Duplicates 'Current category' text. 2021-05-10 23:25:12 +01:00
Víctor Déniz
c53a0816c4 Merge branch 'MDL-70900_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-05-10 22:46:30 +01:00
Víctor Déniz
773e8b6cda Merge branch 'MDL-71543-311_toggleicon' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-10 22:18:35 +01:00
Sara Arjona
e62225b1f5 Merge branch 'MDL-71570-311' of git://github.com/mihailges/moodle into MOODLE_311_STABLE 2021-05-10 15:38:30 +02:00
Sara Arjona
7969291581 Merge branch 'm311_MDL-71533' of git://github.com/danmarsden/moodle into MOODLE_311_STABLE 2021-05-10 11:38:05 +02:00
Jun Pataleta
e4a811ab21 Merge branch 'MDL-71552-311_heatmaptoggle' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-10 17:23:11 +08:00
Mihail Geshoski
f78e9f3ffe MDL-71570 mod_forum: Avoid using deprecated string in forum templates 2021-05-10 12:22:11 +08:00
Mihail Geshoski
f0351e4d95 MDL-71570 core_grades: Avoid using deprecated string in grade templates 2021-05-10 12:22:10 +08:00