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
vyshane
951e1073da
Added has_capability calls. Reverted forum_search to pre-roles until the
...
function is totally converted to work with roles.
2006-08-14 07:37:53 +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
stronk7
49025df359
Added one comment about recursive FK for the future.
2006-08-11 18:36:47 +00:00
stronk7
b72bed89da
Give some more chars to enum fields.
2006-08-11 16:45:45 +00:00
stronk7
d7a4f74ede
XMLDB schema initial commit for forum module
2006-08-11 16:35:11 +00:00
vyshane
628e2264b1
Adding back lines that mysteriously disapeared.
2006-08-10 05:57:34 +00:00
moodler
d1516f2064
Fixed a typo, thanks Tim
2006-08-09 13:55:05 +00:00
vyshane
7613e6d7d1
More updates in lib.php
2006-08-09 09:18:31 +00:00
vyshane
f0eb2ffe85
Added mod/forum:viewhiddentimedposts
2006-08-09 09:17:37 +00:00
vyshane
0fa18d5a27
Bug fixes + updated capabilities.
2006-08-09 06:59:28 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
vyshane
9af1611a06
Replaced capability mod/forum:viewdiscussionsfromallgroups by
...
moodle/site:accessallgroups in code. Removed former from mod/forum/db/access.php.
2006-08-08 06:56:09 +00:00
moodler
bbbf2d4015
ROLES AND PERMISSIONS - FIRST CHECK-IN
...
=======================================
WARNING: DEV IS CURRENTLY VERY UNSTABLE.
This is a mega-checkin of the new Roles system. A lot of changes have
been made in core and modules.
Currently there are a lot of rough edges and known problems. We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).
Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
1322b7199a
fixed warning when no referer available; merged from MOODLE_16_STABLE
2006-07-31 10:05:23 +00:00
martinlanghoff
c1cda9df45
forum: notification of a moved dicussion (bug#4874)
...
Moving a discussion now leaves a notification message in the
original location with a link to the new location.
Author: Luke Hudson <luke@catalyst.net.nz >
2006-07-31 04:54:44 +00:00
skodak
57ea9c8fff
fixed minor PHP5 compatibility problem with clone(); merged from MOODLE_16_STABLE
2006-07-20 06:54:44 +00:00
skodak
bc1544bfc7
Bug #5909 - Fix use of user_group() because it returns arrays now - part 2 forum search fixed too; merged from MOODLE_16_STABLE
2006-07-04 08:32:05 +00:00