2596 Commits

Author SHA1 Message Date
sam marshall
225eb7b27e MDL-66679 Forms: Submit button remains disabled after file download
When you download a file directly from a Moodle form submit button,
the submit button disables when you click it, but you remain on that
page so we need to re-enable the button.

This commit causes it to re-enable once the file download finishes,
setting a temporary cookie to indicate this to the JavaScript code.

It also adds a method to disable the system on a given form by
setting data-double-submit-protection="off".
2019-10-30 16:36:28 +00:00
Juan Leyva
016cffb936 MDL-64298 gradereport_user: Fix WS returned parameter description
feedbackformat must be optional always
2019-10-23 17:56:09 +02:00
Andrew Nicols
14d8cdcc35 MDL-66748 core_grading: Use new gradingform data providers 2019-09-24 21:04:14 +08:00
Andrew Nicols
d6576ca229 MDL-66748 gradingform_rubric: Add data generators 2019-09-24 21:04:14 +08:00
Andrew Nicols
c71d5bbbba MDL-66748 gradingform_guide: Add data generators 2019-09-24 21:04:14 +08:00
Andrew Nicols
62b45c66ad MDL-66748 core_grading: Add generator 2019-09-24 11:26:41 +08:00
Andrew Nicols
bb6315f281 MDL-66550 forum: Target fields in a fieldset for behat test 2019-09-10 21:29:03 +08:00
Andrew Nicols
519e17a763 MDL-66378 behat: Increase window size for rubric tests 2019-08-22 07:56:19 +08:00
Andrew Nicols
8a0d0cb4b1 MDL-66378 grade: Set window size to large for rubric tests 2019-08-21 08:39:28 +08:00
Andrew Nicols
44de5278a5 MDL-66378 behat: Correct invalid uses of selection from dropdown 2019-08-17 11:44:48 +08:00
Andrew Nicols
db89a31d2e MDL-66378 gradereport_singleview: Add missing label for dropdown 2019-08-17 11:44:48 +08:00
Jun Pataleta
9897d03d95 Merge branch 'MDL-56789-master' of git://github.com/rezaies/moodle 2019-08-07 14:01:39 +08:00
Shamim Rezaie
36272110ba MDL-56789 core: Recycle bin warn only if a grade item is being deleted 2019-08-07 15:25:11 +10:00
Mathew May
28cbff4a2d MDL-64953 templates: Add example contexts & documentation
This is a follow up from CiBot warnings from MDL-58428
2019-08-06 10:56:16 +08:00
Ryan Wyllie
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
Helen Foster
08a114cf40 MDL-66003 lang: Import fixed English strings (en_fix)
Significant string changes:

* moodleorghubname,core_admin and
  sitemustberegistered,message_airnotifier - 'Moodle.net' changed to
  'Moodle'

* registration_help,core_admin and registermoochtips,core_hub - removed
  erroneous 'access to Moodle.net our course sharing platform'

* trackingtype_help,mod_forum and formnotavailable,core_grading and
  showgrades_help,core and rolewarning_help,core_rating -
  'Administration block' changed to 'Actions menu or admin block',
  'navigation block' changed to 'navigation drawer or block'
2019-06-25 18:00:51 +02:00
Damyon Wiese
ceacef1bd8 MDL-34498 grade: rubric session timeout
Allow a longer session timeout when editing a grading rubric form.
2019-06-06 09:31:07 +08:00
Eloy Lafuente (stronk7)
3572a25cc3 MDL-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
Eloy Lafuente (stronk7)
c9a1a6341c MDL-65571 versions: bump all versions and requires near release
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Luca Bösch
85ecaf5836 MDL-65374 core_grades: style "Move selected items to" pulldown. 2019-05-04 11:03:26 +02:00
Eloy Lafuente (stronk7)
09ab093dce Merge branch 'MDL-65397-master-enfix' of git://github.com/mudrd8mz/moodle 2019-05-01 01:42:55 +02:00
Helen Foster
f1264719f4 MDL-65397 lang: Import fixed English strings (en_fix)
Significant string changes:

* direct:view,gradeimport_direct - wording corrected from 'CSV' to
  'spreadsheet'
* limitanswers_help,mod_choice - additional wording added explaining how
  the setting works with groups
* pluginname,customfield_text  - 'Text field' plugin renamed to
  'Short text'
2019-04-29 11:46:26 +02:00
Amaia Anabitarte
dcfd143310 MDL-63137 mod_feedback: Pointing TODO tasks to right deprecation issue 2019-04-26 09:37:02 +02:00
David Monllaó
815c070a26 Merge branch 'MDL-29317-master' of git://github.com/junpataleta/moodle 2019-04-15 07:41:10 +02:00
Jake Dallimore
9b8a147ea3 Merge branch 'MDL-65087' of git://github.com/stronk7/moodle 2019-04-04 11:37:07 +08:00
Eloy Lafuente (stronk7)
31d7eaab5a MDL-65087 behat: Select the proper search button via xpath
By adding the "Search" aria label to a number of elements
any search of "Search" buttons, previously working in other
parts of the UI are not found anymore (because the hidden
ones are found before).

So, moving to click via xpath. Ideally we should be able to
find the target button in an easier, human readable way. But
there aren't many ids, names around to make it easier.
2019-04-04 00:54:45 +02:00
Mathew May
b64bf2d77c MDL-64506 grades: Fix regression of MDL-58428 2019-04-03 19:34:20 +08:00
Damyon Wiese
4b9c3e44e0 MDL-64524 gradingform_guide: Marking guide comments
When there are too many comments, scroll the list so they still fit in the dialogue.
2019-04-01 12:17:27 +08:00
Jun Pataleta
2791334251 MDL-29317 gradeimport_csv: Case-insensitive query for email and username
Query using the following fields for
\gradeimport_csv_load_data::check_user_exists() should be done in a
case-insensitive manner:
* email - As agreed in MDL-29315
* username - Although usernames can only be in lowercase during
  registration, usernames are being handled in a case-insensitive
  fashion when logging in. It makes sense to make check_user_exists()
  consistent with this behaviour.
2019-03-29 13:29:32 +08:00
Jun Pataleta
d65a927694 MDL-29317 gradeimport_csv: Tests for case-insensitivity 2019-03-29 13:29:32 +08:00
Eloy Lafuente (stronk7)
199d0b01e1 Merge branch 'MDL-65044-master' of git://github.com/lameze/moodle 2019-03-27 22:47:30 +01:00
Jun Pataleta
9f09d9dec5 MDL-64958 gradeimport_csv: Better unit tests for check_user_exists() 2019-03-11 09:32:21 +08:00
Jun Pataleta
d45f0f0ceb MDL-64958 grade_import: Ensure correct user is being fetched
* We need to ensure that we are checking the correct user account.
  Since email and idnumber are not unique fields, there's a chance that
  multiple user records will match when querying for user data using
  these fields. This might lead to a different user's grades being
  inadvertently modified during grade import. In such a case, this
  function needs to return a null userid.
2019-03-11 09:32:17 +08:00
Adrian Greeve
d2063ed0a1 Merge branch 'MDL-64891-master' of git://github.com/tobiasreischmann/moodle 2019-03-06 15:06:36 +08:00
Mathew May
0c61ec476c MDL-58428 theme: Move templates from grade/grading/form/guide 2019-02-26 12:56:14 +01:00
Mathew May
08cefc7e31 MDL-58428 theme: Move templates from grade/report/singleview 2019-02-26 12:56:14 +01:00
Mathew May
6eebb09060 MDL-58428 theme: Move templates from grade/report/history 2019-02-26 12:56:14 +01:00
Mathew May
f38a9caeef MDL-58428 renderer: Correct paths & xpaths 2019-02-26 12:56:14 +01:00
Mathew May
1c78866f44 MDL-58428 renderer: Move renderer override from grade report 2019-02-26 16:24:49 +08:00
Mathew May
e3652936f3 MDL-58428 theme: Shift templates ready for Bootstrapbase removal
Move behat override steps from boost into their Moodle core locations &
Move the effected core behat steps into bootstrapbase as override steps.
2019-02-22 15:19:33 +08:00
Tobias Reischmann
6555342863
MDL-64891 gradebook: Disable grade display type dependent on grade type
If the grade types text or none are selected for an item or a category,
none of the 'grade display type' options  will change the displayed
grade within the reports. Thus, we can disable the settings for grade
display type as well as the one for decimal places in this case.
2019-02-18 17:17:25 +01:00
Luca Bösch
cfac07f283 MDL-64577 grade: style "Add ID numbers" button. 2019-02-01 07:10:18 +01:00
Jake Dallimore
111dfd2db5 Merge branch 'MDL-64375-master' of git://github.com/damyon/moodle 2019-01-09 15:33:09 +08:00
Eloy Lafuente (stronk7)
2c4463bf0f Merge branch 'MDL-64509-master-enfix' of git://github.com/mudrd8mz/moodle 2019-01-08 16:17:06 +01:00
David Mudrák
a92458880c MDL-64509 lang: Use the fixed strings in tests 2019-01-07 20:07:57 +01:00
Helen Foster
65d70aa81b MDL-64509 lang: Import fixed English strings (en_fix)
Significant string change: enablerunnow_desc,tool_task - including
mention of pathtophp requirement
2019-01-07 14:40:34 +01:00
Damyon Wiese
9a4c6a245c MDL-64375 gradingform_rubric: Styles for overflow
Allow people to define lots of levels, and make the scroll region just the rubric table,
not the entire content region.
2019-01-04 08:44:10 +08:00
Eloy Lafuente (stronk7)
a12207be25 MDL-63276 upgrade: clean < 3.2.0 upgrade steps
3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)

This just deletes all the upgrade steps previous to 3.2.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

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

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase. (note there isn't any this time).
2019-01-03 01:17:17 +01:00
Jake Dallimore
a2f6288fa1 Merge branch 'MDL-64216-m' of https://github.com/micaherne/moodle 2018-12-19 11:07:41 +08:00
Luca Bösch
d388e8ecc2 MDL-64280 core_outcome: Add/remove outcome buttons style. 2018-12-10 17:55:35 +01:00