824 Commits

Author SHA1 Message Date
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
skodak
895a45e231 Bug #5944 - error message when moving thread; merged from MOODLE_16_STABLE 2006-06-29 08:01:48 +00:00
vyshane
4e5e7d54b5 Merged from 1.6 stable. Error message now displays using notify() instead of
error() when purging of old RSS feeds fail during a discussion move.
2006-06-26 04:44:41 +00:00
moodler
e6dd6b9a68 No need for error when deleting RSS feed 2006-06-19 16:20:35 +00:00
moodler
e5f121c6c1 Merged XHTML fix from stable 2006-06-18 08:21:35 +00:00
vyshane
883f4e3dc6 Merged fix from 1.6 for bug:
Notice: Undefined property: id in /home/moodle/public_html/certificate/mod/forum/discuss.php on line 38

This happens when the user is not logged in and wants to view a forum of type
news.
2006-06-14 08:47:19 +00:00
vyshane
b134f6a71e Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions. 2006-06-07 08:19:34 +00:00
tjhunt
c078b2527b Fix notices when you restore a course with an empty forum. Merged from MOODLE_16_STABLE. 2006-06-06 17:25:00 +00:00
stronk7
1fa6d46069 Adding support to the forum user report action
in restore. Bug 3854.
(http://moodle.org/bugs/bug.php?op=show&bugid=3854)

Merged from MOODLE_16_STABLE
2006-06-03 17:51:20 +00:00
skodak
ee1e1a3b99 fixed warning and removed ugly hack in attachment path; merged from MOODLE_16_STABLE 2006-06-02 06:49:08 +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
skodak
27e51dfc89 sanitize submitted numerical values 2006-05-26 11:32:26 +00:00
skodak
f6f789936d fixed RSS feeds warning bug #5591; merged from MOODLE_16_STABLE 2006-05-23 10:25:39 +00:00
skodak
ebb63815f8 fixed register globals issues for $sort SC #256; merged from MOODLE_16_STABLE 2006-05-22 16:54:11 +00:00
toyomoyo
92998e94bd merged fix for 5551 2006-05-22 02:39:14 +00:00
skodak
9b7bff2699 submission in post.php cleanup, fixes for bugs #5530, #5484 and SC#252; merged from MOODLE_16_STABLE 2006-05-19 20:18:05 +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
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak
e7a8d28f57 fixed short php tags; merged from MOODLE_16_STABLE 2006-05-15 15:12:56 +00:00
skodak
3b25960385 better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE 2006-05-15 14:48:11 +00:00
skodak
62b504d20b better cleaning of post title SC#251; merged from MOODLE_16_STABLE 2006-05-15 14:32:14 +00:00
stronk7
0f5f8363d7 Now, when a single forum is restored and no user data was created,
the initial discussion/post is automatically generated. Bug 5418.
(http://moodle.org/bugs/bug.php?op=show&bugid=5418)

Merged from MOODLE_16_STABLE
2006-05-06 16:58:36 +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
skodak
f393f545d1 typo - fixed undefined $courseid 2006-04-22 17:29:46 +00:00
moodler
7b54f5636d Fix group picture in HTML mail when no CSS is used 2006-04-19 12:47:30 +00:00
moodler
2ebc8a57bd RSS feed based on modified date, not created date 2006-04-14 04:53:45 +00:00
mjollnir_
86e75a7b77 Disable gui for forum timed posts since we are not quite ready for it. All code is still there but hidden & controlled by a config var forum_enabletimedposts. 2006-04-14 04:51:43 +00:00
moodler
3d28412786 After discussion with Penny I think it's best to not include the forum
timed posts in 1.6 for now.   It still needs some work and we are
running out of time.
2006-04-14 04:47:43 +00:00
moodler
8ad644551d Merged fixes from stable 2006-04-13 12:05:37 +00:00
moodler
fbec0acb3e Strip tags from final RSS feed name 2006-04-12 08:58:20 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
mjollnir_
03c9562b40 Moving attachments attached to forum posts when moving threads between forums was broken when dataroot is over an nfs mount (important for clustering!)... this fixes it but please can somebody test this on windows 2006-04-11 05:19:56 +00:00
moodler
ff1dc0465b Merged fixes for forum_user_can_view_post from stable 2006-04-07 14:54:52 +00:00
moodler
9ee20a32f6 FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +00:00