X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=DOCS%2FTODOs.txt;h=9f954a217757b33fa972ac772d5daf327df3bd9c;hb=84e09efe24aa3fb5622c2d19b75df8fd52ac7bed;hp=fd4a6008d45860fe8fdc870b04abf2a6ecc1a64e;hpb=62a19dbcc70f2d862dd2b0fee5edb9c25be35fa0;p=mailer.git diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index fd4a6008d4..9f954a2177 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -7,7 +7,7 @@ ./inc/cache/config-local.php:126:// @TODO Rewrite the following three constants, somehow... ./inc/classes/cachesystem.class.php:474: // @TODO Add support for more types which break in last else-block ./inc/config-functions.php:141: // @TODO Make this all better... :-/ -./inc/expression-functions.php:202:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again +./inc/expression-functions.php:166:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again ./inc/expression-functions.php:48: // @TODO is escapeQuotes() enougth for strings with single/double quotes? ./inc/extensions/ext-html_mail.php:138: // @TODO Move these arrays into config ./inc/extensions/ext-menu.php:54: // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => mem_menu_(edit|add) @@ -37,22 +37,22 @@ ./inc/extensions/ext-rallye.php:94: // @TODO Fix config_rallye_prices to list_rallye_prices ./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:146: // @TODO Do we still need this? setExtensionUpdateNotes(''); -./inc/extensions-functions.php:427:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) -./inc/extensions-functions.php:551: // @TODO Extension is loaded, what next? -./inc/functions.php:115: // @TODO Extension 'msg' does not exist -./inc/functions.php:1486: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? -./inc/functions.php:1509: // @TODO Rewrite this old lost code to a template -./inc/functions.php:1577: // @TODO Are these convertions still required? -./inc/functions.php:1595:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:178:// @TODO Rewrite this to an extension 'smtp' -./inc/functions.php:2248: // @TODO This is still very static, rewrite it somehow +./inc/extensions-functions.php:152: // @TODO Do we still need this? setExtensionUpdateNotes(''); +./inc/extensions-functions.php:434:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) +./inc/extensions-functions.php:564: // @TODO Extension is loaded, what next? +./inc/functions.php:112: // @TODO Extension 'msg' does not exist +./inc/functions.php:1490: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? +./inc/functions.php:1513: // @TODO Rewrite this old lost code to a template +./inc/functions.php:1581: // @TODO Are these convertions still required? +./inc/functions.php:1599:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:175:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:2255: // @TODO This is still very static, rewrite it somehow ./inc/gen_sql_patches.php:96:// @TODO Rewrite this to a filter -./inc/install-functions.php:63: // @TODO DEACTIVATED: changeDataInFile(getCachePath() . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0); -./inc/language/de.php:1127:// @TODO Rewrite these two constants -./inc/language/de.php:1142:// @TODO Rewrite these three constants -./inc/language/de.php:301: // @TODO Following two are unused? -./inc/language/de.php:819:// @TODO Are these constants longer used? +./inc/install-functions.php:59: // @TODO DEACTIVATED: changeDataInFile(getCachePath() . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0); +./inc/language/de.php:1116:// @TODO Rewrite these two constants +./inc/language/de.php:1131:// @TODO Rewrite these three constants +./inc/language/de.php:300: // @TODO Following two are unused? +./inc/language/de.php:810:// @TODO Are these constants longer used? ./inc/language-functions.php:234: // @TODO These are all valid languages, again hard-coded ./inc/language-functions.php:46:// @TODO Rewrite all language constants to this function. ./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings * @@ -60,19 +60,21 @@ ./inc/language/sponsor_de.php:119:// @TODO Rewrite these four constants to one and use sprintf() ./inc/libs/admins_functions.php:432: // @TODO This can be, somehow, rewritten ./inc/libs/beg_functions.php:54: // @TODO Try to rewrite the following unset() -./inc/libs/bonus_functions.php:204: // @TODO Move this HTML to a template -./inc/libs/bonus_functions.php:288: // @TODO This query isn't right, it will only update if the user was for a longer time away! +./inc/libs/bonus_functions.php:201: // @TODO Move this HTML to a template +./inc/libs/bonus_functions.php:285: // @TODO This query isn't right, it will only update if the user was for a longer time away! ./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:700:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId() -./inc/libs/rallye_functions.php:765: $EXPIRE = 3; // @TODO The hard-coded value... -./inc/libs/rallye_functions.php:851:// @TODO Please document this function -./inc/libs/rallye_functions.php:907: // Load count @TODO Can't we rewrite this to our API? +./inc/libs/rallye_functions.php:704:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId() +./inc/libs/rallye_functions.php:769: $EXPIRE = 3; // @TODO The hard-coded value... +./inc/libs/rallye_functions.php:855:// @TODO Please document this function +./inc/libs/rallye_functions.php:911: // 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:292: // @TODO Rewrite these all to a single filter -./inc/libs/register_functions.php:365: // @TODO Rewrite this to a filter -./inc/libs/register_functions.php:372: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable +./inc/libs/register_functions.php:362: // @TODO Rewrite this to a filter +./inc/libs/register_functions.php:369: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable +./inc/libs/sponsor_functions.php:162: // @TODO Rewrite this to API function +./inc/libs/sponsor_functions.php:433: // @TODO Rewrite this to API function ./inc/libs/surfbar_functions.php:1540: // @TODO This can be somehow rewritten ./inc/libs/surfbar_functions.php:712:// @TODO Can't we use our new expression language instead of this ugly code? ./inc/libs/surfbar_functions.php:953: // @TODO Invalid salt should be refused @@ -81,9 +83,9 @@ ./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? ./inc/libs/user_functions.php:234:// @TODO Double-check configuration entry here -./inc/libs/user_functions.php:326: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); -./inc/libs/user_functions.php:346: // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); -./inc/libs/user_functions.php:422: // @TODO We should try to rewrite this to fetchUserData() somehow +./inc/libs/user_functions.php:327: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); +./inc/libs/user_functions.php:347: // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); +./inc/libs/user_functions.php:423: // @TODO We should try to rewrite this to fetchUserData() somehow ./inc/libs/yoomedia_functions.php:116: $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script ./inc/load_config.php:77: // @TODO Rewrite them to avoid this else block ./inc/loader/load_cache-extension.php:13: * @TODO Rewrite this whole file to load_cache-extensions.php * @@ -117,7 +119,7 @@ ./inc/modules/admin/what-del_email.php:61: // @TODO Unused: cat_id, payment_id ./inc/modules/admin/what-edit_user.php:20: * @TODO Add support for ext-country * ./inc/modules/admin/what-email_stats.php:48:// @TODO Unused at the moment -./inc/modules/admin/what-extensions.php:359: // @TODO Rewrite this to a filter +./inc/modules/admin/what-extensions.php:365: // @TODO Rewrite this to a filter ./inc/modules/admin/what-guest_add.php:131: // @TODO This can be somehow rewritten to a function ./inc/modules/admin/what-guest_add.php:69: // @TODO Cant this be rewritten? ./inc/modules/admin/what-guest_add.php:82: // @TODO This can be somehow rewritten to a function @@ -127,8 +129,8 @@ ./inc/modules/admin/what-list_cats.php:56: // @TODO No longer needed? define('__CATEGORIES_BASE' , '' . $login . ''; -./inc/modules/guest/what-sponsor_infos.php:70: // @TODO Rewritings: conv->conv_rate,name->conv_name in template -./inc/modules/guest/what-sponsor_reg.php:290: // @TODO Swap this HTML code to templates -./inc/modules/guest/what-stats.php:116: // @TODO This can be somehow rewritten +./inc/modules/guest/what-sponsor_reg.php:297: // @TODO Maybe a default referal id? +./inc/modules/guest/what-stats.php:102: // @TODO This can be somehow rewritten ./inc/modules/guest/what-stats.php:76:// @TODO This can be rewritten in a dynamic include ./inc/modules/member/what-beg.php:56:// @TODO Can't this be moved into EL? ./inc/modules/member/what-beg.php:65:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/member/what-bonus.php:57: // @TODO Rewrite this to a filter -./inc/modules/member/what-categories.php:132: // @TODO Rewrite this to use $OUT .= ... +./inc/modules/member/what-categories.php:130: // @TODO Rewrite this to use $OUT .= ... ./inc/modules/member/what-order.php:428: // @TODO Rewrite this to a filter ./inc/modules/member/what-payout.php:196: // @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-points.php:57:// @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:126: // @TODO UNUSED: $refRow['status'] = translateUserStatus($refRow['status']); ./inc/modules/member/what-reflinks.php:54:// @TODO Move this into a filter @@ -172,23 +173,24 @@ ./inc/modules/member/what-unconfirmed.php:143: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() ./inc/modules/order.php:76: // @TODO Unused: 2,4 ./inc/monthly/monthly_bonus.php:69: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1168: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1415: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1513: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1880: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1924:// @TODO Fix inconsistency between last_module and getWhat() +./inc/mysql-manager.php:1173: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1428: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:1536: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1903: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1947:// @TODO Fix inconsistency between last_module and getWhat() ./inc/mysql-manager.php:370: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:46:// @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: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/template-functions.php:1168: // @TODO This can be easily moved out after the merge from EL branch to this is complete -./inc/template-functions.php:1201: // @TODO Add a little more infos here -./inc/template-functions.php:1489:// @TODO Lame description for this function -./inc/template-functions.php:1508: // @TODO Move this in a filter -./inc/template-functions.php:295: // @TODO Remove this sanity-check if all is fine -./inc/template-functions.php:608:// @TODO $simple/$constants are deprecated -./inc/template-functions.php:635: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates +./inc/template-functions.php:1135: // @TODO This can be easily moved out after the merge from EL branch to this is complete +./inc/template-functions.php:1168: // @TODO Add a little more infos here +./inc/template-functions.php:1456:// @TODO Lame description for this function +./inc/template-functions.php:1475: // @TODO Move this in a filter +./inc/template-functions.php:189: * @TODO On some pages this is buggy +./inc/template-functions.php:264: // @TODO Remove this sanity-check if all is fine +./inc/template-functions.php:575:// @TODO $simple/$constants are deprecated +./inc/template-functions.php:602: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates ./inc/wrapper-functions.php:127:// @TODO Implement $compress ./inc/wrapper-functions.php:134:// @TODO Implement $decompress ./inc/wrapper-functions.php:455:// @TODO Do some more sanity check here @@ -200,6 +202,7 @@ ./mailid_top.php:188: // @TODO Rewrite this to a filter ./mailid_top.php:223: // @TODO Rewrite these blocks to filter ./mailid_top.php:256: // @TODO Try to rewrite the following unset() +./network-check.php:56:// @TODO Add processing of request here ./show_bonus.php:107: // @TODO No more needed? $content['points'] = translateComma($content['points']); ./view.php:70: // @TODO No banner found, output some default banner ./templates/de/html/admin/admin_add_country.tpl:23: @@ -226,7 +229,10 @@ ./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5: ### ### DEPRECATION FOLLOWS: ### ### ./inc/modules/admin/admin-inc.php:439:// @DEPRECATED +./inc/modules/admin/what-list_network_array_translation.php:2:// @DEPRECATED +./inc/modules/admin/what-list_network_translations.php:2:// @DEPRECATED ./templates/de/html/admin/admin_add_banner.tpl:1: +./templates/de/html/admin/admin_add_network_array_translation.tpl:1: ./templates/de/html/admin/admin_admin_add.tpl:1: ./templates/de/html/admin/admin_admins_add_acl.tpl:1: ./templates/de/html/admin/admin_admins_add.tpl:1: @@ -235,11 +241,16 @@ ./templates/de/html/admin/admin_amenu_edit_form.tpl:1: ./templates/de/html/admin/admin_amenu_edit_row.tpl:1: ./templates/de/html/admin/admin_amenu_edit.tpl:1: +./templates/de/html/admin/admin_del_points_row.tpl:1: +./templates/de/html/admin/admin_del_points.tpl:1: +./templates/de/html/admin/admin_edit_points_row.tpl:1: +./templates/de/html/admin/admin_edit_points.tpl:1: ./templates/de/html/admin/admin_gmenu_delete_row.tpl:1: ./templates/de/html/admin/admin_gmenu_delete.tpl:1: ./templates/de/html/admin/admin_gmenu_edit_form.tpl:1: ./templates/de/html/admin/admin_gmenu_edit_row.tpl:1: ./templates/de/html/admin/admin_gmenu_edit.tpl:1: +./templates/de/html/admin/admin_gmenu_status.tpl:1: ./templates/de/html/admin/admin_guest_add.tpl:1: ./templates/de/html/admin/admin_list_task_ext2_rows.tpl:1: ./templates/de/html/admin/admin_member_add.tpl:1: @@ -247,14 +258,20 @@ ./templates/de/html/admin/admin_mmenu_delete.tpl:1: ./templates/de/html/admin/admin_mmenu_edit_row.tpl:1: ./templates/de/html/admin/admin_mmenu_edit.tpl:1: +./templates/de/html/admin/admin_mmenu_overview.tpl:1: +./templates/de/html/admin/admin_mmenu_status.tpl:1: ./templates/de/html/admin/admin_points_del_row.tpl:1: ./templates/de/html/admin/admin_points_del.tpl:1: ./templates/de/html/admin/admin_points_edit_row.tpl:1: ./templates/de/html/admin/admin_points_edit.tpl:1: +./templates/de/html/admin/admin_points_row.tpl:1: +./templates/de/html/admin/admin_points.tpl:1: ./templates/de/html/admin/admin_refbanner_edit_row.tpl:1: ./templates/de/html/admin/admin_refbanner_edit.tpl:1: ./templates/de/html/admin/admin_refbanner_row.tpl:1: ./templates/de/html/admin/admin_refbanner.tpl:1: +./templates/de/html/guest/guest_menu_whats.tpl:1: +./templates/de/html/member/member_menu_whats.tpl:1: ### ### template-warnings.log follows: ### ### Warning: Not parsing JavaScript templates/de/html/js/js_order_send.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_cookies_disabled.tpl.