Roland Häder [Mon, 19 Jul 2010 15:38:33 +0000 (15:38 +0000)]
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
- Fix for extension registration, codes like {OPEN_CONFIG} and such are no
longer compiled in while the extension gots registered. This come handy for
e.g. our POINTS replacement.
- More usage of countSumTotalData() which should reduce the number of SQL
queries in the whole script
- Replaced a lot double-quotes with single-quotes
- Other minor cleanups
Roland Häder [Mon, 19 Jul 2010 00:28:54 +0000 (00:28 +0000)]
New extension ext-cliclbanner introduced, a lot SVN properties changed
Roland Häder [Sun, 18 Jul 2010 12:19:51 +0000 (12:19 +0000)]
IP resolver fixed, no need to lookup IP addresses
Roland Häder [Sun, 18 Jul 2010 03:37:56 +0000 (03:37 +0000)]
Yet-another renaming-mistake :(
Roland Häder [Sun, 18 Jul 2010 03:30:39 +0000 (03:30 +0000)]
Fixed wrong naming
Roland Häder [Sun, 18 Jul 2010 03:28:55 +0000 (03:28 +0000)]
Some more cleanups/improvements:
- New wrapper function isUrlBlacklistEnabled() introduced
- More usage of EL in templates
- Renames of array elements to make them the same as database column names
- Some SQLs improved
- TODOs.txt updated
Roland Häder [Sun, 18 Jul 2010 01:11:40 +0000 (01:11 +0000)]
Fix for 'Unknown gender F'
Roland Häder [Fri, 16 Jul 2010 15:34:57 +0000 (15:34 +0000)]
Syntax errors fixed, naming convention applied, wrappers used:
- Some syntax errors fixed (were added with last commit)
- Naming convention applied on variables $max ($numMenus) and some more
- Wraper countSumTotalData() further used
- overview-inc.php contained a query which can be converted into a wrapper call,
function isExtensionInstalled() could be used instead
- TODOs.txt updated
Roland Häder [Fri, 16 Jul 2010 03:49:23 +0000 (03:49 +0000)]
More language strings renamed, TODOs.txt updated:
- A lot more language strings renamed (naming convention: ADMIN_, GUEST_,
MEMBER_ and SPONSOR_ are used for "level" specific language strings, for all
currently no prefix is used.
- HTML code moved out to template
- TODOs.txt updated
Roland Häder [Thu, 15 Jul 2010 18:26:41 +0000 (18:26 +0000)]
Even more array-element names fixed
Roland Häder [Thu, 15 Jul 2010 18:23:34 +0000 (18:23 +0000)]
Several template fixes/code cleanups, default module titles added:
- Several template fixes/cleanups, e.g. class="bottom" was missing, array
elements were renamed but not in templates
- Code cosmetics applied
- Default module titles will now be set if no module title is already entered
Roland Häder [Mon, 12 Jul 2010 13:22:17 +0000 (13:22 +0000)]
Naming convention further applied, TODOs.txt updated
Roland Häder [Mon, 12 Jul 2010 13:04:46 +0000 (13:04 +0000)]
New wrapper functions introduced, TODOs.txt updated
Roland Häder [Mon, 12 Jul 2010 12:10:43 +0000 (12:10 +0000)]
SQL fixes, rewrites to make better use of EL
Roland Häder [Mon, 12 Jul 2010 11:55:39 +0000 (11:55 +0000)]
A lot naming conventions applied, TODOs.txt updated
Roland Häder [Mon, 12 Jul 2010 10:40:15 +0000 (10:40 +0000)]
Fix for doubler and double line in what=confirm
Roland Häder [Sun, 11 Jul 2010 22:54:50 +0000 (22:54 +0000)]
Lesser use of double-quotes
Roland Häder [Sun, 11 Jul 2010 20:46:19 +0000 (20:46 +0000)]
Naming convention applied, new wrapper introduced:
- Naming convention only allows foo_yes/foo_no (was: foo_y/foo_n)
- New wrapper isRefbackEnabled () introduced
- TODOs.txt updated
Roland Häder [Sun, 11 Jul 2010 20:27:15 +0000 (20:27 +0000)]
Some more wrappers added, code cleanups:
- Configuration 'wernis_userid' rewritten to {?wernis_refid?}
- New wrapper getIndexHome() added
- New wrapper getDoublerUserid() added (and a global array element rewritten)
- Doublicate braces (('foo')) cleaned up
- Some code costemtics applied
- Other minor improvements
Roland Häder [Sun, 11 Jul 2010 19:55:12 +0000 (19:55 +0000)]
Fixes for doubler (not fully fixed) and rewrites for beg/doubler:
- Many fixes for doubler link (was broken due to bad EL syntax)
- Rewrites to make lesser use of SOME_FOO_1/SOME_FOO_2 (should be SOME_FOO)
- Fixes for beg extension
- TODOs.txt updated
Roland Häder [Sat, 10 Jul 2010 09:44:11 +0000 (09:44 +0000)]
Table types InnoDB/MEMORY added
Roland Häder [Sat, 10 Jul 2010 08:51:00 +0000 (08:51 +0000)]
New wrapper function introduced, more EL rewrites:
- New wrapper function getTotalPoints() introduced
- Even more rewrites to make usage of EL
- TODOs.txt updated
Roland Häder [Thu, 8 Jul 2010 22:17:38 +0000 (22:17 +0000)]
Rewrites to handle non-existent modules:
- Getting module' title is now done while compilation phase (and not when the
filter runs). This allows us to modify it even after the page header has been
loaded.
- TODOs.txt updated
Roland Häder [Thu, 8 Jul 2010 21:59:01 +0000 (21:59 +0000)]
Fixed missing action if provided module is invalid (e.g. module=foo-server)
Roland Häder [Tue, 6 Jul 2010 07:15:45 +0000 (07:15 +0000)]
Even more fixes/rewrites due to changed config entries
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
Roland Häder [Mon, 5 Jul 2010 18:47:02 +0000 (18:47 +0000)]
One more wrapper function introduced, fixed for installation phase
Roland Häder [Mon, 5 Jul 2010 14:48:01 +0000 (14:48 +0000)]
More wrapper functions added
Roland Häder [Mon, 5 Jul 2010 14:38:37 +0000 (14:38 +0000)]
Moved surfbar-related functions, unnessary array element removed
Roland Häder [Mon, 5 Jul 2010 12:15:19 +0000 (12:15 +0000)]
Fixed displaying of correct values in surfbar
Roland Häder [Mon, 5 Jul 2010 09:08:25 +0000 (09:08 +0000)]
More fixes for typos in SQL queries
Roland Häder [Mon, 5 Jul 2010 08:47:20 +0000 (08:47 +0000)]
More cached wrapper functions introduced
Roland Häder [Mon, 5 Jul 2010 08:33:19 +0000 (08:33 +0000)]
Fix for if user account is missing
Roland Häder [Mon, 5 Jul 2010 06:26:33 +0000 (06:26 +0000)]
Getter getBegUserid() added
Roland Häder [Mon, 5 Jul 2010 06:24:05 +0000 (06:24 +0000)]
Wrapper function isBegRallyeEnabled() introduced, rewrites to make usage of isExtensionInstalledAndNewer()
Roland Häder [Mon, 5 Jul 2010 06:12:49 +0000 (06:12 +0000)]
Wrapper function isVerboseSqlEnabled() introduced
Roland Häder [Sun, 4 Jul 2010 13:11:02 +0000 (13:11 +0000)]
Typo fixed
Roland Häder [Sun, 4 Jul 2010 13:10:07 +0000 (13:10 +0000)]
More cached wrapper functions added for config entries
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
Roland Häder [Sun, 4 Jul 2010 11:41:20 +0000 (11:41 +0000)]
Fix for broken SQL
Roland Häder [Fri, 2 Jul 2010 13:19:28 +0000 (13:19 +0000)]
Some code cosmetics and fixes
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
Roland Häder [Fri, 2 Jul 2010 03:37:42 +0000 (03:37 +0000)]
All admin data is looked up by admin id
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
Roland Häder [Thu, 1 Jul 2010 17:02:14 +0000 (17:02 +0000)]
Properies set
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
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/
Roland Häder [Thu, 1 Jul 2010 06:39:02 +0000 (06:39 +0000)]
Typo fixed :-(
Roland Häder [Thu, 1 Jul 2010 05:00:27 +0000 (05:00 +0000)]
Parser errors fixed
Roland Häder [Thu, 1 Jul 2010 04:45:22 +0000 (04:45 +0000)]
More rewrites to make use of (cached) wrapper functions
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
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
Roland Häder [Wed, 30 Jun 2010 23:57:32 +0000 (23:57 +0000)]
Debug line removed
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
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
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
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
Roland Häder [Wed, 30 Jun 2010 22:28:22 +0000 (22:28 +0000)]
Rewrites/fixes in extension registration
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
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
Roland Häder [Wed, 30 Jun 2010 04:35:10 +0000 (04:35 +0000)]
Links to cia.vc and commits stats added
Roland Häder [Wed, 30 Jun 2010 04:14:49 +0000 (04:14 +0000)]
Possible fix for bad escaping of single-quotes
Roland Häder [Tue, 29 Jun 2010 22:49:30 +0000 (22:49 +0000)]
Even more fixes for surfbar, EL rewrites
Roland Häder [Tue, 29 Jun 2010 13:20:38 +0000 (13:20 +0000)]
Rewrites/fixes for surfbar
Roland Häder [Tue, 29 Jun 2010 12:30:16 +0000 (12:30 +0000)]
Theme renamed, missing dash added (minor fixes)
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
Roland Häder [Tue, 29 Jun 2010 04:00:23 +0000 (04:00 +0000)]
Fixes and further rewrites to make use of EL
Roland Häder [Tue, 29 Jun 2010 03:10:06 +0000 (03:10 +0000)]
Deprecated templates removed
Roland Häder [Tue, 29 Jun 2010 03:04:17 +0000 (03:04 +0000)]
Even more rewrites to make usage of EL
Roland Häder [Tue, 29 Jun 2010 02:06:15 +0000 (02:06 +0000)]
More rewrites to make lesser use of getMessage()
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
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
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
Roland Häder [Mon, 28 Jun 2010 19:53:22 +0000 (19:53 +0000)]
Fix for the fix ... :-(
Roland Häder [Mon, 28 Jun 2010 19:45:19 +0000 (19:45 +0000)]
Naming convention applied, encodeEntities() added
Roland Häder [Mon, 28 Jun 2010 19:28:53 +0000 (19:28 +0000)]
Naming convention applied
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
Roland Häder [Mon, 28 Jun 2010 19:08:58 +0000 (19:08 +0000)]
Removed deprecated code.
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()
Roland Häder [Mon, 28 Jun 2010 09:20:13 +0000 (09:20 +0000)]
Next wave of lesser getMessage()
Roland Häder [Mon, 28 Jun 2010 09:04:42 +0000 (09:04 +0000)]
Next wave of lesser getMessage() usage and more EL
Roland Häder [Mon, 28 Jun 2010 08:09:11 +0000 (08:09 +0000)]
Better handling of errors
Roland Häder [Mon, 28 Jun 2010 08:04:48 +0000 (08:04 +0000)]
Fixes
Roland Häder [Mon, 28 Jun 2010 07:57:54 +0000 (07:57 +0000)]
Even more rewrites to EL
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
Roland Häder [Mon, 28 Jun 2010 05:39:36 +0000 (05:39 +0000)]
More use of EL, fix for admin links
Roland Häder [Mon, 28 Jun 2010 05:23:38 +0000 (05:23 +0000)]
Some improvements, caching of email templates prepared
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
Roland Häder [Mon, 28 Jun 2010 03:52:32 +0000 (03:52 +0000)]
Deprecated templates/scripts removed
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
Roland Häder [Mon, 28 Jun 2010 02:40:20 +0000 (02:40 +0000)]
Template fixed
Roland Häder [Mon, 28 Jun 2010 02:30:35 +0000 (02:30 +0000)]
Added missing 'colspan2'
Roland Häder [Mon, 28 Jun 2010 02:00:50 +0000 (02:00 +0000)]
Fix for missing config entry 'beg_new_member_notify'
Roland Häder [Mon, 28 Jun 2010 01:26:30 +0000 (01:26 +0000)]
Missed to activate the update... :-(
Roland Häder [Sun, 27 Jun 2010 20:13:07 +0000 (20:13 +0000)]
Added missing line
Roland Häder [Sun, 27 Jun 2010 20:11:16 +0000 (20:11 +0000)]
Fixed sprintf: Too few arguments
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
Roland Häder [Sat, 26 Jun 2010 16:49:45 +0000 (16:49 +0000)]
Even some more... :-(
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
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.'