Commit Graph

92 Commits

Author SHA1 Message Date
stronk7 4a9f162f17 <span> tags are now allowed inside post->subject. Bug 4099.
(http://moodle.org/bugs/bug.php?op=show&bugid=4099)
2005-09-21 21:27:11 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
patrickslee cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +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
patrickslee 8b116048fd Fixed a problem that unable to post a new discussion related to mailnow 2005-12-01 20:50:22 +00:00
moodler afa3507ca2 fix for bug #4314 2005-11-25 07:11:20 +00:00
patrickslee fbc21e82be New feature: Embargoed Announcements 2005-11-10 22:50:03 +00:00
moodler fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
stronk7 50d83d8f05 <span> tags are now allowed inside post->subject. Bug 4099.
(http://moodle.org/bugs/bug.php?op=show&bugid=4099)

Merged from MOODLE_15_STABLE
2005-09-21 21:29:09 +00:00
thepurpleblob 70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
moodler 1da8c5685a New function to update the last post in a given discussion.
Called whenever deleting posts or splitting discussions - bug 3050 (SE).
2005-04-28 07:42:14 +00:00
defacer c6c3a59941 Initializing $parent to new stdClass was a major oops. However, seems it doesn't
need to be initialized at all. So I won't hold this against the practice in general.
2005-04-26 21:50:44 +00:00
defacer a2ad73deb9 Initialize object as new stdClass instead of NULL. 2005-04-26 21:26:17 +00:00
defacer 16955dc619 Some double quotes to single, use optional_param for $reply.
I 'm debugging some PHP5 notices which aren't just notices, they imply
there's a bug somewhere here? Or maybe an inconsistency in parameter types
of the variables being passed around...
2005-04-26 20:39:08 +00:00
mchurch eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
moodler 8cb091e643 Fixed a minor PHP warning. Bug 2979. (SE) 2005-04-21 08:11:07 +00:00
moodler 0d5da5dd1f Just tidying 2005-04-19 16:05:50 +00:00
moodler b82faacd03 Fix for bug 1938. Now a teacher can delete any post, and all the
children are deleted as well (after a warning and a preview of the
affected posts).
2005-04-19 11:25:59 +00:00
moodler 63e20b8854 Merge fix from stable 2005-04-13 09:19:48 +00:00
stronk7 c78ac79818 Now discussion->name works under filterall. 2005-03-26 17:11:30 +00:00
stronk7 17dc3f3cc6 Now post->subject works under filterall too. 2005-03-26 11:43:16 +00:00
stronk7 3849dae80f Now the FIRST string working under CFG->filterall is done:
forum->name
(everything tested but email)

(I'm going to maintain a list of strings in Developers Wiki)
2005-03-26 01:57:40 +00:00
gustav_delius cd8d4471c8 Print course in footer 2005-03-17 15:12:07 +00:00
gustav_delius e6157a7368 fixed typo leading to bug 2723 2005-03-13 09:56:10 +00:00
moodler 556963f5f1 Much more user-friendly for guests 2005-03-06 06:48:48 +00:00
moodler c59eb3416a Got rid of the dead end when guests are trying to post 2005-03-06 06:20:37 +00:00
gustav_delius ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
gustav_delius 8203d211ad Fix bug 1937 2005-02-14 00:04:09 +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
moodler d30867b0bf Removed some THEME stuff 2005-01-25 14:28:47 +00:00
urs_hunkler 680afe2e26 _ added the DIV framework for new CSS 2005-01-19 13:16:29 +00:00
moodler 21da9db80b When posting a new topic, display the forum description to help
orient the posting.  Also changed some headings slightly to make more
sense.
2004-12-14 06:26:43 +00:00
moodler f7abd64afb Merged changes from stable 2004-11-23 03:43:24 +00:00
moodler 9814a0eda6 Merged $parent initialisation from stable 2004-11-01 12:49:04 +00:00
moodler 325505f4ed XHTML changes and general tidy up 2004-10-29 06:50:52 +00:00
moodler 6d8e38e973 Merged from stable - Only break up subject lines for recent activity bug 1995 2004-09-25 13:11:22 +00:00
gustav_delius 8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
mjollnir_ db290a6efc Fix for forums to behave slightly in a more friendly manner for reporting stuff about file uploads.
Also told upload class to not complain if there isn't a file selected.

These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-81
    2004-09-19 23:48:54 GMT
    Penny Leach <penny@catalyst.net.nz>
    fix for forum to print out messages including virus stuff and increase in time before redirect as there is more to read

Full logs:

Revision: moodle--eduforge--1.3.3--patch-81
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Sep 20 11:48:54 NZST 2004
Standard-date: 2004-09-19 23:48:54 GMT
Modified-files: mod/forum/lib.php mod/forum/post.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-81
Summary: fix for forum to print out messages including virus stuff and increase in time before redirect as there is more to read
Keywords:
2004-09-20 00:04:44 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius 41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
moodler 3b7d3db5de Don't clean posted text on input (will be cleaned on output). 2004-08-09 14:56:03 +00:00
moodler 29ad118c2f Merged recent fix from stable 2004-08-07 02:44:38 +00:00
moodler 0d1db48ee0 FIxes some course language problems 2004-07-13 14:11:17 +00:00
moodler 13152de482 Fixed a wrinkly prune (cou;dn;t update posts containing quotes) 2004-07-08 14:39:15 +00:00
moodler 2862b309eb Merging changes from Moodle 13 Stable 2004-07-07 17:42:53 +00:00
gustav_delius 8e8d0524af made sure that the guest autologin does not happen when user replies to post 2004-07-01 22:29:04 +00:00
moodler 4d35d88bcd Fixed a typo I just made 2004-06-29 03:49:51 +00:00
moodler d078ee9bf4 Slight changes to prunng code (first post now assumes discussion name) 2004-06-29 03:46:17 +00:00