Roland Häder [Tue, 27 Nov 2012 21:22:10 +0000 (21:22 +0000)]
Moved extra JavaScripts to external template
Roland Häder [Tue, 27 Nov 2012 21:12:03 +0000 (21:12 +0000)]
Added missing template
Roland Häder [Tue, 27 Nov 2012 21:05:08 +0000 (21:05 +0000)]
Added more config wrappers
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 [Sun, 25 Nov 2012 13:34:45 +0000 (13:34 +0000)]
Introduced more wrappers
Roland Häder [Sun, 25 Nov 2012 13:03:52 +0000 (13:03 +0000)]
Added doTemplateGuestFooterExtras() call-back and guest_footer_extras filter chain
Roland Häder [Sun, 25 Nov 2012 12:44:04 +0000 (12:44 +0000)]
Typo ...
Roland Häder [Sun, 25 Nov 2012 12:39:58 +0000 (12:39 +0000)]
Some improvements:
- Used empty() instead of checking strlen() is zero or larger zero
- Used str_pad() instead of other code
Roland Häder [Sun, 25 Nov 2012 00:43:40 +0000 (00:43 +0000)]
Native :(
Roland Häder [Sun, 25 Nov 2012 00:37:58 +0000 (00:37 +0000)]
Updated propset.sh, fixed all SVN properties
Roland Häder [Sun, 25 Nov 2012 00:10:09 +0000 (00:10 +0000)]
Moved template helpers out of regular functions
Roland Häder [Sun, 25 Nov 2012 00:06:56 +0000 (00:06 +0000)]
Opps :(
Roland Häder [Sun, 25 Nov 2012 00:06:20 +0000 (00:06 +0000)]
More HTML/EL code fixes, removed assertition as it was to strict (didn't work in points accounts)
Roland Häder [Sat, 24 Nov 2012 23:52:34 +0000 (23:52 +0000)]
More renaming of name='ok' to something else (better to separate them out)
Roland Häder [Sat, 24 Nov 2012 23:50:03 +0000 (23:50 +0000)]
Was missing :(
Roland Häder [Sat, 24 Nov 2012 23:44:18 +0000 (23:44 +0000)]
Some no more needed variable rewritten
Roland Häder [Sat, 24 Nov 2012 23:22:19 +0000 (23:22 +0000)]
Some minor (text) improvements
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 20:21:48 +0000 (20:21 +0000)]
Added missing parameter which allows to add the SQL statements not just to 'install' SQL pool
Roland Häder [Sat, 24 Nov 2012 14:43:55 +0000 (14:43 +0000)]
Do not add columns to CREATE statements if you already add them with ALTER TABLE
Roland Häder [Sat, 24 Nov 2012 12:38:53 +0000 (12:38 +0000)]
More fixes for wrong table name :(
Roland Häder [Sat, 24 Nov 2012 12:00:03 +0000 (12:00 +0000)]
Now the last extension update is being applied, added missing wrapper function for config 'bonus_userid'
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 [Fri, 23 Nov 2012 23:38:34 +0000 (23:38 +0000)]
Wrong method (POST), should be GET
Roland Häder [Fri, 23 Nov 2012 23:36:17 +0000 (23:36 +0000)]
Fix for missing 4th parameter
Roland Häder [Fri, 23 Nov 2012 23:15:57 +0000 (23:15 +0000)]
Updated jquery(+ui) to latest stable versions
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 [Sun, 18 Nov 2012 23:54:33 +0000 (23:54 +0000)]
Continued:
- Tried to prevent 'mt_word2' being inserted in default main title in
installation phase
- TODOs.txt updated
Roland Häder [Sun, 18 Nov 2012 23:45:33 +0000 (23:45 +0000)]
Installation NG continued (still not fully working)
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 [Mon, 12 Nov 2012 19:18:03 +0000 (19:18 +0000)]
Some more rewrites to better functions
Roland Häder [Mon, 12 Nov 2012 19:09:23 +0000 (19:09 +0000)]
Check if table exists, before checking column/key
Roland Häder [Mon, 12 Nov 2012 19:05:44 +0000 (19:05 +0000)]
ext-autopurge does now (not fully) maintain it
Roland Häder [Mon, 12 Nov 2012 19:03:33 +0000 (19:03 +0000)]
More fixes, debug lines commented out
Roland Häder [Mon, 12 Nov 2012 18:39:00 +0000 (18:39 +0000)]
Fixes for installation phase
Roland Häder [Mon, 12 Nov 2012 18:26:55 +0000 (18:26 +0000)]
Removed double version number
Roland Häder [Mon, 12 Nov 2012 18:16:24 +0000 (18:16 +0000)]
Attempt to fix installation
Roland Häder [Mon, 12 Nov 2012 18:05:23 +0000 (18:05 +0000)]
Restoring the error handler is no longer required as mailer's own handler does now care about installation phase
Roland Häder [Mon, 12 Nov 2012 17:55:42 +0000 (17:55 +0000)]
Always initialize '_abc'
Roland Häder [Mon, 12 Nov 2012 17:51:19 +0000 (17:51 +0000)]
Rewrote else blocks (avoided them)
Roland Häder [Mon, 12 Nov 2012 17:41:37 +0000 (17:41 +0000)]
Test is not JSON
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 20:29:55 +0000 (20:29 +0000)]
Added purging of subid and server_name logs
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 15:44:07 +0000 (15:44 +0000)]
Additional fixes for XML handler and listing builder
Roland Häder [Sat, 10 Nov 2012 14:47:54 +0000 (14:47 +0000)]
Added missing wrapper for 'auto_purge' configuration
Roland Häder [Sat, 10 Nov 2012 14:37:24 +0000 (14:37 +0000)]
Minor cleanups
Roland Häder [Sat, 10 Nov 2012 14:00:14 +0000 (14:00 +0000)]
Do not append the session id on form method 'get' as it conflicts with other form fields
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 [Thu, 8 Nov 2012 22:45:09 +0000 (22:45 +0000)]
Now the comment block is okay
Roland Häder [Thu, 8 Nov 2012 22:42:13 +0000 (22:42 +0000)]
Fixes for installation phase
Roland Häder [Thu, 8 Nov 2012 21:16:35 +0000 (21:16 +0000)]
Is 'test' target JSON?
Roland Häder [Thu, 8 Nov 2012 21:09:30 +0000 (21:09 +0000)]
This 'return FALSE' caused that the PHP's error handler was called :( So, do NEVER do this here
Roland Häder [Thu, 8 Nov 2012 20:26:21 +0000 (20:26 +0000)]
Better use isHtmlOutputMode()
Roland Häder [Thu, 8 Nov 2012 20:20:43 +0000 (20:20 +0000)]
Fatal error table is now centered
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
Roland Häder [Thu, 8 Nov 2012 20:08:24 +0000 (20:08 +0000)]
Fix for height
Roland Häder [Wed, 7 Nov 2012 23:36:13 +0000 (23:36 +0000)]
Fix for 'next/previous' navigation
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 22:11:52 +0000 (22:11 +0000)]
Fix for two-lined 'tabnav'
Roland Häder [Wed, 7 Nov 2012 19:39:30 +0000 (19:39 +0000)]
isExtensionOlder() is no longer required
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 [Wed, 7 Nov 2012 17:03:50 +0000 (17:03 +0000)]
shall not have less than 10 entries
Roland Häder [Wed, 7 Nov 2012 16:27:48 +0000 (16:27 +0000)]
Fix (opps) for installer, missed the '.php' extension :(
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
Roland Häder [Sun, 4 Nov 2012 13:16:01 +0000 (13:16 +0000)]
Also this is deprecated
Roland Häder [Sun, 4 Nov 2012 13:15:10 +0000 (13:15 +0000)]
Reverted
Roland Häder [Sun, 4 Nov 2012 13:13:59 +0000 (13:13 +0000)]
Found more deprecated templates (on my server, lets distribute them)
Roland Häder [Sun, 4 Nov 2012 12:55:01 +0000 (12:55 +0000)]
Also these templates are all dead
Roland Häder [Sun, 4 Nov 2012 12:52:36 +0000 (12:52 +0000)]
Also this is dead :(
Roland Häder [Sun, 4 Nov 2012 12:51:31 +0000 (12:51 +0000)]
Long dead ...
Roland Häder [Sun, 4 Nov 2012 12:47:22 +0000 (12:47 +0000)]
Also 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
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
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)
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
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
Roland Häder [Sun, 4 Nov 2012 12:07:18 +0000 (12:07 +0000)]
A little better debugging, handling of percent char
Roland Häder [Sun, 4 Nov 2012 01:46:39 +0000 (01:46 +0000)]
Missing language string
Roland Häder [Sun, 4 Nov 2012 01:45:39 +0000 (01:45 +0000)]
Added some missing wrapper functions
Roland Häder [Sun, 4 Nov 2012 01:44:58 +0000 (01:44 +0000)]
Even more fixes :(
Roland Häder [Sun, 4 Nov 2012 01:28:34 +0000 (01:28 +0000)]
Fixes for isAdmin() rewrite of latest commits.
Roland Häder [Sun, 4 Nov 2012 00:11:24 +0000 (00:11 +0000)]
Speed up of isAdmin()
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)
Roland Häder [Sat, 3 Nov 2012 23:53:58 +0000 (23:53 +0000)]
Fixes and better logging
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
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'
Roland Häder [Sat, 3 Nov 2012 22:48:58 +0000 (22:48 +0000)]
Added listing of wrong 'SERVER_NAME' entries
Roland Häder [Sat, 3 Nov 2012 22:21:26 +0000 (22:21 +0000)]
Default is one
Roland Häder [Sat, 3 Nov 2012 22:19:54 +0000 (22:19 +0000)]
Use 'referrer', not 'referral'
Roland Häder [Sat, 3 Nov 2012 22:17:04 +0000 (22:17 +0000)]
Opps :(
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
Roland Häder [Sat, 3 Nov 2012 21:43:20 +0000 (21:43 +0000)]
Opps :(
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
Roland Häder [Sat, 3 Nov 2012 21:28:54 +0000 (21:28 +0000)]
Had to do it this way... :(
Roland Häder [Sat, 3 Nov 2012 21:26:44 +0000 (21:26 +0000)]
Fix for wrong SERVER_NAME usage (may cause trouble)
Roland Häder [Sat, 3 Nov 2012 21:02:47 +0000 (21:02 +0000)]
Fix for SQL