mailer.git
5 years agoFirst batch of removal of the headers needed for revision-functions.php
Roland Haeder [Thu, 17 Apr 2014 21:04:32 +0000 (23:04 +0200)]
First batch of removal of the headers needed for revision-functions.php
(repository-x-only stuff is not a good idea in general terms).

Renamed lib-mysql3.php ->lib-mysql.php for upcoming commits.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoSome more improvements:
Roland Haeder [Wed, 16 Apr 2014 19:27:16 +0000 (21:27 +0200)]
Some more improvements:
- 'provider' renamed to 'registration_provider' (GET parameter)
- Added developer-only code (do only use if you are developing on the
  registration and don't want to have registrations, e.g. because you are
  implementing a new registration provider.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoSome improvements:
Roland Haeder [Wed, 16 Apr 2014 18:07:34 +0000 (20:07 +0200)]
Some improvements:
- No need for 'status' in $content because it is always '1' at this point
- Fixed form name and submit button to allow isFormSent() call catch it

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoAdded missing elements for WDS66-based registration.
Roland Haeder [Wed, 16 Apr 2014 18:01:23 +0000 (20:01 +0200)]
Added missing elements for WDS66-based registration.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoThe maximum file size needs to be increased a little. Still you may not need
Roland Haeder [Tue, 8 Apr 2014 21:14:50 +0000 (23:14 +0200)]
The maximum file size needs to be increased a little. Still you may not need
to worry about your small files as @DEPRECATED must be included to be found by
this script.

Deleted deprecated files + updated TODOs.txt.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoSome fixes?
Roland Haeder [Tue, 8 Apr 2014 21:11:19 +0000 (23:11 +0200)]
Some fixes?

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoAlso use git here.
Roland Haeder [Tue, 8 Apr 2014 21:09:54 +0000 (23:09 +0200)]
Also use git here.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years ago- Introduced generateDateMonthYearSelectionBox() which is suitable for e.g.
Roland Haeder [Tue, 8 Apr 2014 21:03:17 +0000 (23:03 +0200)]
- Introduced generateDateMonthYearSelectionBox() which is suitable for e.g.
  birthday input fields.
- Introduced doTemplateDisplayReferralIdContent() template helper to get rid
  of an unneccessary if() block and $content[foo] in template
- Content of template register_header.tpl has now been moved to
  inc/language/register_de.php and has marked as deprecated
- Added new template (unfinished) for ext-wernis registration provider

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years ago- remove triplle extension (.tpl.cache.php)
Roland Haeder [Tue, 8 Apr 2014 19:19:12 +0000 (21:19 +0200)]
- remove triplle extension (.tpl.cache.php)
- ignored only new cache files
- missed to use getPath() to generate FQFN (full-qualified file name) for template cache file

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoIntroduced some wrapper functions, the extension for cache files is now .cache.php...
Roland Haeder [Tue, 8 Apr 2014 19:11:57 +0000 (21:11 +0200)]
Introduced some wrapper functions, the extension for cache files is now .cache.php to make them executed on servers like Lighttpd. This will make the data "invisible" to the client as the script only contains an array.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoIntroduced getWernisMapedDataFromApiByChallenge()
Roland Haeder [Tue, 8 Apr 2014 18:47:07 +0000 (20:47 +0200)]
Introduced getWernisMapedDataFromApiByChallenge()

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued with ext-wernis:
Roland Haeder [Sun, 6 Apr 2014 21:25:19 +0000 (23:25 +0200)]
Continued with ext-wernis:
- Added wernis_refid column which will hold the referral id from WDS66. This
  can be used to link a registered (through ext-wernis, not ext-register)
  account with this.
- Added registration provider to mappedData array
- Some rewrites
- Added convertEmptyToNull() (generic)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoAdded more functions to handle registrations over WDS66 + encapsulated check for...
Roland Haeder [Sun, 6 Apr 2014 16:27:23 +0000 (18:27 +0200)]
Added more functions to handle registrations over WDS66 + encapsulated check for HTTP response status.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoMerge branch 'contrib' into 0.2.1-FINAL
Roland Haeder [Mon, 3 Feb 2014 19:27:58 +0000 (20:27 +0100)]
Merge branch 'contrib' into 0.2.1-FINAL

Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
.gitattributes
.gitignore

5 years agoAdded 'core' to be ignored here as this branch is not based on it
Roland Haeder [Mon, 3 Feb 2014 19:22:44 +0000 (20:22 +0100)]
Added 'core' to be ignored here as this branch is not based on it

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoMoved to contrib/ in preperation for merge
Roland Haeder [Mon, 3 Feb 2014 19:18:29 +0000 (20:18 +0100)]
Moved to contrib/ in preperation for merge

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agomoved for svn-git switch
Roland Häder [Sun, 2 Feb 2014 00:48:07 +0000 (00:48 +0000)]
moved for svn-git switch

5 years agomoved for svn-git switch
Roland Häder [Sun, 2 Feb 2014 00:48:07 +0000 (00:48 +0000)]
moved for svn-git switch

5 years agoCommented out noisy debug line
Roland Häder [Sun, 19 Jan 2014 13:27:56 +0000 (13:27 +0000)]
Commented out noisy debug line

5 years agoThe wiki is now SSL-secured
Roland Häder [Thu, 26 Dec 2013 19:23:42 +0000 (19:23 +0000)]
The wiki is now SSL-secured

6 years agoDisallow subtraction on unsigned columns:
Roland Häder [Sat, 30 Nov 2013 21:31:21 +0000 (21:31 +0000)]
Disallow subtraction on unsigned columns:

When you use subtraction between integer values where one is of type
UNSIGNED, the result is unsigned unless the NO_UNSIGNED_SUBTRACTION SQL
mode is enabled. See Section 12.10, “Cast Functions and Operators”.

6 years agoFixed handling of SQL strings
Roland Häder [Mon, 7 Oct 2013 18:29:24 +0000 (18:29 +0000)]
Fixed handling of SQL strings

6 years agoRewrote 2 str_replace() calls to one with array()
Roland Häder [Sun, 1 Sep 2013 20:13:27 +0000 (20:13 +0000)]
Rewrote 2 str_replace() calls to one with array()

6 years agoSome cleanups/improvements
Roland Häder [Mon, 5 Aug 2013 20:18:58 +0000 (20:18 +0000)]
Some cleanups/improvements

6 years agoRe-added height, but smaller to make most menus appear shorter
Roland Häder [Sun, 4 Aug 2013 13:36:59 +0000 (13:36 +0000)]
Re-added height, but smaller to make most menus appear shorter

6 years agoRegistration provider continued:
Roland Häder [Sun, 4 Aug 2013 05:38:00 +0000 (05:38 +0000)]
Registration provider continued:
- Added missing guest templates, "translate" function, language elements
- Fixed handling of 'provider' parameter (renamed!) in filters
- Start of cleanup of CSS classes

6 years agoParser error fixed + some empty lines added between table rows (tr)
Roland Häder [Sat, 3 Aug 2013 07:57:11 +0000 (07:57 +0000)]
Parser error fixed + some empty lines added between table rows (tr)

6 years agoRewrote some code, added templates/functions:
Roland Häder [Wed, 31 Jul 2013 10:54:22 +0000 (10:54 +0000)]
Rewrote some code, added templates/functions:
- Introduced return(Error)Message() functions
- Added template for choosing registration provider
- Added template helper which reads all activated registration provider
- Other improvements

6 years agoReverted last commit, was not possible as filter chains can run within filter chains
Roland Häder [Wed, 31 Jul 2013 02:02:33 +0000 (02:02 +0000)]
Reverted last commit, was not possible as filter chains can run within filter chains

6 years agoAsserts + TODO added
Roland Häder [Wed, 31 Jul 2013 02:00:50 +0000 (02:00 +0000)]
Asserts + TODO added

6 years agoIntroduced interruptFilterChain() and continueFilterChain(). Please DO ALWAYS use...
Roland Häder [Wed, 31 Jul 2013 01:58:02 +0000 (01:58 +0000)]
Introduced interruptFilterChain() and continueFilterChain(). Please DO ALWAYS use thse functions instead of directly setting the global array element

6 years agoTODOs.txt updated :(
Roland Häder [Wed, 31 Jul 2013 01:35:12 +0000 (01:35 +0000)]
TODOs.txt updated :(

6 years agoContinued with registration provider:
Roland Häder [Wed, 31 Jul 2013 01:34:28 +0000 (01:34 +0000)]
Continued with registration provider:
- Added a lot filter for both ext-register/wernis to handle (partly finished)
  registration requests and forms
- Add config entry (currently not changeable in web interface) for default
  registration and login provider

6 years agoOpps :(
Roland Häder [Tue, 30 Jul 2013 20:56:50 +0000 (20:56 +0000)]
Opps :(

6 years agoUpdated domain without a dash :(
Roland Häder [Tue, 30 Jul 2013 07:21:10 +0000 (07:21 +0000)]
Updated domain without a dash :(

6 years agoEven more double->single converted
Roland Häder [Mon, 29 Jul 2013 23:30:41 +0000 (23:30 +0000)]
Even more double->single converted

6 years agoRewrote some parts:
Roland Häder [Mon, 29 Jul 2013 23:26:07 +0000 (23:26 +0000)]
Rewrote some parts:
- more double quotes converted to single (speed up)
- introduced isThemeReadable()
- Other minor rewrites

6 years agoBetter check if it is not empty (means set, too). This will speed-up the code again...
Roland Häder [Mon, 29 Jul 2013 22:57:47 +0000 (22:57 +0000)]
Better check if it is not empty (means set, too). This will speed-up the code again if no purpose is given

6 years agoAdded some wrappers to speed-up things
Roland Häder [Mon, 29 Jul 2013 22:55:33 +0000 (22:55 +0000)]
Added some wrappers to speed-up things

6 years agoExpanded input tags a little
Roland Häder [Mon, 29 Jul 2013 22:50:48 +0000 (22:50 +0000)]
Expanded input tags a little

6 years agoSome fixes:
Roland Häder [Mon, 29 Jul 2013 22:47:06 +0000 (22:47 +0000)]
Some fixes:
- added default value for optional parameter (better understanding)
- some double quotes converted to single
- fixes for Wernis API

6 years agoBetter use isValidSqlLink() (driver-dependent) than is_resource() which worked only...
Roland Häder [Mon, 29 Jul 2013 22:04:18 +0000 (22:04 +0000)]
Better use isValidSqlLink() (driver-dependent) than is_resource() which worked only with now deprecated MySQL extension

6 years agoFix for missing isValidSqlLink() when no database layer has been loaded. This functio...
Roland Häder [Wed, 3 Jul 2013 09:38:31 +0000 (09:38 +0000)]
Fix for missing isValidSqlLink() when no database layer has been loaded. This function depends on the layer because the MySQLi extension uses objects and the (deprecated) MySQL extension resources

6 years agoBetter 'translate' these columns
Roland Häder [Sat, 22 Jun 2013 23:01:07 +0000 (23:01 +0000)]
Better 'translate' these columns

6 years agoFixed 'missing' config entries, they were typed wrong. These shortcutted entries...
Roland Häder [Sat, 22 Jun 2013 22:12:30 +0000 (22:12 +0000)]
Fixed 'missing' config entries, they were typed wrong. These shortcutted entries will be renamed in the future

6 years agoMore double-quotes to single-quotes
Roland Häder [Sat, 22 Jun 2013 03:19:47 +0000 (03:19 +0000)]
More double-quotes to single-quotes

6 years agoMust be updated here as well :(
Roland Häder [Thu, 20 Jun 2013 20:57:43 +0000 (20:57 +0000)]
Must be updated here as well :(

6 years agoMySQLi requires at least a link resource for all its functions/methods #3
Roland Häder [Thu, 20 Jun 2013 20:56:23 +0000 (20:56 +0000)]
MySQLi requires at least a link resource for all its functions/methods #3

6 years agoMySQLi requires at least a link resource for all its functions/methods #2
Roland Häder [Thu, 20 Jun 2013 20:54:21 +0000 (20:54 +0000)]
MySQLi requires at least a link resource for all its functions/methods #2

6 years agoMySQLi requires at least a link resource for all its functions/methods
Roland Häder [Thu, 20 Jun 2013 20:52:57 +0000 (20:52 +0000)]
MySQLi requires at least a link resource for all its functions/methods

6 years agoOpps, old variable here
Roland Häder [Thu, 20 Jun 2013 20:43:56 +0000 (20:43 +0000)]
Opps, old variable here

6 years agoAdded missing 'abort' element
Roland Häder [Wed, 12 Jun 2013 03:24:30 +0000 (03:24 +0000)]
Added missing 'abort' element

6 years agoRemoved @deprecated from CSS inline/PHP output
Roland Häder [Wed, 12 Jun 2013 03:20:59 +0000 (03:20 +0000)]
Removed @deprecated from CSS inline/PHP output

6 years agoMySQLi support added (very basic):
Roland Häder [Wed, 12 Jun 2013 01:10:47 +0000 (01:10 +0000)]
MySQLi support added (very basic):
- Added very basic MySQLi module as MySQL extension is becoming deprecated
- Module for listing network API cache added
- Other minor fixes to get MySQLi working

6 years agoUsed 'network' and 'cache' in same file name, fixed proxy config language string
Roland Häder [Tue, 4 Jun 2013 13:42:23 +0000 (13:42 +0000)]
Used 'network' and 'cache' in same file name, fixed proxy config language string

6 years agoProject continued:
Roland Häder [Tue, 4 Jun 2013 12:45:38 +0000 (12:45 +0000)]
Project continued:
- Added more functions for ext-grade
- Fixesd XML template for ext-grade
- Added missing language element
- Swapped out 'setup' phase for ext-grade
- Added more asserts
- Various other fixes

6 years agoTypo fixed
Roland Häder [Sat, 1 Jun 2013 19:08:13 +0000 (19:08 +0000)]
Typo fixed

6 years agoAdded (unfinished) links to list API cache entries
Roland Häder [Sat, 1 Jun 2013 19:06:23 +0000 (19:06 +0000)]
Added (unfinished) links to list API cache entries

6 years agoFixed bug 'sprintf() too few arguments':
Roland Häder [Sat, 1 Jun 2013 18:57:43 +0000 (18:57 +0000)]
Fixed bug 'sprintf() too few arguments':
- This bug was caused by {% which is the EL code open "tag". In all language
  files this has to be renamed to {OPEN_TEMPLATE} and %} to {CLOSE_TEMPLATE}
  to avoid this bug in getMaskedMessage() function

6 years agoRenamed templates + added some filters for mail order
Roland Häder [Sat, 1 Jun 2013 17:17:05 +0000 (17:17 +0000)]
Renamed templates + added some filters for mail order

6 years agoLanguage string cleaned up
Roland Häder [Sat, 1 Jun 2013 09:26:44 +0000 (09:26 +0000)]
Language string cleaned up

6 years agoSome fixes:
Roland Häder [Sat, 1 Jun 2013 08:44:45 +0000 (08:44 +0000)]
Some fixes:
- On some places the old loader 'load-them.php' was referenced
- Some columns were not renamed on installation phase. Please re-install (here) ext-bonus
- Minor other fixes

6 years agoRemoved 2nd parameter for assert() as this is only available in PHP 5.4.8+ but Mailer...
Roland Häder [Fri, 31 May 2013 17:18:29 +0000 (17:18 +0000)]
Removed 2nd parameter for assert() as this is only available in PHP 5.4.8+ but Mailer 0.2.1-FINAL should support PHP 4

6 years agoRemoved double-update (0.2.1) for ext-doubler as it caused SQL error (which needs...
Roland Häder [Fri, 31 May 2013 08:01:39 +0000 (08:01 +0000)]
Removed double-update (0.2.1) for ext-doubler as it caused SQL error (which needs fixing anyway)

6 years agoRewrote many parts:
Roland Häder [Fri, 31 May 2013 07:49:02 +0000 (07:49 +0000)]
Rewrote many parts:
- "Generic" filter splitted up and move to html_mail_filter.php as this filter will only work with ext-html_mail
installed
- ext-holiday does now register a filter on user_exclusion_sql which allows to remove some "static" if() blocks
- Other minor fixes

6 years agoFixes + asserts
Roland Häder [Thu, 30 May 2013 18:48:00 +0000 (18:48 +0000)]
Fixes + asserts

6 years agoFixes for various bugs (e.g.: 'secret file could not be read', SQL error and more)
Roland Häder [Wed, 29 May 2013 19:26:47 +0000 (19:26 +0000)]
Fixes for various bugs (e.g.: 'secret file could not be read', SQL error and more)

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)

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

6 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

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

6 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

6 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

6 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

6 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

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

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

6 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

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

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

6 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

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

6 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

6 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

6 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

6 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

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

6 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

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

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

6 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

6 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

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

6 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