2702 Commits

Author SHA1 Message Date
Jake Dallimore
2cde5c5267 Merge branch 'MDL-63167-master' of git://github.com/peterRd/moodle 2020-07-01 17:06:01 +08:00
Peter Dias
d49d4ee47b MDL-63167 grade: Test functions update 2020-06-17 14:12:26 +08:00
Peter Dias
c771b25c0f MDL-63167 grade: Deprecated gradingform_provider 2020-06-17 14:12:21 +08:00
Eloy Lafuente (stronk7)
b764343e5a MDL-69044 upgrade: add 3.9.0 separation line to all upgrade scripts 2020-06-14 13:08:09 +02:00
Eloy Lafuente (stronk7)
115cc0214f MDL-68973 versions: bump all versions and requires near release
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Jake Dallimore
aa52fde8f5 Merge branch 'MDL-68163-master' of https://github.com/syxton/moodle 2020-06-03 12:06:06 +08:00
Andrew Nicols
9777b0fa19 Merge branch 'MDL-68312-master-2' of git://github.com/rezaies/moodle 2020-06-03 08:00:57 +08:00
Matt Davidson
887679e510 MDL-68163 gradebook: add grade item duplication 2020-06-02 09:28:29 -04:00
Eloy Lafuente (stronk7)
6f56e743ed Merge branch 'MDL-68753-master-enfix' of git://github.com/mudrd8mz/moodle 2020-05-28 13:01:39 +02:00
Shamim Rezaie
97cf42e0ef MDL-68312 grade: Fix empty links
If a link contains no text, the function or purpose of the link will not
be presented to the user. This can introduce confusion for keyboard and
screen reader users.
2020-05-28 19:18:38 +10:00
Shamim Rezaie
dfb326a8c6 MDL-68312 gradereport_grader: Remove adjacent links to the same URL 2020-05-28 19:18:38 +10:00
Shamim Rezaie
cc0c1e2817 MDL-68312 gradereport_grader: replace invalid label by aria-describedby
The for attribute of the label element should not refer to a non-hidden
form control.
2020-05-28 19:18:38 +10:00
Shamim Rezaie
96896e0dd7 MDL-68312 gradereport_grader: Use caption instead of summary in table
The summary attribute on the table element is obsolete.
2020-05-28 19:18:38 +10:00
Jake Dallimore
30604f81a8 Merge branch 'MDL-67903-master' of git://github.com/bmbrands/moodle 2020-05-28 13:58:50 +08:00
Thomas.Ludwig
9bdd83c9fd MDL-67903 core_grades: remove outdated CSS for grade import form 2020-05-27 15:58:53 +02:00
Sara Arjona
8e1b43f0d5 Merge branch 'MDL-68343-master' of git://github.com/rezaies/moodle 2020-05-27 15:09:39 +02:00
David Mudrák
2615e429f4 MDL-68753 lang: Remove a redundant okay string and use "OK" everywhere
The "Ok" (with lower-case "k") string was added in MDL-68409 to keep
backwards compatibility with YUI alerts that had it hard-coded. But we
should not need to explain to translators why we have two OK strings
like this and why they use different wording.

Additionally, there would be inconsistency in Behat tests and everywhere
depending on which "OK" or "Ok" string is used for buttons.

So instead, this patch changes the hard-coded 'Ok' string in the YUI and
we should stick to "OK" from now on everywhere.
2020-05-27 09:59:44 +02:00
Luca Bösch
543f36a5aa MDL-52138 core_grades: gradebook striped styling 2020-05-26 23:33:03 +02:00
Eloy Lafuente (stronk7)
60fe1f8c9d MDL-68388 core_grades: Tweak unit test assertion to make Oracle happy
Also modify some comments and get rid of some void return types.
2020-05-26 19:00:24 +02:00
Andrew Nicols
fa197fbf09 Merge branch 'MDL-68099-master' of git://github.com/marinaglancy/moodle 2020-05-26 11:29:48 +08:00
Andrew Nicols
17238ab079 MDL-68388 grade: Tidy comments and whitespace 2020-05-26 10:15:52 +08:00
Marcus Boon
f1f5ba36ad MDL-68388 core_grades: Use MUC for grade letters
In the get_grade_letters there is a static variable that is used
to cache grade letters, we should use MUC for this so that it is
reset properly between unit tests.
2020-05-26 09:06:50 +10:00
Andrew Nicols
6c0ffdd7ff Merge branch 'MDL-68783-master' of git://github.com/junpataleta/moodle 2020-05-22 11:21:47 +08:00
Jun Pataleta
0763480b33 MDL-68783 core_grades: Fix outcome page's add/remove button styles
* Applied proper styles of btn-secondary.
* Added some vertical spacing between the buttons by enclosing them in
divs with 'm-y-1' class instead of just a br tag.
2020-05-20 13:12:58 +08:00
Marina Glancy
5b529aca15 MDL-68333 testing: trigger user_created event in user generator 2020-05-19 19:11:54 +02:00
Marina Glancy
ae0218624f MDL-68099 gradereport_grader: prevent exception without groups 2020-05-18 15:18:30 +02:00
Andrew Nicols
29c5fafff5 MDL-66109 js: Fix Shifter linting issues 2020-05-11 11:07:49 +08:00
Andrew Nicols
149d80e819 MDL-66109 behat: Fix Example usage in feature files
The gherkin-lint package now understands the use of "Examples" and
requries that their indentation be correct and consistent.

This change sets the indentatation for these to:

    "Examples": 4,
    "example": 6,

This is in-line with the examples given in the offical Cucumber/Gherkin
documentation at
https://cucumber.io/docs/gherkin/reference/#scenario-outline whereby the
Examples and individual rows of the Examples table are children of the
Scenario outline.

This is contrary to the default for Gherkin-lint which places them as
top-level nodes with an indentatio of 0, and 2 respectively.
2020-05-11 10:55:58 +08:00
Jun Pataleta
08103b0a64 MDL-68355 gradingform_guide: Improve lang strings 2020-05-07 11:49:53 +08:00
Jake Dallimore
1b4e6b3826 Merge branch 'MDL-68355-master' of git://github.com/junpataleta/moodle 2020-05-06 08:36:06 +08:00
Jun Pataleta
2a858c2d5e Merge branch 'MDL-68404-master' of git://github.com/lucaboesch/moodle 2020-04-30 13:33:45 +08:00
Luca Bösch
e944a8f86d MDL-68404 gradingform_rubric: Style "Add level" button. 2020-04-28 14:06:49 +02:00
Helen Foster
1fce3f52ac MDL-68434 lang: Import fixed English strings (en_fix)
Significant string changes:

* pluginnamesummary,qtype_ddimageortext and
  pluginnamesummary,qtype_ddmarker - Note about the question type not
  being accessible to visually impaired users

* addresourceoractivity,core - Removing 'resource' as the new activity
  chooser doesn't have resource types separated
2020-04-28 14:01:20 +02:00
Jun Pataleta
3c28246234 MDL-68355 gradingform_guide: Fix accessibility issues
* Add sr-only label for criterion information.
* Add sr-only label for frequently used comments picker button.
* Removed unused string grade_help.
* Fixed tags for hidden help texts, changing them from <small> to <span>
* Added aria-label for the score and additional comments fields so that
  the user would know which criterion they are currently working on.
* Added score_help and remark_help lang strings for more description
  for the score and additional comments fields.
* Remove text-muted class for additional comments' field label to avoid
  colour contrast issues.
2020-04-24 15:05:09 +08:00
Shamim Rezaie
8a944856eb MDL-68343 gradereport_singleview: Remove adjacent links to the same URL 2020-04-22 04:30:53 +10:00
Shamim Rezaie
976dac3fd1 MDL-68343 gradereport_singleview: Use caption instead of summary
The summary attribute on the table element is obsolete.
2020-04-22 04:30:53 +10:00
Shamim Rezaie
4e9b0c4278 MDL-68343 gradereport_singleview: fix empty links 2020-04-22 04:30:53 +10:00
Shamim Rezaie
1031303a54 MDL-68343 gradereport_singleview: Only output label tag if label exists
This also fixes the issue of having multiple form labels for a single
element.
2020-04-22 04:30:53 +10:00
Jwalit Shah
c74ccbcbaa MDL-66200 gradebook: check selected feedback option when importing data 2020-04-09 11:01:15 +10:00
Tim Hunt
1dcd0d3499 MDL-68233 renderers/block: remove illegal uses of $PAGE and $OUTPUT 2020-03-29 15:34:26 +01:00
Eloy Lafuente (stronk7)
d950188c19 Merge branch 'MDL-68061-master' of git://github.com/mickhawkins/moodle 2020-03-11 22:56:13 +01:00
Marina Glancy
99b3ce9669 MDL-56287 gradereport_history: Separate groups queries improved 2020-03-04 11:46:52 +01:00
Jun Pataleta
29ddc8ff32 MDL-56287 gradereport_history: Show users from groups that can be viewed 2020-03-04 11:46:52 +01:00
Michael Hawkins
b34f2c75c9 MDL-68061 gradereport_history: Restrict per page config value to int 2020-02-27 13:38:37 +08:00
Helen Foster
a753f4f9a1 MDL-67979 lang: Import fixed English strings (en_fix)
Significant string changes:

* configcustommenuitems,core_admin - corrected example
* custommenuitems_desc,tool_mobile - fallback behaviour of custom menu
  items in the app
2020-02-25 12:21:09 +01:00
Luca Bösch
8f2a32ed95 MDL-67617 gradereport_singleview: Style the form element with bs classes 2020-01-09 16:51:18 +01:00
Andrew Nicols
5e34719d7e Merge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle 2020-01-08 08:50:03 +08:00
Jun Pataleta
e4e9e56882 MDL-65948 core_grade: Use category names as master checkbox labels
Use the name of the grade categories as label to distinguish master
checkboxes from regular ones.
2019-12-30 14:13:35 +08:00
Jun Pataleta
2f848616c7 MDL-65948 core_grade: Use new core/checkbox-toggleall 2019-12-30 14:13:35 +08:00
Eloy Lafuente (stronk7)
a0ba8feef6 Merge branch 'MDL-67527-master-enfix' of git://github.com/mudrd8mz/moodle 2019-12-29 23:26:52 +01:00