mailer.git
8 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

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

8 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

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

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

8 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)

8 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)

8 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

8 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

8 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

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

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

8 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

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

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

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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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)

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

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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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'

8 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

8 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

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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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

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

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

8 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

8 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

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

8 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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

8 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

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

8 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

8 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

8 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)

8 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

8 years agoGetting total/own points rewritten to filter:
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

8 years agoDescription made more clear
Roland Häder [Fri, 1 Jul 2011 22:17:51 +0000 (22:17 +0000)]
Description made more clear

8 years agoAlso ext-user needs to be excluded here
Roland Häder [Thu, 30 Jun 2011 23:41:44 +0000 (23:41 +0000)]
Also ext-user needs to be excluded here

8 years ago0.0.0 shall be our first version
Roland Häder [Thu, 30 Jun 2011 22:08:55 +0000 (22:08 +0000)]
0.0.0 shall be our first version

8 years agoDisplay a proper message for non-productive extensions
Roland Häder [Thu, 30 Jun 2011 21:44:16 +0000 (21:44 +0000)]
Display a proper message for non-productive extensions

8 years agoExtension ext-user needs to be installed for ref.php as well
Roland Häder [Thu, 30 Jun 2011 19:56:05 +0000 (19:56 +0000)]
Extension ext-user needs to be installed for ref.php as well

8 years agoFixes for absent ext-user and misleading data removed
Roland Häder [Thu, 30 Jun 2011 15:53:13 +0000 (15:53 +0000)]
Fixes for absent ext-user and misleading data removed

8 years agoMissed default value but had already closed editor :(
Roland Häder [Thu, 30 Jun 2011 04:44:16 +0000 (04:44 +0000)]
Missed default value but had already closed editor :(

8 years agoCode cleanups, ext-booking continued:
Roland Häder [Thu, 30 Jun 2011 04:43:45 +0000 (04:43 +0000)]
Code cleanups, ext-booking continued:
- Extension ext-booking: Renamed configuration and ENUM types should have
  all-uppercase values
- Some code cleanups
- TODOs.txt updated

8 years agoTable user_book renamed to user_booking, isExtensionOlder() should not be used, inste...
Roland Häder [Thu, 30 Jun 2011 04:23:47 +0000 (04:23 +0000)]
Table user_book renamed to user_booking, isExtensionOlder() should not be used, instead use isExtensionInstalledAndOlder()

8 years agoA lot email templates renamed, SQL fixed:
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

8 years ago'NO-ACL' is more clear that we don't have an ACL for the given admin than three aster...
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)

8 years agoEven more checks for ext-user
Roland Häder [Thu, 30 Jun 2011 02:12:25 +0000 (02:12 +0000)]
Even more checks for ext-user

8 years agoA missing ext-user could also cause errors here ...
Roland Häder [Thu, 30 Jun 2011 02:09:56 +0000 (02:09 +0000)]
A missing ext-user could also cause errors here ...

8 years agoBetter this way
Roland Häder [Thu, 30 Jun 2011 02:06:50 +0000 (02:06 +0000)]
Better this way