David Mudrák
e6f4190203
MDL-70357 cron: Catch Throwables not just Exceptions when running tasks
...
Starting from PHP 7, most language errors throw Error exceptions. We
want to deal with those equally as with any other exception so we need
to catch all Throwables here.
2020-11-30 17:25:19 +01:00
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
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
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
Peter Dias
3f934e4abd
MDL-65215 core: Deprecate i_dock_block
2020-11-24 10:02:00 +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
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
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
Jake Dallimore
6603ee4853
Merge branch 'MDL-67081-profile-cli' of https://github.com/brendanheywood/moodle
2020-11-19 11:41:31 +08:00
John Yao
11886d37ed
MDL-67636 gradebook: Prevent exposing hidden grade in locked category
2020-11-19 14:29:55 +11:00
Adrian Greeve
a0ba1ae381
Merge branch 'MDL-65843-task-overrides' of https://github.com/jamie-catalyst/moodle
2020-11-19 11:29:01 +08:00
Adrian Greeve
3f5489e014
Merge branch 'MDL-56653_enrol_meta_edit_instance_validation' of https://github.com/vtos/moodle
2020-11-19 11:07:27 +08:00
Andrew Nicols
e988d9ec4d
Merge branch 'MDL-69809' of https://github.com/paulholden/moodle
2020-11-19 10:40:47 +08:00
Andrew Nicols
5b1f83ef3f
Merge branch 'MDL-67702' of https://github.com/paulholden/moodle
2020-11-19 10:34:02 +08:00
Jun Pataleta
d74c9c622e
MDL-70094 core: Fix version number for the upgrade note.
2020-11-19 09:40:25 +08:00
Jun Pataleta
1ce10609f3
Merge branch 'MDL-70094-master' of https://github.com/SangNguyen2601/moodle
2020-11-19 09:38:39 +08:00
Andrew Nicols
0c556aff71
Merge branch 'MDL-47456-avoid-siteid-db' of https://github.com/brendanheywood/moodle
2020-11-19 08:51:57 +08:00
Eloy Lafuente (stronk7)
695f0b4597
Merge branch 'MDL-70107-task-unlock-session' of https://github.com/brendanheywood/moodle into master
2020-11-18 23:06:49 +01:00
Eloy Lafuente (stronk7)
30f2fe5301
Merge branch 'MDL-69201' of https://github.com/paulholden/moodle into master
2020-11-18 22:59:28 +01:00
Jamie Stamp
3a232840a5
MDL-65843 tasks: Allow schedules to be overridden in config
2020-11-18 12:44:05 +00:00
Shamim Rezaie
bbf468099b
MDL-70237 payment: Allow html tags in gateway description
2020-11-18 23:22:51 +11:00