8701 Commits

Author SHA1 Message Date
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
Mike Churchward
020109f3eb MDL-69863 tool_brickfield: Disable analysis by default on installation. 2021-05-04 19:49:54 +02:00
Mike Churchward
ce9258afc4 MDL-69863 tool_brickfield: Ensure language strings use correct case. 2021-05-04 19:49:54 +02:00
Mike Churchward
b8c7cf9a74 MDL-69863 tool_brickfield: Ensuring navigation is correct. 2021-05-04 19:49:54 +02:00
Mike Churchward
11dcd419a5 MDL-69863 tool_brickfield: ensuring lang string independence. 2021-05-04 19:49:54 +02:00
Mike Churchward
c6c7c28dea MDL-69863 tool_brickfield: Moving plugins to core files. 2021-05-04 19:49:54 +02:00
Mike Churchward
f8b34ffc68 MDL-69863 tool_brickfield: Added Behat tests. 2021-05-04 19:49:54 +02:00
Mike Churchward
e1c6497293 MDL-69863 tool_brickfield: Adding the Brickfield toolkit. 2021-05-04 19:49:54 +02:00
Helen Foster
49efd0b4b6 MDL-71425 lang: Import fixed English strings (en_fix) 2021-05-04 14:51:44 +02:00
Sara Arjona
b04d1c3041 Merge branch 'MDL-71163-master' of git://github.com/rezaies/moodle 2021-05-03 11:59:58 +02:00
Jake Dallimore
08e3b32181 Merge branch 'MDL-71273-master' of git://github.com/dpalou/moodle 2021-05-03 14:39:14 +08:00
Eloy Lafuente (stronk7)
e26b639281 Merge branch 'MDL-66431-master' of git://github.com/ilyatregubov/moodle 2021-05-02 19:12:47 +02:00
Víctor Déniz
bd8600e923 Merge branch 'MDL-70753-master' of https://github.com/sharidas/moodle 2021-05-02 19:11:10 +02:00
Ilya Tregubov
cf1cf222e7 MDL-66431 core: Fix behat tests.
Move activity creation to data generators. Only fixing those
tests failing due to removing usemodchooser preference.
2021-05-01 16:22:03 +02:00
Ilya Tregubov
430746d3a2 MDL-66431 core: Remove activity chooser user preference.
This commit removes activity chooser user preference and
course preference page. Separate dropdowns to activity and
resource is also removed.
2021-05-01 16:21:59 +02:00
Shamim Rezaie
7dbd7ee195 MDL-71163 mod_assign: remove duplicate available from and due date info 2021-04-30 17:13:56 +10:00
Sujith Haridasan
686bd2681e MDL-70753 report: Provide a separate page for course report
Provide page for the reports in the course administration.
The page has a drop down to navigate to different reports.
The navigation is remembered just like the grade reports in
the course.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-04-30 08:37:38 +05:30
Dani Palou
7248aa0276 MDL-71273 tool_mobile: Change the LTI disabled feature 2021-04-29 13:54:42 +02:00
Ruslan Kabalin
3bf770c801 MDL-71051 core_user: fix issues and address review issues 2021-04-28 11:47:26 +02:00