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
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
vyshane
6e89ca5527
Fix for MDL-6405
2006-09-11 03:13:52 +00:00
stronk7
428aa337b8
Disable regexp searches for MSSQL and Oracle
2006-09-06 15:30:11 +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
d0d5525d93
Included course/lib.php to be able to rebuild_course_cache()
...
It was working until some time ago, but now it's required.
2006-09-04 19:33:27 +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
stronk7
446a78cd4a
notice() should be allowed at install/upgrade. It stops the whole
...
process without need to do it. Changed to notify()
2006-09-03 22:30:13 +00:00
moodler
e084b2f98b
Replaced forum_get_user() with forum_add_user_default_subscriptions()
2006-09-03 08:01:48 +00:00
moodler
9aeeb39286
forum subscriptions use capabilities
2006-09-01 06:56:24 +00:00
vyshane
7b12414814
Fix for bug MDL-6385
2006-08-29 02:09:31 +00:00
stronk7
683ff5d4f3
Dropping forum.open and forum.assesspublic
...
(mimic from .sql files)
2006-08-28 16:20:52 +00:00
vyshane
5ce6f628ba
Dropping forum.open and forum.assesspublic from .sql files. Added forum
...
upgrade to roles code to postgres7.php.
2006-08-28 03:51:38 +00:00
skodak
f2b5d7e3b7
trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes
2006-08-27 20:45:04 +00:00
vyshane
e1b5643ff7
Changes to take care of forum upgrade to new roles system. Backed up forums
...
will also be converted to the new roles system if the backup was made
pre-roles.
2006-08-25 02:41:16 +00:00
vyshane
5cae056c45
Removed deprecated teacher forum type
2006-08-22 07:42:34 +00:00
vyshane
45c38eef4c
Removed deprecated forum type teacher.
2006-08-22 07:38:01 +00:00
vyshane
d604bdeaed
Added prevent for mod/prevent:createattachment for default students and guests
...
in teacher forums
2006-08-22 05:56:45 +00:00
vyshane
9fa3350862
Upgrade now works. Needs more testing.
2006-08-22 05:45:43 +00:00
vyshane
f13a5fa609
Removed forum->open config since roles will take over this
2006-08-22 02:43:58 +00:00
vyshane
ac195b6fa6
Need to pass the module id and not the object to add_course_module
2006-08-22 02:24:45 +00:00
vyshane
c1de8b8a80
Fixed bug - empty teacher forums (deleted) should not have a course module
...
created for them.
2006-08-21 08:45:12 +00:00
vyshane
f0da6b858e
Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
...
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
skodak
7f5495053f
fixed short php tag and end tag in comment
2006-08-19 11:15:59 +00:00
vyshane
e6416e3f12
Updated upgrade to roles system
2006-08-18 07:08:14 +00:00
vyshane
314af32a92
Forum upgrade to roles in progress (commented out).
2006-08-18 04:17:31 +00:00
vyshane
c39f126780
Fixed warning
2006-08-17 03:52:05 +00:00
toyomoyo
b3e900cee6
some more UI change
2006-08-16 09:11:43 +00:00
vyshane
e40a7a3c8b
Fixing notices
2006-08-16 03:24:43 +00:00
vyshane
87ca0adf00
Fixed forum_print_post. Thanks Yu :)
2006-08-16 02:33:43 +00:00