Commit graph

706 commits

Author SHA1 Message Date
moodler
7f094149b3 Fixed SQL for Oracle (forum searching) MDL-7317 2006-11-01 06:29:52 +00:00
moodler
669f2499a7 Merged some performance improvements from stable 2006-10-29 07:23:57 +00:00
moodler
f274fe073c Merged AS keyword fixes from stable MDL-7207 2006-10-25 09:04:25 +00:00
skodak
00e12c7332 fixed When unassigning a role, forum_role_unassign unsubscribes the user even if you have other roles there MDL-7120; merged from MOODLE_17_STABLE 2006-10-24 20:22:30 +00:00
moodler
89c355e5cb Merged fix for letting guests see discussion post button from stable 2006-10-23 13:23:16 +00:00
moodler
a321d42bcd Better handling for guest in forums MDL-7125 2006-10-23 04:55:20 +00:00
moodler
4c57e8e502 Merged XHTML fixes from stable 2006-10-22 08:14:20 +00:00
toyomoyo
80dfce19ae merged, fixed an infinite loop 2006-10-20 05:09:37 +00:00
moodler
5469bd9c2b Merged fix from stable (forum search form help button) 2006-10-20 03:35:29 +00:00
skodak
d9bd99476c temporary patch for the forum trouble that is breaking installs MDL-7114 ; merged from MOODLE_17_STABLE 2006-10-19 22:44:00 +00:00
stronk7
211836549f Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 22:13:53 +00:00
skodak
4f93f5ba08 Notice when creating one forum... MDL-7063 ; merged from MOODLE_17_STABLE 2006-10-18 19:59:27 +00:00
skodak
b9ecde8738 Fix forum reset - remove "DELETE .. USING ... " mysqlisms MDL-7053 ; merged from MOODLE_17_STABLE 2006-10-17 21:06:50 +00:00
toyomoyo
ac52f2910b merged fix for MDL-6968 2006-10-17 05:18:52 +00:00
toyomoyo
f0ef40c55f merged proper fix for MDL-6926 2006-10-17 04:46:34 +00:00
toyomoyo
8e3f0e3d41 merged fix for MDL-6926 2006-10-17 04:38:33 +00:00
moodler
2179989947 Merged bogon fix from stable 2006-10-10 07:43:19 +00:00
vyshane
ee5cdf3466 Removed teacher forums from course reset. 2006-10-10 05:23:44 +00:00
vyshane
25b75c6053 Merged fix for MDL-6537 2006-10-10 05:20:43 +00:00
stronk7
97ab73aad4 Add odbc_msql dbtype to a bunch of places. 2006-10-09 22:55:55 +00:00
vyshane
1a7cdb11b4 Merged fixes for MDL-2583 2006-10-05 03:18:29 +00:00
vyshane
9ed7d7e162 Merged fix for MDL-6681 2006-09-28 08:29:17 +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
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
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
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
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
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
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
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
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
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
stronk7
8289a52ff0 Now forum searches are working both under MSSQL and Oracle
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches)
2006-09-06 15:29:26 +00:00
stronk7
9eabd190c1 Now forum_get_discussions() is using $limitfrom and $limitnum 2006-09-05 22:37:56 +00:00
stronk7
b66458257d Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
join there, if every discussion has one usermodified but.....not time now.
2006-09-05 22:31:13 +00:00
stronk7
dcb8916f2d notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify().

Thanks to one "orphan" forum in moodle.org (234) we detected this.
2006-09-03 22:32:14 +00:00
moodler
e084b2f98b Replaced forum_get_user() with forum_add_user_default_subscriptions() 2006-09-03 08:01:48 +00:00