mailer.git
12 years agoMenu system fixes, list_user simplified:
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

12 years agoImportant fix for mail and 'percents' renamed to 'click_rate' where it is a click...
Roland Häder [Thu, 14 Jul 2011 13:42:16 +0000 (13:42 +0000)]
Important fix for mail and 'percents' renamed to 'click_rate' where it is a click rate

12 years agoNo die() here
Roland Häder [Thu, 14 Jul 2011 13:10:27 +0000 (13:10 +0000)]
No die() here

12 years agoMissing templates added
Roland Häder [Thu, 14 Jul 2011 13:07:41 +0000 (13:07 +0000)]
Missing templates added

12 years agoCSS class 'pre' is now no longer used, use regular pre tag instead
Roland Häder [Thu, 14 Jul 2011 12:55:26 +0000 (12:55 +0000)]
CSS class 'pre' is now no longer used, use regular pre tag instead

12 years agoFixes for compilation, more EL code:
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

12 years agoExtension ext-refback continued:
Roland Häder [Wed, 13 Jul 2011 23:11:26 +0000 (23:11 +0000)]
Extension ext-refback continued:
- Templates renamed to naming convention
- Minor improvements here and there
- TODOs.txt updated

12 years ago'guest' may come when e.g. ext-nickname is not installed but a template requested...
Roland Häder [Wed, 13 Jul 2011 11:12:41 +0000 (11:12 +0000)]
'guest' may come when e.g. ext-nickname is not installed but a template requested the user's nickname

12 years agoSome words rewritten
Roland Häder [Wed, 13 Jul 2011 11:10:01 +0000 (11:10 +0000)]
Some words rewritten

12 years agoOld column name fixed
Roland Häder [Wed, 13 Jul 2011 11:01:18 +0000 (11:01 +0000)]
Old column name fixed

12 years agoThis might be more clear
Roland Häder [Wed, 13 Jul 2011 09:22:14 +0000 (09:22 +0000)]
This might be more clear

12 years agoNow we have a listing here
Roland Häder [Wed, 13 Jul 2011 08:56:19 +0000 (08:56 +0000)]
Now we have a listing here

12 years agoMember area section 'referal links' refactured:
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

12 years agoDon't miss to rebuild the cache ... :( Maybe a filter is a nicer way here?
Roland Häder [Tue, 12 Jul 2011 22:51:53 +0000 (22:51 +0000)]
Don't miss to rebuild the cache ... :( Maybe a filter is a nicer way here?

12 years agoSome fixes:
Roland Häder [Tue, 12 Jul 2011 22:49:54 +0000 (22:49 +0000)]
Some fixes:
- what-repair_refs.php does now check for latest ext-user
- Drop of 'user_refs' moved from ext-refback to ext-user (opps!)

12 years agoFile renamed to naming convention, ext-repair continued:
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

12 years agoMinor cleanups/renaming
Roland Häder [Tue, 12 Jul 2011 22:07:51 +0000 (22:07 +0000)]
Minor cleanups/renaming

12 years agoWrapper introduced, renaming to the naming convention:
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

12 years agoIntroduced makeNullToZero()
Roland Häder [Tue, 12 Jul 2011 21:21:36 +0000 (21:21 +0000)]
Introduced makeNullToZero()

12 years agoAlso this is fixed?
Roland Häder [Tue, 12 Jul 2011 21:06:17 +0000 (21:06 +0000)]
Also this is fixed?

12 years agoext-refback is now longer essential for the referal system, please make sure that...
Roland Häder [Tue, 12 Jul 2011 20:56:48 +0000 (20:56 +0000)]
ext-refback is now longer essential for the referal system, please make sure that gen_refback.php is execute (yes, from ext-user)

12 years agoCode moved around (referal-functions.php added)
Roland Häder [Tue, 12 Jul 2011 20:28:03 +0000 (20:28 +0000)]
Code moved around (referal-functions.php added)

12 years agoRewrites to use fake POST data
Roland Häder [Tue, 12 Jul 2011 19:53:02 +0000 (19:53 +0000)]
Rewrites to use fake POST data

12 years agoReferal system rewritten, ext-refback continued:
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

12 years agoRewrites for a little easier adding of additional parameters
Roland Häder [Tue, 12 Jul 2011 14:34:20 +0000 (14:34 +0000)]
Rewrites for a little easier adding of additional parameters

12 years agoNaming fixed #2
Roland Häder [Tue, 12 Jul 2011 14:06:04 +0000 (14:06 +0000)]
Naming fixed #2

12 years agoNaming fixed
Roland Häder [Tue, 12 Jul 2011 14:04:46 +0000 (14:04 +0000)]
Naming fixed

12 years agoRewrites/fixes for depending extension updates
Roland Häder [Tue, 12 Jul 2011 14:00:20 +0000 (14:00 +0000)]
Rewrites/fixes for depending extension updates

12 years agoFixes
Roland Häder [Tue, 12 Jul 2011 13:21:34 +0000 (13:21 +0000)]
Fixes

12 years agoPlease investigate those aborts
Roland Häder [Tue, 12 Jul 2011 13:11:56 +0000 (13:11 +0000)]
Please investigate those aborts

12 years agoMore debug infos
Roland Häder [Tue, 12 Jul 2011 13:08:55 +0000 (13:08 +0000)]
More debug infos

12 years agoReferal system refactured (and some parts fixed), wrapper function introduced:
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

12 years agoFixes for referal system, shell scripts overworked:
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

12 years agoSeveral code cleanups:
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

12 years agoOpps ...
Roland Häder [Mon, 11 Jul 2011 17:22:29 +0000 (17:22 +0000)]
Opps ...

12 years agoMissed this to rename ...
Roland Häder [Mon, 11 Jul 2011 17:21:28 +0000 (17:21 +0000)]
Missed this to rename ...

12 years agoExtension ext-surfbar continued:
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

12 years agoFixes/rewrites for ext-surfbar:
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

12 years agoFixes for JavaScript in member booking with set limit
Roland Häder [Mon, 11 Jul 2011 16:02:14 +0000 (16:02 +0000)]
Fixes for JavaScript in member booking with set limit

12 years agoExtension ext-surfbar continued, WHERE statement support added:
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

12 years agoSurfbar actions will never be deleted/locked/undeleted
Roland Häder [Mon, 11 Jul 2011 13:20:58 +0000 (13:20 +0000)]
Surfbar actions will never be deleted/locked/undeleted

12 years agoSome fixes,re-orders and ext-surfbar actions are now XML-enabled
Roland Häder [Mon, 11 Jul 2011 13:06:40 +0000 (13:06 +0000)]
Some fixes,re-orders and ext-surfbar actions are now XML-enabled

12 years agoExtension ext-surfbar continued, fixes:
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

12 years agoRenames (fixes)
Roland Häder [Sat, 9 Jul 2011 16:37:50 +0000 (16:37 +0000)]
Renames (fixes)

12 years agoBonus mails are now editable, duplicate message ids cleaned up:
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

12 years agoMore fixes, random refid accounts displayed in front panel
Roland Häder [Sat, 9 Jul 2011 13:50:42 +0000 (13:50 +0000)]
More fixes, random refid accounts displayed in front panel

12 years agoMore fixes (missing array elements)
Roland Häder [Sat, 9 Jul 2011 13:09:33 +0000 (13:09 +0000)]
More fixes (missing array elements)

12 years agoRemoved
Roland Häder [Sat, 9 Jul 2011 12:46:22 +0000 (12:46 +0000)]
Removed

12 years agoRenamed
Roland Häder [Sat, 9 Jul 2011 11:23:13 +0000 (11:23 +0000)]
Renamed

12 years agoMore fixes
Roland Häder [Sat, 9 Jul 2011 06:40:13 +0000 (06:40 +0000)]
More fixes

12 years agoMore fixes for ext-surfbar:
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

12 years agoWrapper function for configuration introduced, config entry renamed:
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

12 years agoXML parser introduced, ext-surfbar rewritten, more 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

12 years agoaddCreateTableSql() is now more encapsulated
Roland Häder [Fri, 8 Jul 2011 09:16:52 +0000 (09:16 +0000)]
addCreateTableSql() is now more encapsulated

12 years agoLIMIT 1 added
Roland Häder [Fri, 8 Jul 2011 06:37:13 +0000 (06:37 +0000)]
LIMIT 1 added

12 years agoExtension ext-grade continued, functions for menu SQLs simplified:
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

12 years agoMore usage of EL code, no longer required checks removed:
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

12 years agoMore use of EL code
Roland Häder [Wed, 6 Jul 2011 15:34:13 +0000 (15:34 +0000)]
More use of EL code

12 years agoMore code parts could take advantage of previously improved fixEmptyContentToDashes():
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

12 years agogetUserData() does now tollerate missing table columns. This makes it very flexible...
Roland Häder [Wed, 6 Jul 2011 08:16:31 +0000 (08:16 +0000)]
getUserData() does now tollerate missing table columns. This makes it very flexible to e.g. absent extensions

12 years agodebug_report_bug() was a bit to harsh here
Roland Häder [Wed, 6 Jul 2011 07:37:10 +0000 (07:37 +0000)]
debug_report_bug() was a bit to harsh here

12 years agoPossible fix for 'User id 0 is invalid'
Roland Häder [Wed, 6 Jul 2011 07:33:40 +0000 (07:33 +0000)]
Possible fix for 'User id 0 is invalid'

12 years agoChecking new member registrations is now done with list_user (was: chk_regs) and...
Roland Häder [Wed, 6 Jul 2011 05:50:06 +0000 (05:50 +0000)]
Checking new member registrations is now done with list_user (was: chk_regs) and makes what-chk_regs.php and two templates deprecated

12 years ago- Rewrites to use more the userid than the actual email address when sending
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

12 years agoFunction is now cached
Roland Häder [Tue, 5 Jul 2011 04:31:07 +0000 (04:31 +0000)]
Function is now cached

12 years agoFix
Roland Häder [Tue, 5 Jul 2011 03:59:44 +0000 (03:59 +0000)]
Fix

12 years agoWay more usage of EL code:
Roland Häder [Tue, 5 Jul 2011 03:50:45 +0000 (03:50 +0000)]
Way more usage of EL code:
- Way more EL code introduced by replacing direct calls in PHP scripts with EL
  code in templates
- TODOs.txt updated

12 years agoMore EL and fixes for title strings
Roland Häder [Tue, 5 Jul 2011 02:54:43 +0000 (02:54 +0000)]
More EL and fixes for title strings

12 years agoA major bugfix for extension registration, ext-coupon does now purge coupons:
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

12 years agoFix for link title
Roland Häder [Mon, 4 Jul 2011 22:32:07 +0000 (22:32 +0000)]
Fix for link title

12 years agoMore rewrites to use EL code
Roland Häder [Mon, 4 Jul 2011 21:35:49 +0000 (21:35 +0000)]
More rewrites to use EL code

12 years agoInstallation rewritten to use more EL code
Roland Häder [Mon, 4 Jul 2011 21:10:21 +0000 (21:10 +0000)]
Installation rewritten to use more EL code

12 years agoFixes/improvements, missing version 0.1.3 for ext-autpurge added
Roland Häder [Mon, 4 Jul 2011 08:14:06 +0000 (08:14 +0000)]
Fixes/improvements, missing version 0.1.3 for ext-autpurge added

12 years agoHopefully the final fixes
Roland Häder [Mon, 4 Jul 2011 02:32:01 +0000 (02:32 +0000)]
Hopefully the final fixes

12 years agoAdded a check for isExtensionUpdateRunning() in updateExtension() to prevent double...
Roland Häder [Mon, 4 Jul 2011 02:19:08 +0000 (02:19 +0000)]
Added a check for isExtensionUpdateRunning() in updateExtension() to prevent double-update if a dependency has forced an update

12 years agoRemove filters on uninstallation
Roland Häder [Mon, 4 Jul 2011 01:53:55 +0000 (01:53 +0000)]
Remove filters on uninstallation

12 years agoFix #1002
Roland Häder [Mon, 4 Jul 2011 01:48:17 +0000 (01:48 +0000)]
Fix #1002

12 years agoReferal level is now NULL
Roland Häder [Mon, 4 Jul 2011 01:42:57 +0000 (01:42 +0000)]
Referal level is now NULL

12 years agoMissing rows should be created
Roland Häder [Mon, 4 Jul 2011 01:38:16 +0000 (01:38 +0000)]
Missing rows should be created

12 years agoRewrite
Roland Häder [Mon, 4 Jul 2011 01:35:23 +0000 (01:35 +0000)]
Rewrite

12 years agoRequired fix for NULL vs. 0 in user_points
Roland Häder [Mon, 4 Jul 2011 01:27:20 +0000 (01:27 +0000)]
Required fix for NULL vs. 0 in user_points

12 years agoRenamed ... :(
Roland Häder [Mon, 4 Jul 2011 01:07:59 +0000 (01:07 +0000)]
Renamed ... :(

12 years agoMore fixes/missing language id added
Roland Häder [Mon, 4 Jul 2011 01:04:59 +0000 (01:04 +0000)]
More fixes/missing language id added

12 years agoPossible fixes
Roland Häder [Mon, 4 Jul 2011 00:56:50 +0000 (00:56 +0000)]
Possible fixes

12 years agoIntroduced missing function getPaymentMethodFromExtensionName()
Roland Häder [Mon, 4 Jul 2011 00:53:26 +0000 (00:53 +0000)]
Introduced missing function getPaymentMethodFromExtensionName()

12 years agoShort is sweeter again
Roland Häder [Mon, 4 Jul 2011 00:47:24 +0000 (00:47 +0000)]
Short is sweeter again

12 years agoFix #1001 ...
Roland Häder [Mon, 4 Jul 2011 00:46:25 +0000 (00:46 +0000)]
Fix #1001 ...

12 years agoFixes/rewrites
Roland Häder [Mon, 4 Jul 2011 00:45:40 +0000 (00:45 +0000)]
Fixes/rewrites

12 years agoShorter and sweeter
Roland Häder [Mon, 4 Jul 2011 00:40:26 +0000 (00:40 +0000)]
Shorter and sweeter

12 years agoIntroduced translateTaskType()
Roland Häder [Mon, 4 Jul 2011 00:39:21 +0000 (00:39 +0000)]
Introduced translateTaskType()

12 years agoThis way ...
Roland Häder [Mon, 4 Jul 2011 00:25:13 +0000 (00:25 +0000)]
This way ...

12 years agoFixes
Roland Häder [Mon, 4 Jul 2011 00:21:55 +0000 (00:21 +0000)]
Fixes

12 years agoParse error fixed #2
Roland Häder [Mon, 4 Jul 2011 00:04:52 +0000 (00:04 +0000)]
Parse error fixed #2

12 years agoParse error fixed
Roland Häder [Mon, 4 Jul 2011 00:03:40 +0000 (00:03 +0000)]
Parse error fixed

12 years agoExtension ext-grade continued, a lot renames:
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

12 years agoOpps ...
Roland Häder [Sun, 3 Jul 2011 22:36:21 +0000 (22:36 +0000)]
Opps ...

12 years agoInactive developer 'profi-concept' moved to inactive section
Roland Häder [Sun, 3 Jul 2011 22:23:00 +0000 (22:23 +0000)]
Inactive developer 'profi-concept' moved to inactive section

12 years agoCountless fixes, ext-grade started:
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

12 years agoMake sure that extension versions not 0.0.0 are handled as updates (0.0.0 is a dummy...
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)

12 years agoEmpty but required-not-empty variables needs now bugfixing
Roland Häder [Sat, 2 Jul 2011 19:30:00 +0000 (19:30 +0000)]
Empty but required-not-empty variables needs now bugfixing