mailer.git
9 years agoMore use of EL, fix for admin links
Roland Häder [Mon, 28 Jun 2010 05:39:36 +0000 (05:39 +0000)]
More use of EL, fix for admin links

9 years agoSome improvements, caching of email templates prepared
Roland Häder [Mon, 28 Jun 2010 05:23:38 +0000 (05:23 +0000)]
Some improvements, caching of email templates prepared

9 years agoNew extension added, more EL-rewrites, naming-convention applied:
Roland Häder [Mon, 28 Jun 2010 05:14:11 +0000 (05:14 +0000)]
New extension added, more EL-rewrites, naming-convention applied:
- New extension 'ext-timezone' added to more easilier change the timezone
  this installation runs with. It is essential to install this extension and
  keep it active.
- Even more rewrites to make use of EL
- theme_ver is outdated, we use theme_version (no short-cutted texts)
- TODOs.txt updated

9 years agoDeprecated templates/scripts removed
Roland Häder [Mon, 28 Jun 2010 03:52:32 +0000 (03:52 +0000)]
Deprecated templates/scripts removed

9 years agoNew function isValidUserid() introduced, more rewrites to EL:
Roland Häder [Mon, 28 Jun 2010 03:47:11 +0000 (03:47 +0000)]
New function isValidUserid() introduced, more rewrites to EL:
- New function isValidUserId() introduced, see ticket #147. This function just
  validates a given user id if it not null, not empty and larget than zero.
- More rewrites to make use of EL
- 'surfbar_counter' is now a CSS class, not id
- TODOs.txt updated

9 years agoTemplate fixed
Roland Häder [Mon, 28 Jun 2010 02:40:20 +0000 (02:40 +0000)]
Template fixed

9 years agoAdded missing 'colspan2'
Roland Häder [Mon, 28 Jun 2010 02:30:35 +0000 (02:30 +0000)]
Added missing 'colspan2'

9 years agoFix for missing config entry 'beg_new_member_notify'
Roland Häder [Mon, 28 Jun 2010 02:00:50 +0000 (02:00 +0000)]
Fix for missing config entry 'beg_new_member_notify'

9 years agoMissed to activate the update... :-(
Roland Häder [Mon, 28 Jun 2010 01:26:30 +0000 (01:26 +0000)]
Missed to activate the update... :-(

9 years agoAdded missing line
Roland Häder [Sun, 27 Jun 2010 20:13:07 +0000 (20:13 +0000)]
Added missing line

9 years agoFixed sprintf: Too few arguments
Roland Häder [Sun, 27 Jun 2010 20:11:16 +0000 (20:11 +0000)]
Fixed sprintf: Too few arguments

9 years agoNaming convention further applied: _ral_ is replaced by _rallye_ to make it clear...
Roland Häder [Sun, 27 Jun 2010 17:32:00 +0000 (17:32 +0000)]
Naming convention further applied: _ral_ is replaced by _rallye_ to make it clear what is meant

9 years agoEven some more... :-(
Roland Häder [Sat, 26 Jun 2010 16:49:45 +0000 (16:49 +0000)]
Even some more... :-(

9 years agoFixes for missing parameters for debug_report_bug(), was introduced in some revisions ago
Roland Häder [Sat, 26 Jun 2010 16:48:35 +0000 (16:48 +0000)]
Fixes for missing parameters for debug_report_bug(), was introduced in some revisions ago

9 years agoPossible fix for 'ob_end_clean: failed to delete buffer. No buffer to delete.'
Roland Häder [Sat, 26 Jun 2010 16:41:12 +0000 (16:41 +0000)]
Possible fix for 'ob_end_clean: failed to delete buffer. No buffer to delete.'

9 years agoWorkaround for missing config entry, but this if-block should be moved into somewhere...
Roland Häder [Thu, 24 Jun 2010 21:47:51 +0000 (21:47 +0000)]
Workaround for missing config entry, but this if-block should be moved into somewhere else

9 years agoNew debugging function debugOutput() introduced, some rewrites to EL:
Roland Häder [Wed, 23 Jun 2010 21:38:33 +0000 (21:38 +0000)]
New debugging function debugOutput() introduced, some rewrites to EL:
- New debugging function debugOutput() added, this function does output any
  XHTML message in a div-block to the browser.
- Some more rewrites to EL
- TODOs.txt updated

9 years agoSimplified some more code:
Roland Häder [Wed, 23 Jun 2010 13:49:46 +0000 (13:49 +0000)]
Simplified some more code:
- addEmailNavigation() is now located in admin-inc.php because only admin
  actions will make use of it
- Same function simplified, if only one page should be made navigateable, the
  function returns an empty string
- There was another unencapsulated what=list_unconfirmed

9 years agoEven more fixes/improvements:
Roland Häder [Wed, 23 Jun 2010 13:26:45 +0000 (13:26 +0000)]
Even more fixes/improvements:
- Added filter pre_youhere_line. It will be executed directly before the
  div-block of the 'You are here' navigation
- Saved an else-block and br-tag in same function
- For that missing br-tag a CSS 'margin-bottom' needs to be added to
  you_are_here CSS class
- Fixed default value for an enum in ext-removeip in the configuration SQL query

9 years agoSome fixes/improvements:
Roland Häder [Wed, 23 Jun 2010 12:49:06 +0000 (12:49 +0000)]
Some fixes/improvements:
- Fixed missing array elements for what=active in guest menu
- 'Today Online' below action=online is only shown when ext-active and
  ext-online are activated
- Fixed user's last activity in clicking on paidmails. It is now no longer
  updated if an administrator is logged in

9 years agoNow CSS classes are being inserted by EL
Roland Häder [Wed, 23 Jun 2010 12:00:01 +0000 (12:00 +0000)]
Now CSS classes are being inserted by EL

9 years agoSeveral template fixes/cleanups, naming convention applied:
Roland Häder [Tue, 22 Jun 2010 01:57:02 +0000 (01:57 +0000)]
Several template fixes/cleanups, naming convention applied:
- Several templates fixed (see naming convention below)
- Some more HTML code swapped out to templates
- New naming convention: _en_ is obsolete, we use _enable_ and same for _di_,
  we now use _disable_. _mem_ is obsolete, too. We now use _member_.
- TODOs.txt updated

9 years agoMore rewrites/templates swapped out:
Roland Häder [Mon, 21 Jun 2010 01:39:47 +0000 (01:39 +0000)]
More rewrites/templates swapped out:
- Two more templates created (swapped out from PHP code)
- More rewrites to EL
- More double quotes converted to single quotes
- Some internal TODOs solved/new created
- TODOs.txt updated

9 years agoFix for template error
Roland Häder [Sun, 20 Jun 2010 23:46:56 +0000 (23:46 +0000)]
Fix for template error

9 years ago is not needed in member-only templates
Roland Häder [Sun, 20 Jun 2010 23:44:10 +0000 (23:44 +0000)]
 is not needed in member-only templates

9 years agoFurther fixes for wrong getMaskedMessage() usage in 'compiled' code
Roland Häder [Sun, 20 Jun 2010 23:39:06 +0000 (23:39 +0000)]
Further fixes for wrong getMaskedMessage() usage in 'compiled' code

9 years agoYet another bunch of EL/surfbar fixes
Roland Häder [Sun, 20 Jun 2010 22:28:04 +0000 (22:28 +0000)]
Yet another bunch of EL/surfbar fixes

9 years agoFixes for ext-surfbar (the usual asset)
Roland Häder [Sun, 20 Jun 2010 22:07:04 +0000 (22:07 +0000)]
Fixes for ext-surfbar (the usual asset)

9 years agoPossible fix while a spider/bot has issued a redirect
Roland Häder [Sun, 20 Jun 2010 21:19:07 +0000 (21:19 +0000)]
Possible fix while a spider/bot has issued a redirect

9 years agoNext wave of more use of EL, see ticket #176
Roland Häder [Sun, 20 Jun 2010 20:23:59 +0000 (20:23 +0000)]
Next wave of more use of EL, see ticket #176

9 years agoFix attempt for empty database password
Roland Häder [Sun, 20 Jun 2010 18:23:15 +0000 (18:23 +0000)]
Fix attempt for empty database password

9 years agoMissing CSS class added
Roland Häder [Sun, 20 Jun 2010 18:02:26 +0000 (18:02 +0000)]
Missing CSS class added

9 years agosvn:properties set
Roland Häder [Sun, 20 Jun 2010 17:36:20 +0000 (17:36 +0000)]
svn:properties set

9 years agoNew function handleMailId introduced, you need to delete inc/cache/extensions.cache...
Roland Häder [Sun, 20 Jun 2010 17:34:58 +0000 (17:34 +0000)]
New function handleMailId introduced, you need to delete inc/cache/extensions.cache to make mail confirmation working again

9 years agoMore forced spaces ( ) removed, see ticket #142)
Roland Häder [Sun, 20 Jun 2010 17:18:59 +0000 (17:18 +0000)]
More forced spaces ( ) removed, see ticket #142)

9 years agoExtension templates rewritten, the configuration was inserted while an extension...
Roland Häder [Sun, 20 Jun 2010 15:47:37 +0000 (15:47 +0000)]
Extension templates rewritten, the configuration was inserted while an extension template has been parsed. This should be done when the extension's text is being printed out.

9 years agoFix for rewrite
Roland Häder [Sun, 20 Jun 2010 14:45:44 +0000 (14:45 +0000)]
Fix for rewrite

9 years agoAll resets rewritten, missing svn:properties added
Roland Häder [Sun, 20 Jun 2010 14:43:56 +0000 (14:43 +0000)]
All resets rewritten, missing svn:properties added

9 years agoMissed to comment out again...
Roland Häder [Sun, 20 Jun 2010 14:18:39 +0000 (14:18 +0000)]
Missed to comment out again...

9 years agoBetter this way...
Roland Häder [Sun, 20 Jun 2010 01:26:13 +0000 (01:26 +0000)]
Better this way...

9 years agoFixed missing message after saving new settings
Roland Häder [Sun, 20 Jun 2010 01:24:24 +0000 (01:24 +0000)]
Fixed missing message after saving new settings

9 years agoRewrites/fixes for handling config entries in SQLs
Roland Häder [Sun, 20 Jun 2010 01:16:45 +0000 (01:16 +0000)]
Rewrites/fixes for handling config entries in SQLs

9 years agoMore rewrites to make use of the EL
Roland Häder [Sat, 19 Jun 2010 23:56:43 +0000 (23:56 +0000)]
More rewrites to make use of the EL

9 years agoSeveral fixes applied:
Roland Häder [Sat, 19 Jun 2010 23:42:29 +0000 (23:42 +0000)]
Several fixes applied:
- Mail templates are now "compiled" with newly introduced doFinalCompilation() function
- Typo 'county' fixed ...
- Redirect does now work again (was broken by EL)
- New functions for HTML/mail/other templates added
- Some internal TODOs solved
- TODOs.txt updated

9 years agoRewrites/fixes for broken template cache, the actual value was rendered but instead...
Roland Häder [Sat, 19 Jun 2010 22:14:09 +0000 (22:14 +0000)]
Rewrites/fixes for broken template cache, the actual value was rendered but instead it should be inserted at runtime... :(

9 years agoEven more rewrites to make use of the EL
Roland Häder [Sat, 19 Jun 2010 13:20:19 +0000 (13:20 +0000)]
Even more rewrites to make use of the EL

9 years agoRewritten to make use of EL
Roland Häder [Sat, 19 Jun 2010 12:42:21 +0000 (12:42 +0000)]
Rewritten to make use of EL

9 years agoFix for missing http_status element in click.php
Roland Häder [Sat, 19 Jun 2010 02:02:18 +0000 (02:02 +0000)]
Fix for missing http_status element in click.php

9 years agoPossible fix for 'Unknown gender 1 detected.' in autopurge
Roland Häder [Sat, 19 Jun 2010 01:59:44 +0000 (01:59 +0000)]
Possible fix for 'Unknown gender 1 detected.' in autopurge

9 years agoEven more fixes for SQL problems :-(
Roland Häder [Sun, 13 Jun 2010 13:49:47 +0000 (13:49 +0000)]
Even more fixes for SQL problems :-(

9 years agoFix for broken SQL while installation phase and runtime
Roland Häder [Sun, 13 Jun 2010 09:09:53 +0000 (09:09 +0000)]
Fix for broken SQL while installation phase and runtime

9 years agoFixed missing elements
Roland Häder [Sun, 13 Jun 2010 08:46:00 +0000 (08:46 +0000)]
Fixed missing elements

9 years agoLink to actual wiki updated
Roland Häder [Sun, 13 Jun 2010 08:43:06 +0000 (08:43 +0000)]
Link to actual wiki updated

9 years agoCSS classes do not need _css suffix/prefix
Roland Häder [Tue, 8 Jun 2010 00:03:43 +0000 (00:03 +0000)]
CSS classes do not need _css suffix/prefix

9 years agoInvisible/locked menus are now styleable with CSS classes (sub_)menu_[in]visible_css...
Roland Häder [Tue, 8 Jun 2010 00:00:47 +0000 (00:00 +0000)]
Invisible/locked menus are now styleable with CSS classes (sub_)menu_[in]visible_css and (sub_)menu_[un]locked_css :-)

9 years agoMixing of // fixed
Roland Häder [Mon, 7 Jun 2010 22:43:46 +0000 (22:43 +0000)]
Mixing of // fixed

9 years agoHTTP status codes added for missing/locked modules, fixed double-logging of debug...
Roland Häder [Mon, 7 Jun 2010 22:17:16 +0000 (22:17 +0000)]
HTTP status codes added for missing/locked modules, fixed double-logging of debug messages by removing obsolete code

9 years agoRewrite for eval() command
Roland Häder [Sun, 6 Jun 2010 17:42:26 +0000 (17:42 +0000)]
Rewrite for eval() command

9 years agodebug_report_bug() should be used as a replacement for app_die() calls
Roland Häder [Sun, 6 Jun 2010 17:41:09 +0000 (17:41 +0000)]
debug_report_bug() should be used as a replacement for app_die() calls

9 years agoFix for comment #0000444
Roland Häder [Sun, 6 Jun 2010 17:23:45 +0000 (17:23 +0000)]
Fix for comment #0000444

9 years agoNaming convention applied for ext-payout
Roland Häder [Sun, 6 Jun 2010 17:09:36 +0000 (17:09 +0000)]
Naming convention applied for ext-payout

9 years agoSQL_FETCHROW()->SQL_FETCHARRAY() and other improvements
Roland Häder [Sun, 6 Jun 2010 16:17:28 +0000 (16:17 +0000)]
SQL_FETCHROW()->SQL_FETCHARRAY() and other improvements

9 years agoOld-lost eval() removed, rewrite-functions must be called after compilation and befor...
Roland Häder [Sun, 6 Jun 2010 16:04:47 +0000 (16:04 +0000)]
Old-lost eval() removed, rewrite-functions must be called after compilation and before compression

9 years agoMissing function added (but will be removed once the EL branch is ready)
Roland Häder [Sun, 6 Jun 2010 15:55:10 +0000 (15:55 +0000)]
Missing function added (but will be removed once the EL branch is ready)

9 years agoA lot forced-space characters ( ) removed, naming convention applied also in...
Roland Häder [Sun, 6 Jun 2010 15:49:41 +0000 (15:49 +0000)]
A lot forced-space characters ( ) removed, naming convention applied also in JavaScript functions

9 years agoEven more rewrites/fixes from EL branch (please report any broken part after you...
Roland Häder [Fri, 28 May 2010 18:38:10 +0000 (18:38 +0000)]
Even more rewrites/fixes from EL branch (please report any broken part after you have updated to this revision)

9 years agoAdded new files from EL branch
Roland Häder [Fri, 28 May 2010 18:26:44 +0000 (18:26 +0000)]
Added new files from EL branch

9 years agoAdded merge-script (rudimentary) and fixes from EL brancH
Roland Häder [Fri, 28 May 2010 18:19:49 +0000 (18:19 +0000)]
Added merge-script (rudimentary) and fixes from EL brancH

9 years agoTemplate fixed
Roland Häder [Thu, 6 May 2010 01:26:32 +0000 (01:26 +0000)]
Template fixed

9 years agoExport of extensions basicly added
Roland Häder [Thu, 6 May 2010 01:21:08 +0000 (01:21 +0000)]
Export of extensions basicly added

9 years agoNetwork 'ABisZed Netz' added
Roland Häder [Fri, 9 Apr 2010 05:57:20 +0000 (05:57 +0000)]
Network 'ABisZed Netz' added

9 years agoMade CSS classes for debug output a little bigger
Roland Häder [Fri, 9 Apr 2010 03:32:44 +0000 (03:32 +0000)]
Made CSS classes for debug output a little bigger

9 years agoEncapsulation and fixes:
Roland Häder [Thu, 8 Apr 2010 11:55:18 +0000 (11:55 +0000)]
Encapsulation and fixes:
- More encapsulation: isFormSent() does now accept an optional parameter
- Double quotes to single converted
- Some for() loops (there may be more left) "fixed"

9 years agoFix for 'No resource given' message
Roland Häder [Wed, 7 Apr 2010 01:25:30 +0000 (01:25 +0000)]
Fix for 'No resource given' message

9 years agoFixed first-time registration of sql_patches and possible fix for 'Cannot resolve...
Roland Häder [Mon, 5 Apr 2010 01:57:35 +0000 (01:57 +0000)]
Fixed first-time registration of sql_patches and possible fix for 'Cannot resolve task.' message

9 years agogetAction() now allows non-strict checking of existence of 'action' cache element...
Roland Häder [Mon, 5 Apr 2010 01:40:14 +0000 (01:40 +0000)]
getAction() now allows non-strict checking of existence of 'action' cache element, possible fix for ext-online not in regular output-mode

9 years agoFix for missing array elements
Roland Häder [Mon, 5 Apr 2010 00:36:29 +0000 (00:36 +0000)]
Fix for missing array elements

9 years agoPre-commit for old-lost code and convertion of double-quotes to single
Roland Häder [Sat, 3 Apr 2010 20:57:56 +0000 (20:57 +0000)]
Pre-commit for old-lost code and convertion of double-quotes to single

9 years agoAnother attempt, still incomplete
Roland Häder [Fri, 2 Apr 2010 12:51:13 +0000 (12:51 +0000)]
Another attempt, still incomplete

9 years agoIncomplete code added to handle absent user data
Roland Häder [Fri, 2 Apr 2010 12:00:05 +0000 (12:00 +0000)]
Incomplete code added to handle absent user data

9 years agoTypo in method name fixed
Roland Häder [Fri, 2 Apr 2010 06:39:10 +0000 (06:39 +0000)]
Typo in method name fixed

9 years agoExtra new-line removed
Roland Häder [Thu, 1 Apr 2010 21:39:23 +0000 (21:39 +0000)]
Extra new-line removed

9 years agoProper cache hit counting fixed
Roland Häder [Thu, 1 Apr 2010 18:40:15 +0000 (18:40 +0000)]
Proper cache hit counting fixed

9 years agoMore complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
Roland Häder [Thu, 1 Apr 2010 18:38:06 +0000 (18:38 +0000)]
More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some expensive wrappers cached

9 years agoRewritten to use isExtensionInstalledAndNewer() to save some calls/bugfix
Roland Häder [Thu, 1 Apr 2010 17:59:08 +0000 (17:59 +0000)]
Rewritten to use isExtensionInstalledAndNewer() to save some calls/bugfix

9 years agoParser error fixed...
Roland Häder [Thu, 1 Apr 2010 17:50:52 +0000 (17:50 +0000)]
Parser error fixed...

9 years agoTODOs.txt updated, template fixed
Roland Häder [Wed, 31 Mar 2010 19:44:11 +0000 (19:44 +0000)]
TODOs.txt updated, template fixed

9 years agoComplete refacture for previously discovered inconsistency
Roland Häder [Wed, 31 Mar 2010 19:36:03 +0000 (19:36 +0000)]
Complete refacture for previously discovered inconsistency

9 years agoTemplate reverted. :( One more inconsistency to handle and hopefully somehow solve
Roland Häder [Wed, 31 Mar 2010 18:12:03 +0000 (18:12 +0000)]
Template reverted. :( One more inconsistency to handle and hopefully somehow solve

9 years agoSeveral fixes/improvements, new function introduced:
Roland Häder [Wed, 31 Mar 2010 18:07:20 +0000 (18:07 +0000)]
Several fixes/improvements, new function introduced:
- New function handleFieldWithBraces() introduced which helps correcting the
  value of 'name' attribute
- Several template fixes

9 years agoHTTP/1.1 does allow chunked content, but our script does not support it (yet)
Roland Häder [Sun, 28 Mar 2010 21:24:39 +0000 (21:24 +0000)]
HTTP/1.1 does allow chunked content, but our script does not support it (yet)

9 years agoConflict solved, more templates added, TODOs.txt updated:
Roland Häder [Sun, 28 Mar 2010 18:05:12 +0000 (18:05 +0000)]
Conflict solved, more templates added, TODOs.txt updated:
- Conflict between user and surfbar URL status solved
- New templates for unlock/reject of booked URLs added
- TODOs.txt updated

9 years agoFix for syntax error
Roland Häder [Wed, 24 Mar 2010 09:22:12 +0000 (09:22 +0000)]
Fix for syntax error

9 years agoCast added due to API changes in PHP 5.3.1
Roland Häder [Mon, 22 Mar 2010 01:28:38 +0000 (01:28 +0000)]
Cast added due to API changes in PHP 5.3.1

9 years agoColumn has been renamed in database structure, need to rename it in templates, too.
Roland Häder [Mon, 22 Mar 2010 01:25:05 +0000 (01:25 +0000)]
Column has been renamed in database structure, need to rename it in templates, too.

9 years agoFix :(
Roland Häder [Mon, 22 Mar 2010 01:19:14 +0000 (01:19 +0000)]
Fix :(

9 years agoNeed to unset is_userdata_valid state here to make logins in surfbar possible
Roland Häder [Mon, 22 Mar 2010 01:15:15 +0000 (01:15 +0000)]
Need to unset is_userdata_valid state here to make logins in surfbar possible

9 years agoSQL fixes for wrong column names.
Roland Häder [Sat, 20 Mar 2010 23:34:58 +0000 (23:34 +0000)]
SQL fixes for wrong column names.

9 years agoSanity-check added because of debug mail reported missing array element 'module'
Roland Häder [Sat, 20 Mar 2010 22:51:06 +0000 (22:51 +0000)]
Sanity-check added because of debug mail reported missing array element 'module'

9 years agoFix for wrong function call
Roland Häder [Sat, 20 Mar 2010 00:35:44 +0000 (00:35 +0000)]
Fix for wrong function call