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

7 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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

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

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

7 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

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

7 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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

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

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

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

7 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

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

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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

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

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

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

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

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

7 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

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

7 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

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

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

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

7 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

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

7 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

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

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

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

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

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

7 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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

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

7 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

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

7 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

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

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

7 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

7 years agoOkay, this too.
Roland Häder [Mon, 22 Oct 2012 19:37:51 +0000 (19:37 +0000)]
Okay, this too.

7 years agoWARNING: id is very generic, it has been now renamed to booking_id, please fix your...
Roland Häder [Mon, 22 Oct 2012 19:37:12 +0000 (19:37 +0000)]
WARNING: id is very generic, it has been now renamed to booking_id, please fix your table layout

7 years agoRenamed showEntriesByXmlCallback() to doGenericXmlTemplateCallback() as it is no...
Roland Häder [Mon, 22 Oct 2012 19:13:54 +0000 (19:13 +0000)]
Renamed showEntriesByXmlCallback() to doGenericXmlTemplateCallback() as it is no longer for only showing entries, it has become a generic XML call-back system

7 years agoExtension ext-grade continued:
Roland Häder [Mon, 22 Oct 2012 19:08:57 +0000 (19:08 +0000)]
Extension ext-grade continued:
- Added XML template for adding grade data entries
- Introduced validateIsEmpty() which returns the input string if its trimmed
  string is not empty or FALSE otherwise.
- Made extra-value handling function more restrictive: Now the call-back
  function must be there
- Removed deprecated comment from all XML templates

7 years agoCommented out debug lines again
Roland Häder [Mon, 22 Oct 2012 17:21:07 +0000 (17:21 +0000)]
Commented out debug lines again

7 years agoExtension ext-surfbar continued:
Roland Häder [Mon, 22 Oct 2012 17:04:31 +0000 (17:04 +0000)]
Extension ext-surfbar continued:
- Moved language strings from template to language file surfbar_de.php
- Added minimum waiting time (per URL)
- Fixed other minor things

7 years agoCommented out debug lines
Roland Häder [Mon, 22 Oct 2012 16:19:44 +0000 (16:19 +0000)]
Commented out debug lines

7 years agoFixed handling of float values, ext-surfbar continued:
Roland Häder [Mon, 22 Oct 2012 16:17:57 +0000 (16:17 +0000)]
Fixed handling of float values, ext-surfbar continued:
- Added missing config wrappers for ext-surfbar (some had typos)
- Added missing language string for "locked order points"
- Fixed handling of float values, somehow it didn't work as I thought :(
- TODOs.txt updated

7 years agoThe extension ext-grade is better for 'Accountstufe' (account grade) than 'Einstufung...
Roland Häder [Mon, 22 Oct 2012 14:37:47 +0000 (14:37 +0000)]
The extension ext-grade is better for 'Accountstufe' (account grade) than 'Einstufung' (grading)

7 years agoMade 'add_grade' partly working (XML template and some logic is still missing)
Roland Häder [Sun, 21 Oct 2012 20:28:08 +0000 (20:28 +0000)]
Made 'add_grade' partly working (XML template and some logic is still missing)

7 years agoAdded grade's library include script, added template for adding grades
Roland Häder [Sun, 21 Oct 2012 20:23:21 +0000 (20:23 +0000)]
Added grade's library include script, added template for adding grades

7 years agoThe usual asset of bugfixes for ext-surfbar
Roland Häder [Sun, 21 Oct 2012 19:34:58 +0000 (19:34 +0000)]
The usual asset of bugfixes for ext-surfbar

7 years agoMissing wrapper added
Roland Häder [Sun, 21 Oct 2012 19:04:18 +0000 (19:04 +0000)]
Missing wrapper added

7 years agoMissing template added, fixed loadEmailTemplate() if templte was not found and debug...
Roland Häder [Sun, 21 Oct 2012 18:58:41 +0000 (18:58 +0000)]
Missing template added, fixed loadEmailTemplate() if templte was not found and debug-mode was enabled