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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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 :(

12 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

12 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()

12 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

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

12 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

12 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 ...

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

12 years agoExtension ext-user can be absent if manually remove after ext-nickname has been installed
Roland Häder [Thu, 30 Jun 2011 02:04:51 +0000 (02:04 +0000)]
Extension ext-user can be absent if manually remove after ext-nickname has been installed

12 years agoPossible fix for error 'Empty delimiter,errfile=wrapper-functions.php,errline=1050'
Roland Häder [Thu, 30 Jun 2011 01:59:51 +0000 (01:59 +0000)]
Possible fix for error 'Empty delimiter,errfile=wrapper-functions.php,errline=1050'

12 years agoOpps #2 ... :(
Roland Häder [Thu, 30 Jun 2011 01:51:27 +0000 (01:51 +0000)]
Opps #2 ... :(

12 years agoOpps ... :(
Roland Häder [Thu, 30 Jun 2011 01:50:41 +0000 (01:50 +0000)]
Opps ... :(

12 years agoForgot to include the 0.7.9 update :(
Roland Häder [Thu, 30 Jun 2011 01:49:44 +0000 (01:49 +0000)]
Forgot to include the 0.7.9 update :(

12 years agoNaming convention on language strings applied, ACL handling fixed:
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

12 years agoMissing argument in installation phase added
Roland Häder [Wed, 29 Jun 2011 19:39:10 +0000 (19:39 +0000)]
Missing argument in installation phase added

12 years agoUsed points are always negative numbers
Roland Häder [Wed, 29 Jun 2011 17:32:48 +0000 (17:32 +0000)]
Used points are always negative numbers

12 years ago'center' for all headers
Roland Häder [Wed, 29 Jun 2011 17:26:18 +0000 (17:26 +0000)]
'center' for all headers

12 years agoUsers can now change receive status for coupons
Roland Häder [Wed, 29 Jun 2011 16:37:18 +0000 (16:37 +0000)]
Users can now change receive status for coupons

12 years agoExtension ext-coupon basicly finished, no shortcuts in naming:
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

12 years agoFixed handling of nicknames as 'refid':
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

12 years ago'order_points' and locked are now displayed, some array elements/language ids renamed
Roland Häder [Wed, 29 Jun 2011 01:37:24 +0000 (01:37 +0000)]
'order_points' and locked are now displayed, some array elements/language ids renamed

12 years agoExtension ext-coupon continued, naming convention, many improvements:
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

12 years agoRenamed some all-capitalized variables small
Roland Häder [Tue, 28 Jun 2011 20:39:41 +0000 (20:39 +0000)]
Renamed some all-capitalized variables small

12 years agoExtension ext-coupon continued, a lot improvements applied:
Roland Häder [Tue, 28 Jun 2011 18:11:16 +0000 (18:11 +0000)]
Extension ext-coupon continued, a lot improvements applied:
- Extension ext-coupon: Sending of coupons finished and member form added
- Deprecated variables removed
- All SQLs containing some kind of 'timeout' rewritten
- A lot more code improvements/cleanups applied (I cannot remember all)
- TODOs.txt updated

12 years agoTitle rows added to several table, naming convention applied:
Roland Häder [Tue, 28 Jun 2011 11:58:26 +0000 (11:58 +0000)]
Title rows added to several table, naming convention applied:
- Some internal TODOs closed by adding titles to several tables
- In the process, some message ids has been renamed for better naming convention
- TODOs.txt updated

12 years agoExtension ext-engine is dead and will never come back
Roland Häder [Tue, 28 Jun 2011 10:56:42 +0000 (10:56 +0000)]
Extension ext-engine is dead and will never come back

12 years agoMenu block 'logout' is now weighted 999 as default
Roland Häder [Tue, 28 Jun 2011 09:05:09 +0000 (09:05 +0000)]
Menu block 'logout' is now weighted 999 as default

12 years agoMore EL code, security for $_POST elements rewritten (simplified):
Roland Häder [Tue, 28 Jun 2011 09:00:38 +0000 (09:00 +0000)]
More EL code, security for $_POST elements rewritten (simplified):
- More usage of EL code
- Removed double secureString() call
- Non-array elements in $_POST are now also secured in
  inc/libs/security_functions.php
- Renamed more array elements for better naming consistancy
- TODOs.txt updated

12 years agoFixed name inconsistency
Roland Häder [Tue, 28 Jun 2011 08:19:00 +0000 (08:19 +0000)]
Fixed name inconsistency

12 years agoRenamed templates, more usage of EL
Roland Häder [Tue, 28 Jun 2011 08:09:35 +0000 (08:09 +0000)]
Renamed templates, more usage of EL