Commit graph

96812 commits

Author SHA1 Message Date
John Beedell
7aa3444d72 MDL-67545 Antivirus: new option for clam scan failure 2020-01-24 13:05:45 +00:00
Eloy Lafuente (stronk7)
e46a9874a5 MDL-67353 filters: fix filterlib tests
- move resetAfterTest() to test units.
- remove setUp(), moving code to remove_all_filters_from_config().
- remove class properties, moving to return values of own setup_xxx() methods.
2020-01-24 11:26:56 +01:00
Eloy Lafuente (stronk7)
7899cd4f6c MDL-67353 favourites: Random DB id matching solved
Depending on the tests executed it was possible to arrive
to favourites tests with 2 "concepts" (say userid and contextid,
or userid and itemid) having the same ID.

Then, the array_diff() operations used by some mock stuff in the
tests wrongly was returning matches by value, ultimately causing
the test to fail.

Now, the matching is performed using array_diff_assoc() that takes
keys into considation when performing the match.
2020-01-24 11:26:56 +01:00
Andrew Nicols
6a0cdf26ee MDL-67353 course: Fix more broken unit tests 2020-01-24 11:26:56 +01:00
Andrew Nicols
1d44ac9ec6 MDL-67353 course: Fix broken unit test 2020-01-24 11:26:56 +01:00
David Mudrák
933db17d1e MDL-67740 behat: Show info as collapsed at the acceptance testing page
The static information with the links to Behat documentation is quite
long an irrelevant for experienced developers returning to this page. No
need to waste the prominent screen place with it - better to offer it
only when needed via collapsible form section.
2020-01-24 10:40:30 +01:00
David Mudrák
72c33dc8b1 MDL-67740 behat: Improve the layout of the acceptance testing page
- The CSS contains more specific selectors.
- Make use of the whole screen width for the list of found steps.
- Visually distinguish found steps from each other.
- Make it look less like a unicorn rainbow.
2020-01-24 10:40:30 +01:00
David Mudrák
8008cb3885 MDL-67740 behat: Fix the name of the class in the inline documentation
The said class is provided by the moodlehq/behat-extension composer
package and was renamed as a part of upgrade to Behat 3.0.x (MDL-46891).
2020-01-24 10:40:30 +01:00
David Mudrák
25d7262707 MDL-67740 behat: Allow multiple words filter at acceptance testing page
Because of the too strict input param type, the form did not allow to
search for Behat steps containing the given phrase. The patch sets the
param type to match the one in the form definition, and makes sure that
the submitted value can be safely used as a CLI script argument.
2020-01-24 10:40:29 +01:00
Tim Schroeder
1ccc7e6600
MDL-57755 message: fix notificaiton read status when messaging disabled 2020-01-24 08:59:12 +01:00
Mikhail Golenkov
8dff481193 MDL-67746 Tasks: Cleanup task logs in chunks. 2020-01-24 13:53:34 +11:00
Adrian Greeve
4e41ace0be weekly release 3.9dev 2020-01-24 10:16:48 +08:00
Adrian Greeve
fd7764deb8 NOBUG: Fixed file access permissions 2020-01-24 10:16:48 +08:00
Adrian Greeve
7b55fab97a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-01-24 10:16:39 +08:00
Paul Holden
b486073a9a MDL-56389 message_popup: less greedy marking of notifications as read.
Only mark those notifications that were returned in the last query as
read, based on the time they were requested.
2020-01-23 22:16:35 +00:00
Paul Holden
df2544ee7b MDL-56389 message: allow marking notifications as read up to given time. 2020-01-23 22:16:30 +00:00
Eric Merrill
2d2189ae1f MDL-67690 block_myoverview: Update starred to favourites to fix prefs
Core libs use favourites, so need to use that consistently for user
preferences to be remembered properly.
2020-01-23 14:09:48 -05:00
Eloy Lafuente (stronk7)
84ba4b8feb Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-23 11:13:33 +01:00
Jun Pataleta
dfa6dcd80c MDL-51225 mod_forum: Revert @javascript tag removal
Put back the removed  @javascript tag to prevent random goutte
fails.
2020-01-23 15:26:56 +08:00
Jun Pataleta
a762f048b8 Merge branch 'MDL-67118' of https://github.com/stronk7/moodle 2020-01-23 15:12:58 +08:00
Jun Pataleta
21b0f581e1 Merge branch 'MDL-67115' of https://github.com/stronk7/moodle 2020-01-23 15:12:56 +08:00
Adrian Greeve
c3c0d06651 Merge branch 'MDL-67703-master' of git://github.com/lameze/moodle 2020-01-23 15:11:02 +08:00
Adrian Greeve
e2c5315b5c Merge branch 'MDL-65775-master' of git://github.com/ferranrecio/moodle 2020-01-23 15:11:02 +08:00
Jun Pataleta
32113d7a9b Merge branch 'MDL-65952' of https://github.com/fabiendallet/moodle 2020-01-23 15:11:02 +08:00
Shamim Rezaie
206a3bfc9d MDL-67730 lib: Fix to make the library php74 compliant. 2020-01-23 15:04:11 +11:00
Eloy Lafuente (stronk7)
cb701f77b4 Merge branch 'MDL-67296-master' of git://github.com/vmdef/moodle 2020-01-22 23:46:06 +01:00
Víctor Déniz Falcón
e942844d76 MDL-67296 core_h5p: tests modified to use exttests 2020-01-22 20:40:12 +00:00
Jun Pataleta
1e38b94c8e Merge branch 'MDL-66897-master-1' of git://github.com/mihailges/moodle 2020-01-22 23:17:14 +08:00
Víctor Déniz Falcón
d8fe1eddf9 MDL-67296 core_h5p: minor changes
core.php-Avoid to use the factory for each content type
h5p_get_content_types_task-new method to simplify test execution
framework.php-returns error if you get a 404 response after requesting a file
2020-01-22 14:48:16 +00:00
Brendan Heywood
b2eec32733 MDL-38511 admin: Allow plugins to define custom bulk actions 2020-01-23 00:29:54 +11:00
Adrian Greeve
dbeca9f5ca Merge branch 'MDL-67424-master' of git://github.com/rezaies/moodle 2020-01-22 13:56:33 +08:00
Mihail Geshoski
9f9a3ddebe MDL-66897 mod_assign: Properly display error messages in quick grading 2020-01-22 13:37:07 +08:00
Adrian Greeve
f40115043c Merge branch 'MDL-67438' of https://github.com/stronk7/moodle 2020-01-22 13:29:01 +08:00
Adrian Greeve
595b52fda4 Merge branch 'MDL-67456' of https://github.com/stronk7/moodle 2020-01-22 13:12:27 +08:00
Adrian Greeve
66a8939518 Merge branch 'MDL-67653' of https://github.com/timhunt/moodle 2020-01-22 11:02:35 +08:00
Adrian Greeve
e33b86507d Merge branch 'MDL-67660-master-v2' of https://github.com/TobiGa/moodle 2020-01-22 10:41:03 +08:00
Jun Pataleta
48298a9b3a Merge branch 'MDL-67684-master' of git://github.com/andrewnicols/moodle 2020-01-22 10:38:13 +08:00
Shamim Rezaie
dba1d09e33 MDL-67730 lib: Upgrade ADODB to version 5.20.16 2020-01-22 13:34:20 +11:00
Adrian Greeve
67925e5b88 Merge branch 'MDL-67680-master' of git://github.com/marinaglancy/moodle 2020-01-22 10:28:23 +08:00
Colin Campbell
eeca35e4ad MDL-52189 file: skip deleting temp files that appear during cleanup 2020-01-22 12:10:00 +10:00
Adrian Greeve
883687a9fd Merge branch 'MDL-67656-master' of git://github.com/andrewnicols/moodle 2020-01-22 09:44:17 +08:00
Eloy Lafuente (stronk7)
7d574d8af5 Merge branch 'MDL-66858' of https://github.com/stronk7/moodle 2020-01-22 01:57:18 +01:00
Michael Milette
a75fe2f1b5 MDL-66858 master: Enable <header> tags in Atto editor.
(amended to add the src/editor/js/clean.js
file that was originally missing)
2020-01-22 00:04:23 +01:00
Eloy Lafuente (stronk7)
703f2b625b Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-21 23:33:19 +01:00
Adrian Greeve
790735f3e4 Merge branch 'MDL-66237-master' of git://github.com/mickhawkins/moodle 2020-01-21 11:08:27 +08:00
Jun Pataleta
13c5806a2f Merge branch 'MDL-66108' of https://github.com/paulholden/moodle 2020-01-21 09:51:24 +08:00
Eloy Lafuente (stronk7)
1c610609cc Merge branch 'MDL-66024' of https://github.com/paulholden/moodle 2020-01-20 22:47:17 +01:00
Eloy Lafuente (stronk7)
a445417935 Merge branch 'MDL-66220-master' of git://github.com/junpataleta/moodle 2020-01-20 22:33:45 +01:00
Eloy Lafuente (stronk7)
a05b402c12 Merge branch 'MDL-66712-master-selfautounenrol' of git://github.com/mudrd8mz/moodle 2020-01-20 22:27:20 +01:00
Eloy Lafuente (stronk7)
f81d6fa319 Merge branch 'MDL-65884' of https://github.com/paulholden/moodle 2020-01-20 20:13:29 +01:00