Roland Häder [Sat, 26 Feb 2011 04:37:11 +0000 (04:37 +0000)]
Extension ext-forced continued, 'earnings' are now in one menu block:
- Basic menu structure for ext-forced finished
- New member menu 'action-earn' added, where all "earning possibilities" should go
- SQL dumps resorted to let them look like the menu will appear
- Bugs in what-<admin|guest|mem>edit.php fixed, mostly small things and memedit
has linked to adminedit
Roland Häder [Sun, 20 Feb 2011 16:13:59 +0000 (16:13 +0000)]
Extension ext-network does now show if a network requires the webmaster to send a copy of ID card:
- Some advertiser networks require you to send them a copy of an ID card or
business registration. They are now marked so.
- Some more lowercase UTF-8 converted to uppercase
- TODOs.txt updated
Roland Häder [Thu, 17 Feb 2011 11:12:15 +0000 (11:12 +0000)]
Support for chunked HTTP messages added, some code encapsulated:
- Support for 'Transfer-Encoding: chunked' HTTP header added (it might still
be buggy, please report)
- New function removeHttpHeaderFromResponse() introduced (which encapsulates
some code dublicates)
- TODOs.txt updated
Roland Häder [Sun, 6 Feb 2011 23:00:44 +0000 (23:00 +0000)]
New function introduced, missing function getPointsWord() added:
- New function isSqlTableColumnFound() introduced to handle adding/dropping columns
- Missing wrapper function getPointsWord() now included (it was added but I commited only its usage)
- Some code cleanups
Roland Häder [Thu, 27 Jan 2011 20:11:45 +0000 (20:11 +0000)]
Template engine fixed:
- Template engine does now not compile the code, this is required for loading
extension's description templates and maintaining the embeded EL code. This
will make sure that configuration entries and other "dynamic data" can be
inserted on execution time and not on compilation time.
- Some extension's description templates still had {?foo_bar?} EL code instead
of {OPEN_CONFIG}foo_bar{CLOSE_CONFIG}. The first one would insert
configuration data on compilation time, the second on execution time.
- TODOs.txt updated
Roland Häder [Thu, 27 Jan 2011 03:40:54 +0000 (03:40 +0000)]
Swapped out a large number of parameters to an XML construct. The previous commit should not contain this because it is non-functional, so don't use ext-surfbar: work in progress
Roland Häder [Thu, 27 Jan 2011 00:50:40 +0000 (00:50 +0000)]
New wrapper functions introduced, some one-line parameter monsters killed:
- New function addDropTableSql introduced which wraps a DROP TABLE statement
- New (cached) function isSqlTableCreated introduced which checks if the given
table is created
- New (cached) function isSqlTableIndexAdded introduced which checks on a 'mode'
condition (see source code) if the table index is created
- In two admin what-modules there was a one/multi-line parameter monster which
is now dead and resurrected as a human-readable multi-line creature ... ;-)
- TODOs.txt updated
Roland Häder [Wed, 19 Jan 2011 19:20:43 +0000 (19:20 +0000)]
Several code-cleanups:
- Some if() blocks improved by using curly braces (better human-readable)
- The sender of bonus mails is not zero (0) anymore, we use NULL now (maybe
needs some fixing)
- Thanks to SixCooler for reading text of ext-yacy
Roland Häder [Wed, 19 Jan 2011 17:43:35 +0000 (17:43 +0000)]
Extensions bitcoins/yacy added, new API functions for handling proxy/non-proxy added:
- New extension ext-bitcoins ( http://www.bitcoin.org) added as an alternative payment method to direct
cash (Euro, US Dollar, ...)
- New extension ext-yacy ( http://yacy.net ) added to ease setup of a 'site
search'. You still need a running YaCy instance somewhere (should be localhost
for performance reasons).
- The API can now provide the real IP address (even from bethind a proxy) and
'REMOTE_ADDR'. The real IP address can be "detected" with detectRealIpAddress()
and 'REMOTE_ADDR' (which could be a proxy IP) with detectRemoteAddr().
- Wrapper function detectDomainName() introduced
- TODOs.txt updated
Roland Häder [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
Roland Häder [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
Roland Häder [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
Roland Häder [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
Roland Häder [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
Roland Häder [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
Roland Häder [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
Roland Häder [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