- Oct 16, 2023
-
-
- Oct 13, 2023
-
-
Andrew Nicols authored
-
Ilya Tregubov authored
-
Angelia Dela Cruz authored
-
- Oct 12, 2023
-
-
- Oct 10, 2023
-
-
Andrew Nicols authored
-
Andrew Nicols authored
This hack was introduced to work around a bug in MySQL 5.6.14 and MariaDB at the time. https://bugs.mysql.com/bug.php?id=69882 It was addressed a few months later in 5.6.16, and 5.7.4. MariaDB merged version 5.6.16 of MySQL's InnoDB engine in MariaDB 10.0.11 and got hte patch from there. Moodle has required MariaDB 10.2.29 since Moodle 3.9 and it is therefore safe to remove these hacks for MariaDB. MySQL is also affected for version 5.7.0 >= MySQL < 5.7.4.
-
- Oct 07, 2023
-
-
Jun Pataleta authored
-
- Oct 06, 2023
-
-
Sara Arjona authored
-
- Oct 04, 2023
-
-
Paul Holden authored
-
Paul Holden authored
-
Paul Holden authored
-
Mikel Martín authored
-
Paul Holden authored
-
Paul Holden authored
-
Paul Holden authored
-
Paul Holden authored
-
Paul Holden authored
-
Paul Holden authored
-
David Woloszyn authored
In some places we prevented cache poisoning, in others we did not. We also did not place any restriction on the minimum value for a revision. This change introduces a new set of functions for configonly endpoints which validates the revision numbers passed in. If the revision is either too old, or too new, it is rejected and the file content is not cached. The content is still served, but caching headers are not sent, and any local storage caching is prevented. The current time is used as the maximum version, with 60 seconds added to allow for any clock skew between cluster nodes. Previously some locations used one hour, but there should never be such a large clock skew on a correctly configured system. Co-authored-by:
Andrew Nicols <andrew@nicols.co.uk>
-
Huong Nguyen authored
Co-authored-by:
Erica Bithell <egb10@cam.ac.uk>
-
Paul Holden authored
-
meirzamoodle authored
With the new flow, users can go to the login page from the confirmed page, and if the user successfully logs in, the user will be directed to the confirmed page. To avoid that, the confirmed page can only be seen by users who are not logged in.
-
- Oct 03, 2023
-
-
Jun Pataleta authored
-
-
- Oct 01, 2023
-
-
Eloy Lafuente (stronk7) authored
Within the forum_get_discussion_neighbours() function of forum when the discussions timemodified (last post) is the same, there is a bug that does strange things when calculating the prev and next discussions. Note that, in real life, this is really hard to achieve, but in tests, when multiple discussions and post can be created by generators in the same second (specially when the test machine is quick), chances of facing that problem are higher. By adding 1 second wait, we ensure that the discussions won't have the same timemodified (last post) and workaround the problem. No mater of that, the problem deserves an issue to be created so we guarantee from code that it also works ok when the same timemodified (last post) situation happens.
-
Eloy Lafuente (stronk7) authored
Note that normally this doesn't matter much, but there are situations when we want the discussion list ordering fully consistent / deterministic. Specifically, when discussions (or forum posts )are created in the same second, or when the discussion titles are repeated, or 2 discussions have the same number of votes... (any criteria in general), in the context of testing, we don't want the order to be non-consistent, so we need to provide an extra sorting criterion to make it fully deterministic. So, in this case, we are adding a sort by discussion.id <<DIRECTION>> that is an unique value, primary key... so cheap to calculate and, that way, when the 1st sorting column has repeated values, the id will decide.
-
- Sep 29, 2023
-
-
Jun Pataleta authored
-
- Sep 28, 2023
-
-
- Sep 15, 2023
-
-
Sara Arjona authored
-
Petr Skoda authored
-
- Sep 14, 2023
-
-
- Sep 13, 2023
-
-
- Sep 12, 2023
-
-
Eloy Lafuente (stronk7) authored
-
Angelia Dela Cruz authored
-
-
- Sep 10, 2023
-
-
Jun Pataleta authored
-
Jun Pataleta authored
Create a Behat step "the page title should contain ':title'" to check the page title.
-