Commit graph

101461 commits

Author SHA1 Message Date
Marina Glancy
c7e3291ac8 MDL-70926 core: getuserdate() shoud show debugging if null was passed
passing null to getdate() has different results in PHP7 and PHP8
2021-05-06 20:41:16 +02:00
Sara Arjona
383848344c MDL-70110 mod_assign: make phpunit test DB order agnostic 2021-05-06 19:38:32 +02:00
Mike Churchward
f136aec38f MDL-71544 tool_brickfield: Allowing text to break in table. 2021-05-06 13:10:47 -04:00
Sara Arjona
e5d50dced1 Merge branch 'MDL-71491-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-06 18:42:25 +02:00
Sara Arjona
8880be478c Merge branch 'MDL-71420_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-05-06 17:58:14 +02:00
Víctor Déniz
b604c15755 Merge branch 'MDL-71402-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-06 16:46:50 +01:00
Paul Holden
6972e6ec92 MDL-71491 repository_flickr: return more file data.
See also 643b0cca.
2021-05-06 16:36:42 +01:00
Sara Arjona
f4bb15aee8 Merge branch 'MDL-71268-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-05-06 17:11:24 +02:00
Marina Glancy
eca372eb78 MDL-71395 core: fix bug in google lib wrapper
because of changes in PHP8 the '' == 0 is no longer true and the error in the google api wrapper was discovered
2021-05-06 15:39:26 +02:00
Marina Glancy
e38247449a MDL-71395 block_tag_youtube: sometimes exception may have empty message 2021-05-06 15:39:26 +02:00
Paul Holden
311c8276df MDL-71402 availability: fix group restriction button in mod form.
* The button to "Add group/grouping access restriction" under
   common module settings should only be present if corresponding
   availability plugins are enabled; and
 * Prevent the same button behaving as a submit button, which
   intercepted the user hitting return in the form and added a
   restriction without deliberate action taken by the user.
2021-05-06 14:20:34 +01:00
Eloy Lafuente (stronk7)
f7aa32f2a6 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:33:23 +02:00
Sara Arjona
61cfcb9253 Merge branch 'MDL-70110-311' of https://github.com/septatrix/moodle into MOODLE_311_STABLE 2021-05-06 13:16:06 +02:00
Víctor Déniz
d0e0d3963b Merge branch 'MDL-71434-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-06 11:15:07 +01:00
Sara Arjona
48ac131ee1 Merge branch 'MDL-71390-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-05-06 08:02:59 +02:00
Shamim Rezaie
e0e5881c12 MDL-71518 behat: Remove %P and AM/PM
The %P modifier is not supported in the macOS (MDL-71549)
2021-05-06 12:01:24 +08:00
Adrian Greeve
7d967d910f Merge branch 'MDL-70786-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-05-06 10:05:30 +08:00
Jun Pataleta
e19c9ce1df Merge branch 'MDL-69863_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-05-06 10:02:14 +08:00
Andrew Davis
06395d8c8e MDL-27193 mod_glossary: reducing system setting db queries 2021-05-06 09:49:43 +08:00
Jake Dallimore
4ecd1c4716 Merge branch 'MDL-71492-311' of git://github.com/jleyva/moodle into MOODLE_311_STABLE 2021-05-06 09:16:02 +08:00
AMOS bot
791db7e4fb Automatically generated installer lang files 2021-05-06 00:07:35 +00:00
Eloy Lafuente (stronk7)
43b436c1c0 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:03:03 +02:00
Juan Leyva
85b0b92c73 MDL-71513 mobile: Fix last access visibility 2021-05-05 22:48:58 +01:00
Eloy Lafuente (stronk7)
460fddbc0f MDL-71420 environment: Lower sodium requirement to recommended 2021-05-05 23:06:13 +02:00
Eloy Lafuente (stronk7)
c89a1878f0 Merge branch 'MDL-71539_311_PHP8optionalparams' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-05 20:01:08 +02:00
Sara Arjona
27d1ba01d7 Merge branch 'MDL-71532_311_illegalwhitespace' of https://github.com/brickfield/moodle into MOODLE_311_STABLE 2021-05-05 19:05:51 +02:00
Mike Churchward
f816040530 MDL-71539 tool_brickfield: PHP8 optional param error fixed. 2021-05-05 11:46:49 -04:00
Mike Churchward
96fc86a7a3 MDL-71532 tool_brickfield: Removing tabs and unneeded files. 2021-05-05 11:10:39 -04:00
Juan Leyva
1e2ab99fb6 MDL-71492 mod_quiz: Include missing gradepass in WebService 2021-05-05 14:45:43 +02:00
Sara Arjona
4e01410b9f Merge branch 'MDL-71517-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-05 12:17:38 +02:00
Sara Arjona
af2b6acba6 Merge branch 'MDL-71187-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-05-05 12:14:06 +02:00
Víctor Déniz
10d776d539 Merge branch 'MDL-71460-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-05-05 10:41:54 +01:00
Luca Bösch
48d220aaa6 MDL-71187 quizaccess_seb: Change "Launch Safe Exam Browser" to a href.
In order to allow for correct seb:// or sebs:// calls without browser
warnings of insecure links, it is not possible to send a get request
with an attached cmid parameter to the unknown seb:// or sebs://
URL via a form button.
We've got to use a <a href> link outside a form to circumvent
browsers warning of an insecure link and call Safe Exam Browser
correctly.
2021-05-05 10:54:42 +02:00
Marina Glancy
1001a8fb25 MDL-71390 core: raise max_input_vars requirement 2021-05-05 10:52:11 +02:00
Luca Bösch
7ed02d2233 MDL-70786 report_loglive: respect fullname setting. 2021-05-05 10:51:51 +02:00
Leon Stringer
36a165b63b 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:49 +02:00
Jun Pataleta
88f1fa9b0f Merge branch 'MDL-71518-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-05-05 13:26:19 +08:00
Shamim Rezaie
daff66b1df MDL-71518 core: Add weekday to activity dates 2021-05-05 13:59:02 +10:00
Peter Dias
bbc896bc34 MDL-71460 hub: Use checkboxes instead of dropdowns
Change the yes/no dropdowns to a checkbox. Defaults to unchecked.
2021-05-05 10:09:10 +08:00
Adrian Greeve
3723014289 Merge branch 'MDL-71530-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-05 09:30:47 +08:00
Víctor Déniz
116621f973 Merge branch 'MDL-70864-311-zip_packer_windows' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-05-05 00:03:17 +01:00
Eloy Lafuente (stronk7)
896123d130 Merge branch 'MDL-71425-311-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-05-04 23:39:40 +02:00
Eloy Lafuente (stronk7)
c1473c0de0 Merge branch 'MDL-71397-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-05-04 23:37:41 +02:00
Eloy Lafuente (stronk7)
5670d351ef MDL-69863 tool_brickfield: Final version adjustments to current
In 311_STABLE, to today: 2021050400
2021-05-04 19:44:55 +02:00
Mike Churchward
749c657b50 MDL-69863 block_accessreview: Better error display. 2021-05-04 19:36:33 +02:00
Mike Churchward
c0a52bc66c MDL-69863 tool_brickfield: Better instance name displayed in error list. 2021-05-04 19:36:33 +02:00
Mike Churchward
a65647f3f3 MDL-69863 tool_brickfield: Add 'periodically' to data message. 2021-05-04 19:36:33 +02:00
Mike Churchward
fa07b96a70 MDL-69863 tool_brickfield: Change public to private. 2021-05-04 19:36:33 +02:00
Mike Churchward
199eaa5e5b MDL-69863 tool_brickfield: Removing plugin_installed event. 2021-05-04 19:36:33 +02:00
Mike Churchward
af73c3b374 MDL-69863 tool_brickfield: Language improvements. 2021-05-04 19:36:33 +02:00