Commit Graph

57 Commits

Author SHA1 Message Date
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +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
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
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
vyshane
628e2264b1 Adding back lines that mysteriously disapeared. 2006-08-10 05:57:34 +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
vyshane
5f672a4dd8 Fixed inserts for log_display. 2006-04-24 09:05:08 +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
patrickslee
2d71936b74 Database changes for Embargoed Announcements 2005-11-11 02:04:14 +00:00
moodler
e6ce125c68 Fixes for trackingtype upgrade and defaults 2005-04-27 06:14:01 +00:00
mchurch
eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
moodler
b71772e25e MOved updating of user forum into the right place 2005-04-25 18:07:14 +00:00
mchurch
9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
mchurch
38994d6ff7 Added the user forum tracking settings. 2005-04-24 13:27:20 +00:00
moodler
3a70cb6441 Added new script to upgrade the forum records (it has a pretty progress bar
and it means the main upgrade isn't held up.
2005-04-23 13:36:18 +00:00
moodler
36ad8acd31 Much more efficient updating of forum_read table! I think it works ...! 2005-04-22 15:48:05 +00:00
thepurpleblob
551d79f848 Fixed small sql error. 2005-04-13 07:34:43 +00:00
thepurpleblob
c5c36dac9f Whoops! Forgot prefix on the DB where clauses 2005-04-12 19:57:51 +00:00
thepurpleblob
62caf19111 Wiki-Like format in forum posts is converted to Markdown format. 2005-04-11 13:04:48 +00:00
mjollnir_
816d9586c7 New indexes for forum_posts - created & mailed. Useful for performance for the cron mailout 2005-03-29 04:32:48 +00:00
mchurch
90fd2b51aa Fixed insert_record call in forum_tp_add_read_record. Added read post
marking for posts over a day old to the upgrade procedure.
2005-01-31 19:24:14 +00:00
moodler
f37da85054 MAJOR NEW FEATURE: Tracking of read/unread posts
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me.  :-)

Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!

I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.

However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
2005-01-29 09:49:42 +00:00
mjollnir_
d21e88a938 Merged from MOODLE_14_STABLE: Indexes on forum and version bump 2004-11-18 04:10:47 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
moodler
2862b309eb Merging changes from Moodle 13 Stable 2004-07-07 17:42:53 +00:00
defacer
c9114c35e5 Fix for dumb error (extra comma) 2004-06-01 07:45:18 +00:00
defacer
5bb8c192b1 Moving some stuff to forum/db where they belong... (sorry!) 2004-06-01 07:39:27 +00:00
stronk7
8adcb49f8e First version of RSS System.
Discussion and post forum feeds supported.
Integrated in cron system.
Some strings missing.
Test, test, test...
2004-05-02 23:08:19 +00:00
moodler
016cd6af4f Discussions now store the last user to change them, as well as the
last time they were modified.   This isn't actually used yet but it
will be.
2004-02-06 13:15:15 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
moodler
02509fe667 Improvements to forum groups.
New forum_discussions->groupid now stores the group ID for the
discussion.
2004-01-23 12:09:25 +00:00
moodler
d05956ac9f Some improvements in efficiency of Recent Activity.
There is now a new field in forum_discussions which has the userid
of the author in it.  This saves a lookup every time to forum_posts.

There is also some caching and rearrangement of the logic.

It seems to work OK, I'm about to do some speed tests on moodle.org
2004-01-14 11:50:29 +00:00
moodler
3bd98ad4bc New option to allow students to see aggregate ratings on other posts (anonymous) 2004-01-01 04:48:55 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
moodler
4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00
moodler
d6bdd9d5e9 Forum grades can now be numerical as well (like the other modules).
If so, grades in the gradebook are printed as proper numbers and
contribute to the total of the course.
2003-08-25 12:47:36 +00:00