96 Commits

Author SHA1 Message Date
Petr Skoda
3fbab486e0 MDL-24224 moving forum attachments stored in incorrect area 2010-09-19 16:04:17 +00:00
Andrew Davis
d4514e46fc forum MDL-23388 altered the logic around making users exempt from the forum post threshold 2010-08-26 07:36:23 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Andrew Davis
b58bd1a2fa forum MDL-23145 switched forum digests over to just use email instead of being chanelled through messaging 2010-07-08 08:08:16 +00:00
Andrew Davis
c506e35496 rating MDL-21657 updated rating upgrade process that drops old rating tables 2010-04-28 03:12:49 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Andrew Davis
c7b9082a6a rating MDL-22063 made the scale id column signed to allow for the +ve -ve scale id hack 2010-04-13 05:50:25 +00:00
Andrew Davis
9288633dd7 rating MDL-21657 shifted the rating migration code out of the main upgrade script and into the modules 2010-03-19 08:26:38 +00:00
Sam Hemelryk
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
stronk7
9b66b300c6 MDL-18227 forum ratings - clean wrong records; merged from 19_STABLE 2009-05-04 08:44:51 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak
18b5df9155 MDL-18910 normalised module intro and introformat 2009-04-20 19:29:15 +00:00
skodak
6507d1a97e MDL-18910 normalised module intro and introformat 2009-04-20 19:10:05 +00:00
skodak
e2d7687fc4 MDL-18902 reimplemented trusstext support in forum + standardising format column for text fields 2009-04-20 11:36:01 +00:00
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
skodak
39f13edb4b MDL-16072 fixed pg problem 2008-08-18 22:31:47 +00:00
mjollnir_
f98b13a650 MDL-15758 and MDL-15768
- updated forum portfolio code to use files api and added forum export caps.
2008-08-18 18:31:17 +00:00
skodak
0faf6791f4 MDL-16072 File storage conversion Forum 2008-08-16 21:24:05 +00:00
moodler
120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
skodak
90f4745c22 MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE 2008-04-13 19:15:02 +00:00
skodak
347037d838 MDL-13866 scale ratings do not work in forum; merged from MOODLE_19_STABLE 2008-03-10 21:19:45 +00:00
skodak
b30f2e92ba MDL-13866 scale ratings do not work in forum; merged from MOODLE_19_STABLE 2008-03-10 10:46:42 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
moodler
f3c3a4d3b1 Added a timemodified field to forum_queue, and we now delete records
that are older than a week before processing digests.

After upgrade it's possible that some posts will be lost this way but
on the other hand it ensures that sites with problems like moodle.org
had will start working again.

We still need a recordset added to the digestposts loop.

MDL-11657
2007-10-10 02:52:25 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak
353228d8f4 MDL-9548 Implement grade_updated event triggers in Forum 2007-06-03 16:24:03 +00:00
toyomoyo
a7bb9b8ff2 merged fix for MDL-8981, roles assigned at site level may result in a lot of default subscriptions 2007-03-21 06:07:46 +00:00
skodak
c718dd57ba MDL-8578 new capability for adding and replying to news in forum 2007-03-02 19:41:31 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
moodler
dae2952a59 Fix throttling capabilities so this works MDL-7414 2006-11-09 09:28:59 +00:00
skodak
d43d749a1b forum throttling capability meaning reversed 2006-09-20 21:25:51 +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
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
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
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
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
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
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_
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
moodler
4ad916da57 Bump version to upgrade db for Patrick's new feature 2005-11-18 05:02:07 +00:00