martinlanghoff [Tue, 31 Oct 2006 05:03:54 +0000 (05:03 +0000)]
lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595)
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables.
ethem [Mon, 30 Oct 2006 13:07:20 +0000 (13:07 +0000)]
If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.
Some users may not wish to use their credit cards on the internet directly for security reasons.
In this case, you need to obtain an authorization code from user's bank.
Initially, ask for credit card information from the customer
like bank name, name on card, card number, expiry date and card validation code
by means of phone, face-to-face or a billing application.
Then, call the customer services of user's bank giving this information and demand an authorization code.
Finally, after obtaining it, login as user to get the user enrolled.
Alternatively, you can give it to the user saying enrol using this code.
ethem [Mon, 30 Oct 2006 12:53:15 +0000 (12:53 +0000)]
If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.
Some users may not wish to use their credit cards on the internet directly for security reasons.
In this case, you need to obtain an authorization code from user's bank.
Initially, ask for credit card information from the customer
like bank name, name on card, card number, expiry date and card validation code
by means of phone, face-to-face or a billing application.
Then, call the customer services of user's bank giving this information and demand an authorization code.
Finally, after obtaining it, login as user to get the user enrolled.
Alternatively, you can give it to the user saying enrol using this code.
sam_marshall [Mon, 30 Oct 2006 11:02:08 +0000 (11:02 +0000)]
[MDL-7287] Lesson - tweaked continue.php to include a file via filesystem not HTTP because I couldn't see any reason to do it the latter way and it breaks under our loadbalancing system
skodak [Sat, 28 Oct 2006 21:55:19 +0000 (21:55 +0000)]
MDL-6940 - I decided to rewrite the glossary comments UI, the original code (pre 1.8) was not nice at all, it is IMHO more readable now and the forms implementation could be greatly simplified; this can also serve as sample trusttext implementation outside of forms code
stronk7 [Sat, 28 Oct 2006 15:24:04 +0000 (15:24 +0000)]
Dropping xmldb_dbg($message). Now it has been replaced by a new cleaner
debug system, with XMLDB hook for debug enabled by the creation of one
function called: xmldb_debug($message, $object), currently present in
lib/datalib.php MDL-7261
stronk7 [Sat, 28 Oct 2006 15:18:40 +0000 (15:18 +0000)]
Now, on error, the new XMLDB->debug($msg) function is called.
It provides the facility to hook to one external function, if
available: xmldb_debug($message, $xmldb_object) to perform
custom debugging/logging. MDL-7261
stronk7 [Fri, 27 Oct 2006 16:56:34 +0000 (16:56 +0000)]
Minor improvements to the get_record() cache. Part of MDL-7196
1) Check the cache issset() before unset() it.
2) In the set_field() function, if fieldX = 'id',
just delete such element from the cache,
else the whole table
3) Add some more unset() operations against the cache in
the delete_xxxx() dmllib functions.
sam_marshall [Thu, 26 Oct 2006 14:15:46 +0000 (14:15 +0000)]
The 'Activity is currently hidden' check in mod/forum/post.php incorrectly used 'manageactivities' capability instead of 'viewhiddenactivities', fixing.
moodler [Thu, 26 Oct 2006 09:43:58 +0000 (09:43 +0000)]
Merged from stable
Added a top-level cache to has_capability() to make it perform better
in cases where it's called a lot with repetitive values (which happens
a lot in things like forum mailouts) with only a small memory cost.