Roland Häder [Wed, 23 Jan 2013 17:33:14 +0000 (17:33 +0000)]
Continued with ext-blacklist:
- Blacklisting of IP addresses now possible (with pattern as for all)
- Resorted ext-blacklist library, added new functions for IP blacklisting
- TODOs.txt updated
Roland Häder [Wed, 23 Jan 2013 16:55:34 +0000 (16:55 +0000)]
Rewrote new extension detection:
- Updated new extension detection (and task registration) so that it won't use
so much database space anymore as this only adds a place-holder (see below)
- Renamed OPEN/CLOSE_TEMPLATE TO OPEN/CLOSE_LANGUAGE
- Added OPEN/CLOSE_TEMPLATE for {% and %}
- TODOs.txt updated
Roland Häder [Wed, 23 Jan 2013 14:14:06 +0000 (14:14 +0000)]
Renamed function, used more "pool functions":
- Renamed SQL_INSERTID() to SQL_INSERT_ID()
- Used more functions from inc/pool-funtions.php instead of JOINs and queries
- TODOs.txt updated
Roland Häder [Wed, 23 Jan 2013 01:10:11 +0000 (01:10 +0000)]
More rewrites to configuration:
- Moved more configuration entries from tables.sql to proper extensions
- Moved some configuration from/to ext-other to/from ext-foo
- Swapped out 'update' step for ext-register
- TODOs.txt updated
Roland Häder [Tue, 22 Jan 2013 23:27:13 +0000 (23:27 +0000)]
Rewrote script to use more EL, introduced wrappers for sending pool:
- Introduced wrapper function getPaymentTime() and getPaymentPayment() and used
both in EL code instead of PHP script
- Added new function library "pool-functions.php"
- Rewrote reading emails from "pool" table
- Rewrote updating of "pool data"
- TODOs.txt updated
Roland Häder [Tue, 22 Jan 2013 22:12:18 +0000 (22:12 +0000)]
Rewrote a lot parts to extract 'payments' table (+ handling) into own extension:
- Tried to avoid JOINs where possible to instead load data with getters from
cache
- Renamed many array elements for payment data to match with database columns
- Used more EL code for payment data
- TODOs.txt updated
Roland Häder [Tue, 22 Jan 2013 21:24:57 +0000 (21:24 +0000)]
Rewrote reset and some extensions:
- Rewrote script reset that weekly and monthly are now separated out from daily
functions
- Rewrote ext-profile/order to handle their own configuration entries (were all
in ext-other)
- Moved large 'update' block for ext-order out to
inc/extensions/order/mode-update.php
- TODOs.txt updated
Roland Häder [Mon, 21 Jan 2013 19:25:51 +0000 (19:25 +0000)]
Introduced new extension ext-blacklist:
- Extracted new extension ext-blacklist from aldready existing functions, as
this should become a more generic black-/white listing feature
- TODOs.txt updated
Roland Häder [Mon, 14 Jan 2013 21:05:30 +0000 (21:05 +0000)]
Extension ext-network cleaned up
- I had a missunderstanding with how vcheck works, now I know it better :(
- Rewrite some functions to use countSumTotalData() and "cache" it
- TODOs.txt updated
Roland Häder [Mon, 14 Jan 2013 04:43:04 +0000 (04:43 +0000)]
Extension ext-network continued:
- More advertising networks added: Ads4AllWeb, Ads-Im-Netz, Ads4Paid4, Paid-City
- Added check if POST method was used except for export
Roland Häder [Mon, 14 Jan 2013 00:16:12 +0000 (00:16 +0000)]
Some major rewrites + ext-network continued:
- A lot more advertising network added (GolloX is still missing)
- Renamed extension mode 'register' to 'setup' to have no conflicting file names
- Large extension modes (a lot code) can now be swapped out to "mode" files,
see inc/extensions/foo/mode-bar.php for them. These mode-files will be loaded
after the main include has been loaded
- TODOs.txt updated
Roland Häder [Sat, 12 Jan 2013 06:16:15 +0000 (06:16 +0000)]
Extension ext-network continued:
- Added basic data for GolloX
- Added network Giga-Ad
- Corrected some wrong BID to CID were no banner is used
- Added v1/v2 to click URLs of all (?) supported networks
- TODOs.txt updated
Roland Häder [Thu, 10 Jan 2013 02:40:24 +0000 (02:40 +0000)]
Filters for configurable userid exclusion added:
- Rewrote some if() blocks to a filter to exclude configured userids, if set
- Closed internal TODO (see above)
- Added SQL columns/aliases/table names in back-ticks (missed some)
- TODOs.txt updated
Roland Häder [Wed, 9 Jan 2013 20:09:30 +0000 (20:09 +0000)]
Fixes to HTTP functions to return proper HTTP body and headers:
- Emptied to .htaccess files to allow accessing doxygen documentation (html)
- The first "$response = array('', '', '')" line caused to much trouble
- Use "strlen($line) == 0" instead of "empty($line)" or else \r\n will be
detected as empty
- Removed superfluious empty line removal block
- Fixed broken HTTP headers
- Added \r\n to them to mimic header->body
- TODOs.txt updated
Roland Häder [Wed, 9 Jan 2013 01:49:24 +0000 (01:49 +0000)]
Extension ext-network continued:
- Fixed a lot array indexes (27->41)
- Added advertising network 'Crystall' (only Klammlose)
- Internal TODO closed: All api_2.php scripts with parameter "&vc=" are sending
8 array elements, but 7th is empty if not used
- TODOs.txt updated
Roland Häder [Sun, 6 Jan 2013 21:35:28 +0000 (21:35 +0000)]
Added cron.php:
- This script can be called from outside cron job script or being called from
command-line (e.g. php /full/path/to/script/cron.php)
- The local script mode does not support parameters
- TODOs.txt updated
Roland Häder [Sun, 6 Jan 2013 20:25:35 +0000 (20:25 +0000)]
Mailer project rwritten:
- Extension ext-network continued:
+ More missing type handlers added
+ Also array element translations added
+ Made API query generally working
+ Added missing what-config_network.php to allow configuration
+ Many other improvements
- Used correct MIME type for JavaScripts (text/javascript)
- Many other rewrites
- TODOs.txt updated
Roland Häder [Sun, 30 Dec 2012 00:57:13 +0000 (00:57 +0000)]
Some improvements:
- Used wrapper convertCommaToDotInPostData() instead of that wrapped code
- Init database charset to UTF-8 by default
- Use a mask for float instead (float) casting