Commit Graph

471 Commits

Author SHA1 Message Date
jerome 1f9a0c9c01 MDL-19788 fix unknown $OUTPUT variable 2009-09-03 07:50:47 +00:00
jerome 3a008973b2 MDL-19182 fix unknown $OUTPUT variable 2009-09-03 07:48:10 +00:00
samhemelryk cfc5b79b86 auth MDL-19788 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:40:41 +00:00
skodak ebdd9fed4b MDL-20169 fixed coding style, parameter type required 2009-08-27 08:49:54 +00:00
nicolasconnault 7f383c5676 MDL-19788 Upgraded calls to link_to_popup_window() 2009-08-20 13:14:05 +00:00
nicolasconnault db636fd5cd MDL-19788 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:58 +00:00
nicolasconnault 977e5edbd9 MDL-19788 Upgraded calls to choose_from_menu 2009-08-17 15:15:42 +00:00
nicolasconnault 7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault 4ca9f28098 MDL-19795 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:42 +00:00
nicolasconnault cb748b3920 MDL-19788 Converted calls to popup_form() 2009-08-10 03:38:27 +00:00
nicolasconnault 119550a5b2 MDL-19788 Converted all print_footer() calls 2009-08-06 14:23:04 +00:00
skodak 0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer 1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
iarenaza afacbf004a CAS authentication: MDL-19671 phpCAS::getUser can return a mixed-case username, so lower-case it for comparison.
Merged from MOODLE_18_STABLE
2009-06-30 23:33:11 +00:00
nicolasconnault 6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak 979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
skodak a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
jerome 2b06294b9a authentication MDL-19182 split auth.php lang file into multiple files separate for each plugin 2009-06-11 03:34:46 +00:00
iarenaza 265edb48f5 ntlmsso login hook: MDL-18596 We need to call httpsrequired() before using httpswwwroot
Merged from MOODLE_19_STABLE
2009-06-04 22:24:13 +00:00
fmarier 6508931bc3 Fix typo 2009-05-15 03:37:07 +00:00
fmarier 2a8eb90471 MDL-19156: auth/fc: clarifying the licensing terms as per author's email 2009-05-11 23:39:43 +00:00
skodak 457c97291b MDL-18704 fixed incorrect mnet logging; merged from MOODLE_19_STABLE 2009-05-08 12:16:09 +00:00
skodak 3db835d1ae MDL-18744 cas fix, credit goes to Thibault Le Meur 2009-05-08 07:54:24 +00:00
tjhunt 93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
dongsheng b8aa76c1a4 "MDL-19037, use getremoteaddr to get remote ip address" 2009-05-01 03:04:10 +00:00
stronk7 2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
mudrd8mz 081a9b0dad MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE 2009-03-23 09:53:02 +00:00
tjhunt ffdd703a99 MDL-18637 fix Moodle 1.9-style {$CFG->prefix}tablename in HEAD, and a few missing $DB->s.
I did not fix all the DB problems in search, there are too many there for me to be prepared to clean up other people's mess.

(For once, it was not me making this mistake ;-))
2009-03-23 05:19:53 +00:00
exe-cutor ad9f023c64 MDL-18597 Merging from STABLE 2009-03-18 13:28:57 +00:00
exe-cutor c49e414b79 Shibboleth authentication: Merging fix MDL-18538 and changes from MDL-18116 2009-03-12 15:11:39 +00:00
skodak a8e299711c MDL-18209 fixe short php tag - thanks Jeffrey Silverman 2009-02-15 19:24:57 +00:00
iarenaza eee34307b9 Cache LDAP connections: MDL-18130 Properly handle open LDAP connections.
Both CAS and LDAP auth plugins open new connections to the LDAP server
to get the user account details. While this is the desired behaviour
for regular logins (we probably don't have an already open connection
to the LDAP server), this is a ressource hog when we are doing user
synchronization, as the closed connections remain in the TCP_WAIT
state for a while before the server can reuse them. If we are syncing
a lot of users, we can make the server run out of available TCP
ressources.

So we cache the connection the first time we establish it and return
the same connection handle everytime, unless we've closed all the
'open' connections, or the auth object is destroyed.

In addition to that, there were a few missing calls to ldap_close().
2009-02-15 15:03:33 +00:00
iarenaza 16ceeb6436 NTLM SSO: MDL-13760 Speed up ntlm sign on with conditional redirect for msie
Provides an option, configurable by admin, to make the ntlm test happen
only if MSIE is not used. This speeds things up for IE.
2009-02-14 16:21:58 +00:00
iarenaza 4194d32185 NTLM SSO: MDL-14584 Fix for several outstanding NTLM SSO issues.
These include:

MDL-14078: redirect() doubles the specified timeout when we haven't printed
           the page header and uses javascript to execute the redirect. This
           is interacting badly with some versions of IE and FF (at least
           3.0.x Windows version) that fireup javascript timers even if
           we already left the page where we set those up. Just print
           the page header (we are printing other content anyway) to
           make redirect respect our timeouts.

MDL-14071: All the relevant details are in the description of the bug :)

MDL-14297: This is probably the same as MDL-14078
2009-02-14 16:21:14 +00:00
skodak 35d6a2a43d MDL-17617 - installation session related improvements; logout fixes + other improvements 2009-01-17 20:25:58 +00:00
skodak 1b813f5c2a MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup 2009-01-02 21:05:16 +00:00
skodak b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak 0ad6b20cb2 MDL-17754 session code refactoring; removing test cookie which will be replaced by wwwroot checks 2009-01-02 13:42:43 +00:00
iarenaza 997bcd9e26 auth/ldap: MDL-9405 sync_users() can create duplicated users
Merged from MOODLE_18_STABLE

If we are using auth_ldap_sync_users.php to synchronize our users, and we
have a database which is case-sensitive when doing comparisons (Postgres and
Oracle at least), and any of our users has the vale of the username attribute
in mixed-case (like 'John Smith'), we get duplicated users.

This is because we don't make sure the username attribute value is 'lowercased'
after we retrive it from the LDAP server and before we insert it into the
database.
2008-12-26 16:01:30 +00:00
dongsheng 771dc7b298 "MDL-14129, fix error() in moodle2" 2008-12-12 05:45:43 +00:00
dongsheng 60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
jonathanharker 3b8c248237 MDL-17549 auth/radius: add CHAP and MSCHAP auth support, detect PHP extension
* Added support for CHAP and MSCHAP authentication schemes
       contributed by Stanislav Tsymbalov http://www.tsymbalov.net/
       original code at http://sourceforge.net/projects/moodleradius/
     * Tweak the detection of PHP RADIUS extension and Pear code
     * Update the warning notices to use more Moodly CSS classes

    lib/pear: Add RADIUS and CHAP PEAR libs

     * Add PEAR Auth_RADIUS and Crypt_CHAP packages to lib/pear


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2008-12-12 04:44:53 +00:00
skodak 84f06d9c72 MDL-17567 sibolleth: fixed code to use new DML syntax 2008-12-09 22:13:08 +00:00
exe-cutor 2f5237edea Merged various fixes from 19 stable 2008-12-08 10:49:44 +00:00
exe-cutor 2db6ec1946 Merged Shibboleth logout support from 1.9 stable 2008-12-04 16:28:42 +00:00
moodler 49f5ec4cfd auth/cas MDL-17121 Upgraded to latest version which is LGPL 2008-11-07 02:01:10 +00:00
peterbulmer 28c3e7d86f MDL-17038 bugfixes
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:18:32 +00:00
peterbulmer 9dbc81ef23 MDL-17038 - truncate overlength varchar fields before attempting to insert
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:17:55 +00:00
peterbulmer 6da155db35 MDL-17038 formatting correction
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:17:11 +00:00
peterbulmer 995087b904 MDL-17038 Change to use sensible variable names
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:16:47 +00:00