Commit graph

101098 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
b0d79e3b18 Merge branch 'MDL-71313' of https://github.com/timhunt/moodle 2021-05-06 23:14:50 +02:00
Eloy Lafuente (stronk7)
e9f457e3c3 Merge branch 'MDL-71343-master' of https://github.com/rjnl/moodle 2021-05-06 23:07:29 +02:00
Mike Churchward
11646b9453 MDL-71552 block_accessreview: Removed 'alert' class when toggling off. 2021-05-06 16:06:17 -04:00
Marina Glancy
b46badb130 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 19:55:32 +02:00
Eloy Lafuente (stronk7)
5469202423 Merge branch 'MDL-70110-fix' of github.com:sarjona/moodle 2021-05-06 19:38:01 +02:00
Sara Arjona
71996ef16b MDL-70110 mod_assign: make phpunit test DB order agnostic 2021-05-06 19:24:10 +02:00
Mike Churchward
f5b85c0d31 MDL-71544 tool_brickfield: Allowing text to break in table. 2021-05-06 13:12:39 -04:00
Sara Arjona
076116e7a6 Merge branch 'MDL-71491' of git://github.com/paulholden/moodle 2021-05-06 18:42:18 +02:00
Sara Arjona
5e2a754e16 Merge branch 'MDL-71420' of https://github.com/stronk7/moodle 2021-05-06 17:58:02 +02:00
Víctor Déniz
e41ff4f15e Merge branch 'MDL-71402' of git://github.com/paulholden/moodle 2021-05-06 16:46:19 +01:00
Paul Holden
72304875ec MDL-71491 repository_flickr: return more file data.
See also 643b0cca.
2021-05-06 16:36:49 +01:00
Sara Arjona
84c49ccc1a Merge branch 'MDL-71268-master' of git://github.com/lucaboesch/moodle 2021-05-06 17:11:16 +02:00
Marina Glancy
5148d33fa1 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:11 +02:00
Paul Holden
2877501ad8 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:37 +01:00
Marina Glancy
d7d609162e MDL-71395 block_tag_youtube: sometimes exception may have empty message 2021-05-06 14:44:24 +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
5f476c2ab9 Merge branch 'MDL-70110-master' of https://github.com/septatrix/moodle 2021-05-06 13:15:59 +02:00
Víctor Déniz
c0c63b0a88 Merge branch 'MDL-71434' of git://github.com/paulholden/moodle 2021-05-06 11:11:40 +01:00
Sara Arjona
d8a029ad64 Merge branch 'MDL-71390-master' of git://github.com/marinaglancy/moodle 2021-05-06 08:01:47 +02:00
Jun Pataleta
5891fb1352 Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-06 11:38:48 +08:00
Shamim Rezaie
a27876c3df MDL-71518 behat: Remove %P and AM/PM
The %P modifier is not supported in the macOS (MDL-71549)
2021-05-06 12:31:42 +10:00
Adrian Greeve
266bcab62e Merge branch 'MDL-70786-master' of git://github.com/lucaboesch/moodle 2021-05-06 10:06:02 +08:00
Jun Pataleta
f23236acd2 Merge branch 'MDL-69863' of https://github.com/stronk7/moodle 2021-05-06 10:02:04 +08:00
Jake Dallimore
c7c186681a Merge branch 'MDL-27193_glossaryDB' of https://github.com/andyjdavis/moodle 2021-05-06 09:49:14 +08:00
Jake Dallimore
52af65ca60 Merge branch 'MDL-71492-master' of git://github.com/jleyva/moodle 2021-05-06 09:15:47 +08: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
Sara Arjona
581f342506 Merge branch 'MDL-71532_master_illegalwhitespace' of https://github.com/brickfield/moodle 2021-05-05 19:05:42 +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
Andrew Davis
e34553d1b8 MDL-27193 mod_glossary: reducing system setting db queries 2021-05-05 23:13:53 +08:00
Juan Leyva
3018d40e88 MDL-71492 mod_quiz: Include missing gradepass in WebService 2021-05-05 14:44:16 +02:00
Sara Arjona
59ba1a9183 Merge branch 'MDL-71517' of https://github.com/paulholden/moodle 2021-05-05 12:17:31 +02:00
Sara Arjona
b65d5a3da2 Merge branch 'MDL-71187-master' of git://github.com/lucaboesch/moodle 2021-05-05 12:13:59 +02:00
Víctor Déniz
f798446f4c Merge branch 'MDL-71460-master' of git://github.com/peterRd/moodle 2021-05-05 10:16:44 +01:00
Luca Bösch
21503ed5e6 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:01 +02:00
Marina Glancy
d42fd649cc MDL-71390 core: raise max_input_vars requirement 2021-05-05 10:49:59 +02:00
Luca Bösch
b8a0cc9f00 MDL-70786 report_loglive: respect fullname setting. 2021-05-05 10:27:44 +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
Jun Pataleta
e8b3ab767b Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-05 13:26:29 +08:00
Shamim Rezaie
35d1ac13d2 MDL-71518 core: Add weekday to activity dates 2021-05-05 13:56:06 +10:00
Peter Dias
e5f7ecdacd MDL-71460 hub: Use checkboxes instead of dropdowns
Change the yes/no dropdowns to a checkbox. Defaults to unchecked.
2021-05-05 10:03:18 +08:00
Adrian Greeve
25a2729e62 Merge branch 'MDL-71530' of https://github.com/paulholden/moodle 2021-05-05 09:29:29 +08:00
Víctor Déniz
162278e69a Merge branch 'MDL-70864-master-zip_packer_windows' of git://github.com/mudrd8mz/moodle 2021-05-05 00:01:28 +01: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)
21e3cf71bc Merge branch 'MDL-71397-master' of git://github.com/marinaglancy/moodle 2021-05-04 23:37:33 +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
be4fbf062c MDL-69863 block_accessreview: Better error display. 2021-05-04 19:49:55 +02:00