99628 Commits

Author SHA1 Message Date
Shamim Rezaie
7bd6145d13 MDL-69301 course: Remove custom keyboard navigation code 2020-12-02 22:57:44 +11:00
Shamim Rezaie
c8ea0c12d7 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-02 22:57:42 +11:00
Shamim Rezaie
baf68eae5e MDL-69301 theme_boost: convert aria.js to es6 module 2020-12-02 22:57:18 +11:00
Jake Dallimore
3382bc0ece Merge branch 'MDL-67514' of https://github.com/paulholden/moodle 2020-12-02 16:20:37 +08:00
Andrew Nicols
145a72ca9c Merge branch 'MDL-57614-master-4' of git://github.com/mihailges/moodle 2020-12-02 15:09:52 +08:00
Mihail Geshoski
16b72504b3 MDL-57614 core: Fetch blocks through a webservice in add block modal 2020-12-02 13:43:15 +08:00
Mihail Geshoski
d16faf211d MDL-57614 core_block: Create webservice that returns the addable blocks
Creates a webservice that returns the addable blocks in a given page.
The webservice expects the page context id, page type and page layout as
parameters and returns the block name and block title for each available
block.
2020-12-02 13:40:41 +08:00
AMOS bot
d5ed07c000 Automatically generated installer lang files 2020-12-02 00:07:47 +00:00
Thong Bui
017b1252ed MDL-70324 Question: get_all_response_file_areas() not work correctly 2020-12-01 16:03:44 +07:00
Sara Arjona
32bd7eeac9 Merge branch 'MDL-70037' of git://github.com/paulholden/moodle 2020-12-01 08:00:28 +01:00
AMOS bot
cf231873cd Automatically generated installer lang files 2020-12-01 00:07:54 +00:00
Paul Holden
356b4f9cc4 MDL-70037 mod_forum: include post modified date in external structure. 2020-12-01 00:04:25 +00:00
Claude Vervoort
3071777ddb MDL-70361 mod_lti: deeplinking multiple preserve resourceid and tag 2020-11-30 14:41:13 -05:00
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
Alexander Bias
3c0a064421 MDL-70342 block_timeline: Get rid of double quotes
This commit gets rid of double quotes around the activity name and course name
which have sneaked into block_timeline's view in MDL-65183.
2020-11-30 13:20:26 +01:00
Adrian Greeve
bc581748c2 Merge branch 'MDL-68052' of git://github.com/danmarsden/moodle 2020-11-30 09:39:51 +08:00
Gareth Barnard
ac7cf94d96
MDL-70267 ux, theme: Course user profile inconsistent page layout. 2020-11-29 23:48:56 +00:00
AMOS bot
d1f55115b7 Automatically generated installer lang files 2020-11-29 00:07:58 +00:00
Tim Hunt
040c15c27e MDL-54907 quiz unit tests: clean up code style in attempts_test.php 2020-11-27 18:29:25 +00:00
Tim Hunt
fc9d2e0843 MDL-54907 quiz: better timefinish for attempts finished asynchronously
There are serveral ways a quiz attempt can be submitted:

1. The student click the Submit and finish button. In this case,
   no problem. We record the current time as the finish time
   for the quiz attempt.

2. The student is activly working away at the quiz, and the
   count-down timer reachers zero. In this case, we also record
   the current time. Note that, if the server is under high load,
   then this could well end up being a few seconds after the
   theoretical end time, so you could have a quiz with a 30 minute
   time limit, with an attempt that lasted 30:07. However, this
   is just an accurate reflection of what happened, so should
   be recorded like this.

3. If the student is offline when the time expires, then
   (depending on the quiz settings) the attempt may be
   automatically submitted by cron, but this will happen with
   at least some delay (to prevent race conditions between cron
   and a student working online) and if cron is running slow
   on the server, it could be a lot later. Previously, this led
   to, say, a 30 minute quiz where an attempt seemed to have
   lasted 67 minutes, which confused people.

   Now, in this situation, the finsh time for the quiz attempt is
   recorded as the time when the time limit ran out. This is not
   just less confusing for teachers looking at the quiz report,
   it is also more accurate. That is the latest time at which
   students could have made any changes to their responses.
2020-11-27 17:51:55 +00:00
Jun Pataleta
15709f18b3 MDL-69422 mod_data: Deprecate unused 'unsupportedexport' string 2020-11-27 23:27:33 +08:00
Jun Pataleta
22a14f6cf6 MDL-69422 mod_data: Export form accessibility fixes
* Set appropriate heading element IDs
* Replace usages of deprecated HTML tag acronym with abbr instead.
* Add a label for the export fields fieldset.
* Move the CSV delimiter list outside the radio group.
* Fix div under a label element and duplicate labels
for the checkboxes of the fields to be exported by showing the field
name and type together.
* Group the fields to be exported as a fieldset.
* Move unsupported fields into a separate list.
* Move export options into its own section and group the options as a
fieldset.
2020-11-27 23:21:02 +08:00
Jun Pataleta
1d685419d4 MDL-69422 core: Convert required and help button container to div
* A span element cannot have a div as a child.
2020-11-27 23:16:03 +08:00
Tim Hunt
ec6978b9d6 MDL-54907 quiz generator: defaults should match a new Moodle install 2020-11-27 14:57:36 +00:00
Tim Hunt
dc72bc6ac5 MDL-54907 dml: Correct incorrect PHPdoc 2020-11-27 14:57:36 +00: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
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
Claude Vervoort
33594cf3a4 MDL-70284 mod_lti: dynreg fix response claims 2020-11-25 10:52:12 -05: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