mailer.git
6 years agoFixes for SQL error + missing config
Roland Häder [Tue, 28 May 2013 12:52:35 +0000 (12:52 +0000)]
Fixes for SQL error + missing config

6 years agoHeacy rewrite/cleanup:
Roland Häder [Mon, 27 May 2013 13:37:29 +0000 (13:37 +0000)]
Heacy rewrite/cleanup:
- Removed all deprecated files (with only @DEPRECATED in it)
- Listing of blacklist entries added (may be uncomplete, untested)
- Fixed AJAX installer + added first admin registration to it
- Prepared better CAPTCHA support
- Various other fixes (tons!)
- TODOs.txt updated

6 years agoSince Wernis API 0.6-BETA SHA256 is the default now
Roland Häder [Sat, 4 May 2013 01:14:19 +0000 (01:14 +0000)]
Since Wernis API 0.6-BETA SHA256 is the default now

6 years agoExclude directories now
Roland Häder [Wed, 24 Apr 2013 03:23:06 +0000 (03:23 +0000)]
Exclude directories now

6 years agoFixes
Roland Häder [Wed, 24 Apr 2013 02:50:32 +0000 (02:50 +0000)]
Fixes

6 years agoAllow to find files where file extension is not important
Roland Häder [Wed, 24 Apr 2013 02:47:56 +0000 (02:47 +0000)]
Allow to find files where file extension is not important

6 years agoAdded optional withPrefixSuffix parameter (sorry for becoming silent)
Roland Häder [Tue, 23 Apr 2013 23:42:56 +0000 (23:42 +0000)]
Added optional withPrefixSuffix parameter (sorry for becoming silent)

7 years agoSome improvements, Doxyfile upgraded
Roland Häder [Sat, 23 Mar 2013 03:10:20 +0000 (03:10 +0000)]
Some improvements, Doxyfile upgraded

7 years agoRemoved this, you have to use your own anyway
Roland Häder [Thu, 14 Mar 2013 23:07:06 +0000 (23:07 +0000)]
Removed this, you have to use your own anyway

7 years agoDetect https and double-dot (port number)
Roland Häder [Thu, 14 Mar 2013 01:13:36 +0000 (01:13 +0000)]
Detect https and double-dot (port number)

7 years agoSupport all extensions in link, too
Roland Häder [Sat, 9 Mar 2013 16:29:28 +0000 (16:29 +0000)]
Support all extensions in link, too

7 years agoRenamed more:
Roland Häder [Wed, 6 Mar 2013 00:32:24 +0000 (00:32 +0000)]
Renamed more:
- F -> file (no shortened names)
- L -> line (same)
- Found some SQL_FOOBAR() in comments

7 years agoRenamed all SQL-related functions to camel-case notation
Roland Häder [Wed, 6 Mar 2013 00:24:19 +0000 (00:24 +0000)]
Renamed all SQL-related functions to camel-case notation

7 years agoBut only when it is not empty
Roland Häder [Tue, 26 Feb 2013 22:30:10 +0000 (22:30 +0000)]
But only when it is not empty

7 years agoSecure sensetive data
Roland Häder [Tue, 26 Feb 2013 22:28:33 +0000 (22:28 +0000)]
Secure sensetive data

7 years agoWhy WDS66.com? :(
Roland Häder [Fri, 15 Feb 2013 15:42:18 +0000 (15:42 +0000)]
Why WDS66.com?  :(

7 years agoFurther fixes for all resets
Roland Häder [Fri, 1 Feb 2013 23:39:22 +0000 (23:39 +0000)]
Further fixes for all resets

7 years agoOpps :(
Roland Häder [Fri, 1 Feb 2013 23:15:42 +0000 (23:15 +0000)]
Opps :(

7 years agoIt is 'status', not 'task_status'
Roland Häder [Fri, 1 Feb 2013 23:14:46 +0000 (23:14 +0000)]
It is 'status', not 'task_status'

7 years agoFixes for display problems with labeled input fields
Roland Häder [Fri, 25 Jan 2013 09:06:11 +0000 (09:06 +0000)]
Fixes for display problems with labeled input fields

7 years agoAdded more configuration wrappers
Roland Häder [Thu, 24 Jan 2013 22:06:39 +0000 (22:06 +0000)]
Added more configuration wrappers

7 years agoAlso update copyright in these files
Roland Häder [Thu, 24 Jan 2013 19:07:01 +0000 (19:07 +0000)]
Also update copyright in these files

7 years agoUpdated copyright notice as there are changes in this year
Roland Häder [Thu, 24 Jan 2013 18:51:48 +0000 (18:51 +0000)]
Updated copyright notice as there are changes in this year

7 years agoOne more underscore to make it more readable
Roland Häder [Wed, 23 Jan 2013 20:46:51 +0000 (20:46 +0000)]
One more underscore to make it more readable

7 years agoMark as not found when array is closed
Roland Häder [Wed, 23 Jan 2013 20:39:33 +0000 (20:39 +0000)]
Mark as not found when  array is closed

7 years agoUse rebuildCache() instead of loadCacheFile()/removeCacheFile()
Roland Häder [Wed, 23 Jan 2013 20:37:06 +0000 (20:37 +0000)]
Use rebuildCache() instead of loadCacheFile()/removeCacheFile()

7 years agoFor these IP locks, the real IP address is required, not any anonymized
Roland Häder [Wed, 23 Jan 2013 18:32:10 +0000 (18:32 +0000)]
For these IP locks, the real IP address is required, not any anonymized

7 years agoMaybe better this way?
Roland Häder [Wed, 23 Jan 2013 18:27:44 +0000 (18:27 +0000)]
Maybe better this way?

7 years agoAdded support for favicon.ico/gif/png in base path (very basic support)
Roland Häder [Wed, 23 Jan 2013 18:20:07 +0000 (18:20 +0000)]
Added support for favicon.ico/gif/png in base path (very basic support)

7 years agoContinued with ext-blacklist:
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

7 years agoRewrote new extension detection:
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

7 years agoFixes and other improvements
Roland Häder [Wed, 23 Jan 2013 16:36:30 +0000 (16:36 +0000)]
Fixes and other improvements

7 years agoConfiguration 'internal_stats' is provided by ext-other and may not always be available
Roland Häder [Wed, 23 Jan 2013 14:38:15 +0000 (14:38 +0000)]
Configuration 'internal_stats' is provided by ext-other and may not always be available

7 years agoFixes
Roland Häder [Wed, 23 Jan 2013 14:36:31 +0000 (14:36 +0000)]
Fixes

7 years agoAlso 'min_age' is now wrapped
Roland Häder [Wed, 23 Jan 2013 14:33:16 +0000 (14:33 +0000)]
Also 'min_age' is now wrapped

7 years agoIntroduced (means, being added and then used) more wrappers for ext-order/other
Roland Häder [Wed, 23 Jan 2013 14:31:38 +0000 (14:31 +0000)]
Introduced (means, being added and then used) more wrappers for ext-order/other

7 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

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

7 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

7 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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)

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

7 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

7 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

7 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

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

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

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

7 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

7 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

7 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

7 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'

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

7 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

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

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

7 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

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

7 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

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

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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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 :(

7 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

7 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

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

7 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);

7 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

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

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

7 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'

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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