moodle/lib
martinlanghoff 8f9e1d2c4d accesslib: Move check_enrolment_plugins() to complete_user_login()
... where it belongs ;-)

load_all_capabiloties() gets called at several points where we don't
want to be re-querying the enrolment backends. It needs to  be called
before load_all_capabilities() and only by callers that are setting up
a logon session.

Those callers need to be calling complete_user_login() anyway, as they
need to set the Moodle cookie, log the logon action, etc. In fact,
those callers duplicate a lot of that code already.

The callers that don't duplicate code for the login are actually the
cases where the backend enrolment plugins should not be queried.

To be followed by callers cleanup...
2007-11-14 22:04:05 +00:00
..
adodb Reverting last commit. This is an EXTERNAL library file and shouldn't 2007-10-15 22:04:02 +00:00
ajax MDL-9306 Applied Ann's patches: seems to work very well, the output is entirely XHTML compliant, and displays really nicely. 2007-11-06 14:01:13 +00:00
bennu
db removing duplicate entries in grade_grades prior to adding unique key 2007-11-14 05:07:33 +00:00
editor htmlarea: fix in FF - MDL-11242 2007-11-14 01:25:20 +00:00
evalmath fixed short php tag 2007-09-20 12:26:58 +00:00
excel
form applying the same patch to advcheckbox - Fixes MDL-8627, "HTML QuickForm displays (some?) disabled elements in a non-accessible way", overrides parent::getFrozenHtml. 2007-09-15 19:43:01 +00:00
fpdf
grade MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
htmlpurifier MDL-11415 fixed our non-standard lang attributes in html purifier 2007-09-25 14:34:13 +00:00
json
libcurlemu
magpie
mp3player
overlib Adding latest version of overlib with all plugins, into its own directory. Updated lib/javascript.php to point to this instead of the old one, which is still in lib/overlib.js 2007-08-08 09:42:11 +00:00
pclzip
pear Updating PEAR-Excel lib doc. MDL-9911 2007-07-28 15:15:26 +00:00
phpmailer
phpxml Removed some pass-by-references to remove notices 2007-08-14 02:11:33 +00:00
simpletest Restoring some of the static calls which were converted unnecessarily 2007-11-13 13:44:27 +00:00
simpletestlib Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 07:36:00 +00:00
smarty
snoopy
soap cvsimport fixups 2007-07-07 14:18:30 +12:00
speller MDL-9300 The aspell spell-checker does not work in 1.8; merged from MOODLE_18_STABLE 2007-04-15 17:04:26 +00:00
tcpdf
typo3
xmldb Updated copyright notice in header 2007-10-10 05:25:14 +00:00
yui Updated with latest release 2007-08-03 03:20:30 +00:00
accesslib.php accesslib: Move check_enrolment_plugins() to complete_user_login() 2007-11-14 22:04:05 +00:00
adminlib.php MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
authlib.php MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
base32.php
blocklib.php Booleans are not always transformed to 0 /1. This was preventing install 2007-10-19 17:53:23 +00:00
componentlib.class.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
cookieless.php
cookies.js
cssconstants.php
csshover.htc
csvlib.class.php MDL-11996 bulk user upload - improvements, bugfixes and cleanup; 2007-11-05 00:43:37 +00:00
custom_corners_lib.php merged from 1.9 :: Added the check, if all opend custom_corners are closed. This way it's possible to add the close call in the footer which closes eventually open ccs. 2007-11-11 15:04:34 +00:00
datalib.php MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing 2007-11-13 08:43:20 +00:00
ddllib.php Unit test refactoring using mock objects. NOT FINISHED: testgradecategory and testgradeitem are incomplete. The other tests work great however, and no longer a need for DB data 2007-11-07 17:59:33 +00:00
default.ttf cvsimport fixups binary files 2007-08-29 13:10:20 +12:00
deprecatedlib.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
dmllib.php MDL-12131 db debug messages now quoted properly 2007-11-12 17:21:00 +00:00
eaccelerator.class.php eaccelerator: never set the mode if we failed to init 2007-09-20 06:51:13 +00:00
editorlib.php
environmentlib.php 1.9 Beta 2 should not be read as 1.9.2 in environment page 2007-11-08 05:13:18 +00:00
eventslib.php MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
excellib.class.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
filelib.php making multibyte filename appear correctly under IE download 2007-10-30 00:35:18 +00:00
filterlib.php
formslib.php MDL-12130 and MDL-12129 - fixed advanced status of elements when header not closed; disableIf now works inside grouped elements too; code cleanup in focus() and _getElNamesRecursive() 2007-11-12 17:12:35 +00:00
gdlib.php MDL-8605 More changes to upgrade and restore, and some unit tests with db and rs mock objects 2007-10-12 19:13:18 +00:00
gradelib.php Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 07:36:00 +00:00
graphlib.php
grouplib.php Fixed some notices but this needs review from Petr MDL-10383 2007-10-03 09:12:01 +00:00
htaccess
html2text.php
index.html
javascript-mod.php
javascript-static.js Fixed MDL-10506. Hide/Show Advanced text does not toggle in IE and Safari when edit profile. 2007-10-23 22:29:04 +00:00
javascript.php Adding latest version of overlib with all plugins, into its own directory. Updated lib/javascript.php to point to this instead of the old one, which is still in lib/overlib.js 2007-08-08 09:42:11 +00:00
kses.php MDL-11413 I hope now it is correct solution 2007-09-25 14:02:53 +00:00
languages.md5
languages.php
lexer.php
listlib.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
locallib.php MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
markdown.php MDL-11104 2007-09-17 12:37:51 +00:00
mathslib.php MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
md5.js
memcached.class.php
moodlelib.php accesslib: Move check_enrolment_plugins() to complete_user_login() 2007-11-14 22:04:05 +00:00
odbc.php
odslib.class.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
olson.php MDL-11538: lib/olson - bugfix, olson time-zone import doesn't deal with rule changes in the future 2007-10-02 01:43:07 +00:00
overlib.js MDL-10286 Updated overlib.js (2 years diff!) and enabled overlib for HTML feedback format 2007-07-13 10:09:51 +00:00
pagelib.php Fix for reopened bug MDL-7878, "Link identification and skipping" - includes site and course index.php. 2007-10-22 09:21:11 +00:00
pdflib.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
profilerlib.php
questionlib.php MDL-6376 - fix minor errors in the previous commit. 2007-10-30 19:29:45 +00:00
rsslib.php Moving block_rss_timeout to block_rss_client_timeout and 2007-07-31 17:03:51 +00:00
scroll_to_errors.js
searchlib.php
session-test.php
setup.php MDL-11927 fixed cookiepaths; patch by Kevin 2007-10-28 14:20:20 +00:00
setuplib.php MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
simpletestlib.php Merged from MOODLE_19_STABLE. Adding $Id tag 2007-10-12 09:45:33 +00:00
soaplib.php
statslib.php merged: fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first from MOODLE_16_STABLE, and fixed up some weirdness in the reports 2007-04-11 23:53:15 +00:00
tablelib.php Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use. 2007-10-15 10:04:41 +00:00
textlib.class.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
timezones.txt
tokeniserlib.php Updated copyright notice in header 2007-10-10 05:25:14 +00:00
ufo.js MDL-11224 Updated UFO Flash JS library from 3.20 to 3.22, preserving minor Moodle-specific change (and added comment to top about it!) 2007-09-12 10:14:12 +00:00
uploadlib.php small fix for uninitialised var 2007-05-20 11:20:49 +00:00
validateurlsyntax.php MDL-9295 - PARAM_URL/PARAM_LOCALURL does not accept http://localhost/ or other hosts on lans. Merged from MOODLE_18_STABLE. 2007-10-30 10:15:22 +00:00
weblib.php MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE. 2007-11-14 16:34:26 +00:00
wiki_to_markdown.php
womenslib.php
wordlist.txt
xhtml.xsl
xmlize.php