8669 Commits

Author SHA1 Message Date
Andrew Nicols
7782eeb55e Merge branch 'MDL-65637-master' of git://github.com/peterRd/moodle 2021-06-09 13:22:49 +08:00
abgreeve
6176e350fc Merge branch 'MDL-71693' of git://github.com/paulholden/moodle 2021-06-03 10:17:11 +08:00
Eloy Lafuente (stronk7)
439dd153fe Merge branch 'MDL-71476-drop_myisam_migrate' of https://github.com/leonstr/moodle 2021-06-03 00:00:07 +02:00
Peter Dias
8e71f6b1f1 MDL-65637 core_oauth2: Introduce a new custom linkedin oauth2 client 2021-06-02 08:11:38 +08:00
Eloy Lafuente (stronk7)
cd03d5570b Merge branch 'MDL-70905-master' of https://github.com/kabalin/moodle 2021-05-31 22:41:28 +02:00
Andrew Nicols
e290e625ed Merge branch 'MDL-71466-master' of https://github.com/sammarshallou/moodle 2021-05-27 11:25:59 +08:00
Paul Holden
48e70b5fdb MDL-71693 admin: set default for debugdisplay to off.
The previous default value for this config was based on the
PHP ini file `display_error` property (6349a3ba). However we
override this propertly during page setup (25338300) according
to the value of the configuration itself.

This had the effect of always setting the default value for
this config to it's current value.
2021-05-20 21:37:37 +01:00
Luca Bösch
1c7dc8fa6e MDL-71373 tool_usertours: localize "previous"/"next" in user tours.
AMOS BEGIN
        CPY [previous,core],[previousstep,tool_usertours]
        CPY [next,core],[nextstep,tool_usertours]
       AMOS END
2021-05-19 09:55:30 +02:00
Leon Stringer
267aa870d3 MDL-71476 core_cli: Remove MyISAM migration
Remove support for migrating MySQL databases using the old MyISAM storage
engine to the InnoDB storage engine.  MyISAM was supported up to Moodle
2.8 (dropped in 2.9: MDL-46064).  Beyond Moodle 3.3 -- the highest version
that can upgrade from 2.8 -- this functionality was no longer applicable.
2021-05-19 08:27:19 +01:00
Luca Bösch
19d7c11b60 MDL-71373 core_enrol: localize "close" in role manager. 2021-05-14 14:18:52 +02:00
Luca Bösch
9df96bea34 MDL-71373 tool_usertours: localize "previous"/"next" in user tours. 2021-05-14 14:18:52 +02:00
Víctor Déniz
e64a080089 Merge branch 'MDL-71569-master_Summarydata' of https://github.com/brickfield/moodle 2021-05-13 22:34:11 +01:00
Jun Pataleta
95dcd99d85 Merge branch 'MDL-71612-master' of https://github.com/snake/moodle 2021-05-13 14:30:24 +08:00
Jun Pataleta
97b623aa9b Merge branch 'MDL-71584-master_Languagestrings' of https://github.com/brickfield/moodle 2021-05-13 13:57:22 +08:00
Jake Dallimore
0fcf1a1b7a 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:47:58 +08:00
Eloy Lafuente (stronk7)
d88452fd29 Merge branch 'MDL-71580-master-enfix' of git://github.com/mudrd8mz/moodle 2021-05-12 22:58:12 +02:00
David Mudrák
03402e3c5d MDL-71580 lang: Fix reworded strings in tests 2021-05-12 17:10:16 +02:00
Helen Foster
c8dc7bc942 MDL-71580 lang: Import fixed English strings (en_fix) 2021-05-12 17:10:16 +02:00
Mike Churchward
13fb58c663 MDL-71584 tool_brickfield: Fixed up language string issues. 2021-05-12 08:44:01 -04:00
Jun Pataleta
485ad2df85 Merge branch 'MDL-71590-master' of git://github.com/HuongNV13/moodle 2021-05-12 13:25:53 +08:00
Huong Nguyen
c310c64460 MDL-71590 usertours: Create language string for activity information 2021-05-12 11:35:24 +07:00
Karen Holland
aa8690f79d MDL-71569 Accessibility toolkit: Fix Summary data task failure 2021-05-11 19:46:31 -04:00
Eloy Lafuente (stronk7)
9d6aa39985 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:11:07 +02:00
sam marshall
9bc588a466 MDL-71466 admin: Add custom user field support to role screens
Implements custom user field support within the 'check capabilities'
and 'assign roles' screens.
2021-05-11 12:00:46 +01:00
Víctor Déniz
0a3b42e250 Merge branch 'MDL-71544-master_Errorspage' of https://github.com/brickfield/moodle 2021-05-08 20:30:31 +01:00
Eloy Lafuente (stronk7)
dfb3c305a3 NOBUG: Fixed file access permissions 2021-05-07 16:54:26 +02:00
Eloy Lafuente (stronk7)
3a0397658e NOBUG: Fixed SVG browser compatibility 2021-05-07 16:54:23 +02:00
Jun Pataleta
91f398ce84 Merge branch 'MDL-71234-master' of git://github.com/HuongNV13/moodle 2021-05-07 12:21:33 +08:00
Huong Nguyen
860b5d8abc MDL-71234 usertours: Create tours for the activity completion output 2021-05-07 11:11:23 +07:00
abgreeve
d30c967159 Merge branch 'MDL-70181' of https://github.com/stronk7/moodle 2021-05-07 10:21:46 +08:00
Mike Churchward
f5b85c0d31 MDL-71544 tool_brickfield: Allowing text to break in table. 2021-05-06 13:12:39 -04:00
Sara Arjona
5e2a754e16 Merge branch 'MDL-71420' of https://github.com/stronk7/moodle 2021-05-06 17:58:02 +02:00
Eloy Lafuente (stronk7)
d676a8114e MDL-71420 environment: Add some strategic comments and todos.
This isn't really a deprecations where something is replaced
by another and all uses must adapt to. Instead it's just a
fallback functionality that will stop working in Moodle 4.2.

Because of that, I've tried to add TODO/@todo comments to
the places that will need to modified, always pointing to
MDL-71421 that is where the removal will happen.

Also, haven't added any debugging() output, after thinking
a lot about it, because this isn't anything that developers
can be using but a internal implementation detail (a fallback)
that we want to remove in some versions.
2021-05-06 14:29:33 +02:00
Sara Arjona
d8a029ad64 Merge branch 'MDL-71390-master' of git://github.com/marinaglancy/moodle 2021-05-06 08:01:47 +02:00
Eloy Lafuente (stronk7)
149e48d10e MDL-69863 database: Fix oracle and sqlsrv problems
1) The GROUP BY statement must include all fields in the SELECT
   not being aggregated or constant cols.
2) There was a missing space causing problems to databases
   using named parameters.
2021-05-06 00:04:59 +02:00
Juan Leyva
6a3465b6b4 MDL-71513 mobile: Fix last access visibility 2021-05-05 22:49:14 +01:00
Eloy Lafuente (stronk7)
ab87155220 MDL-71420 environment: Lower sodium requirement to recommended 2021-05-05 23:06:10 +02:00
Eloy Lafuente (stronk7)
3a839a62c6 Merge branch 'MDL-71539_master_PHP8optionalparams' of https://github.com/brickfield/moodle 2021-05-05 20:00:17 +02:00
Mike Churchward
3dc209b748 MDL-71539 tool_brickfield: PHP8 optional param error fixed. 2021-05-05 11:47:33 -04:00
Mike Churchward
1f70d37d7e MDL-71532 tool_brickfield: Removing tabs and unneeded files. 2021-05-05 11:34:35 -04:00
Marina Glancy
d42fd649cc MDL-71390 core: raise max_input_vars requirement 2021-05-05 10:49:59 +02:00
Leon Stringer
37ae249dfa MDL-70181 database: Quote database object names
Table names and database name now enclosed in backticks.
admin/cli/mysql_collation.php failed if $CFG->prefix was blank with
MySQL 8.0 because table 'groups' conflicted with a new reserved word.

Note that this quotes both mysql_collation.php and mysql_compressed_rows.php
but only the former was mal-functioning.

The case of mysql_compressed_rows.php is a little bit special because
not all tables are processed, only those having big rows. And the groups
table is not one of them. In any case, better add the quotes there for
any future case.

Also, when testing this patch https://tracker.moodle.org/browse/MDL-71512
was discovered and will need to be fixed to make core 100% compliant
with MySQL 8.0 and MariaDB 10.6 and up.
2021-05-05 10:16:45 +02:00
Eloy Lafuente (stronk7)
9b522367a0 Merge branch 'MDL-71425-master-enfix' of git://github.com/mudrd8mz/moodle 2021-05-04 23:39:32 +02:00
Eloy Lafuente (stronk7)
7ae6e5da34 MDL-69863 tool_brickfield: Final version adjustments to current
In master, fixed to 2021052500
2021-05-04 19:50:24 +02:00
Mike Churchward
498f75502a MDL-69863 tool_brickfield: Better instance name displayed in error list. 2021-05-04 19:49:55 +02:00
Mike Churchward
7331bb1454 MDL-69863 tool_brickfield: Add 'periodically' to data message. 2021-05-04 19:49:55 +02:00
Mike Churchward
616f20e9a5 MDL-69863 tool_brickfield: Change public to private. 2021-05-04 19:49:55 +02:00
Mike Churchward
03ada14526 MDL-69863 tool_brickfield: Removing plugin_installed event. 2021-05-04 19:49:55 +02:00
Mike Churchward
623c1b0326 MDL-69863 tool_brickfield: Language improvements. 2021-05-04 19:49:54 +02:00
Mike Churchward
ad1a600927 MDL-69863 tool_brickfield: Adding settings page title. 2021-05-04 19:49:54 +02:00