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
moodler
1a072208ce
Smilies are now replaced even in HTML text, and small fixes
2002-10-12 05:09:49 +00:00
moodler
75096957ca
Keep this one here :-) for the interface
2002-10-12 04:19:51 +00:00
moodler
2ec69fce6a
Added a function useful for debugging Javascript problems
2002-10-12 04:09:51 +00:00
moodler
696f751f7a
Swapped clown for surprise - looks better that way
2002-10-12 04:04:59 +00:00
moodler
c828070ac9
Deleted these icons because I'm not using them. The editor now uses
...
the standard Moodle icons instead.
2002-10-12 04:03:23 +00:00
moodler
cd68ebfaef
This page now uses the Moodle standard icons for consistency
2002-10-12 03:55:50 +00:00
moodler
84f98bc8a9
Removed references to btnPost because I don't use it
2002-10-12 03:54:56 +00:00
moodler
c9dda99059
Modified text_to_html to use the new smilies, which for efficiency are
...
now defined in a global array, and use str_replace instead of ereg ...
2002-10-12 03:53:40 +00:00
moodler
541117b6cb
Changes to support choice of language direction (so that languages
...
like Arabic, Hebrew etc will work)
2002-10-11 02:31:37 +00:00
moodler
0095d5cd3c
Additions to cope with richtext editor being used in some forms.
2002-10-10 07:26:10 +00:00
moodler
de909d238d
Adding a beta version of Rich Text Editor, for embedding into Moodle
...
forms (forums, readings, journals etc). Works only on IE 5.5 and later.
Slightly customised for a slimmer toolbar.
2002-10-10 07:21:32 +00:00
moodler
bc0750aaae
Arg .. so much for quick hacks ... this code is so messy it's
...
a hassle to hack ... going back to the way it was originally, with
just a more informative error message instead.
2002-10-09 14:20:24 +00:00
moodler
0bdce31166
Changes to avoid cryptic errors
2002-10-09 14:08:33 +00:00
moodler
f8e4809a03
New function print_file_picture for printing a picture from the
...
files area, or optionally from a URL
2002-10-06 17:20:32 +00:00
moodler
31f0900c61
Moved upgrade_moodle functions out to database-specific files, because
...
the SQL is not compatible (nor is it possible to make it so).
2002-10-05 17:09:31 +00:00
moodler
e858f9da96
create_new_user() can now import other fields from an external source
...
if the function for it has been defined. (Petri's code with additions by me)
2002-10-05 16:49:42 +00:00
moodler
7d95ed97c7
User's name in footer is now a link
2002-10-03 11:11:53 +00:00
moodler
8dbed6be60
format_time() now supports language strings for day(s)/hour(s)/min(s)/sec(s)
...
String lookups are cached in user/index.php for efficiency
2002-10-03 04:04:59 +00:00
moodler
4bfa92e714
Added new header to all pages to set the current charset, to help browsers
2002-10-02 10:33:05 +00:00
moodler
7fbd6b1c0b
Don't use getenv anywhere - not necessary and breaks PHP under ISAPI
2002-10-02 02:05:29 +00:00
martin
8dcea3963a
Added a few more allowed HTML tags in plain text files. <dl> <h1><h2><h3> <hr>
2002-09-27 14:48:25 +00:00
martin
91ac0405fa
A little extra error checking.
2002-09-27 04:53:27 +00:00
martin
3ef909ca58
Removed encoding setting because i suspect it may be messing with SMTP mail
2002-09-27 01:35:25 +00:00
martin
faebaf0f40
First implementation of new authentication system, which can now use
...
pluggable modules in the 'auth' directory.
Everything is done through authentication_user_login in lib/moodlelib.php
As well as the old default "email" confirmation, I added a new type of
confirmation "none", which basically does no confirmation at all.
2002-09-26 07:03:22 +00:00
martin
ab998e5d07
Check for USER->email in require_login. With external authentication
...
schemes it's possible that the email field could be empty, so this
will force users to update it (and the rest of their profile) any
time they log into a course.
2002-09-26 03:51:31 +00:00
martin
96dad0de43
Added DirectoryIndex stuff
2002-09-25 16:33:54 +00:00
martin
7104dfc9ef
Added new postgres7 schema, developed by Felipe Rodrigues da Silva <felipe@pontoexe.com>. Thanks Felipe!
...
I've personally not tested this yet so PostgrSQL user feedback is encouraged!
2002-09-25 15:16:21 +00:00
martin
04ad372d93
Improved explanations for how to use this file
2002-09-25 12:33:21 +00:00
martin
a28af1fe74
New set_config() and better use of $CFG->version
2002-09-23 15:40:16 +00:00
martin
1e22462d01
Fixed up default-sized tables again
2002-09-23 07:02:26 +00:00
martin
45aa6d563c
Fixes to unenrolling students, and unenrol_student() and remove_teacher()
...
now remove forum_subscriptions correctly
2002-09-22 14:33:21 +00:00
martin
274f62e6d5
Fixes to table widths
2002-09-22 14:11:45 +00:00
martin
d578afc883
Major cleanup of user administration and display, including sortable listings,
...
confirmation on deletions, removing deleted user from all student lists,
teacher lists and subscription lists and freeing up their username and
email to be used again.
2002-09-22 14:06:38 +00:00
martin
01a086c3dd
Support for new deleted field in user table
2002-09-22 03:11:05 +00:00
martin
bb09fb1157
Changes to enable DELETION of user accounts. Accounts aren't actually
...
deleted, they are just marked with a deleteion flag that prevents them
from logging in, or from being listed anywhere.
2002-09-22 03:01:17 +00:00
martin
562bbe9074
Make mail format explicitly 8bit
2002-09-21 08:39:54 +00:00
martin
dccd16712a
Slight additions to print_table
2002-09-21 05:43:46 +00:00
martin
c07daf5bbc
Added lang for users
2002-09-21 05:43:21 +00:00
martin
08056730fa
Improved interface for course/teachers.php ... instead of typing numbers
...
into a box there is now a menu for each user. Much better!
2002-09-19 14:51:49 +00:00
martin
ae7aafeb53
Got rid of errorlevel configuration - more trouble than it's worth!
...
Hardcoded it into setup.php now - people who are that keen can change
it there.
2002-09-19 14:07:24 +00:00
martin
74944b734d
Most of the configuration variables have been moved out of the config.php
...
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
a9858957e1
Typo
2002-09-16 07:08:33 +00:00