Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
David Mudrák
1ef135e773
MDL-52975 mnet: Set system context on the MNet SSO landing page
...
Without the context being explicitly set, debugging warning can be
displayed in certain rare situations.
2016-02-04 17:14:30 +01:00
Petr Škoda
a2f10958ff
MDL-39387 fix /auth phpdocs
2013-04-27 15:06:40 +02:00
Penny Leach
2078b2a37d
mnet MDL-21257 split up confirm_mnet session to insert the mnet_session
...
record *after* complete_user_login is called (because of session regen)
2010-02-05 03:56:00 +00:00
Penny Leach
2e38d70310
mnet MDL-21257 updated mnet to use new session code rather than the weird file based session masquerading it was doing
2010-02-01 02:01:18 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
5117d59899
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:55:14 +00:00
Petr Skoda
2a250a0b2e
MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions
2009-11-01 09:21:41 +00:00
samhemelryk
79151615c5
auth MDL-19788 Added PAGE->set_url calls and removed $Id tags
2009-10-15 02:34:31 +00:00
skodak
1b813f5c2a
MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup
2009-01-02 21:05:16 +00:00
mjollnir_
d9be2106ed
MDL-16180: add support for bouncing user back to originating host in mnet:jump/land
...
useful for jumping/landing/jumping back as part of an SSO session start that is just the first step for something else (which might be portfolio)
2008-08-29 12:42:39 +00:00
dongsheng
3db241b342
"MDL-14129, fix print_error"
2008-05-08 06:27:28 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
martinlanghoff
be41678c5e
auth/mnet: when landing, user complete_user_login()
...
By using complete_user_login() we ensure that the session is fully
setup, and that enrolment plugins are called correctly.
2007-11-14 22:04:23 +00:00
skodak
139ebfdb3b
MDL-8590 auth cleanup - part 1
2007-02-20 17:03:36 +00:00
martinlanghoff
0743661ea5
mnet: it is $USER->mnet_foreign_host_array instead of $SESSION->mnet_foreign_host_array. $SESSION is fraught with peril as it persists acros logins/logouts
2007-01-19 08:36:02 +00:00
donal72
016bac47b7
Auth: Better error message when SSO fails
2007-01-11 04:16:34 +00:00
donal72
b7b50143f3
Auth: Bugfix: MDL-8131
2007-01-10 00:50:59 +00:00
martinlanghoff
c72fe8018d
mnet: new auth plugin
2007-01-04 03:26:04 +00:00