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

11 years agoMinor: With dot again (better grammar)
Roland Häder [Tue, 27 Nov 2012 23:50:52 +0000 (23:50 +0000)]
Minor: With dot again (better grammar)

11 years agoRewrote handling of 'menu adverts' to a filter. This allows e.g. ext-clickbanner...
Roland Häder [Tue, 27 Nov 2012 23:48:03 +0000 (23:48 +0000)]
Rewrote handling of 'menu adverts' to a filter. This allows e.g. ext-clickbanner to register own filters on it

11 years agoIntroduced registerFirstAdmin() and fixed some checks on 'ok' to 'add_first_admin'
Roland Häder [Tue, 27 Nov 2012 23:23:54 +0000 (23:23 +0000)]
Introduced registerFirstAdmin() and fixed some checks on 'ok' to 'add_first_admin'

11 years agoWrong functions :(
Roland Häder [Tue, 27 Nov 2012 23:13:16 +0000 (23:13 +0000)]
Wrong functions :(

11 years agoInstallation of extensions fixes
Roland Häder [Tue, 27 Nov 2012 23:01:45 +0000 (23:01 +0000)]
Installation of extensions fixes
- Again some extensions has not been fully rewritten to newly introduced
  wrapper functions which caused them to not install
- An extra back-tick (`) was found in column name :(
- Added optional $forceFound variable which can be used to (if the table is
  missing) that the column/key is marked as "found"
- Expanded debug messages with column/key name and $forceFound variable
- TODOs.txt updated

11 years agoSome improvements:
Roland Häder [Tue, 27 Nov 2012 22:01:58 +0000 (22:01 +0000)]
Some improvements:
- "noindex_metadata.tpl is now the default (noindex, etc.) template for robot control
- added filter for 'module=confirm'"
- TODOs.txt updated

11 years agorefid can accept NULL now
Roland Häder [Tue, 27 Nov 2012 21:49:42 +0000 (21:49 +0000)]
refid can accept NULL now

11 years agoFixes for missing renaming (double renaming is not yet supported)
Roland Häder [Tue, 27 Nov 2012 21:46:25 +0000 (21:46 +0000)]
Fixes for missing renaming (double renaming is not yet supported)

11 years agoAdded check for installation phase, this fixes the message of a missing template...
Roland Häder [Tue, 27 Nov 2012 21:35:12 +0000 (21:35 +0000)]
Added check for installation phase, this fixes the message of a missing template and doesn't allow robots to index any installation page

11 years agoThis else block caused an abort in index.php on installation phase
Roland Häder [Tue, 27 Nov 2012 21:31:42 +0000 (21:31 +0000)]
This else block caused an abort in index.php on installation phase

11 years agoMoved extra JavaScripts to external template
Roland Häder [Tue, 27 Nov 2012 21:22:10 +0000 (21:22 +0000)]
Moved extra JavaScripts to external template

11 years agoAdded missing template
Roland Häder [Tue, 27 Nov 2012 21:12:03 +0000 (21:12 +0000)]
Added missing template

11 years agoAdded more config wrappers
Roland Häder [Tue, 27 Nov 2012 21:05:08 +0000 (21:05 +0000)]
Added more config wrappers

11 years agoNew function getMenuModeFromModule() introduced:
Roland Häder [Sun, 25 Nov 2012 20:18:24 +0000 (20:18 +0000)]
New function getMenuModeFromModule() introduced:
- Introduced getMenuModeFromModule() which determines the "menu mode" from
  given module. This value can also be used for template names
- Old template removed (listed.tp)
- TODOs.txt updated

11 years agoIntroduced more wrappers
Roland Häder [Sun, 25 Nov 2012 13:34:45 +0000 (13:34 +0000)]
Introduced more wrappers

11 years agoAdded doTemplateGuestFooterExtras() call-back and guest_footer_extras filter chain
Roland Häder [Sun, 25 Nov 2012 13:03:52 +0000 (13:03 +0000)]
Added doTemplateGuestFooterExtras() call-back and guest_footer_extras filter chain

11 years agoTypo ...
Roland Häder [Sun, 25 Nov 2012 12:44:04 +0000 (12:44 +0000)]
Typo ...

11 years agoSome improvements:
Roland Häder [Sun, 25 Nov 2012 12:39:58 +0000 (12:39 +0000)]
Some improvements:
- Used empty() instead of checking strlen() is zero or larger zero
- Used str_pad() instead of other code

11 years agoNative :(
Roland Häder [Sun, 25 Nov 2012 00:43:40 +0000 (00:43 +0000)]
Native :(

11 years agoUpdated propset.sh, fixed all SVN properties
Roland Häder [Sun, 25 Nov 2012 00:37:58 +0000 (00:37 +0000)]
Updated propset.sh, fixed all SVN properties

11 years agoMoved template helpers out of regular functions
Roland Häder [Sun, 25 Nov 2012 00:10:09 +0000 (00:10 +0000)]
Moved template helpers out of regular functions

11 years agoOpps :(
Roland Häder [Sun, 25 Nov 2012 00:06:56 +0000 (00:06 +0000)]
Opps :(

11 years agoMore HTML/EL code fixes, removed assertition as it was to strict (didn't work in...
Roland Häder [Sun, 25 Nov 2012 00:06:20 +0000 (00:06 +0000)]
More HTML/EL code fixes, removed assertition as it was to strict (didn't work in points accounts)

11 years agoMore renaming of name='ok' to something else (better to separate them out)
Roland Häder [Sat, 24 Nov 2012 23:52:34 +0000 (23:52 +0000)]
More renaming of name='ok' to something else (better to separate them out)

11 years agoWas missing :(
Roland Häder [Sat, 24 Nov 2012 23:50:03 +0000 (23:50 +0000)]
Was missing :(

11 years agoSome no more needed variable rewritten
Roland Häder [Sat, 24 Nov 2012 23:44:18 +0000 (23:44 +0000)]
Some no more needed variable rewritten

11 years agoSome minor (text) improvements
Roland Häder [Sat, 24 Nov 2012 23:22:19 +0000 (23:22 +0000)]
Some minor (text) improvements

11 years agoSome menu points renamed to not conflict with configuration menus:
Roland Häder [Sat, 24 Nov 2012 23:14:38 +0000 (23:14 +0000)]
Some menu points renamed to not conflict with configuration menus:
- Renamed config_cats to list_cats, config_mods to list_mods and
  config_rallye_prices to list_rallye_prices as "config" is only
  for configuration table "config"
- In all configuration files "save_config" is now the submit button's name
- TODOs.txt updated

11 years agoSome HTML fixes, ext-sql_patches downgraded (!):
Roland Häder [Sat, 24 Nov 2012 22:52:22 +0000 (22:52 +0000)]
Some HTML fixes, ext-sql_patches downgraded (!):
- Extension ext-sql_patches is now downgraded to 0.9.4 as update 0.9.5 has
  been moved into 0.9.4
- Fixed some HTML errors
- Added missing legend tag (MEMBER_SURFBAR_EDIT_URL_LEGEND)
- TODOs.txt updated

11 years agoAdmin area 'Referral levels' refactured:
Roland Häder [Sat, 24 Nov 2012 22:40:38 +0000 (22:40 +0000)]
Admin area 'Referral levels' refactured:
- Listing/adding,editing/deleting of referral levels is now fully rewritten
  to use XML templates, also "build mails" are being sent
- Almost all admin templates with an id number are now expanded with
  'width="30"' to make it look the same (not all pages)
- TODOs.txt updated

11 years agoAdded missing parameter which allows to add the SQL statements not just to 'install...
Roland Häder [Sat, 24 Nov 2012 20:21:48 +0000 (20:21 +0000)]
Added missing parameter  which allows to add the SQL statements not just to 'install' SQL pool

11 years agoDo not add columns to CREATE statements if you already add them with ALTER TABLE
Roland Häder [Sat, 24 Nov 2012 14:43:55 +0000 (14:43 +0000)]
Do not add columns to CREATE statements if you already add them with ALTER TABLE

11 years agoMore fixes for wrong table name :(
Roland Häder [Sat, 24 Nov 2012 12:38:53 +0000 (12:38 +0000)]
More fixes for wrong table name :(

11 years agoNow the last extension update is being applied, added missing wrapper function for...
Roland Häder [Sat, 24 Nov 2012 12:00:03 +0000 (12:00 +0000)]
Now the last extension update is being applied, added missing wrapper function for config 'bonus_userid'

11 years agoMore fixes, lesser "caching" and more wrapper functions introduced:
Roland Häder [Sat, 24 Nov 2012 11:57:50 +0000 (11:57 +0000)]
More fixes, lesser "caching" and more wrapper functions introduced:
- Wrapper function addExtensionAddTableIndexSql() introduced
- Wrapper function addExtensionAddTableUniqueSql() introduced
- Wrapper function addExtensionAddTableFulltextSql() introduced
- Wrapper function addExtensionDropTableIndexSql() introduced
- Function ifSqlTableExists() renamed to ifSqlTableColumnExists() and it does
  no longer "cache" its results
- Other fixes which prevents extensions being installed/uninstalled

11 years agoWrong method (POST), should be GET
Roland Häder [Fri, 23 Nov 2012 23:38:34 +0000 (23:38 +0000)]
Wrong method (POST), should be GET

11 years agoFix for missing 4th parameter
Roland Häder [Fri, 23 Nov 2012 23:36:17 +0000 (23:36 +0000)]
Fix for missing 4th parameter

11 years agoUpdated jquery(+ui) to latest stable versions
Roland Häder [Fri, 23 Nov 2012 23:15:57 +0000 (23:15 +0000)]
Updated jquery(+ui) to latest stable versions

11 years agoContinued:
Roland Häder [Mon, 19 Nov 2012 01:09:30 +0000 (01:09 +0000)]
Continued:
- Renamed setOutputMode() to setScriptOutputMode() to be more conform with
  getScriptOutput()
- Added template for AJAX scripts
- Added check for isAjaxOutput() and isInstallationPhase() to proper scripts

11 years agoContinued:
Roland Häder [Sun, 18 Nov 2012 23:54:33 +0000 (23:54 +0000)]
Continued:
- Tried to prevent 'mt_word2' being inserted in default main title in
  installation phase
- TODOs.txt updated

11 years agoInstallation NG continued (still not fully working)
Roland Häder [Sun, 18 Nov 2012 23:45:33 +0000 (23:45 +0000)]
Installation NG continued (still not fully working)

11 years agojQuery updated:
Roland Häder [Fri, 16 Nov 2012 22:40:06 +0000 (22:40 +0000)]
jQuery updated:
- Allowed also jquery-ui being loaded uncompressed (very large)
- Added some more features to it which will be used later on
- TODOs.txt updated

11 years agoSome more rewrites to better functions
Roland Häder [Mon, 12 Nov 2012 19:18:03 +0000 (19:18 +0000)]
Some more rewrites to better functions

11 years agoCheck if table exists, before checking column/key
Roland Häder [Mon, 12 Nov 2012 19:09:23 +0000 (19:09 +0000)]
Check if table exists, before checking column/key

11 years agoext-autopurge does now (not fully) maintain it
Roland Häder [Mon, 12 Nov 2012 19:05:44 +0000 (19:05 +0000)]
ext-autopurge does now (not fully) maintain it

11 years agoMore fixes, debug lines commented out
Roland Häder [Mon, 12 Nov 2012 19:03:33 +0000 (19:03 +0000)]
More fixes, debug lines commented out

11 years agoFixes for installation phase
Roland Häder [Mon, 12 Nov 2012 18:39:00 +0000 (18:39 +0000)]
Fixes for installation phase

11 years agoRemoved double version number
Roland Häder [Mon, 12 Nov 2012 18:26:55 +0000 (18:26 +0000)]
Removed double version number

11 years agoAttempt to fix installation
Roland Häder [Mon, 12 Nov 2012 18:16:24 +0000 (18:16 +0000)]
Attempt to fix installation

11 years agoRestoring the error handler is no longer required as mailer's own handler does now...
Roland Häder [Mon, 12 Nov 2012 18:05:23 +0000 (18:05 +0000)]
Restoring the error handler is no longer required as mailer's own handler does now care about installation phase

11 years agoAlways initialize '_abc'
Roland Häder [Mon, 12 Nov 2012 17:55:42 +0000 (17:55 +0000)]
Always initialize '_abc'

11 years agoRewrote else blocks (avoided them)
Roland Häder [Mon, 12 Nov 2012 17:51:19 +0000 (17:51 +0000)]
Rewrote else blocks (avoided them)

11 years agoTest is not JSON
Roland Häder [Mon, 12 Nov 2012 17:41:37 +0000 (17:41 +0000)]
Test is not JSON

11 years agoExtension ext-surfbar continued:
Roland Häder [Sun, 11 Nov 2012 21:08:57 +0000 (21:08 +0000)]
Extension ext-surfbar continued:
- Added booking packages for ext-surfbar (unfinished admin area + member)
- Renamed most 'Surfbar' to 'Besuchertausch' which is more correct
- Swapped out some messages to language file
- Other improvements
- TODOs.txt updated

11 years agoAdded purging of subid and server_name logs
Roland Häder [Sat, 10 Nov 2012 20:29:55 +0000 (20:29 +0000)]
Added purging of subid and server_name logs

11 years agoEven more fixes/improvements:
Roland Häder [Sat, 10 Nov 2012 19:11:01 +0000 (19:11 +0000)]
Even more fixes/improvements:
- Added missing XML node
- Added missing 'class' to all label tags
- Swapped out text from surfbar templates to language file
- Other minor improvements/fixes

11 years agoMostly ext-forced continued:
Roland Häder [Sat, 10 Nov 2012 17:06:21 +0000 (17:06 +0000)]
Mostly ext-forced continued:
- Missing email templates for forced ads and campaigns added
- More fixes for XML callback-handlers
- Added new (temporary) configuration variable DEBUG_BUILD_MAILS to allow easy
  debugging of "build mails"

11 years agoAdditional fixes for XML handler and listing builder
Roland Häder [Sat, 10 Nov 2012 15:44:07 +0000 (15:44 +0000)]
Additional fixes for XML handler and listing builder

11 years agoAdded missing wrapper for 'auto_purge' configuration
Roland Häder [Sat, 10 Nov 2012 14:47:54 +0000 (14:47 +0000)]
Added missing wrapper for 'auto_purge' configuration

11 years agoMinor cleanups
Roland Häder [Sat, 10 Nov 2012 14:37:24 +0000 (14:37 +0000)]
Minor cleanups

11 years agoDo not append the session id on form method 'get' as it conflicts with other form...
Roland Häder [Sat, 10 Nov 2012 14:00:14 +0000 (14:00 +0000)]
Do not append the session id on form method 'get' as it conflicts with other form fields

11 years agoMailer project continued (heavy refactoring):
Roland Häder [Sat, 10 Nov 2012 00:45:58 +0000 (00:45 +0000)]
Mailer project continued (heavy refactoring):
- Added all missing nodes in all XML templates to allow $content being handled
  by referred HTML templates
- This means that you can pass "dynamic" content through the XML sub system to
  the templates as usual. If you do so, a generic 'rows' array element is being
  used for the row output
- Refactured all form-tags to EL code to allow e.g. adding session id to all
  forms or (not yet added) TAN numbers to combat any kind of form spamming and
  accidentally done re-submits
- Including closing form tag
- In the above process, onsubmit/onreset are now strongly discouraged as you
  should better use the jQuery AJAX framework
- Other rewrites/refacturings I cannot remember
- TODOs.txt updated

11 years agoNow the comment block is okay
Roland Häder [Thu, 8 Nov 2012 22:45:09 +0000 (22:45 +0000)]
Now the comment block is okay

11 years agoFixes for installation phase
Roland Häder [Thu, 8 Nov 2012 22:42:13 +0000 (22:42 +0000)]
Fixes for installation phase

11 years agoIs 'test' target JSON?
Roland Häder [Thu, 8 Nov 2012 21:16:35 +0000 (21:16 +0000)]
Is 'test' target JSON?

11 years agoThis 'return FALSE' caused that the PHP's error handler was called :( So, do NEVER...
Roland Häder [Thu, 8 Nov 2012 21:09:30 +0000 (21:09 +0000)]
This 'return FALSE' caused that the PHP's error handler was called :( So, do NEVER do this here

11 years agoBetter use isHtmlOutputMode()
Roland Häder [Thu, 8 Nov 2012 20:26:21 +0000 (20:26 +0000)]
Better use isHtmlOutputMode()

11 years agoFatal error table is now centered
Roland Häder [Thu, 8 Nov 2012 20:20:43 +0000 (20:20 +0000)]
Fatal error table is now centered

11 years agoThe error handler does now take care of not out-putting the error message to the...
Roland Häder [Thu, 8 Nov 2012 20:19:08 +0000 (20:19 +0000)]
The error handler does now take care of not out-putting the error message to the browser in installation phase

11 years agoFix for height
Roland Häder [Thu, 8 Nov 2012 20:08:24 +0000 (20:08 +0000)]
Fix for height

11 years agoFix for 'next/previous' navigation
Roland Häder [Wed, 7 Nov 2012 23:36:13 +0000 (23:36 +0000)]
Fix for 'next/previous' navigation

11 years agoAJAX installer fixed:
Roland Häder [Wed, 7 Nov 2012 23:09:24 +0000 (23:09 +0000)]
AJAX installer fixed:
- The AJAX installer could be fixed thanks to gnarf from jquery chat :)
- Added uncompressed jquery (1.8.2) to allow later debugging

11 years agoFix for two-lined 'tabnav'
Roland Häder [Wed, 7 Nov 2012 22:11:52 +0000 (22:11 +0000)]
Fix for two-lined 'tabnav'

11 years agoisExtensionOlder() is no longer required
Roland Häder [Wed, 7 Nov 2012 19:39:30 +0000 (19:39 +0000)]
isExtensionOlder() is no longer required

11 years agoUse version_compare(), unregister only registered filters:
Roland Häder [Wed, 7 Nov 2012 19:38:25 +0000 (19:38 +0000)]
Use version_compare(), unregister only registered filters:
- The old version comparison is not really safe, so better use version_compare()
  with third parameter (compare operator)
- Now only registered extensions will be unregistered, as this would needlessly
  delete filter cache file

11 years ago shall not have less than 10 entries
Roland Häder [Wed, 7 Nov 2012 17:03:50 +0000 (17:03 +0000)]
 shall not have less than 10 entries

11 years agoFix (opps) for installer, missed the '.php' extension :(
Roland Häder [Wed, 7 Nov 2012 16:27:48 +0000 (16:27 +0000)]
Fix (opps) for installer, missed the '.php' extension :(

11 years agoLower memory usage or caching? Red or blue pill?
Roland Häder [Mon, 5 Nov 2012 15:36:29 +0000 (15:36 +0000)]
Lower memory usage or caching? Red or blue pill?
- Function readFromFile() does now longer 'cache' its content as it is to
  memory intensive
- TODOs.txt updated

11 years agoAlso this is deprecated
Roland Häder [Sun, 4 Nov 2012 13:16:01 +0000 (13:16 +0000)]
Also this is deprecated

11 years agoReverted
Roland Häder [Sun, 4 Nov 2012 13:15:10 +0000 (13:15 +0000)]
Reverted

11 years agoFound more deprecated templates (on my server, lets distribute them)
Roland Häder [Sun, 4 Nov 2012 13:13:59 +0000 (13:13 +0000)]
Found more deprecated templates (on my server, lets distribute them)

11 years agoAlso these templates are all dead
Roland Häder [Sun, 4 Nov 2012 12:55:01 +0000 (12:55 +0000)]
Also these templates are all dead

11 years agoAlso this is dead :(
Roland Häder [Sun, 4 Nov 2012 12:52:36 +0000 (12:52 +0000)]
Also this is dead :(

11 years agoLong dead ...
Roland Häder [Sun, 4 Nov 2012 12:51:31 +0000 (12:51 +0000)]
Long dead ...

11 years agoAlso these scripts are long-time dead
Roland Häder [Sun, 4 Nov 2012 12:47:22 +0000 (12:47 +0000)]
Also these scripts are long-time dead

11 years agoAlso these scripts are long-time dead
Roland Häder [Sun, 4 Nov 2012 12:47:05 +0000 (12:47 +0000)]
Also these scripts are long-time dead

11 years agoThese scripts were still on mxchange.org and are deprecated, needs distribution
Roland Häder [Sun, 4 Nov 2012 12:41:57 +0000 (12:41 +0000)]
These scripts were still on mxchange.org and are deprecated, needs distribution