Commit Graph

406 Commits

Author SHA1 Message Date
stronk7 3c5f492e9d Deprecating old "upgrade" files. MDL-7214 2006-10-26 22:25:21 +00:00
stronk7 78dea37dbc New upgrade.php file added for this module. MDL-7214
Merged from HEAD
2006-10-26 17:43:05 +00:00
stronk7 f0cb717a7e Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
$limitnum parameters in all the get_recordXXX() functions. MDL-7167
2006-10-23 22:56:41 +00:00
skodak 05888cfc84 Assignment Reports incomplete MDL-6301 2006-10-23 21:01:41 +00:00
skodak 324480d4b2 fixed access check when editting notes in advanced upload assignment type 2006-10-18 21:32:50 +00:00
skodak 4d4a11fd68 fixed Notices after assignment deletion in Recent Activity MDL-7089 2006-10-18 21:01:25 +00:00
skodak 37e6138a3c Deleting uploaded files when deleting an assignment instance + fixed quoting style + trailing whitespace MDL-6387 2006-10-18 11:13:32 +00:00
skodak e7514ae3f1 Deleting uploaded files when deleting an assignment instance + fixed quoting style MDL-6387 2006-10-18 11:12:49 +00:00
skodak 81f9b42660 Deleting uploaded files when deleting an assignment instance MDL-6387 2006-10-18 11:11:53 +00:00
thompson697 95df21e3ae Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset,
from activity modules to the backup module.
2006-10-16 10:40:48 +00:00
toyomoyo 1e006c3d5f removing warnings during restore 2006-10-12 07:32:29 +00:00
moodler a0ba79ded7 All the PREVENTS from the legacy roles have been removed
(and thus are treated as INHERIT by default).

See MDL-6907 for details.
2006-10-11 06:16:16 +00:00
skodak c664a03609 added 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by Stephen Bourget - thanks! 2006-10-08 08:06:04 +00:00
thompson697 eb87ac71c5 Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links
2006-10-04 14:50:50 +00:00
skodak 793a8c3af7 Assignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now 2006-10-03 23:34:03 +00:00
skodak 9731624c87 Assignment Module breaks MyMoodle Page MDL-6802, please test it 2006-10-03 18:31:51 +00:00
skodak 8d9425149f fixed directory creation issues in advanced upload assignment 2006-10-02 08:44:58 +00:00
skodak 8704af63b7 Student cannot see handed-in upload single assignment MDL-6770 2006-10-02 08:36:07 +00:00
skodak 8c408f8e46 assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed 2006-10-02 08:21:35 +00:00
skodak 01194b77ec fixed error in assignments when no students enrolled in course 2006-10-01 21:45:54 +00:00
skodak 29889a2a45 partially fixed - assignment intro always avaible even setting available date MDL-6131 2006-10-01 21:35:16 +00:00
skodak 55b4d09637 new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible 2006-09-30 15:41:20 +00:00
skodak 7d47261645 towards new upload assignment - expect brand-new version tomorrow :-) 2006-09-29 21:45:04 +00:00
skodak 8ba4cbd2a3 reverting last commit, expect new fixes soon 2006-09-28 15:34:54 +00:00
jgraham909 6fc73d59b8 Merging in changes from Doug Dixon and Mike Lee to update the codebase 2006-09-27 22:57:33 +00:00
toyomoyo a2a020ea6b adding support for roles in backups 2006-09-27 08:59:27 +00:00
moodler 0cfafdc769 Fixed MDL-6334 by removing the group-setting popup 2006-09-27 08:29:24 +00:00
skodak fbc88f3886 fixed legacy comment upgrade code in assignment and journal 2006-09-26 19:18:21 +00:00
vyshane 4be6bced7f Fixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_students anymore. 2006-09-25 02:04:11 +00:00
vyshane 583b57b42d Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now? 2006-09-24 14:01:50 +00:00
stronk7 db33348f53 When journal to assignment migration is performed, journal
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7 ea6432fede Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak 03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
moodler fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
toyomoyo ea8158c118 changing sql calls from user_students table to role_assignments table 2006-09-14 09:08:07 +00:00
thompson697 163ff97e84 Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler 0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler 8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler 00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
skodak 86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
toyomoyo 4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
toyomoyo 8493ff6fd5 added acapability 2006-08-29 06:02:29 +00:00
toyomoyo be07f21b61 replaced isguest with capability calls 2006-08-29 03:36:31 +00:00
toyomoyo 0bde63002a adding in capabilities 2006-08-29 03:22:05 +00:00
toyomoyo 38ac07d284 adding capability, indenting, putting in brackets etc 2006-08-29 03:20:51 +00:00
toyomoyo 1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
skodak c853b39f50 Bug #6225 - Moodle bug #4658 Breaks assignment type: Upload Single; merged from MOODLE_16_STABLE 2006-08-09 18:36:54 +00:00