Dan Marsden
5a96486b44
MDL-45715 assign: disable marking allocation if markingworkflow is not set.
2014-07-23 19:15:09 +12:00
Dan Poltawski
406e47123d
Merge branch 'MDL-45965_master' of https://github.com/Syxton/moodle
2014-07-22 17:09:48 +01:00
Dan Poltawski
02213adfd0
Merge branch 'MDL-37509-master' of git://github.com/damyon/moodle
2014-07-22 15:56:55 +01:00
Damyon Wiese
ae7638f72a
MDL-37509 Assign: Do not put description in calendar before it should be shown to students
2014-07-21 15:54:39 +08:00
Damyon Wiese
3b775a0b8a
MDL-43151 Assign: More validation in mod_form.
...
Add check to mod_form to prevent "reopen until pass" and "blind marking" both being on
2014-07-21 13:41:51 +08:00
Damyon Wiese
3db661cdae
MDL-43151 assign: Use grade_grade->is_passed
...
Do not try and calculate this inside mod_assign - it's a gradebook thing only.
2014-07-21 13:22:22 +08:00
David Balch
d9bfe3c5c1
MDL-40479 mod_assign PHPDoc: Fix error, improve consistency.
2014-07-16 08:58:21 +01:00
Syxton
83360c8d52
MDL-45965 assign: add notification capability
...
MDL-45965 assign: add notification capability
Adds a new capability that adds flexibility to what users receive grader
submission messages. Includes phpunit tests. Function is based off of
get_graders() but is separate because it is bad form to have a
capability that is dependent on another capabilities setting.
2014-07-14 11:14:27 -04:00
Damien Bezborodov
eeb9ee8ebf
MDL-45678 assignsubmission_comments: Improve performance for permissions checking
2014-07-04 14:24:31 +09:30
Marina Glancy
9cd5966168
Merge branch 'MDL-45933-master' of git://github.com/damyon/moodle
2014-06-24 13:52:30 +08:00
Marina Glancy
e28d6b29dc
MDL-42716 assign: whitespace fix
2014-06-24 13:04:49 +08:00
Michael Hughes
323f221b11
MDL-42716 Assign: Implemented capability based viewing of blind details (squashed)
2014-06-24 12:27:10 +08:00
Damyon Wiese
1165b7ded7
MDL-45933 Assign: Prevent fatal error when there are no users in the grading table
2014-06-18 15:17:02 +08:00
Eloy Lafuente (stronk7)
8888451ed5
Merge branch 'MDL-45870-master' of git://github.com/FMCorz/moodle
2014-06-17 00:51:26 +02:00
Marina Glancy
db8071a7f9
Merge branch 'MDL-45940-master' of git://github.com/damyon/moodle
2014-06-16 17:28:15 +08:00
Damyon Wiese
a3d7a82b64
Merge branch 'MDL-42531-alt' of https://github.com/jonof/moodle
2014-06-16 16:26:06 +08:00
Damyon Wiese
de06ce7ed3
MDL-45940 Assign: Improved access check
...
Call can_edit() instead of repeating a (slightly wrong) access check.
2014-06-16 16:20:11 +08:00
Jonathon Fowler
c462c35b95
MDL-42531 assign: refactor batch operations to use forms properly
...
Avoids a lot of ugly optional_param() use. Also fixes the
non-functional cancel buttons.
2014-06-10 14:06:41 +10:00
Damyon Wiese
5ba4ca894a
MDL-45729 assign: Fix for assign unit tests
...
Check the user in the params, not the $USER
2014-06-10 11:39:20 +08:00
Graham Bowman
09fdd221ca
MDL-45729 assign: conditional submission summary
...
Only show the submission summary if user has assign:submit capability.
Amended to fix some whitespace and the commit message.
2014-06-09 22:07:15 +02:00
Frederic Massart
78f69e51fc
MDL-45870 mod_assign: Outcomes are saved for each group member
2014-06-05 15:56:13 +08:00
James Pratt
fdb6811224
MDL-42526 mod_assignment : fix record insert with assigment.id 0
2014-05-22 12:10:07 +07:00
John Okely
6d90ef2b4a
MDL-45296 mod_assign: Revert changes to lock_submission and unlock_submission events
2014-05-09 09:58:55 +08:00
Eloy Lafuente (stronk7)
b8f0ec297d
Merge branch 'MDL-45296' of git://github.com/stronk7/moodle
2014-05-08 15:58:46 +02:00
John Okely
9c94ca5843
MDL-45296 events: Fix objecttable and ids
...
Various events had them incorrectly set or missing:
- submission_locked
- submission_unlocked
- subscription_created
- subscription_deleted
2014-05-08 15:30:03 +02:00
Damyon Wiese
46b56588ae
MDL-44606 Assign: Some grading functions are missing sesskey protection
2014-05-07 12:36:38 +08:00
Damyon Wiese
954e15bf27
Merge branch 'mdl44575-master' of https://github.com/tlock/moodle
2014-04-30 16:31:41 +08:00
Petr Škoda
4781ff2e5f
MDL-41101 use snapshots for submissions and grades in assign events
2014-04-17 09:59:09 +08:00
Petr Škoda
31904cca34
MDL-41101 use record snapshots for user data in assign events
...
The problem is that event->get_user() would be very confusing
because it is mostly related user.
2014-04-17 09:51:12 +08:00
Petr Škoda
1b90858f23
MDL-41101 convert assign event triggers to new create_from_xxx helpers
2014-04-17 09:51:12 +08:00
Mark Nelson
9147c4e07f
MDL-41101 mod_assign: replaced 'grade submission' add_to_log call with an event
2014-04-17 09:51:11 +08:00
Mark Nelson
81f92c220b
MDL-41101 mod_assign: replaced 'view batch set marker allocation' add_to_log call with an event
2014-04-17 09:51:11 +08:00
Mark Nelson
eef4d5946a
MDL-41101 mod_assign: replaced 'view batch set marking workflow state' add_to_log call with an event
2014-04-17 09:51:11 +08:00
Mark Nelson
cf2d7bfb49
MDL-41101 mod_assign: replaced 'view' add_to_log call for the submission status page with an event
2014-04-17 09:51:10 +08:00
Mark Nelson
47349e4eb0
MDL-41101 mod_assign: replaced 'view confirm submit assignment form' add_to_log call with an event
2014-04-17 09:51:10 +08:00
Mark Nelson
c24aaa389a
MDL-41101 mod_assign: replaced 'submission statement accepted' add_to_log call with an event
2014-04-17 09:51:10 +08:00
Mark Nelson
b06decdd59
MDL-41101 mod_assign: replaced 'view' add_to_log call for the reveal identities confirmation page with an event
2014-04-17 09:51:09 +08:00
Mark Nelson
e65221c27b
MDL-41101 mod_assign: replaced 'view submit assignment form' add_to_log call with an event
2014-04-17 09:51:09 +08:00
Mark Nelson
7eda466cb9
MDL-41101 mod_assign: replaced 'view submission grading table' add_to_log call with an event
2014-04-17 09:51:09 +08:00
Mark Nelson
1045b6e333
MDL-41101 mod_assign: replaced 'view grading form' add_to_log call with an event
2014-04-17 09:51:09 +08:00
Mark Nelson
3290c01dc5
MDL-41101 mod_assign: replaced 'view feedback' add_to_log call with an event
2014-04-17 09:51:08 +08:00
Mark Nelson
1be7aef2b1
MDL-41101 mod_assign: replaced 'view submission' add_to_log call with an event
2014-04-17 09:51:08 +08:00
Mark Nelson
c17e70e5b2
MDL-41101 mod_assign: introduced event base class
...
Also performed the following -
1) Deprecated the assignment's add_to_log function (part of it's functionality exists in the base class to set the legacy log data).
2) Edited existing events to use the new base class.
3) Renamed event_test.php to events_test.php to match the rest of core.
4) Moved the event tests from locallib_test.php to events_test.php.
5) When setting legacy data use lang_string, rather than get_string, as we may not be using them if legacy log is disabled.
2014-04-17 09:51:07 +08:00
Damyon Wiese
4b6e01cd76
Merge branch 'MDL-44629-B' of https://github.com/bostelm/moodle
2014-04-16 14:23:07 +08:00
Jonathon Fowler
c80d59f269
MDL-44268 assign: add 'not submitted' and 'no marker' filter options
2014-04-09 14:29:46 +08:00
Henning Bostelmann
af904bd75b
MDL-44629 Assignment: add facility for displaying plugin-specific headers
2014-04-07 11:34:26 +01:00
Aaron Wells
d54404e5bb
MDL-44971 Add hook to "add_attempt" for mod/assign/submission plugins
2014-04-07 10:52:48 +12:00
Sam Hemelryk
4b92f2b79b
Merge branch 'MDL-44745-master' of git://github.com/damyon/moodle
2014-04-01 21:20:05 +13:00
Damyon Wiese
c70de965aa
MDL-44583 Assign: performance fixes
2014-03-31 12:53:02 +08:00
Tim Lock
fdd3ebc545
MDL-44575: Prevent cron from sending feedback notifications when assignments are hidden in the gradebook
2014-03-26 09:47:01 +10:30