moodler
6527c077b6
Ficed a PHP5 notice
2004-08-07 13:39:36 +00:00
moodler
1284a926f9
More mtrace statements
2004-08-07 06:05:37 +00:00
moodler
622ebc6a7c
mtrace now works properly for web display too
2004-08-07 03:59:53 +00:00
moodler
defaac4cee
Added mtrace function for printing information to standard output
2004-08-05 17:08:46 +00:00
moodler
ce04df6ba6
Fixed detection of no groups as per bug 1692 - thanks, Ray!
2004-08-04 12:32:43 +00:00
moodler
780dd11cfb
Single more concise string for login error notification emails
2004-08-03 06:53:04 +00:00
moodler
579dcca41e
Email function now returns an "emailstop" error if email was blocked
2004-08-03 04:03:01 +00:00
moodler
3831de5237
First pass at a function to empty a course remove_course_userdata()
...
To be called from course/empty.php
2004-08-01 07:34:39 +00:00
moodler
7064e18f45
Fixed a notice in isstudent()
2004-08-01 06:21:59 +00:00
moodler
b40bc478d9
Fixed a few notices and extended some functions a little
2004-07-29 14:54:25 +00:00
moodler
27106bac92
FIxed some variables for login error logging
2004-07-25 14:39:19 +00:00
moodler
9d3c795c3e
Functions for login failures plus some other stuff ...
2004-07-25 13:48:55 +00:00
moodler
47efbb0490
New fucntion to check address is in some subnets
...
address_in_subnet
2004-07-08 07:52:01 +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
gustav_delius
2cc72e848f
made get_course_users and similar functions work also for the site course
2004-07-01 21:00:07 +00:00
moodler
a2ebe6a55c
Logic fix
2004-06-30 12:43:05 +00:00
gustav_delius
fe6571366c
introduced $CFG->autologinguests, see http://moodle.org/mod/forum/discuss.php?d=9161
2004-06-30 12:09:29 +00:00
defacer
0d8a590a0b
Removed the [[noreply]] string from forum sender names.
2004-06-29 07:01:34 +00:00
defacer
a402bdcbda
Minor fix in forum digests: The digest sender's name was that of the last
...
poster in it. Now set to the site shortname.
2004-06-25 07:38:44 +00:00
moodler
61451a361a
Improvements to add_teacher
2004-06-24 12:51:25 +00:00
moodler
a2fa19d87c
Merged in latest changes from STABLE
2004-06-21 13:07:44 +00:00
moodler
8a33e3717d
Based on code from Janne - this allows secure logins via https
...
$CFG->loginhttps
After logging in via https, Moodle returns to a normal http URL
More info: http://moodle.org/mod/forum/discuss.php?d=8555
2004-06-19 16:13:28 +00:00
gustav_delius
6e506bf902
Fixed bug 1535. Unless $CFG->forum_replytouser is set to 1 AND the user has set maildisplay nonzero, the address $CFG->noreplyaddress is sent instead of the user's address.
2004-06-06 12:49:55 +00:00
moodler
cdac797c5d
Moodle will look for language files within modules as a last resort.
...
eg moodle/mod/somemodule/lang/en/somemodule.php
2004-05-24 09:19:59 +00:00
moodler
b5b90f269d
Removed a warning message
2004-05-22 04:02:02 +00:00
moodler
a32c99e288
To prevent notices in unusual situations (empty lang files) bug 1404
2004-05-16 09:28:41 +00:00
moodler
16a5602cd7
1. Directory Resources now support sub directories
...
2. Subdirectories in File Manager now display their total size
2004-05-16 08:52:32 +00:00
stronk7
2127fedda8
Step 2 of Bug 1223 done.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=1223 )
2004-05-16 00:36:00 +00:00
moodler
58d2472072
Some fixes for confirmation emails on sites with long names
...
- include a HTML version of the email
- wrap all text emails at 79 characters now, not 70
I think quoting of text based emails on 80-character terminals
would be pretty rare these days
2004-05-13 03:09:47 +00:00
gustav_delius
8644437d66
fixed bug 1037 by improving clean_filename()
2004-05-07 17:07:31 +00:00
moodler
b68dca1934
Moodle mail can set precedence levels for email
2004-05-07 03:29:11 +00:00
moodler
319b472958
Fix for bug 1312 ... just for robustness in the URLs
2004-05-06 03:11:15 +00:00
gustav_delius
dcd338ffdc
Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden.
2004-05-05 07:07:56 +00:00
moodler
bf5c2e8445
FIxed a logic bug when getting files ... bug 1305
2004-05-04 01:21:17 +00:00
moodler
55fd81779e
This is required for directory resources
2004-05-02 15:31:23 +00:00
moodler
0cb77f5adf
Fixing a recent change to get_list_of_plugins that was causing
...
auth/db to be invisible bug 1245
2004-04-20 15:14:15 +00:00
moodler
81fcd0f019
Bug fix in get_directory_list() for files named 0 :-)
2004-04-17 14:01:53 +00:00
moodler
bbf4d8e656
Simplification and improvement of clean_filename, thanks to suggestions
...
from Martin Langhoff <martin@catalyst.net.nz>
2004-04-16 06:30:01 +00:00
stronk7
c7f3fdf70c
Modified the clean_filename() function to strip parenthesis and slashes.
...
Not really sure if the method used is 100% correct ot no so, if you can
check it....
Perhpas I should make the stripping in backup process, istead of using this
central function. What do you think?
2004-04-14 18:09:41 +00:00
stronk7
1a930732ba
Exclude "db" dir when detecting plugins (to be used in blocks
...
registration). No problems (I think) at all with mod registration.
2004-04-10 23:44:50 +00:00
defacer
f30fe8d063
As per Martin's suggestion:
...
Added new function: get_user_timezone($timezone = 99) which retrieves
the user's timezone, respecting the $USER->timezone and $CFG->timezone
settings.
Modified all date/time library functions to use this.
2004-04-01 12:27:37 +00:00
defacer
f3d142dae4
Fix for the fix: Turns out that next() returns false if an array element's
...
value is 0 (the php docs speak only about the key... :/). Good thing that my
test user's timezone is set to GMT+0. This should work no matter what.
2004-04-01 11:29:25 +00:00
defacer
a36166d327
The timezone selection didn't work correctly... if there WAS a $USER->timezone
...
set but it was set to 99, it didn't check the $CFG->timezone setting.
Fixed now. Fancy implementation, forgive me please! ;)
2004-04-01 10:39:06 +00:00
defacer
d8ba183c39
Checking for the $CFG->timezone value as a last resort in the various user
...
date/time functions didn't work because there was no global $CFG; :O
2004-04-01 10:11:20 +00:00
moodler
1265952149
- Fixed timezone calculations when user isn't present, and
...
- format_float now defaults to one decimal place
2004-03-25 15:29:40 +00:00
moodler
84bbca5355
When unenrolling a student from ALL courses, delete group memberships
2004-03-10 13:45:23 +00:00
moodler
abc3b857a2
Fixed some copyrights
2004-03-10 13:23:00 +00:00
moodler
4b6d8dd545
Better notice for people not in a group who are trying to see a
...
SEPARATE activity.
2004-02-24 07:12:56 +00:00
moodler
1e03c552e3
Reverting a bad bug recently introduced by Petri which meant
...
Moodle couldn't create any new directories ... :-(
2004-02-20 14:12:49 +00:00
moodler
cadb96f29e
GUI to allow disabling of user email addresses (from user profile)
2004-02-20 10:27:24 +00:00