441 Commits

Author SHA1 Message Date
moodler
3829c7bdd0 Added es_mx from Claudio ... :-) 2002-11-15 16:59:15 +00:00
moodler
0431bd7c73 Extend the range of allowable timezones up to 13 hours ... (NZ Daylight savings) 2002-11-15 02:46:48 +00:00
moodler
d483bcd35d Typo in variable 2002-11-14 11:48:01 +00:00
moodler
98c4eae3ac Set the character set of email to be the same as the default language 2002-11-14 11:45:14 +00:00
moodler
a15803d3d8 Argh ... fix for Netscape fix - was causing problems on other browsers 2002-11-14 06:22:13 +00:00
moodler
f8ef7d66a2 Getting ready for 1.0.6.3 release today 2002-11-14 03:14:10 +00:00
moodler
13beeacbcd New course option to enable/disable display of "recent activity" 2002-11-12 04:26:16 +00:00
moodler
3635d82ff3 Updated version for final release of 1.0.6.2 2002-11-11 08:25:41 +00:00
moodler
7bee16d404 More sensible varible names 2002-11-10 08:55:39 +00:00
moodler
dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler
3e50a13968 Fix to break out of frames 2002-11-10 08:08:23 +00:00
moodler
4359e8f715 Typo in navmenu 2002-11-10 07:59:01 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
8dfc9d0f19 Using LOCALE defines, not strings 2002-11-08 01:33:04 +00:00
moodler
f426a62eff Header "login" link now breaks out of possible frame 2002-11-07 11:18:18 +00:00
moodler
6f3ba7c93d Make a $homepage flag for use in footers 2002-11-06 15:46:12 +00:00
moodler
65ccdd8cc8 When using loginas to be a student, you can now return to being
yourself using a link in the footer.  Improvements to footer display
2002-11-06 07:54:44 +00:00
moodler
5ebe27e22c Fixed notices a bit 2002-11-05 16:47:30 +00:00
moodler
cb909d74ca Fixes to prevent teachers using loginas to enter other courses as that student 2002-11-05 16:38:02 +00:00
moodler
9f58537a53 Added SMTP authentication for email delivery 2002-11-05 06:06:18 +00:00
moodler
7209909ec9 On second thoughts, don't apply locale to numbers because it may
affect some calculations.   Just strings and times.
2002-10-29 15:33:09 +00:00
moodler
fa0c7d6d91 Use the locale to set everything (eg string conversions, comparisons,
money numbers etc instead of just the time)
2002-10-29 15:25:22 +00:00
moodler
533e975551 Added session.auto_start (off) ... having it turned on will break Moodle
on some versions of PHP
2002-10-29 12:30:31 +00:00
moodler
53f2259aa9 Added short_open_tag 2002-10-29 04:04:08 +00:00
moodler
0ee8d9203e Added some commented-out code that MIGHT help people with string slash problems. 2002-10-26 02:31:49 +00:00
moodler
7beb45d8a0 Upgrading all news and social forums (except those in social courses)
so that they are course modules in an (invisible) section, which means
they are now editable and parameters, names etc can be changed.
2002-10-25 08:47:53 +00:00
moodler
87a2fa0338 Tweaks 2002-10-25 07:17:23 +00:00
moodler
72c578ca4d Mail now contains Moodle version 2002-10-23 12:12:01 +00:00
moodler
e7311a0a56 Changed name of upgrade_moodle function to main_upgrade (for consistency) 2002-10-23 04:10:10 +00:00
moodler
377f3c9ee4 new function print_heading_with_help() to print a heading with a helpbutton 2002-10-22 09:54:36 +00:00
moodler
840aaba179 Added some more allowed HTML tags 2002-10-21 09:16:06 +00:00
moodler
be025399d8 Table header aligns to top 2002-10-21 06:51:56 +00:00
moodler
09a4ce320c Changes to toolbar to position color pickers better, and
reintroduce the "select all" button.  Unfortnately, I had
to remove the "About richtext" button to make room
2002-10-21 05:42:37 +00:00
moodler
4168490e17 Added paragraphs to allowed HTML tags 2002-10-21 04:12:54 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00
moodler
c74a0ca5c2 Category editing in quizzes is now supported. Some other little
cleanups along the way ...
2002-10-20 17:15:39 +00:00
moodler
16c0beb00b Strip slashes from print_simple_box (just in case) 2002-10-20 10:12:12 +00:00
moodler
c1d5710174 Cleaned up format a little, plus added better error checking of server
variables so that at least people will get feedback if they are missing
2002-10-19 04:58:14 +00:00
moodler
0be05df068 Find URLs at the beginning of lines ... 2002-10-18 17:05:17 +00:00
moodler
3fe3851d57 OK, I've rationalised the text formatting now. Basically, both Moodle and
HTML text allow the same range of HTML tags (so it doesn't matter is you
switch from one to the other).

<IMG> and <A> are now ALLOWED in Moodle text.  However, the clean_text
function now checks for and removes any embedded javascript triggers
to avoid cross-site scripting attacks that way.

clean_text() should be called on ANY text that comes in from students.
2002-10-18 09:09:19 +00:00
moodler
a0bac19d81 Whoops ... typo. 2002-10-18 09:00:09 +00:00
moodler
57243ffe02 Also set default language on new user created by external authentication 2002-10-18 08:52:33 +00:00
moodler
08beb3327b Allow <IMG> tags in Moodle format text. Not having it can really mess
up smileys etc if the text has been edited at any stage using the
richtext editor.

I realise it's possible for students to really mess up forums display
etc if they wanted to include a huge picture ... I'm not sure if there
are any cross-site scripting attacks possible with images in there.

But there is also now the HTML format for most things, which is editable
using an ordinary form, so this problem is currently already exposed.

I think it's OK as long as can find a filter to strip all javascript
out of ANY format text in Moodle.
2002-10-18 06:05:56 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00
moodler
5f652ac38e Alt text on moodle logo 2002-10-16 15:48:22 +00:00
moodler
7ce20f09cb Changes related to module editing buttons 2002-10-16 04:53:44 +00:00
moodler
55c2620784 Got rid of the wimpy icons in the top-right corner of pages and put some
manly buttons there.  ;-)   I think this will be much clearer for novices,
as well as being a bigger target for experts!
2002-10-15 16:47:43 +00:00
moodler
ff80e012b0 Miscellaneous little changes from today ... 2002-10-14 16:00:55 +00:00
moodler
3df49694a9 New function to print richtext javascript 2002-10-12 15:00:34 +00:00
moodler
e1947876ec Moved the object code out into a function print_textarea 2002-10-12 07:23:16 +00:00