22317 Commits

Author SHA1 Message Date
Sara Arjona
7d24686e59 Merge branch 'MDL-69308' of https://github.com/stronk7/moodle 2021-01-14 12:03:30 +01:00
Jun Pataleta
adbebb3bcc Merge branch 'MDL-70312' of git://github.com/paulholden/moodle 2021-01-14 11:54:37 +08:00
Eloy Lafuente (stronk7)
e15aaed77a Merge branch 'MDL-70408-master' of git://github.com/sarjona/moodle 2021-01-13 23:59:36 +01:00
Eloy Lafuente (stronk7)
77342b96fc MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps
This just deletes all the upgrade steps previous to 3.6.0. Some
small adjustments, like tweaking globals can also be applied
when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2018120300 (v3.6.0) as anti-cheating measure.

Note that in this case, there wasn't any case of upgradelib
functions being used, hence we haven't to deprecate/remove
anything in codebase. When there is such a need, that is done
in separate commits (one for each function) and documented here.

See MDL-65809 commits for an example removing/deprecating a
good number of functions.
2021-01-13 19:11:19 +01:00
Eloy Lafuente (stronk7)
36ef29a8e9 Merge branch 'MDL-70266' of https://github.com/timhunt/moodle 2021-01-11 16:11:50 +01:00
Eloy Lafuente (stronk7)
a1c6c4b5a1 Merge branch 'MDL-70550-master-enfix' of git://github.com/mudrd8mz/moodle 2021-01-09 13:17:35 +01:00
David Mudrák
2fba82e7b6 MDL-70550 lang: Use the fixed strings in Behat tests, too 2021-01-08 08:33:42 +01:00
Helen Foster
8e080c9703 MDL-70550 lang: Import fixed English strings (en_fix) 2021-01-07 19:35:32 +01:00
Tim Hunt
3fbf8529ab MDL-70266 quiz overrides: respect show user identity setting 2021-01-07 10:38:39 +00:00
Eloy Lafuente (stronk7)
fd1d9fec1e Merge branch 'master_MDL-70520' of https://github.com/golenkovm/moodle 2021-01-07 00:17:08 +01:00
Paul Holden
a2a410fe09 MDL-70312 libraries: upgrade to version 2.3.5 of FPDI. 2021-01-04 09:34:17 +00:00
Jake Dallimore
d0915426f1 Merge branch 'MDL-69399-master_lti_alpha' of https://github.com/haietza/moodle 2020-12-23 11:36:34 +08:00
Jake Dallimore
b2382c7d38 Merge branch 'MDL-69422-master-2' of git://github.com/junpataleta/moodle 2020-12-22 15:58:21 +08:00
Mikhail Golenkov
c8229e3915 MDL-70520 mod_assign: Use task API to get scheduled task lastruntime 2020-12-22 12:57:17 +11:00
Víctor Déniz
92e59b663d Merge branch 'MDL-70284-dynreg-bug' of https://github.com/cengage/moodle 2020-12-21 16:39:08 +00:00
Sara Arjona
8099deda48 Merge branch 'MDL-69107-master-2' of git://github.com/andrewnicols/moodle 2020-12-18 15:22:09 +01:00
Michelle Melton
6c235e4e96 MDL-69399 LTI: Alphabetize LTI tool list in selection menu 2020-12-18 08:58:07 -05:00
Sara Arjona
064e1a7e39 MDL-70408 mod_h5pactivity: Add link to content bank content
If the activity uses a referenced H5P file from the content bank,
a link for displaying this specific content will be shown into the H5P
activity form instead of the generic one to the main content bank
page.
2020-12-17 18:32:38 +01:00
Jake Dallimore
4946c2b2ea Merge branch 'MDL-66138-master' of git://github.com/ilyatregubov/moodle 2020-12-17 10:57:14 +08:00
Jun Pataleta
d27c4f8566 Merge branch 'MDL-68831' of https://github.com/timhunt/moodle 2020-12-17 00:04:33 +08:00
Jun Pataleta
037417af1d Merge branch 'MDL-69735' of https://github.com/timhunt/moodle 2020-12-16 23:01:28 +08:00
Ilya Tregubov
b9c1eabe0c MDL-66138 forum: Deprecate get_forum_discussions_paginated 2020-12-16 16:32:24 +02:00
Tim Hunt
7d11dcfde2 MDL-68831 quiz overrides: show a summary on the quiz info page 2020-12-16 14:21:45 +00:00
Jun Pataleta
eacff87304 Merge branch 'MDL-68481_master' of git://github.com/mdjnelson/moodle 2020-12-16 15:20:12 +08:00
Jun Pataleta
57485d656f Merge branch 'MDL-68533_master-clean_param' of git://github.com/mdjnelson/moodle 2020-12-16 12:49:03 +08:00
Jun Pataleta
d4b9511bbe Merge branch 'MDL-54907' of https://github.com/timhunt/moodle 2020-12-16 10:34:58 +08:00
Andrew Nicols
31402aa406 MDL-69107 user: Fix autocomplete usages 2020-12-16 07:50:56 +08:00
Sara Arjona
df7701598b Merge branch 'MDL-70409-master' of git://github.com/merrill-oakland/moodle 2020-12-15 16:15:34 +01:00
Jun Pataleta
b4ea4caf0f Merge branch 'MDL-70361-dlrlid' of https://github.com/cengage/moodle 2020-12-15 11:16:58 +08:00
Mark Nelson
9fff03a90a MDL-68481 mod_folder: stream files when creating zip 2020-12-12 12:49:04 +08:00
Mark Nelson
3b687239da MDL-68533 mod_assign: stream files when creating zip 2020-12-12 12:44:55 +08:00
Tim Hunt
7350f41bf8 MDL-69735 quiz: new capability for read-only view of setting overrides 2020-12-11 19:54:40 +00:00
Jake Dallimore
6a053ecbf0 Merge branch 'MDL-70151-master' of git://github.com/andrewnicols/moodle 2020-12-09 14:45:39 +08:00
Eric Merrill
9e830efe9d MDL-70409 chat: Use require_once to import lib.php 2020-12-04 10:44:12 -05:00
Andrew Nicols
1cdae7a717 Merge branch 'MDL-69868-master' of git://github.com/ilya-catalyst/moodle 2020-12-03 07:47:12 +08: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
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
Tim Hunt
ec6978b9d6 MDL-54907 quiz generator: defaults should match a new Moodle install 2020-11-27 14:57:36 +00:00
Ilya Tregubov
932e8ea7a3 MDL-69868 h5pactivity: Prevent breaking $USER when seeing
attempt report.
2020-11-26 12:39:49 +02:00
Claude Vervoort
33594cf3a4 MDL-70284 mod_lti: dynreg fix response claims 2020-11-25 10:52:12 -05:00
Adrian Greeve
a2906d5a39 Merge branch 'MDL-64776-master' of git://github.com/peterRd/moodle 2020-11-24 08:57:12 +08:00
Adrian Greeve
41b9a81caa Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle 2020-11-23 15:40:04 +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
0d580d2b3e MDL-67668 behat: Update tests for inplace editable field type 2020-11-23 09:01:19 +08:00
Peter Dias
1d6f66151a MDL-64776 book: Final deprecation booktool_print_get_toc 2020-11-19 17:02:16 +08:00