799 Commits

Author SHA1 Message Date
moodler
4337380421 Email addresses are now well and truly obfuscated on public profile pages 2003-07-11 08:38:39 +00:00
thepurpleblob
28683e6c3b Added support for mailto links 2003-07-08 09:10:22 +00:00
moodler
0d27c9ea8b Upgraded ADOdb to 3.60 ... supposed to be faster plus has bugfixes 2003-07-05 06:23:27 +00:00
moodler
2b32bdddb9 Keep strings cached in memory during a single page to improve performance
on slow filesystems or bad file caching.   (experimental)
2003-07-03 12:19:54 +00:00
moodler
3405b2123f For plain format, retain multiple spaces 2003-07-02 11:59:20 +00:00
moodler
df3fd24968 Better check of server name for unusual web servers 2003-06-28 18:45:19 +00:00
moodler
dc7e8cb582 Add LIMIT of 1 to get_record functions ... the behaviour of returning false
when there were more than one record returned was sometimes causing
problems if the data was unclean due to a bug somewhere.

For example, if there are two copies of a section, then Moodle keeps
creating new ones because it can't find ONE.  This fix prevents that.
2003-06-19 02:18:51 +00:00
thepurpleblob
5c408aeb8c Added dreadful spell checker option
Fixed bug where formatting at end of line failed
Removed substitution for single quotes bug (ended up as double)
2003-06-18 14:33:51 +00:00
moodler
71e8bd81c4 Replace script stuff with xxx instead of space to avoid repeating sequences 2003-06-14 08:41:40 +00:00
moodler
4171f9b9a8 Fixes to colorchooser 2003-06-14 06:30:04 +00:00
moodler
6feed269ba Some style changes to reduce the size of the richtext toolbar 2003-06-13 16:06:55 +00:00
moodler
ef5db7243b <em> tag added to the list of allowed tags 2003-06-13 06:57:42 +00:00
moodler
db356340d8 Use parentlanguage when printing documentation 2003-06-12 11:55:29 +00:00
moodler
b947c69a71 Cleaned up get_string for language strings - slicker now
Added new feature: if a string "parentlanguage" exists then that
language will be tried before defaulting to English.

Useful for dialects or other languages that are similar.

For example, all the Spanish translations can default to "es"
2003-06-12 03:27:24 +00:00
moodler
0cd84e67ea Added a check to disable VBSscript as well 2003-06-09 06:18:45 +00:00
moodler
f1c9d90fbb Better regular expression to catch javascript triggers 2003-06-09 05:54:14 +00:00
moodler
fc1207584a Better way of stripping Javascript using regular expressions 2003-06-09 03:00:23 +00:00
moodler
f99329636f Forgot some string conversions 2003-06-08 11:49:25 +00:00
moodler
f207d09a64 More explicit byte-order of strings to make it work on non-Intel machines 2003-06-08 11:40:29 +00:00
moodler
f065b63894 Fixed pass-by-reference 2003-06-08 11:25:45 +00:00
moodler
d1a3dc8867 The session is now named "MoodleSession" to prevent conflicts with
other software.
2003-06-07 06:35:12 +00:00
moodler
72e4eac6c8 Use C-version of str_ireplace() if it is defined (PHP 5 only). 2003-06-06 09:46:27 +00:00
moodler
a46092d2d3 Added some missing Javascript events 2003-06-06 06:17:59 +00:00
moodler
aaa2ebbb0f Add slashes to title to avoid errors with quotes - see bug 479 2003-06-02 16:16:02 +00:00
moodler
7f9bd7b9c3 Smileys now work in all Wiki texts 2003-05-29 15:39:51 +00:00
moodler
423b77166d A very small speed improvement 2003-05-29 15:24:14 +00:00
moodler
e260f95baa No need to do smilies 2003-05-29 15:08:00 +00:00
thepurpleblob
963163137f Smiley support added 2003-05-29 13:42:31 +00:00
moodler
16cba4cf88 Latest changes from Howard Miller 2003-05-27 14:25:15 +00:00
moodler
16ba73512e Slight improvements to import of global variables
- don't globalise cookies
  - better checking of lang variables
2003-05-26 15:38:52 +00:00
moodler
3662bce5b4 A few tweaks for robustness. 2003-05-26 14:43:19 +00:00
moodler
8d2accb64c More robust check of argument 2003-05-26 07:54:53 +00:00
moodler
644f6213f1 Removed funny line feeds? Hope so. 2003-05-26 02:44:29 +00:00
moodler
8fad496688 Still trying to get this retun situation sorted out 2003-05-26 02:42:49 +00:00
moodler
c451c1f6bd Removed mystery character? 2003-05-26 02:40:26 +00:00
moodler
c8ddb345b9 DOS format 2003-05-26 02:32:11 +00:00
moodler
05c7ec6f2b Trying to force DOS format 2003-05-26 02:20:39 +00:00
moodler
3926deafe1 Removed three lines - this fixes the path problems occurring when
extracting files in Moodle on Windows platforms.

This should not affect normal use within Moodle on other platforms.
2003-05-25 12:46:17 +00:00
moodler
bb515027b5 The single quotes caused problem on the rare occasions that these
unset strings were being written to the database
2003-05-24 02:34:29 +00:00
moodler
7f2a3e678e New field for user: autosubscribe
This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.

(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
2003-05-23 05:32:40 +00:00
thepurpleblob
b2878fc5ae Fixed problem with list lines not being formatted
Added CVS hooks for <hr> and Question/Answer (Q. and A.) lines
2003-05-22 10:41:40 +00:00
moodler
353d033843 get_course_users now calls get_site_users if the course is a site.
There is something wrong with this SQL still though ... it mostly works
but I'm still getting wierd behaviour with small numbers of users.

Need some help here ...  for example just look at get_site_users()
on your test site.

It's supposed to return a list of users who are admins, creators,
teachers or students
2003-05-20 09:33:30 +00:00
moodler
3ee236820a Some fixes for check_gd_version -- please test this for me on every server you have! 2003-05-19 03:27:13 +00:00
moodler
6a6681294a Should use php_flag, not php_value, for boolean settings!!
See bug 429
2003-05-19 02:25:11 +00:00
stronk7
cc7fa0dc05 Added a 4th OPTIONAL (default "get") parameter to
"print_single_button" function. Now can make "post"
forms too.
2003-05-18 16:41:23 +00:00
moodler
bbf9b1624d Improved get_site_users a bit for efficiency 2003-05-17 06:10:20 +00:00
moodler
c39c66a5e8 Using new ini_get_bool function to work around a bug with ini_get where
the result is different for items set in htaccess
2003-05-17 02:05:10 +00:00
moodler
5c219ea46d Added hyphen (-) to the list of allowed characters in a filename 2003-05-16 06:08:42 +00:00
moodler
7adf67875d Some notices to remind people about things they need to do. 2003-05-15 17:26:59 +00:00
moodler
ae384ef160 New configuration variable: secureforms (defaults to 'true')
Replaces the old $CFG->buggy_referer (reverses it, in fact) and can
now be set in the configuration page (no need for it in config.php).
2003-05-15 15:59:52 +00:00