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
Roland Häder [Sat, 2 Jul 2011 19:35:39 +0000 (19:35 +0000)]
Make sure that extension versions not 0.0.0 are handled as updates (0.0.0 is a dummy version and mostly means 'developer release' or 'initial release' for productive extensions)
Roland Häder [Sat, 2 Jul 2011 19:23:29 +0000 (19:23 +0000)]
Getting total/own points rewritten to filter:
- Rewritten of getting total user points to a filter, same will follow with
locked points
- Extension ext-msg will never come back, so relevant code has been removed
- TODOs.txt updated
Roland Häder [Thu, 30 Jun 2011 03:12:29 +0000 (03:12 +0000)]
A lot email templates renamed, SQL fixed:
- A lot (!) email templates renamed, the new naming may be more clear
- SQL statement fixed
- TODOs.txt updated
Roland Häder [Thu, 30 Jun 2011 02:40:50 +0000 (02:40 +0000)]
'NO-ACL' is more clear that we don't have an ACL for the given admin than three asterisks, function isAdminsAllowedByAcl() is now cached (and new name)
Roland Häder [Thu, 30 Jun 2011 01:43:23 +0000 (01:43 +0000)]
Naming convention on language strings applied, ACL handling fixed:
- A lot more (or all?) configuration-related language ids prefixed with 'admin_config_'
- Fixed saving, loading and handling of ACLs
- Renamed 'config_admins' to 'list_admins_acls' to make it more clear
- TODOs.txt updated
Roland Häder [Wed, 29 Jun 2011 16:14:09 +0000 (16:14 +0000)]
Extension ext-coupon basicly finished, no shortcuts in naming:
- Extension ext-coupon basicly finished: Please test it intensively now
- Renamed all _UID to _USERID, we don't want to shortcut words
- Minior renames/improvements here and there
- TODOs.txt updated
Roland Häder [Wed, 29 Jun 2011 02:05:52 +0000 (02:05 +0000)]
Fixed handling of nicknames as 'refid':
- determineReferalId() does now detect and handle nicknames as referal ids
correctly by setting the userid as 'refid'
- Removed obsolete code from ref.php (see determineReferalId())
- TODOs.txt updated
Roland Häder [Wed, 29 Jun 2011 00:51:11 +0000 (00:51 +0000)]
Extension ext-coupon continued, naming convention, many improvements:
- Extension ext-coupon: Nearly finished, only listing of cashed coupons and a
little in admin area!
- Foder 'inc/autopurge/ renamed to 'inc/purge/ to avoid naming conflicts
- Some language constants renamed to make clear they belong to config area
- A lot more improvements on many places (I cannot remember all)
- TODOs.txt updated