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

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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

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

11 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

11 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

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

11 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

11 years agoTemplates renamed, missing language id added (still no email template for surfbar...
Roland Häder [Sun, 21 Oct 2012 18:35:10 +0000 (18:35 +0000)]
Templates renamed, missing language id added (still no email template for surfbar actions)

11 years agoFix for non-working ordering (pages are not yet supported, but may follow)
Roland Häder [Sun, 21 Oct 2012 15:49:19 +0000 (15:49 +0000)]
Fix for non-working ordering (pages are not yet supported, but may follow)

11 years agoFix for listing all user's stats instead of stats of only a specific sub id
Roland Häder [Sun, 21 Oct 2012 15:42:32 +0000 (15:42 +0000)]
Fix for listing all user's stats instead of stats of only a specific sub id

11 years ago_FOOTER is wrong, better _NOTICE, missing language ids for point account subject...
Roland Häder [Sun, 21 Oct 2012 13:21:03 +0000 (13:21 +0000)]
_FOOTER is wrong, better _NOTICE, missing language ids for point account subject lines added

11 years agoSome minor improvements
Roland Häder [Sun, 21 Oct 2012 12:40:14 +0000 (12:40 +0000)]
Some minor improvements

11 years agoTypo :(
Roland Häder [Sun, 21 Oct 2012 12:12:23 +0000 (12:12 +0000)]
Typo :(

11 years agoreg_ext causes trouble :(
Roland Häder [Sun, 21 Oct 2012 12:08:55 +0000 (12:08 +0000)]
reg_ext causes trouble :(

11 years agoRemoved marking of developer extension
Roland Häder [Sun, 21 Oct 2012 11:53:02 +0000 (11:53 +0000)]
Removed marking of developer extension

11 years agoExtension ext-booking is basicly finished
Roland Häder [Sun, 21 Oct 2012 11:43:58 +0000 (11:43 +0000)]
Extension ext-booking is basicly finished

11 years agoRewrote view/click.php to filter chains to allow other extensions (e.g. ext-forced...
Roland Häder [Sun, 21 Oct 2012 10:26:16 +0000 (10:26 +0000)]
Rewrote view/click.php to filter chains to allow other extensions (e.g. ext-forced) to register own handlers

11 years agoOpps
Roland Häder [Sun, 21 Oct 2012 09:06:36 +0000 (09:06 +0000)]
Opps

11 years agoSome more fixes, added empty what-forced_textlink.php stub
Roland Häder [Sun, 21 Oct 2012 09:06:20 +0000 (09:06 +0000)]
Some more fixes, added empty what-forced_textlink.php stub

11 years agoFix for bug #236
Roland Häder [Sun, 21 Oct 2012 08:46:17 +0000 (08:46 +0000)]
Fix for bug #236