moodle/lib
defacer 34137668b5 Adding a little more checking to the session switching trap code.
I 've come across a problem where:

1. You have an "old" (say 1.3.5?) Moodle installation.
2. You are logged in as admin.
3. You suddenly switch to using a 1.5+ codebase with
   the SAME database, WITHOUT LOGGING OUT FIRST.

In this situation, I was presented with a deadlock. I could not do
anything because "my session had expired", and I could not even
log OUT to clear my session. In fact it was just reloading the
"session expired page" all the time.

If it weren't for debug = On which causes a notice in these
circumstances, it would be fracking difficult to understand what
was going on.

With this small addition, you can at least visit your login page
and log in anew, so problem fixed.

I believe this was talked about in the forums lately? Not sure.


(Also merging Martin's theme standard -> standardwhite change)
2005-06-13 02:56:37 +00:00
..
adodb Updated ADOdb to latest version 4.60 2005-02-18 08:37:18 +00:00
cas Moving the CAS library into the main library directory 2005-03-11 17:13:31 +00:00
db Merged from MOODLE_15_STABLE - Fixes db upgrade for config_plugins failure on unquoted data - discussed at http://moodle.org/mod/forum/discuss.php?d=25122 2005-06-07 03:41:52 +00:00
editor Merging from MOODLE_15_STABLE 2005-06-11 11:05:29 +00:00
excel Fix for bug on Windows and Mac servers while generating quiz reports 2004-04-15 15:41:06 +00:00
ipatlas Merged from MOODLE_14_STABLE - Cleared a warning 2005-02-14 07:23:02 +00:00
magpie I had noticed that stale reads from cache were failing on the filesystem with an invalid md5 checksum of the filename - this should fix that 2005-01-29 02:57:07 +00:00
mp3player Added Andy's readme 2005-03-15 13:07:44 +00:00
nusoap Just the base class, other files to be added 2005-05-21 15:58:57 +00:00
pclzip Updated to 2.4RC1. This should terminate 2004-11-30 17:57:42 +00:00
phpmailer Fix for SC122 2005-05-31 04:34:06 +00:00
smarty Upgraded to latest version of Smarty 2.6.9 2005-04-19 09:52:16 +00:00
snoopy Some blank index.html files to prevent browsing 2004-03-20 04:10:26 +00:00
speller Enhancing editor settings. 2005-01-22 10:58:25 +00:00
adminlib.php Fixed bug mentioned here http://moodle.org/mod/forum/discuss.php?d=22645 2005-04-26 07:45:09 +00:00
base32.php Updated licensing terms. 2005-05-17 02:20:10 +00:00
blocklib.php Fix for bug 2635: 2005-05-17 15:28:06 +00:00
cookies.js I added all code to handle the cookies and the sideblock content, the icon and the patches for hiding/showing the content of the sideblocks. 2005-02-05 21:37:53 +00:00
csshover.htc I found a newer version (was 1.21 is now 1.30) 2005-05-17 13:03:34 +00:00
datalib.php Merged from MOODLE_14_STABLE - Better DB errors debug traces from Patrick Li 2005-05-19 21:59:00 +00:00
default.ttf A very nice default Unicode font under the GPL licence 2004-04-28 15:59:25 +00:00
defaults.php Merged from stable 2005-06-11 19:00:23 +00:00
filelib.php Added support for all Open Office 1.0 and 2.0 file types (bug 3068) 2005-05-04 15:19:00 +00:00
filterlib.php Latest speed improvement for link filters (more noticeable under PHP4). Bug 3138. 2005-05-21 00:22:14 +00:00
gdlib.php Converted comments to phpdoc style. Functions require additional documenting. 2004-09-26 04:57:07 +00:00
graphlib.php Various little tweaks here and there 2005-03-11 14:56:34 +00:00
htaccess bug 753 2004-05-08 14:02:18 +00:00
html2text.php Removed $goodStr = str_replace(chr(160), ' ', $goodStr ); 2005-03-27 05:50:21 +00:00
index.html Dummy index to prevent browsing 2004-03-20 04:08:19 +00:00
javascript-mod.php Returns a Javascript file containing all the scripts found in modules 2005-04-16 12:10:44 +00:00
javascript-static.js Removing dead code. 2005-05-12 14:46:16 +00:00
javascript.php Commented out hover hack ... see bug 3453 2005-06-09 21:10:56 +00:00
kses.php Updated to 0.2.2 2005-05-09 10:37:12 +00:00
languages.php towards XHTML compliance 2004-09-12 13:21:01 +00:00
lexer.php New libraries to support lexer-based searching. From Tony Hursh - thanks! 2005-01-31 07:39:03 +00:00
markdown.php Latest bugfix version 1.0.1a 2005-05-16 10:12:54 +00:00
md5.js MD5 library for home-made security 2004-01-23 08:40:29 +00:00
moodlelib.php Merged from MOODLE_15_STABLE: Email bounce handling: fixing md5 validation bug 2005-06-13 00:17:16 +00:00
odbc.php Converted comments to phpdoc style 2004-09-26 04:54:03 +00:00
olson.php Fixed handling of zones with no pre 1970 entries. Strange bug identified and fixed by Jon. 2005-05-22 09:15:52 +00:00
overlib.js newer version of overlib is smaller and better. This comes straight from http://www.macridesweb.com/oltest/. 2005-01-20 21:45:58 +00:00
pagelib.php Removing the "dirty compatibility hack", it surely has done what it was 2005-04-19 12:40:15 +00:00
rsslib.php The particulars for the Manage Feeds page finalized. Old code removed. 2005-05-18 00:49:45 +00:00
searchlib.php Fixes from Mits for bug 3101 to fix multi-byte search results 2005-05-03 16:37:01 +00:00
session-test.php towards XHTML compliance 2004-09-12 13:21:01 +00:00
setup.php Adding a little more checking to the session switching trap code. 2005-06-13 02:56:37 +00:00
tablelib.php Merging from STABLE: 2005-06-03 22:48:07 +00:00
timezones.txt Updated version frm new olson code 2005-05-22 10:38:07 +00:00
uploadlib.php Just some tiny style fixes 2005-03-07 11:53:00 +00:00
validateurlsyntax.php Merged from MOODLE_14_STABLE 2005-01-25 06:05:21 +00:00
weblib.php Merged $CFG->allowobjectembed from stable 2005-06-05 05:40:24 +00:00
wiki_to_markdown.php Tabs are out 2005-05-16 21:48:38 +00:00
womenslib.php Sshhh easter egg. ;-) 2005-03-01 08:45:05 +00:00
wordlist.txt Slightly bigger wordlist 2002-08-12 07:44:53 +00:00
xmlize.php added '@access private' docblock tags to functions that should not be called directly 2004-09-28 16:40:26 +00:00