Commit graph

5382 commits

Author SHA1 Message Date
vyshane
cac40c2716 Added $forums[$i]->type == 'qanda' check to make things more explicit 2006-09-25 08:41:31 +00:00
vyshane
d50704bf19 Fix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the user should not be able to see posts from discussions where the user has not yet posted, unless a post is the first post in the discussion (the question), or unless the user has the capabilitiy mod/forum:viewqandawithoutposting. 2006-09-25 08:25:58 +00:00
vyshane
77dc6d0b26 Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch. 2006-09-25 05:12:01 +00:00
vyshane
66035aafd9 Merged fix for MDL-6521 2006-09-25 05:00:36 +00:00
vyshane
10b6398401 Fixed - wrong constant name 2006-09-25 04:11:41 +00:00
vyshane
87c7fce004 Merged fix for MDL-6363 2006-09-25 04:03:18 +00:00
vyshane
2a692058d0 Fix in forum_make_mail_post() 2006-09-25 02:34:52 +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
0ee186d9ca Typo in capability name. 2006-09-25 01:35:49 +00:00
vyshane
b343df8690 Merged fix for MDL-6615. 2006-09-24 15:28:16 +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
vyshane
57244db359 Removed the following module configurations (converted to use roles):
participants, assesspublic and ratings. Changed assessed field to only use 1 (ratings on) or 0 (off).
2006-09-24 13:58:54 +00:00
moodler
847a041fb7 Better use of mod/quiz:view to hide quiz information (they already have the
name from the course page etc)
2006-09-24 13:54:22 +00:00
moodler
bf7288a2c0 Simplified a bit and removed a notice 2006-09-24 12:02:00 +00:00
skodak
189bb4a628 fixed warning in hotpot lib when running cron from commandline 2006-09-24 07:38:15 +00:00
mark-nielsen
31b50f6442 Fix for MDL-6628: the lesson object was not being cloned correctly. 2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9 Moved endofbranch redirect up to avoid double printing of messages. 2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964 Fixed alignment issue in IE 2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8 Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
stronk7
b8547480b7 Moving a bunch of database module fields to NULLable
(http://docs.moodle.org/en/XMLDB_Problems#NOT_NULL_fields_using_a_DEFAULT_.27.27_clause)
2006-09-23 09:37:53 +00:00
mark-nielsen
9b5274b96d Fixed a label 2006-09-23 01:01:14 +00:00
moodler
d7e8ffebbf Merged fixes from 1.6 2006-09-22 13:27:56 +00:00
vyshane
1febf1a77a Replaced isteacher & co. Fixed some issues. 2006-09-22 06:29:40 +00:00
moodler
aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
moodler
1a030f5112 Fix for MDL-6319, to fix opposite-state links for unread tracking settings 2006-09-22 03:36:31 +00:00
vyshane
7ce56c1282 Removed mod/workshop:view 2006-09-22 03:28:56 +00:00
vyshane
73ebd5e23a Removed mod/wiki:view 2006-09-22 03:14:08 +00:00
vyshane
af94faf492 Removed mod/scorm:view 2006-09-22 03:07:29 +00:00
vyshane
b1e06f5fa0 Removed mod/resource:view 2006-09-22 03:05:46 +00:00
vyshane
94bcea7983 Removed mod/lesson:view 2006-09-22 02:58:39 +00:00
vyshane
7949f21b5f Removed 'mod/glossary:view' capability 2006-09-22 02:52:48 +00:00
moodler
b32c8ddadd Fixed typos in capability names 2006-09-21 14:05:58 +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
0bc94c9990 Last reserved word is out now!
journal_entries->comment to entrycomment

Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
stronk7
ea6432fede Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
vyshane
9222e72167 Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead. 2006-09-21 08:32:05 +00:00
vyshane
2b15a08dc9 Added some notes for future reference 2006-09-21 07:40:24 +00:00
vyshane
49a0ba9438 Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
vyshane
9ae965d379 Removed column ratings from data table 2006-09-21 04:10:36 +00:00
skodak
d43d749a1b forum throttling capability meaning reversed 2006-09-20 21:25:51 +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
skodak
6c450d9f7e test commit for lineending cleanup 2006-09-20 19:20:34 +00:00
vyshane
36acdd6df9 Updated to reflect changes to data table 2006-09-20 18:08:30 +00:00
vyshane
741c4d0b04 Upgrade to roles code for data module. 2006-09-20 17:46:20 +00:00
tjhunt
e7d57d9e6c MDL-6380 - added required include to make blocks work on the quiz pages. 2006-09-20 17:22:38 +00:00
tjhunt
15995c4ab6 Fix typos in string concatenation. 2006-09-20 17:01:19 +00:00
vyshane
7f2586640e Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code. 2006-09-20 16:57:01 +00:00