Roland Häder [Thu, 14 Jul 2011 15:38:07 +0000 (15:38 +0000)]
Menu system fixes, list_user simplified:
- Menu entry 'add_points' has truncated output due to to short VARCHAR
- what=list_user and correspondig functions simplified towards XML-rewrite
- TODOs.txt updated
Roland Häder [Thu, 14 Jul 2011 12:17:57 +0000 (12:17 +0000)]
Fixes for compilation, more EL code:
- More usage of EL code
- Compilation will now compile {OPEN_TEMPLATE} and its brothers out
- Compilation loop count will be added in HTML code and if debug-mode is enabled
- TODOs.txt updated
Roland Häder [Wed, 13 Jul 2011 08:53:29 +0000 (08:53 +0000)]
Member area section 'referal links' refactured:
- The member can now see how much mails (of minimum) he has clicked to be
randomly selected as referal id
- He can also see his referal (including nickname if installed&set)
- New CSS class listing for ul/li tags added
- Templates renamed to new naming convention
- TODOs.txt updated
Roland Häder [Tue, 12 Jul 2011 22:44:50 +0000 (22:44 +0000)]
File renamed to naming convention, ext-repair continued:
- gen_refback.php renamed to fix_refsystem.php to make it more clear that this
script is a) generic and b) is fixing the referal system
- Extension ext-repair: The referal system can now be repaired
- TODOs.txt updated
Roland Häder [Tue, 12 Jul 2011 21:55:23 +0000 (21:55 +0000)]
Wrapper introduced, renaming to the naming convention:
- Wrapper function getTotalUnconfirmedMails() introduced to shorten things
- But don't shortcut array elements or variables, cnt->count renamed
- TODOs.txt updated
Roland Häder [Tue, 12 Jul 2011 19:01:06 +0000 (19:01 +0000)]
Referal system rewritten, ext-refback continued:
- Referal system refactured, it is now much easier to understand
- Extension ext-refback does now show the click rate in refback list
- BIGINT is now always 20 digits long
- Internal TODO closed (unused column 'status')
- TODOs.txt updated
Roland Häder [Tue, 12 Jul 2011 12:50:37 +0000 (12:50 +0000)]
Referal system refactured (and some parts fixed), wrapper function introduced:
- Referal points system refactured: All point accounts can now be handled (admin
menu is not yet finished) through the table 'points_data', including
notification by email.
- Introduced new "translation" wrapper generateYesNoOptionList() to simplify
many configuration menus
- Some internal TODOs closed (e.g. handling of registration welcome points)
- TODOs.txt updated
Roland Häder [Tue, 12 Jul 2011 00:32:40 +0000 (00:32 +0000)]
Fixes for referal system, shell scripts overworked:
- Various fixes to the referal/points system (still some work needs to be done)
- Shell scripts enhanced with check for "root" directory (modules.php)
- Shell debug-lines.sh added which will show which debug lines are commented in
- Other minor rewrites/fixes
- TODOs.txt updated
Roland Häder [Mon, 11 Jul 2011 18:52:30 +0000 (18:52 +0000)]
Several code cleanups:
- Debug lines rewritten to use logDebugMessage() instead of plain print()
- Several calls of addFatalMessage() rewritten to debug_report_bug()
- $data in all filters renamed to $filterData
- Message id cleanup
- Other minor fixes/improvements
- TODOs.txt updated
Roland Häder [Mon, 11 Jul 2011 17:19:51 +0000 (17:19 +0000)]
Extension ext-surfbar continued:
- Filters for ext-surfbar added
- Templates renamed according to naming convention
- what-unconfirmed.php requires now ext-mailid to be active
- TODOs.txt updated
Roland Häder [Mon, 11 Jul 2011 16:35:51 +0000 (16:35 +0000)]
Fixes/rewrites for ext-surfbar:
- Filter FILTER_SURFBAR_CHANGE_URL_STATUS() basicly finished
- Removed die() on two places
- Added missing message id
- Renamed template to conform with naming scheme
- TODOs.txt updated
Roland Häder [Mon, 11 Jul 2011 13:59:45 +0000 (13:59 +0000)]
Extension ext-surfbar continued, WHERE statement support added:
- Unlocking surfbar URLs is now XML-enabled
- Support for one WHERE condition in XML templates added
- TODOs.txt updated
Roland Häder [Mon, 11 Jul 2011 09:25:56 +0000 (09:25 +0000)]
Extension ext-surfbar continued, fixes:
- Menu point 'list_surfbar_urls' is now fully generated from XML meta data
templates
- Fixes in various places
- TODOs.txt updated
Roland Häder [Sat, 9 Jul 2011 16:28:42 +0000 (16:28 +0000)]
Bonus mails are now editable, duplicate message ids cleaned up:
- Bonus mails can now be edited
- Generation of admin mail links now fully working
- Many duplicate message ids removed
- TODOs.txt updated
Roland Häder [Sat, 9 Jul 2011 05:08:38 +0000 (05:08 +0000)]
More fixes for ext-surfbar:
- Fixed some template bugs, the dollar sign went missing
- Renamed template (we write some_delete_foo and not some_del_foo)
- TODOs.txt updated
Roland Häder [Sat, 9 Jul 2011 03:59:51 +0000 (03:59 +0000)]
Wrapper function for configuration introduced, config entry renamed:
- Wrapper function getSurfbarPaymentModel() introduced for ext-surfbar which
encapsulates surfbar_payment_model (old name: surfbar_pay_model)
- In same extension, more code has been rewritten to use EL code
Roland Häder [Sat, 9 Jul 2011 03:35:11 +0000 (03:35 +0000)]
XML parser introduced, ext-surfbar rewritten, more EL code:
- XML parser functions (see xml-functions.php) introduced which shall make it
much easier in adding list/edit/delete/foo forms to the script by a XML
rather than tons of hard-to-debug code or large call parameters
- Extension ext-surfbar: Edit/delete/lock/unlock/undelete of URLs is now
rewritten to make usage of above XML parser
- For same extension, new translateFooToBar() wrappers has been introduced in
EL code.
- TODOs.txt updated
Roland Häder [Fri, 8 Jul 2011 05:58:23 +0000 (05:58 +0000)]
Extension ext-grade continued, functions for menu SQLs simplified:
- Extension ext-grade now have (non-existing) guest and member menus
- add<Guest|Member>MenuSql() have now two parameters less: locked='Y' and
visible='N' is now default
- Menu 'mydata' moved to action 'account' (fits better there)
- TODOs.txt updated
Roland Häder [Fri, 8 Jul 2011 03:25:03 +0000 (03:25 +0000)]
More usage of EL code, no longer required checks removed:
- More usage of EL code for messages generated from functions with one parameter
- No longer needed checks for what/action script's own extension
- TODOs.txt updated
Roland Häder [Wed, 6 Jul 2011 08:47:01 +0000 (08:47 +0000)]
More code parts could take advantage of previously improved fixEmptyContentToDashes():
- More code parts, all checked for ext-nickname is installed/active in an extra
ugly looking if() block, could be improved by previously rewritten function
fixEmptyContentToDashes().
- Some internal TODOs closed
- TODOs.txt updated
Roland Häder [Tue, 5 Jul 2011 22:59:30 +0000 (22:59 +0000)]
- Rewrites to use more the userid than the actual email address when sending
emails to a user
- Fixed 'Send new password'
- is<Post|Get>RequestParameterSet() are now check if the content is not empty
- TODOs.txt updated
Roland Häder [Tue, 5 Jul 2011 02:48:41 +0000 (02:48 +0000)]
A major bugfix for extension registration, ext-coupon does now purge coupons:
- Fixed registration of extensions with update/register dependencies, they
were not executed before the actual selected extension was registered
- Purging of coupons added (was not yet implemented) with details of every purged coupon
- Fixed some language strings for link titles (again)
- TODOs.txt updated
Roland Häder [Mon, 4 Jul 2011 00:01:11 +0000 (00:01 +0000)]
Extension ext-grade continued, a lot renames:
- All 'remove' renamed to 'do_delete'
- A lot 'change' renamed to 'do_edit', both renames will become important for
the next full refacturing of all (list|edit|delete)_foo formulars to the XML
based system
- Extension ext-grade continued, only a function-less script has been added
- TODOs.txt updated
Roland Häder [Sun, 3 Jul 2011 21:47:01 +0000 (21:47 +0000)]
Countless fixes, ext-grade started:
- Extension ext-grade started: First tables created
- Countless fixes applied, this includes extension and cache management as well
as avoiding around 3 needless SQL queries and badly handled ALTER TABLE
queries in db-mysql3.php
- TODOs.txt updated