Roland Häder [Wed, 28 Nov 2012 15:46:32 +0000 (15:46 +0000)]
Code moved to other include file:
- Moved a lot SQL functions which doesn't encapsulate a corresponding
mysql_foo() function to sql-functions.php
- rewrote loader part
- TODOs.txt updated
Roland Häder [Tue, 27 Nov 2012 23:01:45 +0000 (23:01 +0000)]
Installation of extensions fixes
- Again some extensions has not been fully rewritten to newly introduced
wrapper functions which caused them to not install
- An extra back-tick (`) was found in column name :(
- Added optional $forceFound variable which can be used to (if the table is
missing) that the column/key is marked as "found"
- Expanded debug messages with column/key name and $forceFound variable
- TODOs.txt updated
Roland Häder [Tue, 27 Nov 2012 22:01:58 +0000 (22:01 +0000)]
Some improvements:
- "noindex_metadata.tpl is now the default (noindex, etc.) template for robot control
- added filter for 'module=confirm'"
- TODOs.txt updated
Roland Häder [Sun, 25 Nov 2012 20:18:24 +0000 (20:18 +0000)]
New function getMenuModeFromModule() introduced:
- Introduced getMenuModeFromModule() which determines the "menu mode" from
given module. This value can also be used for template names
- Old template removed (listed.tp)
- TODOs.txt updated
Roland Häder [Sat, 24 Nov 2012 23:14:38 +0000 (23:14 +0000)]
Some menu points renamed to not conflict with configuration menus:
- Renamed config_cats to list_cats, config_mods to list_mods and
config_rallye_prices to list_rallye_prices as "config" is only
for configuration table "config"
- In all configuration files "save_config" is now the submit button's name
- TODOs.txt updated
Roland Häder [Sat, 24 Nov 2012 22:52:22 +0000 (22:52 +0000)]
Some HTML fixes, ext-sql_patches downgraded (!):
- Extension ext-sql_patches is now downgraded to 0.9.4 as update 0.9.5 has
been moved into 0.9.4
- Fixed some HTML errors
- Added missing legend tag (MEMBER_SURFBAR_EDIT_URL_LEGEND)
- TODOs.txt updated
Roland Häder [Sat, 24 Nov 2012 22:40:38 +0000 (22:40 +0000)]
Admin area 'Referral levels' refactured:
- Listing/adding,editing/deleting of referral levels is now fully rewritten
to use XML templates, also "build mails" are being sent
- Almost all admin templates with an id number are now expanded with
'width="30"' to make it look the same (not all pages)
- TODOs.txt updated
Roland Häder [Sat, 24 Nov 2012 11:57:50 +0000 (11:57 +0000)]
More fixes, lesser "caching" and more wrapper functions introduced:
- Wrapper function addExtensionAddTableIndexSql() introduced
- Wrapper function addExtensionAddTableUniqueSql() introduced
- Wrapper function addExtensionAddTableFulltextSql() introduced
- Wrapper function addExtensionDropTableIndexSql() introduced
- Function ifSqlTableExists() renamed to ifSqlTableColumnExists() and it does
no longer "cache" its results
- Other fixes which prevents extensions being installed/uninstalled
Roland Häder [Mon, 19 Nov 2012 01:09:30 +0000 (01:09 +0000)]
Continued:
- Renamed setOutputMode() to setScriptOutputMode() to be more conform with
getScriptOutput()
- Added template for AJAX scripts
- Added check for isAjaxOutput() and isInstallationPhase() to proper scripts
Roland Häder [Fri, 16 Nov 2012 22:40:06 +0000 (22:40 +0000)]
jQuery updated:
- Allowed also jquery-ui being loaded uncompressed (very large)
- Added some more features to it which will be used later on
- TODOs.txt updated
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
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
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"
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
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
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
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