Commit Graph

909 Commits

Author SHA1 Message Date
vyshane
1a7cdb11b4 Merged fixes for MDL-2583 2006-10-05 03:18:29 +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
moodler
50e07a4995 Patched login for discussions 2006-10-03 01:19:35 +00:00
vyshane
825d73aa33 Fixed missing separator (MDL-3975). 2006-09-29 07:28:11 +00:00
vyshane
9ed7d7e162 Merged fix for MDL-6681 2006-09-28 08:29:17 +00:00
vyshane
cef1ce6abf Fixes for MDL-3975
Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.
2006-09-28 07:29:50 +00:00
skodak
90eca94be8 fixed incorrectly quoted $LIKE in forum recent activity sql 2006-09-27 10:44:25 +00:00
vyshane
83da3d286c Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums. 2006-09-26 08:37:56 +00:00
martinlanghoff
a8f4522dfa data, forum, glossary: use sql_ilike() for a portable LIKE operator 2006-09-26 05:08:18 +00:00
vyshane
ee8e000823 Fixed bug in forum_make_mail_post() 2006-09-26 02:02:27 +00:00
skodak
499c621417 fixed quoting error 2006-09-25 14:15:55 +00:00
vyshane
7c900d5d62 Changed to require_capability where possible 2006-09-25 13:14:50 +00:00
vyshane
7fa8296f01 Bug fixes 2006-09-25 13:05:18 +00:00
vyshane
dcd8e5890e Abstracted query in a new function forum_discussions_user_has_posted_in() 2006-09-25 08:50:00 +00:00
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
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
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
moodler
b32c8ddadd Fixed typos in capability names 2006-09-21 14:05:58 +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
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
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
vyshane
2a1b4af377 Added course module groupmodes in convertion to roles logic 2006-09-20 16:54:50 +00:00
vyshane
6adc1e975d Added more overrides during restore process for forums from 1.6. Plus some bug fixes. 2006-09-20 02:59:43 +00:00
vyshane
689b19297f Fixed notice 2006-09-20 02:47:57 +00:00
skodak
21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
vyshane
e51e3fcb34 Fixed notice 2006-09-18 12:48:00 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
martinlanghoff
5a39def902 re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."
Originally by vyshane - got dropped accidentally in one of the biiiiig roles
commits.
2006-09-17 02:27:13 +00:00
moodler
b977b0a365 Fixed some subscription typos 2006-09-15 06:15:01 +00:00
vyshane
67875aa108 Fixed bug in forum_search_posts(). More testing needed still. 2006-09-15 06:04:23 +00:00
vyshane
b1342e1869 Minor formatting tidyup 2006-09-14 08:57:41 +00:00
vyshane
42fb3c858f Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities. 2006-09-14 08:44:45 +00:00
moodler
966620586e Better handling of forum id/object 2006-09-14 07:13:08 +00:00
vyshane
8d9a0ae64b Fix for MDL-6517. Patch by David Mudrak. 2006-09-14 03:18:37 +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
d6cc763f73 Added forum_role_assign and forum_role_unassign 2006-09-13 08:11:34 +00:00
moodler
8d630fda5a Expanded forum_add_user_default_subscriptions() for more contexts
Added    forum_remove_user_subscriptions()
2006-09-13 06:40:30 +00:00