Syxton
35e7ad6a60
MDL-47777 assign: max files hard coded to setting
...
The current file submission is hard coded to a maximum of 20 files
possible. While the user can choose a number less than 20, the maximum
is still set in code. This converts the hard coded 20 to a site setting
defaulting to 20.
2014-10-22 08:24:30 -04:00
Adrian Greeve
c42d18183a
MDL-47675 phpunit: Update unit tests to pass on MSSQL
...
Unit tests were failing on MSSQL. gc_collect_cycles() was
removed from the phpunit utils.php file to save time in running
the tests, but MSSQL doesn't clean up open files as well as
other databases.
This patch includes the garbage collection for the unit tests
that require it.
2014-10-20 14:26:11 +08:00
Damyon Wiese
821ce4d63b
MDL-47655 assign: Fix unit tests triggering debugging
...
Test was triggering notifications - so needs to use a message sink.
2014-10-17 09:45:02 +08:00
Dan Poltawski
50c4e8e8b6
Merge branch 'MDL-47696' of https://github.com/willylee/moodle
2014-10-16 11:07:27 +01:00
Dan Poltawski
5708376927
Merge branch 'MDL-47655-master' of git://github.com/damyon/moodle
2014-10-16 10:57:06 +01:00
Damyon Wiese
9e035dae1b
MDL-47655 assign: Treat 'new' status as never submitted.
...
This fixes the recent activity callbacks to ignore submissions with a 'new' status.
The unit tests for recent activity were modified, because they were relying on the old behaviour of 'submitted' being the default status.
AMOS BEGIN
CPY [submissionstatus_,mod_assign],[submissionstatus_new,mod_assign]
AMOS END
2014-10-16 13:56:07 +08:00
Willy Lee
8f16523082
MDL-47696 assign: allow 'not submitted' filter to get all other submission statuses
2014-10-15 08:16:37 -07:00
Damyon Wiese
127b3915df
MDL-47686 assign: Fix restoring from a mod_assignment backup.
...
This was only working for admins.
2014-10-15 15:56:30 +08:00
Mark Nelson
ba8024665d
MDL-40697 mod_*: fixed unit tests so they pass
2014-10-07 19:08:35 -07:00
Gregory Faller
452beca98d
MDL-46712: Center EditPDF window on browser resize / zoom
2014-10-06 14:44:51 +08:00
Dan Poltawski
9438c6412e
NOBUG: Fixed file access permissions
2014-10-02 15:18:51 +01:00
Frederic Massart
6849d15df5
MDL-37707 mod_assign: Prevent user from changing grouping in team submissions
2014-10-01 11:27:44 +08:00
Damyon Wiese
93c51a1d0a
MDL-46171 assign: Fix for the update script on MySQL.
2014-09-30 21:16:24 +08:00
Dan Poltawski
0645eb6866
Merge branch 'MDL-46171-master' of git://github.com/damyon/moodle
2014-09-30 08:03:40 +01:00
Sam Hemelryk
e0533f2633
Merge branch 'MDL-37707-master' of git://github.com/FMCorz/moodle
2014-09-29 11:35:23 +13:00
Sam Hemelryk
51606b8e63
Merge branch 'MDL-47378-master' of git://github.com/danpoltawski/moodle
2014-09-29 11:19:06 +13:00
Dan Poltawski
79cf14b327
MDL-47378 mod_assign: prevent debugging notice
...
Parameters come out of get_user_preferences as strings.
2014-09-24 15:41:04 +01:00
Pavel Sokolov
5ae56c6e44
MDL-37707 mod_assign: Prevent user from switching to and from team submissions
2014-09-24 16:07:01 +08:00
Damyon Wiese
c154b1f93d
MDL-46171 assign: Peer review cleanups
...
* Remove hardcoded table names
* Remove some code that was left in after debugging
* Add some comments about grades with no submission
* Set submission->latest to 0 on restore (it will get fixed later)
* Changed get_records_sql to get_recordset_sql in restore.
2014-09-24 15:07:36 +08:00
Damyon Wiese
9e3eee671f
MDL-46171 Assign: Always require a submission record if there is a grade
...
Also - update unit tests to match the new expectations.
2014-09-24 15:07:36 +08:00
Damyon Wiese
ad030ab4a5
MDL-46171 assign: And here is the benefit of the new column - simplify the SQL
2014-09-24 15:07:36 +08:00
Damyon Wiese
1523f9e0fb
MDL-46171 Assign: Update code so latest field on assign_submission table is always set correctly
2014-09-24 15:07:36 +08:00
Damyon Wiese
587341138f
MDL-46171 Assign: Add "latest" column + index to submission table.
2014-09-24 15:07:36 +08:00
Dan Poltawski
ffd24d9a61
Merge branch 'wip-MDL-47187-master' of git://github.com/marinaglancy/moodle
2014-09-15 11:08:24 +01:00
Marina Glancy
5b460d65cc
MDL-47187 assign: fixed timing unittest failure
2014-09-10 11:58:00 +08:00
Marina Glancy
7fde166775
Merge branch 'MDL-44304-master' of git://github.com/damyon/moodle
2014-09-08 12:57:34 +08:00
Eloy Lafuente (stronk7)
9bdb64681f
Merge branch 'MDL-39929' of https://github.com/bostelm/moodle
2014-09-03 00:13:53 +02:00
sam marshall
c13ac85db8
MDL-44725 Availability: Replace groupmembersonly - assign (10)
...
Updated code to restrict list of users. Also includes changes to
ensure that a cm_info object is available (required for availability
checks).
There is a tweak to upgradelib to reflect the different fields used.
(Note that upgradelib is not used during upgrade, but only when
converting assignments from the old assignment module.)
2014-09-02 13:03:27 +01:00
sam marshall
9c85baa8c5
MDL-44725 Availability: Replace groupmembersonly - FEATURE_xx (6)
...
Remove old FEATURE_GROUPMEMBERSONLY as no longer required.
2014-09-02 13:03:17 +01:00
Henning Bostelmann
7faf78cbae
MDL-39929 Assignment: provide file upload area for assignment description
2014-09-02 11:02:16 +01:00
Marina Glancy
c1780a3d0b
Merge branch 'MDL-46539-fix-28' of https://github.com/jmarthaler/moodle
2014-09-01 14:36:04 +08:00
Jon Marthaler
abd0f0aec6
MDL-46539 assign calendar: Fix lastcron value for assign cron
2014-08-27 11:17:28 -05:00
Damyon Wiese
ab38cb2833
MDL-46842 assign: Fix for unit tests - previous patch was completely ignoring manually reopening attempts.
2014-08-26 10:30:14 +08:00
Eloy Lafuente (stronk7)
863c536219
Merge branch 'master_MDL-46842' of https://github.com/greg-or/moodle-mod_assign
2014-08-26 01:58:08 +02:00
Eloy Lafuente (stronk7)
40f1dff05f
Merge branch 'master_MDL-46816' of https://github.com/danmarsden/moodle
2014-08-26 00:09:51 +02:00
Marina Glancy
e55cecf05f
Merge branch 'MDL46887_assignment_file_max_size' of git://github.com/Dave-B/moodle
2014-08-25 16:28:49 +08:00
Dan Marsden
f4774f44d1
MDL-46816 mod_asssign plagiarism: Remove unnecessary code.
2014-08-22 09:43:48 +12:00
Damyon Wiese
720d22404b
MDL-44304 assignfeedback_editpdf: Fix fatal error when viewing team assignments with editpdf responses.
2014-08-21 12:09:27 +08:00
Damyon Wiese
506df250af
MDL-44304 assignfeedback_editpdf: Behat test for group submissions
2014-08-21 12:09:22 +08:00
Gregory Faller
767fda9bce
MDL-46842: Reopen assignment submissions when using offline grading worksheet
2014-08-20 19:13:49 +09:30
David Balch
6ba716c118
MDL-46887 mod_assign: Enforce module's maxbytes setting at submission.
2014-08-19 13:29:15 +01:00
Dan Poltawski
62e30bfbcd
Merge branch 'master_MDL-46718' of https://github.com/greg-or/moodle-mod_assign
2014-08-12 11:02:18 +01:00
Dan Poltawski
d3014cca39
Merge branch 'master_MDL-44015' of https://github.com/greg-or/moodle-mod_assign
2014-08-11 14:31:02 +01:00
Gregory Faller
cfdd3e5cac
MDL-46718: Return user to last accessed page when quick grading
2014-08-08 14:01:02 +09:30
Gregory Faller
ce09177696
MDL-44015: EditPDF scrolls instead of drawing on iOS
2014-08-06 14:45:43 +09:30
Daniel Kosinski
43fb9ced67
MDL-46219 assignment: delete files when resetting assign activities
2014-08-05 23:31:20 +02:00
Damyon Wiese
0672e056dc
MDL-44149 Assign: Reopen attempts from quick grading (reopenuntilpass)
2014-08-04 15:52:53 +08:00
Sam Hemelryk
6df4025b2c
Merge branch 'MDL-43908-master' of https://github.com/lucisgit/moodle
2014-07-29 15:50:50 +12:00
Dan Poltawski
d4a89aa500
Merge branch 'master_MDL-45715' of https://github.com/danmarsden/moodle
2014-07-28 12:47:30 +01:00
Sam Hemelryk
db28260c29
Merge branch 'MDL-46506-master' of git://github.com/damyon/moodle
2014-07-28 08:46:03 +12:00