99552 Commits

Author SHA1 Message Date
Sara Arjona
f34b44674f weekly release 4.0dev 2020-11-27 07:50:34 +01:00
Sara Arjona
d0d2c06775 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-11-27 07:50:30 +01:00
AMOS bot
c8c4d35930 Automatically generated installer lang files 2020-11-27 06:21:37 +00:00
Sara Arjona
e74ed03d70 Merge branch 'MDL-70276' of https://github.com/stronk7/moodle 2020-11-26 15:04:13 +01:00
Andrew Nicols
0671a2e92d Merge branch 'MDL-65215-master' of git://github.com/peterRd/moodle 2020-11-26 12:46:11 +01:00
Andrew Nicols
a57de96846 Merge branch 'MDL-63266-master' of git://github.com/peterRd/moodle 2020-11-26 12:46:11 +01:00
Andrew Nicols
0aecabf004 MDL-70153 qtype_essay: Whitespace/behat fixes 2020-11-26 12:46:10 +01:00
Andrew Nicols
22388c9e7f Merge branch 'MDL-70153-master' of git://github.com/dpalou/moodle 2020-11-26 12:46:10 +01:00
Andrew Nicols
78999ae627 Merge branch 'MDL-70237-master' of git://github.com/rezaies/moodle 2020-11-26 12:46:10 +01:00
Andrew Nicols
e6715939bc Merge branch 'MDL-70242-master' of git://github.com/marinaglancy/moodle 2020-11-26 12:46:10 +01:00
Andrew Nicols
5a929185c5 Merge branch 'MDL-65852-master' of git://github.com/ilya-catalyst/moodle 2020-11-26 12:46:10 +01:00
Eloy Lafuente (stronk7)
9860796cbb Merge branch 'MDL-42382-master' of git://github.com/NoelDeMartin/moodle into master 2020-11-26 12:46:10 +01:00
Sara Arjona
42d23f2ddf Merge branch 'MDL-70248-master' of https://github.com/HuongNV13/moodle 2020-11-26 12:46:10 +01:00
Sara Arjona
9708b2aa1d Merge branch 'MDL-70265' of https://github.com/stronk7/moodle 2020-11-26 12:46:10 +01:00
Sara Arjona
2ae62e9a51 Merge branch 'MDL-69878-master' of git://github.com/bmbrands/moodle 2020-11-26 12:46:10 +01:00
Ilya Tregubov
932e8ea7a3 MDL-69868 h5pactivity: Prevent breaking $USER when seeing
attempt report.
2020-11-26 12:39:49 +02:00
Eloy Lafuente (stronk7)
4b3409b7a4 MDL-70276 github actions: First cut, phpunit and grunt checks
First working version, supports phpunit (using build matrix):

- php72 (lowest), running mysql.
- php74 (highest), running postgres.

Also verifies that the branch has been "gruntified" and there
isn't any missing change (build js/css files).

TODO: Verify the remaining checks currently in .travis.yml, namely:
 - CITEST
 - Add caching
 - Better health-check for DB images.
 - Support from the tracker (satus badges and enable check).
 - Support from CiBoT (status and enable check).
 - Consider moving both the common setup (git, composer...)
   and the database (mysql, postgres) to own actions for
   easier tweaking.
2020-11-26 00:26:47 +01:00
Paul Holden
1e3449ca28 MDL-70295 libraries: upgrade to version 4.3.1 of Html2Text. 2020-11-25 21:35:14 +00:00
Tim Hunt
374d3e7700 MDL-70320 permission overrides: role names were double-escaped 2020-11-25 21:19:57 +00:00
Paul Holden
e1153faace MDL-70293 libraries: upgrade to version 1.5.6 of SimplePie. 2020-11-25 20:44:03 +00:00
cescobedo
7caad99f99 MDL-70327 core_h5p: Add preventredirect to the player 2020-11-25 16:30:04 +01:00
Jordan Tomkinson
d0e185ae79 MDL-70326 antivirus: fixing regression in MDL-66222 2020-11-25 11:31:36 +01:00
Ilya Tregubov
b71615f5e2 MDL-65852 user: Fix permission check to download course participants. 2020-11-25 11:25:34 +02:00
Eloy Lafuente (stronk7)
93f49909d5 Merge branch 'MDL-69121-redis-session-store-compression' of git://github.com/jamie-catalyst/moodle into master 2020-11-24 22:58:48 +01:00
Sara Arjona
01ac1cc74c Merge branch 'master-MDL-69773_v2' of https://github.com/golenkovm/moodle 2020-11-24 17:24:44 +01:00
Tim Hunt
32bd113761 MDL-70321 question backup: fix MDL-47178 unit tests
They were failing if you had CodeRunner installed
2020-11-24 15:26:32 +00:00
Simon Mok
10768bbd9e MDL-67460 profile: User profile link to use HTTPS 2020-11-24 20:37:26 +08:00
Peter Dias
3f934e4abd MDL-65215 core: Deprecate i_dock_block 2020-11-24 10:02:00 +08:00
Peter Dias
86269654f9 MDL-65319 core: Final deprecation get_courses_page 2020-11-24 09:59:47 +08:00
Adrian Greeve
a2906d5a39 Merge branch 'MDL-64776-master' of git://github.com/peterRd/moodle 2020-11-24 08:57:12 +08:00
Mikhail Golenkov
53663f2ea1 MDL-69773 block_section_links: Add an option to display section name 2020-11-24 11:33:27 +11:00
Tim Hunt
a6edd14d27 MDL-70285 completion upgrade: fix performance of the MDL-69687 code 2020-11-23 20:46:48 +00:00
David Matamoros
c99a148628 MDL-69411 core_message: Fix return structure for empty result set
Passing a timefrom higher than last message timecreated needs to
return a formatted response so it does not break ws.
2020-11-23 19:25:09 +01:00
Eloy Lafuente (stronk7)
df16c07624 MDL-70265 travis: Completely remove the UPGRADE check
It was broken since ages ago, see MDL-64874, so no sense
to keep it eating minutes for nothing.
2020-11-23 13:45:22 +01:00
Adrian Greeve
41b9a81caa Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle 2020-11-23 15:40:04 +08:00
Jake Dallimore
766f68cbd2 Merge branch 'MDL-70160-function-cache-m' of https://github.com/Peterburnett/moodle 2020-11-23 15:21:31 +08:00
Adrian Greeve
76ddbf3822 Merge branch 'MDL-67028-additional-custom-parameters' of https://github.com/cengage/moodle 2020-11-23 14:05:05 +08:00
Andrew Nicols
78d4adf7e2 MDL-70151 assign: Fix bulk change for behat
Behat does not play well with confirmation dialogues and in some
situations it does not wait for the page to reload before starting the
next step.

This change adds a pending_js call which is only resolved if the cancel
button was pressed, otherwise it remains in-progress until the page
reloads resetting the entire state of it.
2020-11-23 11:11:23 +08:00
Andrew Nicols
9d6413d16d MDL-70167 behat: Rewrite attribute check steps
This commit updates the following steps to use the
`the_attribute_of_should_be_set` step under the hood:
- the [element] [type] should be disabled
- the [element] [type] should be enabled
- the [element] [type] should be readonly
- the [element] [type] should not be readonly

This reduces unnecssary code duplication.
2020-11-23 11:02:36 +08:00
Andrew Nicols
7d70165c25 MDL-70167 behat: Boolean attributes should either exist or not 2020-11-23 11:02:36 +08:00
Andrew Nicols
0d580d2b3e MDL-67668 behat: Update tests for inplace editable field type 2020-11-23 09:01:19 +08:00
Andrew Nicols
fd71823ec7 MDL-67668 behat: Add inplace editable field type
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
2020-11-23 09:01:19 +08:00
Andrew Nicols
548da2ce97 MDL-67668 behat: Share behat_behat functionality with forms
Behat form fields are implemented in a way completely isolated from the
rest of the Behat Context system. Whereas regular step definitions have
access to execute steps, to call `find`, check for JS running, and other
related functionality, the Moodle implementation of a field type does
not have any access to this.

By moving the core functionality of behat_base to a new trait, and the
constants to a new interface, the functionality can also be used in
behat form fields in the same way as elsewhere.
2020-11-23 09:01:19 +08:00
Andrew Nicols
59daa3b548 MDL-67668 behat: Correct js pending check
Pending checks should only run when JS is running, but some uses were
not apply this check.
2020-11-23 09:01:19 +08:00
Andrew Nicols
1144969755 MDL-67668 behat: Support NodeElement when fetching node in container
This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
2020-11-23 09:01:19 +08:00
Eloy Lafuente (stronk7)
866fb5fd56 MDL-70265 travis: Only run highest phpunit if configured via env
By default only lowest php version will be executed, and only pgsql.

This default behavior can be changed with a new variable:

MOODLE_PHP = [all]
MOODLE_DATABASE = [pgsql | mysqli | all]
2020-11-21 11:28:11 +01:00
Eloy Lafuente (stronk7)
c8d33eb9ce weekly release 4.0dev 2020-11-20 23:16:43 +01:00
Eloy Lafuente (stronk7)
ca6c43e13a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master 2020-11-20 23:16:41 +01:00
Peter Dias
1d6f66151a MDL-64776 book: Final deprecation booktool_print_get_toc 2020-11-19 17:02:16 +08:00
Adrian Greeve
4baf02505a Merge branch 'master-MDL-67636' of https://github.com/yao9394/moodle 2020-11-19 11:59:32 +08:00