Roland Häder [Tue, 28 Jun 2011 07:16:31 +0000 (07:16 +0000)]
Some more code-cleanups:
- More usage of EL
- Deprecated code removed
- Some text improved
- TODO.txt updated
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:51:31 +0000 (05:51 +0000)]
Some text made more clear
Roland Häder [Tue, 28 Jun 2011 05:29:19 +0000 (05:29 +0000)]
Casting added, fix for bigintval() verifcation
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 20:59:47 +0000 (20:59 +0000)]
Spaces added because we don't use spaces in SQL queries but in PHP code
Roland Häder [Sat, 25 Jun 2011 20:45:11 +0000 (20:45 +0000)]
Wrapper functions introduced for configuration, loaders refactured:
- Introduced addConfigDropSql() and addConfigChangeSql() to encapsulate dropping
and changing database configuration entries
- Refactured header (abort lines) for all loaders
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 18:42:53 +0000 (18:42 +0000)]
Double question mark fixed
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 05:14:29 +0000 (05:14 +0000)]
Missing variable fixed, array initialization moved
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:13:56 +0000 (02:13 +0000)]
Typo fixed :(
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 01:30:13 +0000 (01:30 +0000)]
Changed important SERVER_URL which now points to the right URL
Roland Häder [Sat, 25 Jun 2011 01:24:02 +0000 (01:24 +0000)]
Some cleanups/rewrites here and there:
- Several small rewrites
- TODOs.txt updated
Roland Häder [Sat, 25 Jun 2011 01:05:21 +0000 (01:05 +0000)]
Renamed generic 'data' to 'filterData'
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 [Sat, 18 Jun 2011 02:08:04 +0000 (02:08 +0000)]
Maybe this text is more clear?
Roland Häder [Sat, 18 Jun 2011 02:02:46 +0000 (02:02 +0000)]
Encapsulated adding configuration entries with new wrapper function addConfigAddSql()
Roland Häder [Tue, 14 Jun 2011 16:51:08 +0000 (16:51 +0000)]
Bad typo fixed and extension 'ext-coupon' started:
- Typo fixed
- Extension 'ext-coupon' started
- TODOs.txt updated
Roland Häder [Tue, 14 Jun 2011 16:45:45 +0000 (16:45 +0000)]
DEBUG_MODE is N now by default
Roland Häder [Sat, 11 Jun 2011 00:41:37 +0000 (00:41 +0000)]
Some more encapulation of global array elements for extensions
Roland Häder [Fri, 10 Jun 2011 22:24:12 +0000 (22:24 +0000)]
opps ...
Roland Häder [Fri, 10 Jun 2011 22:23:17 +0000 (22:23 +0000)]
New wrapper function changeDataInLocalConfigurationFile() introduced
Roland Häder [Fri, 10 Jun 2011 22:18:32 +0000 (22:18 +0000)]
mailer for session entries. :)
Roland Häder [Fri, 10 Jun 2011 22:14:36 +0000 (22:14 +0000)]
ext-coupon is still unfinished
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 [Thu, 2 Jun 2011 03:39:45 +0000 (03:39 +0000)]
Interface URLs for SeCash.de updated to v3 'codes'
Roland Häder [Tue, 24 May 2011 17:09:38 +0000 (17:09 +0000)]
Spiders can handle 302 replies nicely these days ...
Roland Häder [Thu, 12 May 2011 00:19:14 +0000 (00:19 +0000)]
CIA.vc is down indefinitely :-(
Roland Häder [Wed, 4 May 2011 19:24:58 +0000 (19:24 +0000)]
Default prefix for all SQL tables is now 'mailer', developer team now mentioned, instead of domain
Roland Häder [Wed, 20 Apr 2011 04:50:00 +0000 (04:50 +0000)]
svn:eol-style set to 'native'
Roland Häder [Mon, 18 Apr 2011 20:43:26 +0000 (20:43 +0000)]
Added patch_core.sh to all 'cored' PHP projects to ease patching of the 'core' project
Roland Häder [Fri, 25 Mar 2011 10:34:19 +0000 (10:34 +0000)]
Renamed script to baseUrl to make it more clear
Roland Häder [Tue, 8 Mar 2011 13:04:10 +0000 (13:04 +0000)]
Added missing language string
Roland Häder [Tue, 8 Mar 2011 12:56:06 +0000 (12:56 +0000)]
Reverted previous commit, this is an unfinished area
Roland Häder [Tue, 8 Mar 2011 12:53:57 +0000 (12:53 +0000)]
Removed debug die() call
Roland Häder [Tue, 8 Mar 2011 12:25:38 +0000 (12:25 +0000)]
Fix for wrong detection of broken HTTP server
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 ( anomic.de or http://yacy.net ) is known to me as broken
Roland Häder [Sat, 26 Feb 2011 05:38:46 +0000 (05:38 +0000)]
fetchUserData() does not only fetch user data for a given userid, so is renamed to reflect this behaviour
Roland Häder [Sat, 26 Feb 2011 05:13:28 +0000 (05:13 +0000)]
Several minor HTML/CSS fixes
Roland Häder [Sat, 26 Feb 2011 04:46:32 +0000 (04:46 +0000)]
Fixed wrong braces
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 [Thu, 24 Feb 2011 21:51:45 +0000 (21:51 +0000)]
SQL command for member registration moved to proper extension
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 [Wed, 16 Feb 2011 14:46:09 +0000 (14:46 +0000)]
Function name fixed
Roland Häder [Wed, 16 Feb 2011 13:20:14 +0000 (13:20 +0000)]
We should write UTF-8 in upper-case
Roland Häder [Sat, 12 Feb 2011 10:28:41 +0000 (10:28 +0000)]
More usage of EL code in error messages
Roland Häder [Tue, 8 Feb 2011 03:29:52 +0000 (03:29 +0000)]
Duplicate function removed
Roland Häder [Tue, 8 Feb 2011 03:26:24 +0000 (03:26 +0000)]
Renamed a lot language strings to new naming convention, first english translation added
Roland Häder [Mon, 7 Feb 2011 15:46:01 +0000 (15:46 +0000)]
New wrapper functions introduced, TODOs.txt updated
Roland Häder [Mon, 7 Feb 2011 00:53:33 +0000 (00:53 +0000)]
Wrapper function isAdminsExpertWarningEnabled() introduced
Roland Häder [Mon, 7 Feb 2011 00:40:01 +0000 (00:40 +0000)]
Columns 'last_month' and 'last_week' are now TINYINT (was: CHAR)
Roland Häder [Mon, 7 Feb 2011 00:35:47 +0000 (00:35 +0000)]
ZEROFILL added (please change manually if sql_patches v0.7.5 is your version)
Roland Häder [Mon, 7 Feb 2011 00:34:16 +0000 (00:34 +0000)]
Properties set
Roland Häder [Mon, 7 Feb 2011 00:26:20 +0000 (00:26 +0000)]
Hourly reset introduced
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 [Sun, 30 Jan 2011 00:08:47 +0000 (00:08 +0000)]
Some code cleanups
Roland Häder [Sat, 29 Jan 2011 22:55:56 +0000 (22:55 +0000)]
Some code beaty applied
Roland Häder [Sat, 29 Jan 2011 21:49:02 +0000 (21:49 +0000)]
TODOs.txt updated
Roland Häder [Sat, 29 Jan 2011 21:48:19 +0000 (21:48 +0000)]
A lot more wrapper functions added, templates renamed
Roland Häder [Sat, 29 Jan 2011 17:52:25 +0000 (17:52 +0000)]
New wrapper function getTransferCode() introduced, double-quotes to single-quotes converted
Roland Häder [Sat, 29 Jan 2011 17:41:19 +0000 (17:41 +0000)]
HTML fixes and minor cleanups
Roland Häder [Sat, 29 Jan 2011 05:22:41 +0000 (05:22 +0000)]
Extra 'strong' tags removed
Roland Häder [Sat, 29 Jan 2011 05:11:50 +0000 (05:11 +0000)]
More wrapper functions added
Roland Häder [Sat, 29 Jan 2011 05:00:53 +0000 (05:00 +0000)]
More fixes for broken admin area
Roland Häder [Sat, 29 Jan 2011 04:32:55 +0000 (04:32 +0000)]
Even more fixes for broken first installation attempt (sorry all)
Roland Häder [Sat, 29 Jan 2011 03:39:55 +0000 (03:39 +0000)]
Copyright fixed, colors changed in default theme
Roland Häder [Fri, 28 Jan 2011 05:37:18 +0000 (05:37 +0000)]
Some more fixes and dependency between bonus<->sql_patches
Roland Häder [Fri, 28 Jan 2011 04:59:07 +0000 (04:59 +0000)]
SQL fix
Roland Häder [Thu, 27 Jan 2011 21:23:19 +0000 (21:23 +0000)]
Speed improvement, TODOs.txt updated:
- Several different hacks added to improve script execution time
- TODOs.txt updated
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 03:20:04 +0000 (03:20 +0000)]
Fixes some HTML errors, shell scripts cleaned up
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 [Tue, 18 Jan 2011 15:44:31 +0000 (15:44 +0000)]
Some language strings fixed, renamed. Copyright notice updated
Roland Häder [Mon, 10 Jan 2011 09:10:34 +0000 (09:10 +0000)]
Missing commata added
Roland Häder [Mon, 10 Jan 2011 09:06:13 +0000 (09:06 +0000)]
Fix for missing language string and variable renamed to better naming convention
Roland Häder [Mon, 10 Jan 2011 08:55:46 +0000 (08:55 +0000)]
Wrong array element fixed
Roland Häder [Mon, 10 Jan 2011 08:46:24 +0000 (08:46 +0000)]
Fix for bigintval() which does only take numbers
Roland Häder [Mon, 10 Jan 2011 08:33:31 +0000 (08:33 +0000)]
Fix for missing variable
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 [Sat, 8 Jan 2011 20:30:15 +0000 (20:30 +0000)]
Do we still need this query reset?
Roland Häder [Thu, 6 Jan 2011 05:51:15 +0000 (05:51 +0000)]
Renaming error
Roland Häder [Thu, 6 Jan 2011 05:31:25 +0000 (05:31 +0000)]
Also reset (aka daily reset scripts) renamed. The naming 'reset' came from the time when only daily reset scripts exist
Roland Häder [Thu, 6 Jan 2011 05:24:22 +0000 (05:24 +0000)]
Loader for cache files renamed to avoid a lot naming conflicts
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 23:02:55 +0000 (23:02 +0000)]
Yet another wrong array element fixed... :-(
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, 21 Dec 2010 19:22:20 +0000 (19:22 +0000)]
Missing bonus mode 'ADD' added
Roland Häder [Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)]
Fixed obsolete (?) links to category/payment