mailer.git
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

11 years agoMoved to this position, so both are closer to each other
Roland Häder [Thu, 27 Dec 2012 04:23:04 +0000 (04:23 +0000)]
Moved to this position, so both are closer to each other

11 years agoext-admins must be checked here, first admin had never 'allow'
Roland Häder [Thu, 27 Dec 2012 04:21:25 +0000 (04:21 +0000)]
ext-admins must be checked here, first admin had never 'allow'

11 years agoMore fixes for new installer and script in general :(
Roland Häder [Thu, 27 Dec 2012 04:11:37 +0000 (04:11 +0000)]
More fixes for new installer and script in general :(

11 years agoIgnore all cache files
Roland Häder [Thu, 27 Dec 2012 01:46:06 +0000 (01:46 +0000)]
Ignore all cache files

11 years agoAJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
Roland Häder [Thu, 27 Dec 2012 01:40:28 +0000 (01:40 +0000)]
AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present (hint: see installer)

11 years agoFixed :(
Roland Häder [Wed, 26 Dec 2012 18:45:00 +0000 (18:45 +0000)]
Fixed :(

11 years agoContinued on AJAX installer to start first step (more are easily to add)
Roland Häder [Wed, 26 Dec 2012 18:11:19 +0000 (18:11 +0000)]
Continued on AJAX installer to start first step (more are easily to add)

11 years agoAdded note for entering alternative prefix
Roland Häder [Mon, 24 Dec 2012 12:17:30 +0000 (12:17 +0000)]
Added note for entering alternative prefix

11 years agoMinor improvements, wrote all upper-case
Roland Häder [Sat, 22 Dec 2012 22:38:26 +0000 (22:38 +0000)]
Minor improvements, wrote all upper-case

11 years agoAlso this old column name is back ...
Roland Häder [Wed, 19 Dec 2012 21:08:59 +0000 (21:08 +0000)]
Also this old column name is back ...

11 years agoThe old column name 'id' must be back :(
Roland Häder [Wed, 19 Dec 2012 21:07:16 +0000 (21:07 +0000)]
The old column name 'id' must be back :(

11 years agoThis is correct (sorry)
Roland Häder [Wed, 19 Dec 2012 21:06:15 +0000 (21:06 +0000)]
This is correct (sorry)

11 years agoFix id->ext_id, moved SQL in right place
Roland Häder [Fri, 14 Dec 2012 14:13:28 +0000 (14:13 +0000)]
Fix id->ext_id, moved SQL in right place

11 years agoMinor fix
Roland Häder [Fri, 14 Dec 2012 12:35:26 +0000 (12:35 +0000)]
Minor fix

11 years agoProtection for all DOCS directories
Roland Häder [Sun, 2 Dec 2012 10:25:23 +0000 (10:25 +0000)]
Protection for all DOCS directories

11 years agoOpps :(
Roland Häder [Sat, 1 Dec 2012 15:40:40 +0000 (15:40 +0000)]
Opps :(

11 years agoMore improvements:
Roland Häder [Sat, 1 Dec 2012 15:39:50 +0000 (15:39 +0000)]
More improvements:
- More configuration wrapper functions added
- Renamed templates to naming convention
- Updated TODOs.txt

11 years agoBetter explanations
Roland Häder [Sat, 1 Dec 2012 15:08:24 +0000 (15:08 +0000)]
Better explanations

11 years agoIntroduced 'per-what-word-wrapping
Roland Häder [Sat, 1 Dec 2012 15:05:07 +0000 (15:05 +0000)]
Introduced 'per-what-word-wrapping

11 years agoAdded more missing wrappers
Roland Häder [Sat, 1 Dec 2012 12:28:05 +0000 (12:28 +0000)]
Added more missing wrappers

11 years agoForgot it to comment out ... :(
Roland Häder [Wed, 28 Nov 2012 17:50:17 +0000 (17:50 +0000)]
Forgot it to comment out ... :(

11 years agoSwapped out more HTML to templates (see ticket #68)
Roland Häder [Wed, 28 Nov 2012 17:40:12 +0000 (17:40 +0000)]
Swapped out more HTML to templates (see ticket #68)

11 years agoFixed registration of ext-bonus, used [userid] instead of
Roland Häder [Wed, 28 Nov 2012 16:57:24 +0000 (16:57 +0000)]
Fixed registration of ext-bonus, used [userid] instead of

11 years agoNew function introduced, fixes for extension installation:
Roland Häder [Wed, 28 Nov 2012 16:32:34 +0000 (16:32 +0000)]
New function introduced, fixes for extension installation:
- Function isTaskIdValid() introduced which checks whether the given task id is
  valid
- Fixed installation of extensions
- Wrapper functions for config table updates now don't check again (as the
  "inner" functions are already doing it)

11 years agoCode moved to other include file:
Roland Häder [Wed, 28 Nov 2012 15:46:32 +0000 (15:46 +0000)]
Code moved to other include file:
- Moved a lot SQL functions which doesn't encapsulate a corresponding
  mysql_foo() function to sql-functions.php
- rewrote loader part
- TODOs.txt updated