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

11 years agoAlso these CSS files are deprecated or reborn (e.g. bonus.css)
Roland Häder [Sun, 4 Nov 2012 12:40:51 +0000 (12:40 +0000)]
Also these CSS files are deprecated or reborn (e.g. bonus.css)

11 years agoThese scripts are all deprecated and this needs to be distributed
Roland Häder [Sun, 4 Nov 2012 12:33:42 +0000 (12:33 +0000)]
These scripts are all deprecated and this needs to be distributed

11 years agoR.I.P. old template/script names ...
Roland Häder [Sun, 4 Nov 2012 12:18:13 +0000 (12:18 +0000)]
R.I.P. old template/script names ...
- Removed all deprecated scripts and templates
- TODOs.txt updated

11 years agoA little better debugging, handling of percent char
Roland Häder [Sun, 4 Nov 2012 12:07:18 +0000 (12:07 +0000)]
A little better debugging, handling of percent char

11 years agoMissing language string
Roland Häder [Sun, 4 Nov 2012 01:46:39 +0000 (01:46 +0000)]
Missing language string

11 years agoAdded some missing wrapper functions
Roland Häder [Sun, 4 Nov 2012 01:45:39 +0000 (01:45 +0000)]
Added some missing wrapper functions

11 years agoEven more fixes :(
Roland Häder [Sun, 4 Nov 2012 01:44:58 +0000 (01:44 +0000)]
Even more fixes :(

11 years agoFixes for isAdmin() rewrite of latest commits.
Roland Häder [Sun, 4 Nov 2012 01:28:34 +0000 (01:28 +0000)]
Fixes for isAdmin() rewrite of latest commits.

11 years agoSpeed up of isAdmin()
Roland Häder [Sun, 4 Nov 2012 00:11:24 +0000 (00:11 +0000)]
Speed up of isAdmin()

11 years agoTemporary configuration 'RAND_NUMBER' is now 'cached' in session variable, possibly...
Roland Häder [Sun, 4 Nov 2012 00:03:14 +0000 (00:03 +0000)]
Temporary configuration 'RAND_NUMBER' is now 'cached' in session variable, possibly fixed handling of hash (wrong salt)

11 years agoFixes and better logging
Roland Häder [Sat, 3 Nov 2012 23:53:58 +0000 (23:53 +0000)]
Fixes and better logging

11 years agoRemoved duplicate code which has already been moved to a filter
Roland Häder [Sat, 3 Nov 2012 23:17:14 +0000 (23:17 +0000)]
Removed duplicate code which has already been moved to a filter

11 years agoIntroduced new template helper 'doTemplateDeferrerUrl' to encapsulate generating...
Roland Häder [Sat, 3 Nov 2012 23:07:42 +0000 (23:07 +0000)]
Introduced new template helper 'doTemplateDeferrerUrl' to encapsulate generating uniform 'admin-testing-code'

11 years agoAdded listing of wrong 'SERVER_NAME' entries
Roland Häder [Sat, 3 Nov 2012 22:48:58 +0000 (22:48 +0000)]
Added listing of wrong 'SERVER_NAME' entries

11 years agoDefault is one
Roland Häder [Sat, 3 Nov 2012 22:21:26 +0000 (22:21 +0000)]
Default is one

11 years agoUse 'referrer', not 'referral'
Roland Häder [Sat, 3 Nov 2012 22:19:54 +0000 (22:19 +0000)]
Use 'referrer', not 'referral'

11 years agoOpps :(
Roland Häder [Sat, 3 Nov 2012 22:17:04 +0000 (22:17 +0000)]
Opps :(

11 years agoAddded more fields to server_name_log table, fixed out-dated ext-admins
Roland Häder [Sat, 3 Nov 2012 22:15:03 +0000 (22:15 +0000)]
Addded more fields to server_name_log table, fixed out-dated ext-admins

11 years agoOpps :(
Roland Häder [Sat, 3 Nov 2012 21:43:20 +0000 (21:43 +0000)]
Opps :(

11 years agoExtension ext-sql_patches continued:
Roland Häder [Sat, 3 Nov 2012 21:41:44 +0000 (21:41 +0000)]
Extension ext-sql_patches continued:
- Logging of wrong SERVER_NAME values added (admin menu not yet)
- Fix for missing array element 'default' in admin-inc.php

11 years agoHad to do it this way... :(
Roland Häder [Sat, 3 Nov 2012 21:28:54 +0000 (21:28 +0000)]
Had to do it this way... :(

11 years agoFix for wrong SERVER_NAME usage (may cause trouble)
Roland Häder [Sat, 3 Nov 2012 21:26:44 +0000 (21:26 +0000)]
Fix for wrong SERVER_NAME usage (may cause trouble)

11 years agoFix for SQL
Roland Häder [Sat, 3 Nov 2012 21:02:47 +0000 (21:02 +0000)]
Fix for SQL

11 years agoFix also this
Roland Häder [Sat, 3 Nov 2012 14:20:23 +0000 (14:20 +0000)]
Fix also this

11 years agoMailer fixed, ext-admins improved:
Roland Häder [Sat, 3 Nov 2012 14:18:33 +0000 (14:18 +0000)]
Mailer fixed, ext-admins improved:
- In Table 'mailer_admins_mails' the column 'admin_id' is now default NULL, not 0
- Purged old admin mail template names from same table
- Possible fix for bug #237 (please test it)
- Other minor improvement: column names always in back-ticks (`)

11 years agojquery-ui updated to 1.9.1
Roland Häder [Tue, 30 Oct 2012 20:06:08 +0000 (20:06 +0000)]
jquery-ui updated to 1.9.1

11 years agoEmpty UA strings are better browsers
Roland Häder [Sun, 28 Oct 2012 08:13:56 +0000 (08:13 +0000)]
Empty UA strings are better browsers

11 years agoSame color
Roland Häder [Thu, 25 Oct 2012 16:36:44 +0000 (16:36 +0000)]
Same color

11 years agoProject continued:
Roland Häder [Thu, 25 Oct 2012 16:18:32 +0000 (16:18 +0000)]
Project continued:
- Move some theme-related language ids to ext-theme
- Added header to admin_edit_theme.tpl
- Added CSS classes header_column and footer_column to general.css

11 years agoDon't attempt to load configuration or count modules in installation phase
Roland Häder [Thu, 25 Oct 2012 15:45:52 +0000 (15:45 +0000)]
Don't attempt to load configuration or count modules in installation phase

11 years agoFix for broken counter
Roland Häder [Wed, 24 Oct 2012 23:30:18 +0000 (23:30 +0000)]
Fix for broken counter

11 years agoA little better SQL, but still does not calculate correctly
Roland Häder [Wed, 24 Oct 2012 23:27:42 +0000 (23:27 +0000)]
A little better SQL, but still does not calculate correctly

11 years agoFixes:
Roland Häder [Wed, 24 Oct 2012 23:03:27 +0000 (23:03 +0000)]
Fixes:
- The character ' is not wanted in URLs generally, so secure it
- Don't do compileUriCode() in whole SQL statement

11 years agoCheck if the module is registered, else redirect to index.php
Roland Häder [Wed, 24 Oct 2012 22:28:50 +0000 (22:28 +0000)]
Check if the module is registered, else redirect to index.php

11 years agoMissed it :(
Roland Häder [Wed, 24 Oct 2012 21:37:00 +0000 (21:37 +0000)]
Missed it :(

11 years agoRemoved over-hashing with master salt as it generates static salts
Roland Häder [Wed, 24 Oct 2012 21:32:50 +0000 (21:32 +0000)]
Removed over-hashing with master salt as it generates static salts

11 years agoAdded site and date key for improved security
Roland Häder [Wed, 24 Oct 2012 21:25:46 +0000 (21:25 +0000)]
Added site and date key for improved security

11 years agoExtension ext-top10 improved:
Roland Häder [Wed, 24 Oct 2012 20:33:43 +0000 (20:33 +0000)]
Extension ext-top10 improved:
- calculation of top earners changed
- added notice about above change
- moved out text to language file

11 years agoRenamed many stuff (again), added points/user breakup:
Roland Häder [Wed, 24 Oct 2012 19:48:20 +0000 (19:48 +0000)]
Renamed many stuff (again), added points/user breakup:
- Renamed again many language ids
- Moved text from template to language file
- Added listing of user points amount and percentage holder
- TODOs.txt updated

11 years agoTesters excluded (almost, see TODO) from guest stats page:
Roland Häder [Tue, 23 Oct 2012 21:01:18 +0000 (21:01 +0000)]
Testers excluded (almost, see TODO) from guest stats page:
- Don't do secureString(getRequestElement('foo')) as it is already secured
- Testers excluded from almost all statistics in what-stats.php
- TODOs.txt updated

11 years agoExtension ext-mediadata now excludes testers
Roland Häder [Tue, 23 Oct 2012 20:51:50 +0000 (20:51 +0000)]
Extension ext-mediadata now excludes testers

11 years agoProject continued with rewrites:
Roland Häder [Tue, 23 Oct 2012 18:23:13 +0000 (18:23 +0000)]
Project continued with rewrites:
- Introduced doHandleExtraValues() to encapsulate more if/elseif/else blocks
- Introduced addKeyValueSql()
- PHP's array_merge() didn't maintain $array2's index, so now merge_array() does
  (optionally) it for us
- Other XML template rewrites

11 years agoBetter use {%template,DisplayUsername=%} instead of [nickname]
Roland Häder [Tue, 23 Oct 2012 14:58:28 +0000 (14:58 +0000)]
Better use {%template,DisplayUsername=%} instead of [nickname]

11 years agoFix for broken SQL
Roland Häder [Tue, 23 Oct 2012 14:37:46 +0000 (14:37 +0000)]
Fix for broken SQL

11 years agoSub ids "fixed":
Roland Häder [Tue, 23 Oct 2012 14:19:45 +0000 (14:19 +0000)]
Sub ids "fixed":
- ADMIN_FORCED_ADS_404 was wrong in user_subids XML template
- Move alphabet for random passwords to initialize filter
- Removed some chars that may look to similar to others
- Other minor improvements

11 years agoAdded missing column to fake 'used_points' (it may display error message)
Roland Häder [Tue, 23 Oct 2012 13:52:08 +0000 (13:52 +0000)]
Added missing column to fake 'used_points' (it may display error message)

11 years agoUpdated jqueryui to 1.9.0
Roland Häder [Mon, 22 Oct 2012 21:27:20 +0000 (21:27 +0000)]
Updated jqueryui to 1.9.0

11 years agoAnother small fix :(
Roland Häder [Mon, 22 Oct 2012 21:18:46 +0000 (21:18 +0000)]
Another small fix :(

11 years agoTemplates fixed, TODOs.txt updated
Roland Häder [Mon, 22 Oct 2012 21:16:31 +0000 (21:16 +0000)]
Templates fixed, TODOs.txt updated

11 years agoNow added renaming from 'id' to 'booking_id'
Roland Häder [Mon, 22 Oct 2012 20:59:40 +0000 (20:59 +0000)]
Now added renaming from 'id' to 'booking_id'

11 years agoFixed parser errors from latest rewrites :(
Roland Häder [Mon, 22 Oct 2012 20:56:20 +0000 (20:56 +0000)]
Fixed parser errors from latest rewrites :(

11 years agoRewrote handling almost all extension-based ALTER TABLE queries:
Roland Häder [Mon, 22 Oct 2012 20:51:50 +0000 (20:51 +0000)]
Rewrote handling almost all extension-based ALTER TABLE queries:
- Introduced addExtensionAddTableColumnSql(), addExtensionChangeTableColumnSql()
  and addExtensionDropTableColumnSql()
- Rewrote extension files to make usage of these new functions