106 Commits

Author SHA1 Message Date
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +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
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
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
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +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
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
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
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
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
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
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
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
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
stronk7
2dbd7916e0 Adding propper support for the forum->user report log action. It was
a bit wrong. Code credits go to Petr!

Merged from MOODLE_16_STABLE
2006-06-01 23:16:08 +00:00
martinlanghoff
dbfc642a87 moodle16cleanup: mod/forum correctly dropping the constraint, so it does
not report an error during upgrade
2006-05-17 06:42:28 +00:00
martinlanghoff
c4ca8d4596 moodle16cleanup: mod/forum added notification message 2006-05-17 06:29:15 +00:00
vyshane
5f672a4dd8 Fixed inserts for log_display. 2006-04-24 09:05:08 +00:00
vyshane
f53d75517e Fixed inserts for log_display table 2006-04-24 08:11:35 +00:00
moodler
9ee20a32f6 FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
toyomoyo
70eed352e6 fixing a problem with enum 2006-02-08 03:30:26 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
677169b9dc fixing typo 2006-01-27 04:31:46 +00:00
mjollnir_
41547057cc Merged Patrick's mailnow patch. This allows admin users the ability to override maxediting time and have forum posts mailed out immediately. 2006-01-19 23:52:08 +00:00
mjollnir_
a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
mjollnir_
325a76ead3 Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit 2006-01-16 05:36:33 +00:00
mjollnir_
098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
patrickslee
2d71936b74 Database changes for Embargoed Announcements 2005-11-11 02:04:14 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
paca70
79fb043e3e Use integer instead of tinyint with postgres 2005-04-27 13:14:54 +00:00
moodler
e6ce125c68 Fixes for trackingtype upgrade and defaults 2005-04-27 06:14:01 +00:00