]> git.mxchange.org Git - mailer.git/log
mailer.git
11 years agoRenamed function, used more "pool functions":
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

11 years agoMINOR: Small code improvements
Roland Häder [Wed, 23 Jan 2013 11:52:26 +0000 (11:52 +0000)]
MINOR: Small code improvements

11 years agoIt is now not the best, but no display errors
Roland Häder [Wed, 23 Jan 2013 11:39:14 +0000 (11:39 +0000)]
It is now not the best, but no display errors

11 years agoFix for wrong variable name
Roland Häder [Wed, 23 Jan 2013 11:31:36 +0000 (11:31 +0000)]
Fix for wrong variable name

11 years agoRewrites to use filters instead of mass if() blocks
Roland Häder [Wed, 23 Jan 2013 11:20:08 +0000 (11:20 +0000)]
Rewrites to use filters instead of mass if() blocks

11 years agoSwapped all
Roland Häder [Wed, 23 Jan 2013 01:11:50 +0000 (01:11 +0000)]
Swapped all

11 years agoMore rewrites to configuration:
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

11 years agoRenamed function, added noisy debug line, renamed variable to make it more clear
Roland Häder [Tue, 22 Jan 2013 23:42:35 +0000 (23:42 +0000)]
Renamed function, added noisy debug line, renamed variable to make it more clear

11 years agoFixes for parser errors
Roland Häder [Tue, 22 Jan 2013 23:31:44 +0000 (23:31 +0000)]
Fixes for parser errors

11 years agoRewrote script to use more EL, introduced wrappers for sending pool:
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

11 years agoRewrote a lot parts to extract 'payments' table (+ handling) into own extension:
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

11 years agoBetter only check on daily reset
Roland Häder [Tue, 22 Jan 2013 21:26:16 +0000 (21:26 +0000)]
Better only check on daily reset

11 years agoRewrote reset and some extensions:
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

11 years agoExtension ext-blacklist continued:
Roland Häder [Mon, 21 Jan 2013 20:27:47 +0000 (20:27 +0000)]
Extension ext-blacklist continued:
- Added check in ext-register/mydata to check for email address
- Added filters for above check + unfinsihed logging
- TODOs.txt updated

11 years agoIntroduced new extension ext-blacklist:
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

11 years agoChanged order of AND to avoid call of function(s)
Roland Häder [Sun, 20 Jan 2013 15:50:14 +0000 (15:50 +0000)]
Changed order of AND to avoid call of function(s)

11 years agoRenamed more templates
Roland Häder [Sun, 20 Jan 2013 11:04:56 +0000 (11:04 +0000)]
Renamed more templates

11 years agoRewrote email if tasks has been purged
Roland Häder [Sun, 20 Jan 2013 10:50:45 +0000 (10:50 +0000)]
Rewrote email if tasks has been purged

11 years agoPartly added network 'Ads4Clicks' as some APIs return JavaScript code
Roland Häder [Thu, 17 Jan 2013 03:21:09 +0000 (03:21 +0000)]
Partly added network 'Ads4Clicks' as some APIs return JavaScript code

11 years agoTypos fixed + keep fake modules hidden
Roland Häder [Thu, 17 Jan 2013 02:20:02 +0000 (02:20 +0000)]
Typos fixed + keep fake modules hidden

11 years agoForgot this :(
Roland Häder [Thu, 17 Jan 2013 02:09:10 +0000 (02:09 +0000)]
Forgot this :(

11 years agoAdded fake modules
Roland Häder [Thu, 17 Jan 2013 02:07:16 +0000 (02:07 +0000)]
Added fake modules

11 years agoFixed sorting
Roland Häder [Thu, 17 Jan 2013 01:57:55 +0000 (01:57 +0000)]
Fixed sorting

11 years agoPlease find all these as they currently cause missing SQL columns if they are not...
Roland Häder [Thu, 17 Jan 2013 01:54:36 +0000 (01:54 +0000)]
Please find all these as they currently cause missing SQL columns if they are not renamed to new name

11 years agoRenamed 'comma_def' to 'max_comma' to fit with configuration entry
Roland Häder [Thu, 17 Jan 2013 01:49:45 +0000 (01:49 +0000)]
Renamed 'comma_def' to 'max_comma' to fit with configuration entry

11 years agoAlso had to fix this to make 'month, numeric' selection working
Roland Häder [Thu, 17 Jan 2013 01:46:54 +0000 (01:46 +0000)]
Also had to fix this to make 'month, numeric' selection working

11 years agoUse numeric months with zero instead of 'translated'
Roland Häder [Thu, 17 Jan 2013 01:39:24 +0000 (01:39 +0000)]
Use numeric months with zero instead of 'translated'

11 years agoForgot this to rename
Roland Häder [Thu, 17 Jan 2013 01:33:39 +0000 (01:33 +0000)]
Forgot this to rename

11 years agoFixed also usage of previously renamed fields as they must be the same
Roland Häder [Thu, 17 Jan 2013 01:28:32 +0000 (01:28 +0000)]
Fixed also usage of previously renamed fields as they must be the same

11 years agoFixed calls of addSelectionBox()
Roland Häder [Thu, 17 Jan 2013 01:23:38 +0000 (01:23 +0000)]
Fixed calls of addSelectionBox()

11 years agoTypos fixed
Roland Häder [Thu, 17 Jan 2013 01:16:41 +0000 (01:16 +0000)]
Typos fixed

11 years agoExtension ext-theme doesn't need to be activated in admin area
Roland Häder [Thu, 17 Jan 2013 01:09:58 +0000 (01:09 +0000)]
Extension ext-theme doesn't need to be activated in admin area

11 years agoFixed links
Roland Häder [Wed, 16 Jan 2013 04:20:54 +0000 (04:20 +0000)]
Fixed links

11 years agoExtension ext-network continued
Roland Häder [Wed, 16 Jan 2013 04:14:03 +0000 (04:14 +0000)]
Extension ext-network continued
- Added advertising network "Forced-Lose"
- Column 'network_api_config_site_id' now allows NULL
- Introduced function displayErrorMessage()
- TODOs.txt updated

11 years agoMissed this
Roland Häder [Wed, 16 Jan 2013 02:32:28 +0000 (02:32 +0000)]
Missed this

11 years agoAdded network 'Kueko-Net'
Roland Häder [Wed, 16 Jan 2013 02:29:07 +0000 (02:29 +0000)]
Added network 'Kueko-Net'

11 years agoExtension ext-network continued:
Roland Häder [Tue, 15 Jan 2013 12:09:13 +0000 (12:09 +0000)]
Extension ext-network continued:
- First erotic advertising network added (only softcore)
- LoseAds network added
- TODOs.txt updated

11 years agoAdded network 'Earn4Webbis'
Roland Häder [Mon, 14 Jan 2013 23:02:13 +0000 (23:02 +0000)]
Added network 'Earn4Webbis'

11 years agoExtension ext-network cleaned up
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

11 years agoExtension ext-network continued:
Roland Häder [Mon, 14 Jan 2013 20:13:49 +0000 (20:13 +0000)]
Extension ext-network continued:
- Network 'Werbeflut' added
- Prepared for Delete-URL feature
- TODOs.txt updated

11 years agoWrong array used
Roland Häder [Mon, 14 Jan 2013 05:17:57 +0000 (05:17 +0000)]
Wrong array used

11 years agoExtension ext-network continued:
Roland Häder [Mon, 14 Jan 2013 05:11:53 +0000 (05:11 +0000)]
Extension ext-network continued:
- Paid4Ad has now a new script, added support for it
- TODOs.txt updated

11 years agoExtension ext-network continued:
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

11 years agoSome major rewrites + ext-network continued:
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

11 years agoExtension ext-network continued:
Roland Häder [Sat, 12 Jan 2013 11:12:10 +0000 (11:12 +0000)]
Extension ext-network continued:
- Added optional 'VisualPayCheck' parameter for API configuration
- Added network 'ProAdverty'
- TODOs.txt updated

11 years agoAdded script template for cron jobs, fixed some checks on CSS/HTML mode
Roland Häder [Sat, 12 Jan 2013 06:37:44 +0000 (06:37 +0000)]
Added script template for cron jobs, fixed some checks on CSS/HTML mode

11 years agoRequires business card for payout :(
Roland Häder [Sat, 12 Jan 2013 06:28:19 +0000 (06:28 +0000)]
Requires business card for payout :(

11 years agoBetter checks + always return FALSE on abort
Roland Häder [Sat, 12 Jan 2013 06:25:55 +0000 (06:25 +0000)]
Better checks + always return FALSE on abort

11 years agoExtension ext-network continued:
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

11 years agoInit variables on top
Roland Häder [Thu, 10 Jan 2013 06:37:52 +0000 (06:37 +0000)]
Init variables on top

11 years agoUsed EL code {%template,LoadTemplate=foo%} instead of loadTemplate('foo', TRUE);
Roland Häder [Thu, 10 Jan 2013 06:29:49 +0000 (06:29 +0000)]
Used EL code {%template,LoadTemplate=foo%} instead of loadTemplate('foo', TRUE);

11 years agoRemoved some column aliases as they make it harder to check which column was ment
Roland Häder [Thu, 10 Jan 2013 06:04:48 +0000 (06:04 +0000)]
Removed some column aliases as they make it harder to check which column was ment

11 years agoTODOs.txt updated
Roland Häder [Thu, 10 Jan 2013 05:54:02 +0000 (05:54 +0000)]
TODOs.txt updated

11 years agoMINOR: Color fix
Roland Häder [Thu, 10 Jan 2013 04:56:55 +0000 (04:56 +0000)]
MINOR: Color fix

11 years agoUse 'in_loaded' instead of 'load_once'
Roland Häder [Thu, 10 Jan 2013 04:41:58 +0000 (04:41 +0000)]
Use 'in_loaded' instead of 'load_once'

11 years agoTheoretical working merge of mailid.php and mailid_top.php into mailid.php + a couple...
Roland Häder [Thu, 10 Jan 2013 04:29:42 +0000 (04:29 +0000)]
Theoretical working merge of mailid.php and mailid_top.php into mailid.php + a couple of call-back functions

11 years agoFilters for configurable userid exclusion added:
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

11 years agoSet proper mode and values
Roland Häder [Thu, 10 Jan 2013 01:31:10 +0000 (01:31 +0000)]
Set proper mode and values

11 years agoFixed some MIME types
Roland Häder [Thu, 10 Jan 2013 00:32:34 +0000 (00:32 +0000)]
Fixed some MIME types

11 years agoBetter report this instead of silent logging
Roland Häder [Thu, 10 Jan 2013 00:23:32 +0000 (00:23 +0000)]
Better report this instead of silent logging

11 years agoAdded separate debugging of 'hourly' reset
Roland Häder [Thu, 10 Jan 2013 00:15:49 +0000 (00:15 +0000)]
Added separate debugging of 'hourly' reset

11 years agoUse countSumTotalData() instead of SQL query
Roland Häder [Wed, 9 Jan 2013 22:20:07 +0000 (22:20 +0000)]
Use countSumTotalData() instead of SQL query

11 years agoAlso ignored *.rss from over-worked RDF/RSS parser
Roland Häder [Wed, 9 Jan 2013 21:17:10 +0000 (21:17 +0000)]
Also ignored *.rss from over-worked RDF/RSS parser

11 years agoRDF/RSS parser fixed:
Roland Häder [Wed, 9 Jan 2013 21:09:18 +0000 (21:09 +0000)]
RDF/RSS parser fixed:
- Added possiblity of a call-back function for finish() method
- Fixed many other things (sorry)
- TODOs.txt updated

11 years agoSave cache 'compacted'
Roland Häder [Wed, 9 Jan 2013 20:15:17 +0000 (20:15 +0000)]
Save cache 'compacted'

11 years agoFixes to HTTP functions to return proper HTTP body and headers:
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

11 years agoBug fixed :(
Roland Häder [Wed, 9 Jan 2013 05:19:31 +0000 (05:19 +0000)]
Bug fixed :(

11 years agoMore usage of padLeftZero() instead of prependZeros() but use prependZeros() as a...
Roland Häder [Wed, 9 Jan 2013 05:17:43 +0000 (05:17 +0000)]
More usage of padLeftZero() instead of prependZeros() but use prependZeros() as a fall-back if str_pad() is not available

11 years agoIntroduced padLeftZero()
Roland Häder [Wed, 9 Jan 2013 05:14:09 +0000 (05:14 +0000)]
Introduced padLeftZero()

11 years agoExtension ext-network continued:
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

11 years agoMINOR: Mark closing braces that closes a simple if() block
Roland Häder [Tue, 8 Jan 2013 23:57:08 +0000 (23:57 +0000)]
MINOR: Mark closing braces that closes a simple if() block

11 years agoPrevious attempt fixed
Roland Häder [Tue, 8 Jan 2013 23:47:25 +0000 (23:47 +0000)]
Previous attempt fixed

11 years agoFixes for 'click URL' and weltpromotion rename
Roland Häder [Tue, 8 Jan 2013 18:45:09 +0000 (18:45 +0000)]
Fixes for 'click URL' and weltpromotion rename

11 years agoLess logging if this is not needed
Roland Häder [Tue, 8 Jan 2013 17:36:29 +0000 (17:36 +0000)]
Less logging if this is not needed

11 years agoAdded more logging of half-failed AJAX requests
Roland Häder [Tue, 8 Jan 2013 17:27:52 +0000 (17:27 +0000)]
Added more logging of half-failed AJAX requests

11 years agoReplace double-quotes with single
Roland Häder [Sun, 6 Jan 2013 21:56:33 +0000 (21:56 +0000)]
Replace double-quotes with single

11 years agoAdded cron.php:
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

11 years agoIntroduced ext-cron
Roland Häder [Sun, 6 Jan 2013 21:30:36 +0000 (21:30 +0000)]
Introduced ext-cron

11 years agoThese scripts don't need to be included in seaech engine results
Roland Häder [Sun, 6 Jan 2013 21:16:56 +0000 (21:16 +0000)]
These scripts don't need to be included in seaech engine results

11 years agoTemplate script for image 'tags' (e.g. hidden 1x1 pixel for self-maintenance) added
Roland Häder [Sun, 6 Jan 2013 21:13:54 +0000 (21:13 +0000)]
Template script for image 'tags' (e.g. hidden 1x1 pixel for self-maintenance) added

11 years agoFixed also CSS eol-style, updated prop-set.sh
Roland Häder [Sun, 6 Jan 2013 20:28:32 +0000 (20:28 +0000)]
Fixed also CSS eol-style, updated prop-set.sh

11 years agoCorrect MIME type for CSS files set
Roland Häder [Sun, 6 Jan 2013 20:27:02 +0000 (20:27 +0000)]
Correct MIME type for CSS files set

11 years agoMailer project rwritten:
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

11 years agoMore cleanups
Roland Häder [Thu, 3 Jan 2013 04:34:06 +0000 (04:34 +0000)]
More cleanups

11 years agoCleanups + optional binding to mailer functions
Roland Häder [Thu, 3 Jan 2013 04:23:02 +0000 (04:23 +0000)]
Cleanups + optional binding to mailer functions

11 years agoRemoved wrong margin-top
Roland Häder [Sun, 30 Dec 2012 21:37:36 +0000 (21:37 +0000)]
Removed wrong margin-top

11 years agoUse recently added wrapper translateFullComma()
Roland Häder [Sun, 30 Dec 2012 00:58:24 +0000 (00:58 +0000)]
Use recently added wrapper translateFullComma()

11 years agoSome improvements:
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

11 years agoconvertSelectionsToEpocheTimeInPostData() is a wrapper and only needs the POST field...
Roland Häder [Sun, 30 Dec 2012 00:21:11 +0000 (00:21 +0000)]
convertSelectionsToEpocheTimeInPostData() is a wrapper and only needs the POST field's name

11 years agoUsed isPostRequestElementSet() instead of comparing postRequestElement() with empty...
Roland Häder [Sun, 30 Dec 2012 00:18:34 +0000 (00:18 +0000)]
Used isPostRequestElementSet() instead of comparing postRequestElement() with empty string

11 years agoSome reverts/fixes
Roland Häder [Sun, 30 Dec 2012 00:00:48 +0000 (00:00 +0000)]
Some reverts/fixes

11 years agoThe usual changes: forms fixed
Roland Häder [Sat, 29 Dec 2012 23:56:28 +0000 (23:56 +0000)]
The usual changes: forms fixed

11 years agoCheck if at least one parameter (mostly still to less) is given
Roland Häder [Sat, 29 Dec 2012 00:26:29 +0000 (00:26 +0000)]
Check if at least one parameter (mostly still to less) is given

11 years agoIntroduced ext-alert
Roland Häder [Sat, 29 Dec 2012 00:09:25 +0000 (00:09 +0000)]
Introduced ext-alert

11 years agoAgain usual change ... (you know what)
Roland Häder [Fri, 28 Dec 2012 23:39:18 +0000 (23:39 +0000)]
Again usual change ... (you know what)

11 years agoUsual change: ok->other_than_ok ;)
Roland Häder [Fri, 28 Dec 2012 23:19:49 +0000 (23:19 +0000)]
Usual change: ok->other_than_ok ;)

11 years agoFix for missing & symbol in URI
Roland Häder [Fri, 28 Dec 2012 23:16:11 +0000 (23:16 +0000)]
Fix for missing & symbol in URI

11 years agoFix: Use {%server,foo_bar%} not {%server=foo_bar%}
Roland Häder [Fri, 28 Dec 2012 23:14:25 +0000 (23:14 +0000)]
Fix: Use {%server,foo_bar%} not {%server=foo_bar%}

11 years agoRemove array element in cached mode
Roland Häder [Fri, 28 Dec 2012 22:35:28 +0000 (22:35 +0000)]
Remove array element in cached mode

11 years agoMajor rewrite of template system:
Roland Häder [Fri, 28 Dec 2012 22:21:08 +0000 (22:21 +0000)]
Major rewrite of template system:
- Major rewrite on template system:
  + Added code in flushTemplateCache() which will reduce compilation loops
    in doFinalCompilation() which gives a speed boost about 10-20% (not sure)
  + All template caches are now included, not read which gives another speed
    boost
  + DO ALWAYS PURGE YOUR TEMPLATE CACHES!!!
- Other minor rewrites
- Internal TODO closed by removing deprecated parameters
- TODOs.txt updated