X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=DOCS%2FTODOs.txt;h=7b865d60fc2fe49fdaa181abe3d5c26d327859d2;hb=29385a0483bbcbbe940a32a49d488b1d5add15c5;hp=c6424c7d1706b27b9186b31642310a8c7c71e5b0;hpb=04b69ac9f33369cbf654396c4a42cb1fff710ff4;p=mailer.git diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index c6424c7d17..7b865d60fc 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -39,24 +39,23 @@ ./inc/extensions/ext-yoomedia.php:123: // @TODO Can this be moved into a database table? ./inc/extensions/ext-yoomedia.php:56:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y'); ./inc/extensions-functions.php:143: // @TODO Do we still need this? setExtensionUpdateNotes(''); -./inc/extensions-functions.php:422:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) -./inc/extensions-functions.php:538: // @TODO Extension is loaded, what next? -./inc/functions.php:1072:// @TODO $simple/$constants are deprecated -./inc/functions.php:1099: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates -./inc/functions.php:2379: // @TODO This can be easily moved out after the merge from EL branch to this is complete -./inc/functions.php:2528: // @TODO Add a little more infos here -./inc/functions.php:2612: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? -./inc/functions.php:2635: // @TODO Rewrite this old lost code to a template +./inc/extensions-functions.php:428:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) +./inc/extensions-functions.php:544: // @TODO Extension is loaded, what next? +./inc/functions.php:1065:// @TODO $simple/$constants are deprecated +./inc/functions.php:1092: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates +./inc/functions.php:2372: // @TODO This can be easily moved out after the merge from EL branch to this is complete +./inc/functions.php:2521: // @TODO Add a little more infos here +./inc/functions.php:2605: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? +./inc/functions.php:2628: // @TODO Rewrite this old lost code to a template ./inc/functions.php:266: // @TODO Remove this sanity-check if all is fine ./inc/functions.php:269: // @TODO Try to rewrite all $DATA to $content -./inc/functions.php:2725: // @TODO Are these convertions still required? -./inc/functions.php:2743:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:3619:// @TODO Lame description for this function -./inc/functions.php:3638: // @TODO Move this in a filter -./inc/functions.php:3762: // @TODO This is still very static, rewrite it somehow -./inc/functions.php:476: // @TODO Do only use $content, not $DATA or raw variables -./inc/functions.php:549: // @TODO Extension 'msg' does not exist -./inc/functions.php:612:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:2718: // @TODO Are these convertions still required? +./inc/functions.php:2736:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:3620:// @TODO Lame description for this function +./inc/functions.php:3639: // @TODO Move this in a filter +./inc/functions.php:3763: // @TODO This is still very static, rewrite it somehow +./inc/functions.php:542: // @TODO Extension 'msg' does not exist +./inc/functions.php:605:// @TODO Rewrite this to an extension 'smtp' ./inc/install-functions.php:63: // @TODO DEACTIVATED: changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0); ./inc/language/de.php:1143:// @TODO Rewrite these two constants ./inc/language/de.php:1158:// @TODO Rewrite these three constants @@ -74,19 +73,19 @@ ./inc/libs/doubler_functions.php:46:// @TODO Lame description ./inc/libs/doubler_functions.php:94: // @TODO Can't this be moved into EL? ./inc/libs/mailid_functions.php:49: // @TODO Rewrite this to a dynamic include or so -./inc/libs/rallye_functions.php:708:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId() -./inc/libs/rallye_functions.php:779: $EXPIRE = 3; // @TODO The hard-coded value... -./inc/libs/rallye_functions.php:865:// @TODO Please document this function -./inc/libs/rallye_functions.php:921: // Load count @TODO Can't we rewrite this to our API? +./inc/libs/rallye_functions.php:703:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId() +./inc/libs/rallye_functions.php:773: $EXPIRE = 3; // @TODO The hard-coded value... +./inc/libs/rallye_functions.php:859:// @TODO Please document this function +./inc/libs/rallye_functions.php:915: // Load count @TODO Can't we rewrite this to our API? ./inc/libs/refback_functions.php:61: // @TODO Try to rewrite the following unset() ./inc/libs/register_functions.php:299: // @TODO Rewrite these all to a single filter ./inc/libs/register_functions.php:375: // @TODO Rewrite this to a filter ./inc/libs/register_functions.php:382: // @TODO Rewrite this whole if() block to addPointsThroughReferalSystem(). This will also make following if() block obsolete ./inc/libs/register_functions.php:383: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable -./inc/libs/surfbar_functions.php:1547: // @TODO This can be somehow rewritten -./inc/libs/surfbar_functions.php:719:// @TODO Can't we use our new expression language instead of this ugly code? -./inc/libs/surfbar_functions.php:963: // @TODO Invalid salt should be refused -./inc/libs/task_functions.php:245: // @TODO These can be rewritten to filter +./inc/libs/surfbar_functions.php:1541: // @TODO This can be somehow rewritten +./inc/libs/surfbar_functions.php:713:// @TODO Can't we use our new expression language instead of this ugly code? +./inc/libs/surfbar_functions.php:957: // @TODO Invalid salt should be refused +./inc/libs/task_functions.php:241: // @TODO These can be rewritten to filter ./inc/libs/task_functions.php:53:// @TODO Move all extension-dependent queries into filters ./inc/libs/theme_functions.php:95: // @TODO Can't this be rewritten to an API function? ./inc/libs/user_functions.php:146: // @TODO These two constants are no longer used, maybe we reactivate this code? @@ -102,11 +101,11 @@ ./inc/modules/admin/admin-inc.php:325: // @TODO Rewrite this to $content = SQL_FETCHARRAY() ./inc/modules/admin/admin-inc.php:331: // @TODO ACL is 'allow'... hmmm ./inc/modules/admin/admin-inc.php:431:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/overview-inc.php:167: // @TODO Rewrite this to a filter -./inc/modules/admin/overview-inc.php:281: // @TODO Rewrite this to something with include files and/or filter -./inc/modules/admin/overview-inc.php:319: // @TODO This may also be rewritten to include files -./inc/modules/admin/overview-inc.php:321: default: // @TODO Unknown support mode -./inc/modules/admin/overview-inc.php:442: // @TODO Try to move this in includes +./inc/modules/admin/overview-inc.php:164: // @TODO Rewrite this to a filter +./inc/modules/admin/overview-inc.php:278: // @TODO Rewrite this to something with include files and/or filter +./inc/modules/admin/overview-inc.php:316: // @TODO This may also be rewritten to include files +./inc/modules/admin/overview-inc.php:318: default: // @TODO Unknown support mode +./inc/modules/admin/overview-inc.php:439: // @TODO Try to move this in includes ./inc/modules/admin/overview-inc.php:45:// @TODO This function does also check for uncompleted tasks ./inc/modules/admin/what-add_guestnl_cat.php:49: // @TODO Check if category does already exist ./inc/modules/admin/what-add_surfbar_url.php:57: // @TODO Find all convertSelectionsToTimestamp() calls and rewrite postRequestParameter() calls to $postData @@ -116,11 +115,10 @@ ./inc/modules/admin/what-adminedit.php:58: // @TODO Kill all constants in this file ./inc/modules/admin/what-admins_mails.php:61: // @TODO Can this be rewritten to an API function? ./inc/modules/admin/what-bonus.php:48:// @TODO Unused at the moment -./inc/modules/admin/what-config_admins.php:146: // @TODO Rewrite this to filter 'run_sqls' +./inc/modules/admin/what-config_admins.php:132: // @TODO Rewrite this to filter 'run_sqls' ./inc/modules/admin/what-config_mods.php:57: // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function ./inc/modules/admin/what-config_points.php:113: // @TODO Rewrite this to a filter -./inc/modules/admin/what-config_rallye_prices.php:212: // @TODO Rewritings: level->price_level, infos->info in template -./inc/modules/admin/what-config_rallye_prices.php:229: // @TODO Rewrite these two constants +./inc/modules/admin/what-config_rallye_prices.php:207: // @TODO Rewrite these two constants ./inc/modules/admin/what-config_register.php:78: // @TODO Move this HTML code into a template ./inc/modules/admin/what-del_email.php:60: // @TODO Unused: $price = getPaymentPoints($content['payment_id'], 'price'); ./inc/modules/admin/what-del_email.php:61: // @TODO Unused: cat_id, payment_id @@ -134,7 +132,7 @@ ./inc/modules/admin/what-holiday_list.php:48:// @TODO Unused at the moment ./inc/modules/admin/what-list_autopurge.php:49:// @TODO Rewrite those lines to filter ./inc/modules/admin/what-list_bonus.php:135: // @TODO Can't this be moved into our expression language? -./inc/modules/admin/what-list_cats.php:56: // @TODO No longer needed? define('__CATS_BASE' , 'mail_title, pay->payment in template +./inc/modules/admin/what-payments.php:152: // @TODO Rewritings: title->mail_title in template ./inc/modules/admin/what-refbanner.php:145: // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template ./inc/modules/admin/what-unlock_emails.php:89: // @TODO Rewrite these if-blocks to a filter ./inc/modules/admin/what-usage.php:88: // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php ./inc/modules/admin/what-usr_online.php:51: // @TODO Add a filter for sponsor -./inc/modules/guest/what-beg.php:60:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); +./inc/modules/guest/what-beg.php:53:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/guest/what-confirm.php:120: // @TODO Try to rewrite the following unset() ./inc/modules/guest/what-login.php:114: // @TODO Move this HTML code into a template ./inc/modules/guest/what-mediadata.php:183:// @TODO Rewrite all these if-blocks to filters @@ -177,7 +175,7 @@ ./inc/modules/member/what-categories.php:129: // @TODO Rewrite this to use $OUT .= ... ./inc/modules/member/what-order.php:457: // @TODO Rewrite this to a filter ./inc/modules/member/what-order.php:65:// @TODO Rewrite this to a filter -./inc/modules/member/what-payout.php:222: // @TODO Rewrite this to a filter +./inc/modules/member/what-payout.php:218: // @TODO Rewrite this to a filter ./inc/modules/member/what-points.php:55:// @TODO Should we rewrite this to a filter? ./inc/modules/member/what-rallyes.php:91: // @TODO Reactivate this: $content['admin'] = '' . $content['login'] . ''; ./inc/modules/member/what-refback.php:128: // @TODO UNUSED: $refRow['status'] = translateUserStatus($refRow['status']); @@ -193,13 +191,13 @@ ./inc/mysql-manager.php:1627: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() ./inc/mysql-manager.php:1727: // @TODO Rewrite this to a filter ./inc/mysql-manager.php:2107: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:2148:// @TODO Fix inconsistency between last_module and getWhat() +./inc/mysql-manager.php:2151:// @TODO Fix inconsistency between last_module and getWhat() ./inc/mysql-manager.php:229: // @TODO Nothing helped??? ./inc/mysql-manager.php:264: // @TODO Rewrite this to a filter ./inc/mysql-manager.php:589: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:94:// @TODO Can we cache this? ./inc/reset/reset_beg.php:51:// @TODO This should be converted in a daily beg rallye -./inc/reset/reset_birthday.php:92: // @TODO 4 is hard-coded here, should we move it out in config? +./inc/reset/reset_birthday.php:91: // @TODO 4 is hard-coded here, should we move it out in config? ./inc/revision-functions.php:153:// @TODO Please describe this function ./inc/wrapper-functions.php:127:// @TODO Implement $compress ./inc/wrapper-functions.php:134:// @TODO Implement $decompress