56 Commits

Author SHA1 Message Date
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 & 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
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
gustav_delius
cf84431be0 Can now break off posts into a new discussion, see bug 673 2004-05-30 17:25:26 +00:00
defacer
e9584ca3e2 Fix for bug 1453:
Automatic "Re:" prefixes in forum replies now don't get chained in languages
where the "re:" string has length != 3.
2004-05-24 10:04:59 +00:00
moodler
806021014b Some fixes to ensure students can't post to hidden forums 2004-04-30 01:54:56 +00:00
moodler
36257d39d5 Check attachment variable to prevent warnings 2004-04-25 02:15:48 +00:00
moodler
db46e49c9d Use break_up_long_words 2004-03-10 02:19:34 +00:00
stronk7
b17333be71 In the delete discussion action, as the discussion no longer exists,
point the url to view the forum instead of the discussion.
2004-02-22 11:50:09 +00:00
stronk7
96d6fc8f14 Solved small bug in delete discussion action, where the
info field was storing the post->id rather of the discussion->id field
2004-02-22 11:40:44 +00:00
moodler
b8be40ce52 Variable $CFG->admineditalways will enable admin editing all the time 2004-02-18 03:30:05 +00:00
moodler
83ec909837 Allow <lang> tags in forum subjects.
And filter them is $CFG->filterall is on
2004-02-15 10:16:12 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +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
f8029045de Don't show replies when re-editing a post. 2003-12-12 08:46:24 +00:00
moodler
2e82fd38c1 This has been annoying me for ages, and the fix is so simple.
When replying to a post that already has replies - the replies
are listed in threaded form.
2003-12-12 08:20:45 +00:00
moodler
3bbde52099 Don't focus on the post message (upsets html editor) 2003-11-04 12:42:42 +00:00
moodler
4b00b4b34a Update to use new editor stuff 2003-11-03 16:49:37 +00:00
moodler
908d7b30fb Seems to be working pretty good - removing old lines no longer needed 2003-06-20 06:58:42 +00:00
moodler
b22b0e61f0 An initial effort at making posts return to correct context 2003-06-20 06:35:09 +00:00
moodler
0a9f61b55f When posting a forum, users can unsubscribe/subscribe on the fly.
The flag has a memory, but it keeps pushing you to subscribe.  :-)
(so that by default it behaves like it did before)

Hopefully now subscription is a bit easier to understand.
2003-05-13 13:53:36 +00:00
moodler
3395f2d67e Forum posts are now not allowed to have blank subjects or messages,
if a message is entered with one of these blank then the user gets
an error message and a chance to re-edit the message.
2003-04-24 14:05:47 +00:00
moodler
3e7542449b Removed save_session() - no longer necessary 2003-02-27 02:49:18 +00:00
moodler
48d38fad63 Some robustness fixes 2003-01-23 02:50:38 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
3b7c1de95e Changes to improve robustness of uploads, and make things compatible
with PHP 4.3.0.  Also some translation fixes with upload strings.
2003-01-05 04:20:32 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
0ae5e5ea2d Fix default cursor 2002-12-30 03:38:59 +00:00
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
1f48942e7d Further SQL cleanups 2002-12-23 07:01:06 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler
6c506ca744 Disallow people posting in forums where they arent allowed to post! 8-. 2002-10-25 07:22:59 +00:00
moodler
213e8cc67d Better default options, and hiding of moodle-text help when htmlediting is operational 2002-10-10 09:27:49 +00:00
moodler
73bb08357c Initial attempt at adding html text editor features to these forms. 2002-10-10 07:27:57 +00:00
martin
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00