Roland Häder [Tue, 28 Jun 2011 06:13:03 +0000 (06:13 +0000)]
Some text rewritten, CSS class added:
- Some text for ext-refback rewritten
- CSS class 'table2' introduced which is only a little wider than 'table' class
- Unused message id 'GUEST_REF' removed
- TODOs.txt updated
Roland Häder [Tue, 28 Jun 2011 05:25:17 +0000 (05:25 +0000)]
Function generateGenderSelectionBox() introduced, some cleanups:
- Function generateGenderSelectionBox() introduced which will generate a
selection box for the gender
- Some minor cleanups/improvements here and there
- TODOs.txt updated
Roland Häder [Mon, 27 Jun 2011 15:52:10 +0000 (15:52 +0000)]
Renamed functions to make it more clear, ext-coupon continued:
- Extension ext-coupon continued: non-functional script added, template added
- Renamed all someFooTimestamp() functions to someFooEpocheTime() to make it
clear that the Uni* epoche time meant and not TIMESTAMP from MySQL
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 22:58:21 +0000 (22:58 +0000)]
Wrapper functions for converting commas in configuration added, ext-coupon continued
- First configuration template and script for ext-coupon added
- Wrapper functions convertCommaToDotInPostData() and convertCommaToDotInPostDataArray()
introduced which will wrap converting German comma into Computer's version
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 21:58:26 +0000 (21:58 +0000)]
Wrapper function introduced, double-quotes converted to single:
- Wrapper function createConfigurationTimeSelections() introduced
- A lot more double-quotes converted to single (speeds up things)
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 18:12:03 +0000 (18:12 +0000)]
Extension ext-coupon continued, missing template added:
- Extension ext-coupon continued (and documented in wiki: http://wiki.mxchange.org/doku.php/de/developer/ideas/extensions/ext-coupon)
- Other German word for 'Standard' used, maybe 'Ausgangs-' is more clear?
- Missing template added
- Minor code improvements here and there
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 03:00:45 +0000 (03:00 +0000)]
Introduced wrapper function addCreateTableSql(), fixed parameter order:
- Wrapper function addCreateTableSql() introduced which encapsulates checking
if a given table is already there and if not it will add a SQL statement to
the current extension's SQL queue
- Fixed a parameter ordering for ext-register
Roland Häder [Sat, 25 Jun 2011 02:34:12 +0000 (02:34 +0000)]
LAS (logical area system) table renamed, table comments added:
- For all extension tables there is now a comment :-) Have fun to read.
- Table admin_menu_stats renamed to admin_las_stats to make it more clear
Roland Häder [Sat, 25 Jun 2011 02:09:37 +0000 (02:09 +0000)]
Introduced template call-back function 'doTemplateAdminListUserTitle':
- Introduced template call-back function doTemplateAdminListUserTitle() which
encapsulates some nasty code into a small function
- Several minor cleanups/rewrites
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 00:46:57 +0000 (00:46 +0000)]
Introduced function determinePointsColumnFromSubjectLocked(), renamed filter:
- Introduced function determinePointsColumnFromSubjectLocked() which allows to
"route" added points to a different user's sub-account than just 'normal'
and 'locked'.
- Renamed filter 'add_points' to 'post_add_points'. You NEED to re-install
ext-mediadata to get accurate media data back (ext-booking is still in
development)
Roland Häder [Fri, 10 Jun 2011 22:12:18 +0000 (22:12 +0000)]
Extension 'ext-coupon' moved to branch, SQLs improved:
- All database columns should be surrounded with backticks (`) in all SQL
statements
- Extension 'ext-coupon' resurrected from 'contrib'
Roland Häder [Thu, 2 Jun 2011 05:00:15 +0000 (05:00 +0000)]
Moved all FILTER_FOO() filter functions to an own include directory:
- For example inc/filter/foo_filter.php holds filter functions for extension
'foo'
Roland Häder [Tue, 8 Mar 2011 11:31:10 +0000 (11:31 +0000)]
Substracting the count of \r\n in chunked-encoded HTTP messages indicates a broken HTTP server implementation, currently only the AnomicHTTPD ( http://anomic.de or http://yacy.net ) is known to me as broken
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