mailer.git
9 years agoFix for bigintval() which does only take numbers
Roland Häder [Mon, 10 Jan 2011 08:46:24 +0000 (08:46 +0000)]
Fix for bigintval() which does only take numbers

9 years agoFix for missing variable
Roland Häder [Mon, 10 Jan 2011 08:33:31 +0000 (08:33 +0000)]
Fix for missing variable

9 years agoSome code cleanups/fixes:
Roland Häder [Sat, 8 Jan 2011 20:41:08 +0000 (20:41 +0000)]
Some code cleanups/fixes:
- Function translateUserStatus() does now have a default value, only because it
  is better coding practice to init your variables before a switch() command
- Language string ACCOUNT_STATUS_UNKNOWN_STATUS renamed and moved a little
- TODOs.txt updated

9 years agoDo we still need this query reset?
Roland Häder [Sat, 8 Jan 2011 20:30:15 +0000 (20:30 +0000)]
Do we still need this query reset?

9 years agoRenaming error
Roland Häder [Thu, 6 Jan 2011 05:51:15 +0000 (05:51 +0000)]
Renaming error

9 years agoAlso reset (aka daily reset scripts) renamed. The naming 'reset' came from the time...
Roland Häder [Thu, 6 Jan 2011 05:31:25 +0000 (05:31 +0000)]
Also reset (aka daily reset scripts) renamed. The naming 'reset' came from the time when only daily reset scripts exist

9 years agoLoader for cache files renamed to avoid a lot naming conflicts
Roland Häder [Thu, 6 Jan 2011 05:24:22 +0000 (05:24 +0000)]
Loader for cache files renamed to avoid a lot naming conflicts

9 years agoExtension ext-forced enhanced, some code cleanup:
Roland Häder [Thu, 30 Dec 2010 18:45:43 +0000 (18:45 +0000)]
Extension ext-forced enhanced, some code cleanup:
- ext-forced enhanced: Table mxchange_forced_campaigns_ads is a n-n table which
  connects the ads with the campaigns
- In same extension file more UNSIGNED added and other improvements
- Removed old-lost value init in getConfig()
- TODOs.txt updated

9 years agoNew functions introduced:
Roland Häder [Tue, 21 Dec 2010 23:32:04 +0000 (23:32 +0000)]
New functions introduced:
- sql_patches must now be 0.7.4 in what-email_details.php
- New (?) template function 'generateExtensionOutdatedMessage() introduced
- Wrapper getMailsPage() introduced
- TODOs.txt updated

9 years agoYet another wrong array element fixed... :-(
Roland Häder [Tue, 21 Dec 2010 23:02:55 +0000 (23:02 +0000)]
Yet another wrong array element fixed... :-(

9 years agoThe usual asset of bugfixes/improvements:
Roland Häder [Tue, 21 Dec 2010 22:48:08 +0000 (22:48 +0000)]
The usual asset of bugfixes/improvements:
- Variable $bonus renamed in function to make clear it is boolean type
- Counting of sent mails (column mails_sent) added
- No longer needed header comments removed (it is heavily rewritten anyway)
- A lot missing/wrong array elements fixed in templates and PHP scripts
- New wrapper added (used several times in pool-user.php)
- CSS classes fixed in several 'order' templates
- Several other minor improvements/fixes
- TODOs.txt updated

9 years agoMissing bonus mode 'ADD' added
Roland Häder [Tue, 21 Dec 2010 19:22:20 +0000 (19:22 +0000)]
Missing bonus mode 'ADD' added

9 years agoFixed obsolete (?) links to category/payment
Roland Häder [Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)]
Fixed obsolete (?) links to category/payment

9 years agoSome minor rewrites
Roland Häder [Tue, 21 Dec 2010 18:28:15 +0000 (18:28 +0000)]
Some minor rewrites

9 years agoFix for broken cache handling in lib-mysql3.php, debug lines added
Roland Häder [Mon, 20 Dec 2010 15:03:45 +0000 (15:03 +0000)]
Fix for broken cache handling in lib-mysql3.php, debug lines added

9 years agoisAdminAllowedAccessMenu() introduced (cache is currently not required but it can...
Roland Häder [Tue, 14 Dec 2010 07:07:05 +0000 (07:07 +0000)]
isAdminAllowedAccessMenu() introduced (cache is currently not required but it can be done very easily)

9 years agoPerformance hacks, encapsulation and more EL code usage:
Roland Häder [Tue, 14 Dec 2010 06:10:00 +0000 (06:10 +0000)]
Performance hacks, encapsulation and more EL code usage:
- Performance hack in SQL_QUERY() to save some expensive str_replace() and other
  function calls
- Encapsulation of admin session data
- Some more usage of EL code in admin welcome templates
- TODOs.txt updated

9 years agoCode cosmetics applied, performance hacks (saved two loops):
Roland Häder [Sat, 11 Dec 2010 01:03:21 +0000 (01:03 +0000)]
Code cosmetics applied, performance hacks (saved two loops):
- Performance increased by giving str_replace() the full array and not all
  array elements one-by-one
- Some code cosmetics applied
- TODOs.txt updated

9 years agoDeprecated 'replacer' removed. Now we use EL code instead (there are a lot example...
Roland Häder [Tue, 7 Dec 2010 01:31:16 +0000 (01:31 +0000)]
Deprecated 'replacer' removed. Now we use EL code instead (there are a lot example templates available)

9 years agoA lot more wrapper functions introduced, TODOs.txt updated
Roland Häder [Sun, 21 Nov 2010 15:25:55 +0000 (15:25 +0000)]
A lot more wrapper functions introduced, TODOs.txt updated

9 years agoFixed missing array element
Roland Häder [Sat, 20 Nov 2010 16:24:03 +0000 (16:24 +0000)]
Fixed missing array element

9 years agoFix for missing array element 'userid', see ticket #205, thanks to piter01
Roland Häder [Sat, 20 Nov 2010 15:37:49 +0000 (15:37 +0000)]
Fix for missing array element 'userid', see ticket #205, thanks to piter01

9 years agoSome comments fixed
Roland Häder [Wed, 17 Nov 2010 23:05:50 +0000 (23:05 +0000)]
Some comments fixed

9 years agoRemoved deprecated usage of isConfigEntrySet()
Roland Häder [Wed, 17 Nov 2010 22:58:41 +0000 (22:58 +0000)]
Removed deprecated usage of isConfigEntrySet()

9 years agoRenamed function so it might be more understandable
Roland Häder [Thu, 11 Nov 2010 17:31:23 +0000 (17:31 +0000)]
Renamed function so it might be more understandable

9 years agoRemoved old-lost directory
Roland Häder [Wed, 10 Nov 2010 12:00:00 +0000 (12:00 +0000)]
Removed old-lost directory

9 years agoMore wrapper functions introduced, duplicate language strings merged:
Roland Häder [Tue, 9 Nov 2010 23:04:18 +0000 (23:04 +0000)]
More wrapper functions introduced, duplicate language strings merged:
- Some duplicate language strings merged
- More wrapper functions for configuration entries introduced
- TODOs.txt updated

9 years agoFix for misstyped function name isUrlBlacklistEnabled() is the right one
Roland Häder [Mon, 8 Nov 2010 17:47:13 +0000 (17:47 +0000)]
Fix for misstyped function name isUrlBlacklistEnabled() is the right one

9 years agoGerman documentation updated to reflect e.g. our wiki at http://wiki.mxchange.org
Roland Häder [Mon, 8 Nov 2010 03:18:58 +0000 (03:18 +0000)]
German documentation updated to reflect e.g. our wiki at wiki.mxchange.org

9 years agoInitial TRANSLATORS.txt added
Roland Häder [Mon, 8 Nov 2010 03:10:31 +0000 (03:10 +0000)]
Initial TRANSLATORS.txt added

9 years agoThe TODOs.txt thing again...
Roland Häder [Mon, 8 Nov 2010 02:38:18 +0000 (02:38 +0000)]
The TODOs.txt thing again...

9 years agoOpps...
Roland Häder [Mon, 8 Nov 2010 02:36:26 +0000 (02:36 +0000)]
Opps...

9 years agoAdded activation/deactivation queries for ext-beg and ext-theme
Roland Häder [Mon, 8 Nov 2010 02:34:52 +0000 (02:34 +0000)]
Added activation/deactivation queries for ext-beg and ext-theme

9 years agoFixed saving of nickname, a deprecated way was used before isInString() was introduced
Roland Häder [Mon, 8 Nov 2010 02:30:48 +0000 (02:30 +0000)]
Fixed saving of nickname, a deprecated way was used before isInString() was introduced

9 years agoFixed default selection of theme
Roland Häder [Mon, 8 Nov 2010 02:26:47 +0000 (02:26 +0000)]
Fixed default selection of theme

9 years agoHTML improved, several tables are now have NULL and some more UNSIGNED (is both better)
Roland Häder [Mon, 8 Nov 2010 02:22:39 +0000 (02:22 +0000)]
HTML improved, several tables are now have NULL and some more UNSIGNED (is both better)

9 years agoNaming convention applied
Roland Häder [Mon, 8 Nov 2010 01:50:32 +0000 (01:50 +0000)]
Naming convention applied

9 years agoFixed category saving, added unique key, removed deprecated templates:
Roland Häder [Mon, 8 Nov 2010 01:19:09 +0000 (01:19 +0000)]
Fixed category saving, added unique key, removed deprecated templates:
- Fixed handling of user category selections
- Added unique key in _user_cats on column userid,cat_id together
- Deprecated templates removed
- TODOs.txt updated

9 years agoAgain missing class='bottom' added
Roland Häder [Mon, 8 Nov 2010 00:21:49 +0000 (00:21 +0000)]
Again missing class='bottom' added

9 years agoMissing class='bottom' added
Roland Häder [Mon, 8 Nov 2010 00:16:48 +0000 (00:16 +0000)]
Missing class='bottom' added

9 years agoHopefully this doesn't break anything
Roland Häder [Mon, 8 Nov 2010 00:09:38 +0000 (00:09 +0000)]
Hopefully this doesn't break anything

9 years agoBetter this one ...
Roland Häder [Sun, 7 Nov 2010 20:39:01 +0000 (20:39 +0000)]
Better this one ...

9 years agoThis TODOs.txt thing...
Roland Häder [Sun, 7 Nov 2010 20:05:48 +0000 (20:05 +0000)]
This TODOs.txt thing...

9 years agoAdded ability to allow empty passwords, if the user does so, a random password will...
Roland Häder [Sun, 7 Nov 2010 20:05:13 +0000 (20:05 +0000)]
Added ability to allow empty passwords, if the user does so, a random password will be generated, many wrapper functions introduced

9 years agoNaming convention applied: is outdated, use (not shortended word), fixed missing...
Roland Häder [Sat, 6 Nov 2010 19:12:51 +0000 (19:12 +0000)]
Naming convention applied:  is outdated, use  (not shortended word), fixed missing variable in what-order.php, thanks to pieter01

9 years agoNaming convention applied
Roland Häder [Fri, 5 Nov 2010 14:10:15 +0000 (14:10 +0000)]
Naming convention applied

9 years agoFunction appendLineToFile() introduced
Roland Häder [Fri, 5 Nov 2010 01:54:04 +0000 (01:54 +0000)]
Function appendLineToFile() introduced

9 years agoMaybe this helps a little more to understand that what=NULL will be set here?
Roland Häder [Fri, 5 Nov 2010 01:33:33 +0000 (01:33 +0000)]
Maybe this helps a little more to understand that what=NULL will be set here?

9 years agoAdded CSS class 'bottom' again (please clean your template cache at inc/cache/_compil...
Roland Häder [Fri, 5 Nov 2010 01:32:21 +0000 (01:32 +0000)]
Added CSS class 'bottom' again (please clean your template cache at inc/cache/_compiled/html/)

9 years agoRewritten handling of menu weightning and updating/deleting menu entries except admin...
Roland Häder [Fri, 5 Nov 2010 01:18:28 +0000 (01:18 +0000)]
Rewritten handling of menu weightning and updating/deleting menu entries except admin menu

9 years agoFixes/Rewrites, thanks to meinnimbuzz
Roland Häder [Wed, 3 Nov 2010 23:08:26 +0000 (23:08 +0000)]
Fixes/Rewrites, thanks to meinnimbuzz

9 years agoFix/Rewrite for getMaskedMessage() error, thanks to meinnimbuzz
Roland Häder [Wed, 3 Nov 2010 23:04:00 +0000 (23:04 +0000)]
Fix/Rewrite for getMaskedMessage() error, thanks to meinnimbuzz

9 years agoDirty hack for missing language string (SOME_REF_FOO is no longer valid)
Roland Häder [Wed, 3 Nov 2010 22:42:07 +0000 (22:42 +0000)]
Dirty hack for missing language string (SOME_REF_FOO is no longer valid)

9 years agoNested EL code is not yet suppported, so we need to rewrite all these parts
Roland Häder [Wed, 3 Nov 2010 22:39:00 +0000 (22:39 +0000)]
Nested EL code is not yet suppported, so we need to rewrite all these parts

9 years agoAgain the TODOs.txt thing, isn't there a better solution?
Roland Häder [Wed, 3 Nov 2010 22:25:23 +0000 (22:25 +0000)]
Again the TODOs.txt thing, isn't there a better solution?

9 years agoMissing HTTP status set, some minor rewrites
Roland Häder [Wed, 3 Nov 2010 22:24:41 +0000 (22:24 +0000)]
Missing HTTP status set, some minor rewrites

9 years agoFixed renaming of column names, added/rewritten some debug lines:
Roland Häder [Wed, 3 Nov 2010 17:12:48 +0000 (17:12 +0000)]
Fixed renaming of column names, added/rewritten some debug lines:
- Fixed renaming of column names, the wrong index was checked
- Added debug line for skipped DROP queries
- Rewritten all debugOutput() lines to logDebugMessage() in database layer which
  caused a 'Headers already sent' error
- TODOs.txt updated

9 years agoShorter columns, thanks to meinimbuzz
Roland Häder [Mon, 1 Nov 2010 22:52:06 +0000 (22:52 +0000)]
Shorter columns, thanks to meinimbuzz

9 years agoDependencies added (required)
Roland Häder [Mon, 1 Nov 2010 22:31:55 +0000 (22:31 +0000)]
Dependencies added (required)

9 years agoNon-existing columns cannot be dropped (now this scenario is safely detected and...
Roland Häder [Mon, 1 Nov 2010 22:00:43 +0000 (22:00 +0000)]
Non-existing columns cannot be dropped (now this scenario is safely detected and skipped)

9 years agoFix for 'Invalid argument supplied for foreach(),errfile=filters.php,errline=256...
Roland Häder [Sat, 30 Oct 2010 20:15:37 +0000 (20:15 +0000)]
Fix for 'Invalid argument supplied for foreach(),errfile=filters.php,errline=256', see bug #200

9 years agoFixed wrong CSS classes
Roland Häder [Fri, 29 Oct 2010 14:16:39 +0000 (14:16 +0000)]
Fixed wrong CSS classes

9 years agoBackwards-compatiblity must be turned off
Roland Häder [Fri, 29 Oct 2010 11:33:53 +0000 (11:33 +0000)]
Backwards-compatiblity must be turned off

9 years agoWrong 'bigger than' removed, SQL_HASZERONUMS() returns a boolean
Roland Häder [Fri, 29 Oct 2010 10:58:52 +0000 (10:58 +0000)]
Wrong 'bigger than' removed, SQL_HASZERONUMS() returns a boolean

9 years agoDebug line commented out
Roland Häder [Tue, 26 Oct 2010 16:21:50 +0000 (16:21 +0000)]
Debug line commented out

9 years agoDocumentation updated, fixes for bug #195/196 (previous commit comment was wrong):
Roland Häder [Tue, 26 Oct 2010 16:18:23 +0000 (16:18 +0000)]
Documentation updated, fixes for bug #195/196 (previous commit comment was wrong):
- Fixes for missing function SQL_ESCAPE() while in installation phase and setting
  language (e.g. call install.php?mx_lang=de), see ticket #196
- Added code to check for double-initialization of cache instance, see ticket #195
- Updated documentation, may be missleading, see ticket #198
- TODOs.txt updated

9 years agoFixed handling of empty referal id, see bug #196
Roland Häder [Tue, 26 Oct 2010 15:31:59 +0000 (15:31 +0000)]
Fixed handling of empty referal id, see bug #196

9 years agoVariable renamed, function refactured/moved:
Roland Häder [Thu, 7 Oct 2010 00:46:26 +0000 (00:46 +0000)]
Variable renamed, function refactured/moved:
- Variable $check renamed to $moduleState which is more clear what the variable
  is for
- Function isMember() refactured
- Function translatePoolType() moved to template-functions.php and added
  strtoupper() call for the $type variable
- TODOs.txt updated

9 years agoKorn/csh support improved, if() block rewritten:
Roland Häder [Wed, 6 Oct 2010 04:07:48 +0000 (04:07 +0000)]
Korn/csh support improved, if() block rewritten:
- Support for non-bash (e.g. korn/csh) shells in todo-builder.sh
- if() block rewritten to curley braces
- Better TODO lines (fixed)
- TODOs.txt updated

9 years ago- Beg link does now (not yet implemented but prepared) log all referal URLs. It
Roland Häder [Sun, 3 Oct 2010 23:04:22 +0000 (23:04 +0000)]
- Beg link does now (not yet implemented but prepared) log all referal URLs. It
  is also planed to not pay beg link calls without a referer (admin can setup
  it).
- The database layer is now aware of queries like
  "ALTER TABLE `foo` CHANGE `bar` `bazz` ...."
- Several minor fixes/improvements
- TODOs.txt updated

9 years agoMore wrapper functions used, removed bigintval() which caused a lot trouble
Roland Häder [Thu, 30 Sep 2010 16:52:48 +0000 (16:52 +0000)]
More wrapper functions used, removed bigintval() which caused a lot trouble

9 years agoDocumentation updated/deprecated to reflect latest changes
Roland Häder [Mon, 27 Sep 2010 19:22:54 +0000 (19:22 +0000)]
Documentation updated/deprecated to reflect latest changes

9 years agoRenamed some variables
Roland Häder [Mon, 27 Sep 2010 15:47:05 +0000 (15:47 +0000)]
Renamed some variables

9 years agoFixes for transfer list and per-user temporary tables (concurrent access)
Roland Häder [Mon, 27 Sep 2010 15:42:41 +0000 (15:42 +0000)]
Fixes for transfer list and per-user temporary tables (concurrent access)

9 years agoTypo fixed #2
Roland Häder [Mon, 27 Sep 2010 15:16:21 +0000 (15:16 +0000)]
Typo fixed #2

9 years agoNotice added
Roland Häder [Mon, 27 Sep 2010 15:15:48 +0000 (15:15 +0000)]
Notice added

9 years agoTypo fixed
Roland Häder [Mon, 27 Sep 2010 15:12:23 +0000 (15:12 +0000)]
Typo fixed

9 years agoA little more easier text
Roland Häder [Mon, 27 Sep 2010 13:46:16 +0000 (13:46 +0000)]
A little more easier text

9 years agoWrapper function introduced, description for random refid rewritten:
Roland Häder [Mon, 27 Sep 2010 13:16:45 +0000 (13:16 +0000)]
Wrapper function introduced, description for random refid rewritten:
- New wrapper function getDefRefid() introduced
- Description in admin area for random referal id rewritten, it now matches
  with the actual code logic and is now easier to understand
- TODOs.txt updated

9 years agoEmpty module added, 2 internal TODOs closed
Roland Häder [Mon, 27 Sep 2010 12:35:24 +0000 (12:35 +0000)]
Empty module added, 2 internal TODOs closed
- Empty module for ext-booking added
- Internal TODOs closed: Rewrite some array elements, rewrite SQL_FETCHROW() to
  SQL_FETCHARRAY()
- TODOs.txt updated

9 years agoFix/rewrites for if 'value' is '0' (not empty)
Roland Häder [Mon, 27 Sep 2010 03:33:07 +0000 (03:33 +0000)]
Fix/rewrites for if 'value' is '0' (not empty)

9 years agoAnother SQL moved to extension
Roland Häder [Mon, 27 Sep 2010 01:47:02 +0000 (01:47 +0000)]
Another SQL moved to extension

9 years agoMoved SQL queries to 'register' hook, fixed language problem in ext-holiday
Roland Häder [Mon, 27 Sep 2010 01:34:29 +0000 (01:34 +0000)]
Moved SQL queries to 'register' hook, fixed language problem in ext-holiday

9 years agoEncapsulated access on many ['cache_array']['modules']['foo'] entries
Roland Häder [Sun, 26 Sep 2010 01:26:41 +0000 (01:26 +0000)]
Encapsulated access on many ['cache_array']['modules']['foo'] entries

9 years agoModule data now correctly set in 'cache_array'
Roland Häder [Sun, 26 Sep 2010 01:02:43 +0000 (01:02 +0000)]
Module data now correctly set in 'cache_array'

9 years agoApplied naming convention
Roland Häder [Sat, 25 Sep 2010 21:13:31 +0000 (21:13 +0000)]
Applied naming convention

9 years agoTemplate renamed
Roland Häder [Sat, 25 Sep 2010 21:08:00 +0000 (21:08 +0000)]
Template renamed

9 years agoImprovements for refid=NULL behaviour
Roland Häder [Sat, 25 Sep 2010 03:44:28 +0000 (03:44 +0000)]
Improvements for refid=NULL behaviour

9 years agouserid/refid do now allow 'null'
Roland Häder [Sat, 25 Sep 2010 03:27:52 +0000 (03:27 +0000)]
userid/refid do now allow 'null'

9 years agoMissing variable fixed, opps
Roland Häder [Sat, 25 Sep 2010 00:42:59 +0000 (00:42 +0000)]
Missing variable  fixed, opps

9 years agoFixed a triggered error in bigintval()
Roland Häder [Fri, 24 Sep 2010 23:45:38 +0000 (23:45 +0000)]
Fixed a triggered error in bigintval()

9 years agoCode cleanup, more usage of API functions
Roland Häder [Thu, 16 Sep 2010 22:38:44 +0000 (22:38 +0000)]
Code cleanup, more usage of API functions

9 years agoMinor rewrites/fixes
Roland Häder [Thu, 16 Sep 2010 22:26:05 +0000 (22:26 +0000)]
Minor rewrites/fixes

9 years agoMissing language string fixed
Roland Häder [Thu, 16 Sep 2010 22:12:53 +0000 (22:12 +0000)]
Missing language string fixed

9 years agoColumns renamed, more EL than direct usage in PHP script
Roland Häder [Thu, 16 Sep 2010 22:00:52 +0000 (22:00 +0000)]
Columns renamed, more EL than direct usage in PHP script

9 years agoFunction renamed, ext-forced now depends on ext-sponsor
Roland Häder [Thu, 16 Sep 2010 21:51:09 +0000 (21:51 +0000)]
Function renamed, ext-forced now depends on ext-sponsor

9 years agoSVN properties globally set
Roland Häder [Tue, 14 Sep 2010 14:21:09 +0000 (14:21 +0000)]
SVN properties globally set

9 years ago is only supported in email templates and not required in member login area
Roland Häder [Mon, 13 Sep 2010 23:48:48 +0000 (23:48 +0000)]
 is only supported in email templates and not required in member login area

9 years agoParse error fixed ... :-(
Roland Häder [Mon, 13 Sep 2010 23:36:33 +0000 (23:36 +0000)]
Parse error fixed ... :-(

9 years agoMore EL used, this has fixed double calls of translateComma() in various places
Roland Häder [Mon, 13 Sep 2010 23:25:06 +0000 (23:25 +0000)]
More EL used, this has fixed double calls of translateComma() in various places