21537 Commits

Author SHA1 Message Date
Mathew May
cc1a7689cd MDL-66074 mod_forum: Grader interface documentation 2019-10-30 13:03:59 +08:00
Mathew May
046ebd3ac3 MDL-66074 mod_forum: Grader documentation 2019-10-30 13:03:59 +08:00
Mathew May
4ab14bbb00 MDL-66074 mod_forum: Documentation and hiding conversation elements 2019-10-30 13:03:59 +08:00
Mathew May
eb9df053eb MDL-66697 gradingform_rubric: Support new grading panel
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Andrew Nicols
ce1c470167 MDL-66841 forum: Display grade update errors to user
Part of MDL-66074

This change modifies the return val for all of the grading functions to
allow them to add additional information.
This means that a grading service can suppress a Grade saved message if
there were no changes, for example.

This also adds a distinction between:
- Errored (Exception thrown in the WS call)
- Failed (Warning in the output of the WS call)
- Success (Grade actually saved)
- None of the above (No save, no fail, no change)
2019-10-30 10:23:41 +08:00
Mathew May
18dd283a0e MDL-66074 mod_forum: Implement spinner for user change 2019-10-30 10:23:41 +08:00
Mathew May
1d709d7678 MDL-66074 mod_forum: Relocate the grader button
Also adding capability checks to the button.
2019-10-30 10:23:41 +08:00
Andrew Nicols
aa04b722f3 MDL-66074 mod_forum: Make initial user id optional 2019-10-30 10:23:41 +08:00
Andrew Nicols
eaee64778b MDL-66845 mod_forum: Hook up save button
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Andrew Nicols
45c0584c55 MDL-66845 mod_forum: Convert user picker to class
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Mathew May
3d58c1be3d MDL-66365 mod_forum: Add a modal to show a selected post in context
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Andrew Nicols
77ee8778a8 MDL-66828 mod_forum: Display notification on grade save
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Simey Lameze
d3b890f85e MDL-66362 mod_forum: Add forum name to the grading panel breadcrumb
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
f281c61642 MDL-66722 mod_forum: Pull grader into UI
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
09f92d6644 MDL-66722 forum: Add the grading component information
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
f8da1b9353 MDL-66722 forum: Add gradeitem storage handler
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
94d5227916 MDL-66696 forum: Add forum_grades table
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
92b229c5f4 MDL-66079 mod_forum: Add forum grade support
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
dc86a0f1c6 MDL-66079 mod_forum: Add field to support whole forum grading
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
629726dd3f MDL-66079 assign: Switch to new gradeitem API
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
1adda7ada6 MDL-66079 workshop: Switch to new gradeitem API
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
fcc88fddba MDL-66079 core_grades: Add support for multiple grade items in an activity
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Mathew May
bae674695f MDL-66077 mod_forum: Basic forum grader implementation
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Mathew May
34e6dd2475 MDL-66078 mod_forum: Add webservice to pull discussion data for user
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Andrew Nicols
5123b5c9d7 MDL-66722 forum: Add grade capability
Part of MDL-66074
2019-10-28 13:55:50 +08:00
Andrew Nicols
1e8184f022 MDL-66370 mod_forum: Make a full screen layout
Part of MDL-66074
2019-10-28 13:55:13 +08:00
Jun Pataleta
c23313f6e8 Merge branch 'MDL-66968' of https://github.com/stronk7/moodle 2019-10-25 10:20:05 +08:00
Jun Pataleta
acdce3a0e4 MDL-65017 mod_forum: Test based on event type and not objectid
* Plus fix warning about \test_capability_manager::can_delete_post()
2019-10-25 08:39:32 +08:00
Eloy Lafuente (stronk7)
f4feabb83f MDL-66968 php74: array_key_exists() for objects is deprecated
Replace it for correct property_exists() when the element
being inspected is a property of object/class.

Amended and squased changes:
- keep mongo unmodified. The information is array, hence correct.
- fix a couple of messaging phpdocs that were incorrect.

Amended take#2:
- As far as mongo resturns BSONDocument that is ArrayObject, aka
implements ArrayAccess, we have decided to explicitly cast results
to array so existing array_key_exists() and other accesses will
continue working the same.
2019-10-25 00:49:04 +02:00
Adrian Greeve
e1aebcfdd8 Merge branch 'MDL-65017-master' of git://github.com/jleyva/moodle 2019-10-24 13:53:01 +08:00
Sara Arjona
f3281837b8 Merge branch 'MDL-61121-master-5' of git://github.com/mihailges/moodle 2019-10-21 14:46:17 +02:00
Juan Leyva
56444a606c MDL-65017 forum: New WS mod_forum_delete_post 2019-10-21 13:09:56 +02:00
Juan Leyva
b12dbcd4d5 MDL-65017 forum: Initial API refactor 2019-10-21 13:09:56 +02:00
Sara Arjona
78ee7b9a65 Merge branch 'MDL-66631-master-test' of git://github.com/rezaies/moodle 2019-10-21 12:18:19 +02:00
Eloy Lafuente (stronk7)
6b0374e510 Merge branch 'MDL-65774-master2' of git://github.com/peterRd/moodle 2019-10-21 10:48:12 +02:00
Eloy Lafuente (stronk7)
325a451018 Merge branch 'MDL-66808-master' of git://github.com/rezaies/moodle 2019-10-21 10:32:23 +02:00
Jun Pataleta
a5b431455a Merge branch 'MDL-66009-master' of https://github.com/grabs/moodle 2019-10-21 16:15:20 +08:00
Jake Dallimore
d501428ff8 Merge branch 'MDL-66915-master' of https://github.com/MartinGauk/moodle 2019-10-21 15:54:12 +08:00
Andrew Nicols
80cb0f6a1f Merge branch 'MDL-66962-master' of https://github.com/lucaboesch/moodle 2019-10-21 14:22:57 +08:00
Luca Bösch
19b1afd146 MDL-66962 questions: Question bank table T title non breaking. 2019-10-21 08:16:05 +02:00
Andrew Nicols
532b240244 Merge branch 'MDL-66946' of https://github.com/timhunt/moodle 2019-10-21 12:54:06 +08:00
Jake Dallimore
d2982a1c11 Merge branch 'MDL-66930-master' of https://github.com/lucaboesch/moodle 2019-10-21 11:55:00 +08:00
Jake Dallimore
95852a343d Merge branch 'MDL-66960-master' of https://github.com/lucaboesch/moodle 2019-10-21 10:41:10 +08:00
Tim Hunt
4d32558974 MDL-66946 quiz reports: incorrectly show teachers sometimes 2019-10-18 17:37:49 +01:00
Luca Bösch
55c75f91e9 MDL-66960 questions: Top align all question bank titles exc "select all" 2019-10-18 16:32:43 +02:00
Tim Hunt
701ae1eb4b MDL-66816 question bank: replace row of edit icons with an Edit menu 2019-10-18 14:27:50 +01:00
Sara Arjona
5d657c410b MDL-65774 mod_assign: Update FPDI class to inherit pdf 2019-10-18 20:34:23 +08:00
Luca Bösch
87174e0a92 MDL-66930 quiz: Question type icon size/alignment in Boost and Classic. 2019-10-18 13:54:29 +02:00
Mihail Geshoski
6ddcb2122c MDL-61121 assign: Declare variables in the local scope 2019-10-18 13:57:56 +08:00
Mihail Geshoski
70b10bcd8c MDL-61121 assign: Improve accessibility in quick grading page tables 2019-10-18 13:57:56 +08:00