Commit graph

405 commits

Author SHA1 Message Date
moodler
631cf796d4 Merged enrolment fixes frm stable 2004-09-09 09:43:51 +00:00
moodler
857b798b90 Added better headers to forum posts to allow threading, better filtering etc.
Based on: http://opensource.mediagonal.ch/moodle/patches/mailheaders/
2004-09-07 14:04:33 +00:00
moodler
85a1d4c9bc Made the check for allowable emails into a new function 2004-09-06 15:21:22 +00:00
moodler
ebd5239628 FIxed a SITEID bug (you can't put defines inside strings) 2004-09-06 04:28:07 +00:00
gustav_delius
5a2dea02dc keeping time information when student becomes teacher 2004-09-04 13:23:08 +00:00
paca70
5961942732 Use getremoteaddr() to get client address.
CVS: ----------------------------------------------------------------------
2004-09-04 11:02:45 +00:00
paca70
f97ab1ec36 New function to get client address 2004-09-04 10:54:54 +00:00
moodler
71f9abf917 Merged changes from stable (fixed external auth) 2004-08-31 12:33:20 +00:00
moodler
3271b70ff3 Fixed an unquoted string (merged from stable) 2004-08-30 17:47:21 +00:00
gustav_delius
2700d113a2 Merged from HEAD 2004-08-30 17:27:00 +00:00
gustav_delius
7b5944cdb3 Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084 2004-08-29 19:17:27 +00:00
gustav_delius
709f0ec8d5 Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084 2004-08-29 18:20:13 +00:00
gustav_delius
2a2f5f1181 now the lastaccess field is also updated upon every login, closing bug 1833 2004-08-29 15:00:08 +00:00
gustav_delius
0475502255 got rid of update_user_in_db, see bug 1833 2004-08-29 14:24:05 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
moodler
27286aeb12 Merged authentication logic fixes from STABLE 2004-08-29 05:48:15 +00:00
moodler
90e736bd2d Merged latest tweaks 2004-08-24 14:26:35 +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
gustav_delius
c117aa6c24 authenticate_user_login() function now works even if $user->auth is not yet set, fixing bug 1747 2004-08-20 18:48:05 +00:00
moodler
39a5a35d6d Finalise the switchover to using the user->auth field when authenticating.
Thanks, Howard Miller!
2004-08-16 15:41:57 +00:00
moodler
4e11ad4faa Added a new "auth" field to the user table. This field contains the
authentication mechanism used to create that user record.

Also added code to upgrade existing systems to have entries in that
field, and for new users to also have that field defined.

This will allow us to later improve the login procedure to be able to
handle various types of authentication.
2004-08-15 07:27:52 +00:00
moodler
66f9a82c60 You can choose not to show notices on make_upload_directory
The installer script uses this.
2004-08-12 15:54:43 +00:00
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