Commit graph

99172 commits

Author SHA1 Message Date
Paul Holden
9a2db9e2ec MDL-62707 search: account for no matching courses when listing areas.
When limiting the list of courses during retrieval of the search areas
the user can access, make sure we have some contexts before looking
for blocks.
2020-12-04 09:43:27 +00:00
inigozendegi
844637b880
MDL-56119 gradingform_rubric: Rubric display layout issue 2020-12-04 09:41:40 +01:00
David Matamoros
9e597d3658 MDL-63683 enrol: Fix plugin settings when no role has student archetype 2020-12-04 09:27:20 +01:00
Andrew Nicols
0e25936c0d MDL-70397 behat: Prevent browser restarting after initial start 2020-12-04 12:07:36 +08:00
Jake Dallimore
627e14727e weekly release 3.9.3+ 2020-12-04 08:42:43 +08:00
Jake Dallimore
ffe84e977f Merge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_39_STABLE 2020-12-04 08:42:40 +08:00
Andrew Nicols
7bc67e92e2 Merge branch 'MDL-70080-39' of git://github.com/jleyva/moodle into MOODLE_39_STABLE 2020-12-03 11:55:54 +08:00
Andrew Nicols
dd96341354 Merge branch 'MDL-70327-39' of git://github.com/cescobedo/moodle into MOODLE_39_STABLE 2020-12-03 11:52:06 +08:00
Andrew Nicols
1714cb74b3 Merge branch 'MDL-70321_39' of https://github.com/timhunt/moodle into MOODLE_39_STABLE 2020-12-03 11:40:24 +08:00
Jake Dallimore
c94c579aa6 Merge branch 'MDL-69411-39' of git://github.com/dravek/moodle into MOODLE_39_STABLE 2020-12-03 11:37:17 +08:00
Jake Dallimore
16bcd8f057 Merge branch 'MDL-67460-39_profile_secure' of https://github.com/beenet-dev/moodle into MOODLE_39_STABLE 2020-12-03 11:16:52 +08:00
Andrew Nicols
5e65d02eab Merge branch 'MDL-70157_39' of https://github.com/rlorenzo/moodle into MOODLE_39_STABLE 2020-12-03 11:01:21 +08:00
Adrian Greeve
1b8bfedaa9 Merge branch 'wip_MDL-70267_m39' of git://github.com/gjb2048/moodle into MOODLE_39_STABLE 2020-12-03 10:55:54 +08:00
Adrian Greeve
7b920d2d7b Merge branch 'MDL-70167-39' of git://github.com/andrewnicols/moodle into MOODLE_39_STABLE 2020-12-03 09:56:42 +08:00
AMOS bot
63b0a865dd Automatically generated installer lang files 2020-12-03 00:07:48 +00:00
Andrew Nicols
7766af18a5 Merge branch 'MDL-69868-39' of git://github.com/ilya-catalyst/moodle into MOODLE_39_STABLE 2020-12-03 07:48:59 +08:00
Tim Hunt
14d68d98b5 MDL-70373 qtype_essay: missing border on atto input 2020-12-02 20:10:15 +00:00
Shamim Rezaie
8676a67888 MDL-69301 course: Remove custom keyboard navigation code 2020-12-02 23:11:27 +11:00
Shamim Rezaie
8af16c5709 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-02 23:08:13 +11:00
Shamim Rezaie
7f74dc1c16 MDL-69301 theme_boost: convert aria.js to es6 module 2020-12-02 23:08:13 +11:00
Jake Dallimore
5bdc07a3b6 Merge branch 'MDL-67514-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE 2020-12-02 16:24:30 +08:00
AMOS bot
bccfc48b94 Automatically generated installer lang files 2020-12-02 00:07:44 +00:00
Thong Bui
95c3de0877 MDL-70324 Question: get_all_response_file_areas() not work correctly 2020-12-01 16:16:45 +07:00
AMOS bot
d833fc2131 Automatically generated installer lang files 2020-12-01 00:07:51 +00:00
David Mudrák
6e04f9f294 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:37:39 +01:00
Alexander Bias
7f45f9ab3e 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:18:40 +01:00
Gareth Barnard
547a6dcdde
MDL-70267 ux, theme: Course user profile inconsistent page layout. 2020-11-29 23:52:32 +00:00
AMOS bot
28fff43d2b Automatically generated installer lang files 2020-11-29 00:07:54 +00:00
Tim Hunt
7565cda9c6 MDL-54907 quiz unit tests: clean up code style in attempts_test.php 2020-11-27 18:30:19 +00:00
Tim Hunt
90fa490de7 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 18:30:19 +00:00
Tim Hunt
5f9ddb348e MDL-54907 quiz generator: defaults should match a new Moodle install 2020-11-27 18:30:18 +00:00
Tim Hunt
ff8da7e008 MDL-54907 dml: Correct incorrect PHPdoc 2020-11-27 18:30:18 +00:00
Jun Pataleta
a6ab91786f 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:24:26 +08:00
Jun Pataleta
0a43bdcc6c 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:24:26 +08:00
Juan Leyva
b1a4bd579a MDL-70080 tool_mobile: Return support contact information via WS 2020-11-27 10:19:15 +01:00
Sara Arjona
4825c139ef weekly release 3.9.3+ 2020-11-27 07:50:43 +01:00
Sara Arjona
d207a2ad02 Merge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_39_STABLE 2020-11-27 07:50:40 +01:00
AMOS bot
ccc6b4d00b Automatically generated installer lang files 2020-11-27 06:21:32 +00:00
Tim Hunt
cc3a909810 MDL-70320 permission overrides: role names were double-escaped 2020-11-26 20:37:18 +00:00
Sara Arjona
c93de36436 Merge branch 'MDL-70276_39' of https://github.com/stronk7/moodle into MOODLE_39_STABLE 2020-11-26 15:04:48 +01:00
Ilya Tregubov
da3ebf216e MDL-69868 h5pactivity: Prevent breaking $USER when seeing
attempt report.
2020-11-26 12:40:33 +02:00
Andrew Nicols
7c8fd0d417 Merge branch 'MDL-70242-39' of git://github.com/marinaglancy/moodle into MOODLE_39_STABLE 2020-11-26 10:49:32 +08:00
Andrew Nicols
558ace5997 Merge branch 'MDL-65852-39' of git://github.com/ilya-catalyst/moodle into MOODLE_39_STABLE 2020-11-26 10:04:23 +08:00
Eloy Lafuente (stronk7)
98254ccd1a 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:23:49 +01:00
cescobedo
5be02868af MDL-70327 core_h5p: Add preventredirect to the player 2020-11-25 16:30:50 +01:00
Sara Arjona
a36b3ec48f Merge branch 'MDL-70248-39' of https://github.com/HuongNV13/moodle into MOODLE_39_STABLE 2020-11-25 16:23:07 +01:00
Sara Arjona
ea4e0ae3cb Merge branch 'MDL-70265_39' of https://github.com/stronk7/moodle into MOODLE_39_STABLE 2020-11-25 15:47:01 +01:00
Ilya Tregubov
68c3eb8aa9 MDL-65852 user: Fix permission check to download course participants. 2020-11-25 11:27:31 +02:00
Tim Hunt
331b9947a3 MDL-70321 question backup: fix MDL-47178 unit tests
They were failing if you had CodeRunner installed
2020-11-24 15:29:55 +00:00
Simon Mok
4e8d58374e MDL-67460 profile: User profile link to use HTTPS 2020-11-24 20:49:35 +08:00