quix0r [Sat, 8 Jan 2011 20:41:08 +0000 (20:41 +0000)]
Some code cleanups/fixes:
- Function translateUserStatus() does now have a default value, only because it
is better coding practice to init your variables before a switch() command
- Language string ACCOUNT_STATUS_UNKNOWN_STATUS renamed and moved a little
- TODOs.txt updated
quix0r [Thu, 30 Dec 2010 18:45:43 +0000 (18:45 +0000)]
Extension ext-forced enhanced, some code cleanup:
- ext-forced enhanced: Table mxchange_forced_campaigns_ads is a n-n table which
connects the ads with the campaigns
- In same extension file more UNSIGNED added and other improvements
- Removed old-lost value init in getConfig()
- TODOs.txt updated
quix0r [Tue, 21 Dec 2010 23:32:04 +0000 (23:32 +0000)]
New functions introduced:
- sql_patches must now be 0.7.4 in what-email_details.php
- New (?) template function 'generateExtensionOutdatedMessage() introduced
- Wrapper getMailsPage() introduced
- TODOs.txt updated
quix0r [Tue, 21 Dec 2010 22:48:08 +0000 (22:48 +0000)]
The usual asset of bugfixes/improvements:
- Variable $bonus renamed in function to make clear it is boolean type
- Counting of sent mails (column mails_sent) added
- No longer needed header comments removed (it is heavily rewritten anyway)
- A lot missing/wrong array elements fixed in templates and PHP scripts
- New wrapper added (used several times in pool-user.php)
- CSS classes fixed in several 'order' templates
- Several other minor improvements/fixes
- TODOs.txt updated
quix0r [Tue, 14 Dec 2010 06:10:00 +0000 (06:10 +0000)]
Performance hacks, encapsulation and more EL code usage:
- Performance hack in SQL_QUERY() to save some expensive str_replace() and other
function calls
- Encapsulation of admin session data
- Some more usage of EL code in admin welcome templates
- TODOs.txt updated
quix0r [Sat, 11 Dec 2010 01:03:21 +0000 (01:03 +0000)]
Code cosmetics applied, performance hacks (saved two loops):
- Performance increased by giving str_replace() the full array and not all
array elements one-by-one
- Some code cosmetics applied
- TODOs.txt updated
quix0r [Tue, 9 Nov 2010 23:04:18 +0000 (23:04 +0000)]
More wrapper functions introduced, duplicate language strings merged:
- Some duplicate language strings merged
- More wrapper functions for configuration entries introduced
- TODOs.txt updated
quix0r [Wed, 3 Nov 2010 17:12:48 +0000 (17:12 +0000)]
Fixed renaming of column names, added/rewritten some debug lines:
- Fixed renaming of column names, the wrong index was checked
- Added debug line for skipped DROP queries
- Rewritten all debugOutput() lines to logDebugMessage() in database layer which
caused a 'Headers already sent' error
- TODOs.txt updated
quix0r [Tue, 26 Oct 2010 16:18:23 +0000 (16:18 +0000)]
Documentation updated, fixes for bug #195/196 (previous commit comment was wrong):
- Fixes for missing function SQL_ESCAPE() while in installation phase and setting
language (e.g. call install.php?mx_lang=de), see ticket #196
- Added code to check for double-initialization of cache instance, see ticket #195
- Updated documentation, may be missleading, see ticket #198
- TODOs.txt updated
quix0r [Thu, 7 Oct 2010 00:46:26 +0000 (00:46 +0000)]
Variable renamed, function refactured/moved:
- Variable $check renamed to $moduleState which is more clear what the variable
is for
- Function isMember() refactured
- Function translatePoolType() moved to template-functions.php and added
strtoupper() call for the $type variable
- TODOs.txt updated
quix0r [Wed, 6 Oct 2010 04:07:48 +0000 (04:07 +0000)]
Korn/csh support improved, if() block rewritten:
- Support for non-bash (e.g. korn/csh) shells in todo-builder.sh
- if() block rewritten to curley braces
- Better TODO lines (fixed)
- TODOs.txt updated
quix0r [Sun, 3 Oct 2010 23:04:22 +0000 (23:04 +0000)]
- Beg link does now (not yet implemented but prepared) log all referal URLs. It
is also planed to not pay beg link calls without a referer (admin can setup
it).
- The database layer is now aware of queries like
"ALTER TABLE `foo` CHANGE `bar` `bazz` ...."
- Several minor fixes/improvements
- TODOs.txt updated
Wrapper function introduced, description for random refid rewritten:
- New wrapper function getDefRefid() introduced
- Description in admin area for random referal id rewritten, it now matches
with the actual code logic and is now easier to understand
- TODOs.txt updated