mailer.git
9 years agoRewrites for installation phase:
Roland Häder [Tue, 6 Jul 2010 07:01:51 +0000 (07:01 +0000)]
Rewrites for installation phase:
- All localized installer messages should be located in install_XX.php
- All those messages should have a prefix INSTALLER_
- Fatal errors in installation phase are now no longer handled by our fatal
  error handler, instead the installer handles them by itself.
- Another old message id part "LANG" removed
- TODOs.txt updated

9 years agoOne more wrapper function introduced, fixed for installation phase
Roland Häder [Mon, 5 Jul 2010 18:47:02 +0000 (18:47 +0000)]
One more wrapper function introduced, fixed for installation phase

9 years agoMore wrapper functions added
Roland Häder [Mon, 5 Jul 2010 14:48:01 +0000 (14:48 +0000)]
More wrapper functions added

9 years agoMoved surfbar-related functions, unnessary array element removed
Roland Häder [Mon, 5 Jul 2010 14:38:37 +0000 (14:38 +0000)]
Moved surfbar-related functions, unnessary array element removed

9 years agoFixed displaying of correct values in surfbar
Roland Häder [Mon, 5 Jul 2010 12:15:19 +0000 (12:15 +0000)]
Fixed displaying of correct values in surfbar

9 years agoMore fixes for typos in SQL queries
Roland Häder [Mon, 5 Jul 2010 09:08:25 +0000 (09:08 +0000)]
More fixes for typos in SQL queries

9 years agoMore cached wrapper functions introduced
Roland Häder [Mon, 5 Jul 2010 08:47:20 +0000 (08:47 +0000)]
More cached wrapper functions introduced

9 years agoFix for if user account is missing
Roland Häder [Mon, 5 Jul 2010 08:33:19 +0000 (08:33 +0000)]
Fix for if user account is missing

9 years agoGetter getBegUserid() added
Roland Häder [Mon, 5 Jul 2010 06:26:33 +0000 (06:26 +0000)]
Getter getBegUserid() added

9 years agoWrapper function isBegRallyeEnabled() introduced, rewrites to make usage of isExtensi...
Roland Häder [Mon, 5 Jul 2010 06:24:05 +0000 (06:24 +0000)]
Wrapper function isBegRallyeEnabled() introduced, rewrites to make usage of isExtensionInstalledAndNewer()

9 years agoWrapper function isVerboseSqlEnabled() introduced
Roland Häder [Mon, 5 Jul 2010 06:12:49 +0000 (06:12 +0000)]
Wrapper function isVerboseSqlEnabled() introduced

9 years agoTypo fixed
Roland Häder [Sun, 4 Jul 2010 13:11:02 +0000 (13:11 +0000)]
Typo fixed

9 years agoMore cached wrapper functions added for config entries
Roland Häder [Sun, 4 Jul 2010 13:10:07 +0000 (13:10 +0000)]
More cached wrapper functions added for config entries

9 years agoFixes for missing arguments and some improvements:
Roland Häder [Sun, 4 Jul 2010 12:55:21 +0000 (12:55 +0000)]
Fixes for missing arguments and some improvements:
- Fixes for missing arguments of debug_report_bug() in various placed
- readFromFile() does already check if the file is readable, so no other
  function need to call debug_report_bug() if it is not readable
- TODOs.txt updated

9 years agoFix for broken SQL
Roland Häder [Sun, 4 Jul 2010 11:41:20 +0000 (11:41 +0000)]
Fix for broken SQL

9 years agoSome code cosmetics and fixes
Roland Häder [Fri, 2 Jul 2010 13:19:28 +0000 (13:19 +0000)]
Some code cosmetics and fixes

9 years agoreseller was an old parameter where it was planed to write a shop system with this...
Roland Häder [Fri, 2 Jul 2010 03:47:51 +0000 (03:47 +0000)]
reseller was an old parameter where it was planed to write a shop system with this engine

9 years agoAll admin data is looked up by admin id
Roland Häder [Fri, 2 Jul 2010 03:37:42 +0000 (03:37 +0000)]
All admin data is looked up by admin id

9 years agoNaming convention, internal TODOs solved:
Roland Häder [Fri, 2 Jul 2010 03:28:02 +0000 (03:28 +0000)]
Naming convention, internal TODOs solved:
- Naming convention says referal ids should be represented as 'refid' and not
  'rid' which is to short
- Internal TODO solved which wants us to make usage of addPointsFoo() function
- TODOs.txt updated

9 years agoProperies set
Roland Häder [Thu, 1 Jul 2010 17:02:14 +0000 (17:02 +0000)]
Properies set

9 years agoDirectories with a dot caused some trouble, rewritten all code to make no longer...
Roland Häder [Thu, 1 Jul 2010 17:00:09 +0000 (17:00 +0000)]
Directories with a dot caused some trouble, rewritten all code to make no longer usage of it

9 years agoRemoved deprecated code, inc/.secret/ is now obsolete and its files are located in...
Roland Häder [Thu, 1 Jul 2010 16:49:15 +0000 (16:49 +0000)]
Removed deprecated code, inc/.secret/ is now obsolete and its files are located in inc/cache/. Please move all files from inc/.secret/ to inc/cache/

9 years agoTypo fixed :-(
Roland Häder [Thu, 1 Jul 2010 06:39:02 +0000 (06:39 +0000)]
Typo fixed :-(

9 years agoParser errors fixed
Roland Häder [Thu, 1 Jul 2010 05:00:27 +0000 (05:00 +0000)]
Parser errors fixed

9 years agoMore rewrites to make use of (cached) wrapper functions
Roland Häder [Thu, 1 Jul 2010 04:45:22 +0000 (04:45 +0000)]
More rewrites to make use of (cached) wrapper functions

9 years agoAPI functions renamed:
Roland Häder [Thu, 1 Jul 2010 01:47:07 +0000 (01:47 +0000)]
API functions renamed:
- getOutputMode() is now known as getScriptOutputMode()
- getCachedOutputMode() is now known as getOutputMode()
- This solves a conflict shown in previous commit

9 years agoA lot calls saved, expression language rewritten:
Roland Häder [Thu, 1 Jul 2010 01:43:30 +0000 (01:43 +0000)]
A lot calls saved, expression language rewritten:
- A lot getConfig() calls saved and wrapped: getConfig('FOO_BAR') can now be
  done with getFooBar(), except OUTPUT_MODE: getCachedOutputMode(). We need to
  fix that later on.
- Expression language rewritten (and cached) to take a look for above wrapper
  functions.
- TODOs.txt updated

9 years agoDebug line removed
Roland Häder [Wed, 30 Jun 2010 23:57:32 +0000 (23:57 +0000)]
Debug line removed

9 years agoInternal statistics are now turned off by default, install ext-other, version >=...
Roland Häder [Wed, 30 Jun 2010 23:54:53 +0000 (23:54 +0000)]
Internal statistics are now turned off by default, install ext-other, version >= 0.2.6 to get them back enabled

9 years agoModule-related code moved, deprecated templates deleted, internals stats are now...
Roland Häder [Wed, 30 Jun 2010 23:51:59 +0000 (23:51 +0000)]
Module-related code moved, deprecated templates deleted, internals stats are now configurable
- Internal statistics can now be turned of to gain a little more performance
- Module-related functions moved to module-functions.php
- Deprecated templates removed
- TODOs.txt updated

9 years agoFix for if sql_patches is not installed or older than 0.3.6
Roland Häder [Wed, 30 Jun 2010 23:22:16 +0000 (23:22 +0000)]
Fix for if sql_patches is not installed or older than 0.3.6

9 years agoNew function makeDatabaseUserId() introduced which actually converts a zero userid...
Roland Häder [Wed, 30 Jun 2010 22:35:56 +0000 (22:35 +0000)]
New function makeDatabaseUserId() introduced which actually converts a zero userid into NULL to make it more suitable for SQL queries

9 years agoRewrites/fixes in extension registration
Roland Häder [Wed, 30 Jun 2010 22:28:22 +0000 (22:28 +0000)]
Rewrites/fixes in extension registration

9 years agoSome templates renamed, fixed of double-init of extension notes:
Roland Häder [Wed, 30 Jun 2010 11:18:36 +0000 (11:18 +0000)]
Some templates renamed, fixed of double-init of extension notes:
- Some templates renamed, new naming convention says that _ext_ is a shortcut
  for _extension_ and therefore it is outdated.
- Double-initialization of extension notes while displaying them in task fixed
- In same place, counting of SQL queries fixed
- TODOs.txt updated

9 years agoFixed missed [sw] things in a lot templates, added more EL:
Roland Häder [Wed, 30 Jun 2010 04:54:59 +0000 (04:54 +0000)]
Fixed missed [sw] things in a lot templates, added more EL:
- Fixed a lot broken switch_swX in templates to make use of EL function
  {%template,ColorSwitch%}
- More usage of fixEmptyContentToDashes() e.g. for nicknames
- TODOs.txt updated

9 years agoLinks to cia.vc and commits stats added
Roland Häder [Wed, 30 Jun 2010 04:35:10 +0000 (04:35 +0000)]
Links to cia.vc and commits stats added

9 years agoPossible fix for bad escaping of single-quotes
Roland Häder [Wed, 30 Jun 2010 04:14:49 +0000 (04:14 +0000)]
Possible fix for bad escaping of single-quotes

9 years agoEven more fixes for surfbar, EL rewrites
Roland Häder [Tue, 29 Jun 2010 22:49:30 +0000 (22:49 +0000)]
Even more fixes for surfbar, EL rewrites

9 years agoRewrites/fixes for surfbar
Roland Häder [Tue, 29 Jun 2010 13:20:38 +0000 (13:20 +0000)]
Rewrites/fixes for surfbar

9 years agoTheme renamed, missing dash added (minor fixes)
Roland Häder [Tue, 29 Jun 2010 12:30:16 +0000 (12:30 +0000)]
Theme renamed, missing dash added (minor fixes)

9 years agoCaching of expensive PHP functions:
Roland Häder [Tue, 29 Jun 2010 04:48:58 +0000 (04:48 +0000)]
Caching of expensive PHP functions:
- date() calls are now wrapped and cached
- translateYesNo() is now cached (will follow more)
- TODOs.txt updated

9 years agoFixes and further rewrites to make use of EL
Roland Häder [Tue, 29 Jun 2010 04:00:23 +0000 (04:00 +0000)]
Fixes and further rewrites to make use of EL

9 years agoDeprecated templates removed
Roland Häder [Tue, 29 Jun 2010 03:10:06 +0000 (03:10 +0000)]
Deprecated templates removed

9 years agoEven more rewrites to make usage of EL
Roland Häder [Tue, 29 Jun 2010 03:04:17 +0000 (03:04 +0000)]
Even more rewrites to make usage of EL

9 years agoMore rewrites to make lesser use of getMessage()
Roland Häder [Tue, 29 Jun 2010 02:06:15 +0000 (02:06 +0000)]
More rewrites to make lesser use of getMessage()

9 years agoA lot code rewritten:
Roland Häder [Tue, 29 Jun 2010 01:19:13 +0000 (01:19 +0000)]
A lot code rewritten:
- New template-functions.php added and a lot functions moved from functions.php
  and some from wrapper-functions.php to it.
- New EL function doExpressionTemplate() added
- New template function doTemplateColorSwitch() added
- Heavy rewrite of PHP code and templates to make usage of that new function
  which should result in an easier PHP code
- Some fixes
- TODOs.txt updated

9 years agoChanged all admin getter, closed internal TODOs:
Roland Häder [Mon, 28 Jun 2010 23:25:01 +0000 (23:25 +0000)]
Changed all admin getter, closed internal TODOs:
- All admin getter functions like getAdminEmail() (except getAdminId()) does now
  take the admin id
- Naming convention on some template names applied
- Some deprecated footer/header templates merged and marked as deprecated
- TODOs.txt updated

9 years agoNew (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
Roland Häder [Mon, 28 Jun 2010 21:38:03 +0000 (21:38 +0000)]
New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
- New (template) wrapper function fixEmptyContentToDashes() introduced, this
  function should help template writers to deal with empty content. If an empty
  string is detected, it got converted into three dashes. This may fix some
  issues with empty div and/or td tags.
- Even more rewrites to make use of EL
- TODOs.txt updated

9 years agoFix for the fix ... :-(
Roland Häder [Mon, 28 Jun 2010 19:53:22 +0000 (19:53 +0000)]
Fix for the fix ... :-(

9 years agoNaming convention applied, encodeEntities() added
Roland Häder [Mon, 28 Jun 2010 19:45:19 +0000 (19:45 +0000)]
Naming convention applied, encodeEntities() added

9 years agoNaming convention applied
Roland Häder [Mon, 28 Jun 2010 19:28:53 +0000 (19:28 +0000)]
Naming convention applied

9 years agoTask-create functions does now return a task id. We use that to help registering...
Roland Häder [Mon, 28 Jun 2010 19:25:00 +0000 (19:25 +0000)]
Task-create functions does now return a task id. We use that to help registering a new extension which has no task entry yet while we update an already installed extension

9 years agoRemoved deprecated code.
Roland Häder [Mon, 28 Jun 2010 19:08:58 +0000 (19:08 +0000)]
Removed deprecated code.

9 years agoGetter for boolean values should be named like ifFoo() or isBar()
Roland Häder [Mon, 28 Jun 2010 19:07:25 +0000 (19:07 +0000)]
Getter for boolean values should be named like ifFoo() or isBar()

9 years agoNext wave of lesser getMessage()
Roland Häder [Mon, 28 Jun 2010 09:20:13 +0000 (09:20 +0000)]
Next wave of lesser getMessage()

9 years agoNext wave of lesser getMessage() usage and more EL
Roland Häder [Mon, 28 Jun 2010 09:04:42 +0000 (09:04 +0000)]
Next wave of lesser getMessage() usage and more EL

9 years agoBetter handling of errors
Roland Häder [Mon, 28 Jun 2010 08:09:11 +0000 (08:09 +0000)]
Better handling of errors

9 years agoFixes
Roland Häder [Mon, 28 Jun 2010 08:04:48 +0000 (08:04 +0000)]
Fixes

9 years agoEven more rewrites to EL
Roland Häder [Mon, 28 Jun 2010 07:57:54 +0000 (07:57 +0000)]
Even more rewrites to EL

9 years agoDeprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
Roland Häder [Mon, 28 Jun 2010 07:07:51 +0000 (07:07 +0000)]
Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
- Deprecated variables $nick and $email removed from loadEmailTemplate()
- More rewrites for usage of EL
- getMessage() lesser used (saves a lot calls while execution of include file)
- Some internal TODOs closed
- TODOs.txt updated

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