X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2FTODOs.txt;h=9a7a4049f4fe15a40c5d4bba34ec9ad1a5c98bcc;hp=265b12d2427c00ec2c4343001ccaf16afcadebf0;hb=0ffa2dc5e25339dae68c672214952aa9e23e8b6b;hpb=00790481119eefa7a54a8dda1cb191fdf4f29226 diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 265b12d242..9a7a4049f4 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -1,31 +1,42 @@ -### WARNING: THIS FILE IS AUTO-GENERATED BY ../../contrib/todo-builder.sh (uid=/user=quix0r) ### +### WARNING: THIS FILE IS AUTO-GENERATED BY ./contrib/todo-builder.sh (uid=/user=quix0r) ### ### DO NOT EDIT THIS FILE. ### ./api.php:68:// @TODO Do stuff here ./autoreg.php:62:// @TODO Add processing of request here ./beg.php:173: // @TODO Opps, what is missing here??? ./cron.php:62:// @TODO Do stuff here -./inc/classes/cachesystem.class.php:516: // @TODO Add support for more types which break in last else-block -./inc/config-functions.php:150: // @TODO Make this all better... :-/ -./inc/config-functions.php:326: // @TODO Call setConfigEntry() somehow -./inc/config-functions.php:354: // @TODO Call setConfigEntry() somehow +./inc/classes/cachesystem.class.php:519: // @TODO Add support for more types which break in last else-block +./inc/config-functions.php:151: // @TODO Make this all better... :-/ +./inc/config-functions.php:329: // @TODO Call setConfigEntry() somehow +./inc/config-functions.php:359: // @TODO Call setConfigEntry() somehow ./inc/daily/daily_beg.php:52:// @TODO This should be converted in a daily beg rallye -./inc/daily/daily_birthday.php:99: // @TODO 4 is hard-coded here, should we move it out in config? +./inc/daily/daily_birthday.php:63:// @TODO Move this out to an extension ./inc/email-functions.php:113: * @TODO Rewrite this to an extension 'smtp' ./inc/email-functions.php:209:// @TODO $rawUserId is currently unused ./inc/expression-functions.php:173:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again ./inc/expression-functions.php:46: // @TODO is escapeQuotes() enough for strings with single/double quotes? +./inc/extensions/admins/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/autopurge/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/beg/mode-update.php:43:// @TODO Remove double tabs from all lines ./inc/extensions/bonus/mode-update.php:43:// @TODO Remove double tabs from all lines -./inc/extensions/ext-html_mail.php:136: // @TODO Move these arrays into config +./inc/extensions/doubler/mode-setup.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/doubler/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/ext-html_mail.php:91: // @TODO Move these arrays into config ./inc/extensions/ext-menu.php:52: // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => (edit|add)_(admin|guest|member)_menu ./inc/extensions/ext-newsletter.php:218: // @TODO Move these into configuration ./inc/extensions/ext-nickname.php:52: // @TODO NOT NULL DEFAULT '' is bad practice, use NULL +./inc/extensions/ext-ranking.php:18: * @TODO Replaces ext-top10 * +./inc/extensions/ext-rewrite.php:50:// @TODO Only when 'seo' is ready: setExtensionDeprecated('Y'); +./inc/extensions/ext-top10.php:50:// @TODO Only deprecated when 'ext-ranking' is ready: setExtensionDeprecated('Y'); ./inc/extensions/ext-yoomedia.php:120: // @TODO Can this be moved into a database table? -./inc/extensions/ext-yoomedia.php:54:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y'); -./inc/extensions-functions.php:2184: // @TODO Is this really neccessary? -./inc/extensions-functions.php:2235:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable' +./inc/extensions/ext-yoomedia.php:54:// @TODO Only deprecated when 'ext-network' is ready: setExtensionDeprecated('Y'); +./inc/extensions/forced/mode-setup.php:43:// @TODO Remove double tabs from all lines +./inc/extensions-functions.php:2239: // @TODO Is this really neccessary? +./inc/extensions-functions.php:2296:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable' ./inc/extensions-functions.php:439: // @TODO This redirect is still needed to register sql_patches! Please try to avoid it ./inc/extensions-functions.php:455:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) ./inc/extensions-functions.php:595: // @TODO Extension is loaded, what next? +./inc/extensions/grade/mode-setup.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/html_mail/mode-update.php:43:// @TODO Remove double tabs from all lines ./inc/extensions/network/mode-setup.php:18: * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS??? * ./inc/extensions/network/mode-setup.php:19: * @TODO ADCocktail: Zero array element is return code! * ./inc/extensions/network/mode-setup.php:20: * @TODO adgain.de: Textlink-View is a JavaScript URL * @@ -59,44 +70,61 @@ ./inc/extensions/network/mode-setup.php:48: * @TODO Yoo!Media: What is LayerAd compared to Layer click? * ./inc/extensions/network/mode-setup.php:94:// @TODO network_type_handler is an internal name and needs documentation ./inc/extensions/order/mode-update.php:43:// @TODO Remove double-tab from all lines +./inc/extensions/other/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/payout/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/rallye/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/register/mode-update.php:367: // @TODO Make configurable through web interface ./inc/extensions/register/mode-update.php:43:// @TODO Remove double tabs from all lines ./inc/extensions/sponsor/mode-setup.php:43:// @TODO Remove double tabs from all lines ./inc/extensions/sql_patches/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/surfbar/mode-setup.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/task/mode-update.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/transfer/mode-setup.php:43:// @TODO Remove double tabs from all lines +./inc/extensions/transfer/mode-update.php:43:// @TODO Remove double tabs from all lines ./inc/extensions/user/mode-update.php:43:// @TODO Remove double tabs from all lines -./inc/filter/blacklist_filter.php:63: // @TODO Insert log entry +./inc/extensions/user/mode-update.php:559: // @TODO Make configurable through web interface +./inc/filter/blacklist_filter.php:105: // @TODO Insert log entry +./inc/filter/blacklist_filter.php:116: // @TODO Insert log entry +./inc/filter/blacklist_filter.php:127: // @TODO Insert log entry ./inc/filter/bonus_filter.php:56: // @TODO This query isn't right, it will only update if the user was for a longer time away! -./inc/filter/cache_filter.php:94: // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal. -./inc/filter/forced_filter.php:73: // @TODO This part is unfinished -./inc/filter-functions.php:119: // @TODO Remove this forced removal after a year or so -./inc/filters.php:1380: // @TODO No banner found, output some default banner -./inc/functions.php:1131: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? -./inc/functions.php:1217: // @TODO Are these convertions still required? -./inc/functions.php:1238:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:1865: // @TODO Find a way to cache this -./inc/functions.php:1969: // @TODO This is still very static, rewrite it somehow -./inc/functions.php:2173: // @TODO Rename column data_type to e.g. mail_status -./inc/functions.php:2523:// @TODO cacheFiles is not yet supported -./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter +./inc/filter/forced_filter.php:75: // @TODO This part is unfinished +./inc/filter-functions.php:120: // @TODO Remove this forced removal after a year or so +./inc/filter/order_filter.php:132: // @TODO 200 is hard-coded here, swap it out to config + admin_config_order.tpl +./inc/filters.php:1394: // @TODO No banner found, output some default banner +./inc/filter/user_filter.php:279:// @TODO 0% done +./inc/filter/user_filter.php:289:// @TODO 0% done +./inc/filter/wernis_filter.php:126:// @TODO 0% done +./inc/filter/wernis_filter.php:136:// @TODO 0% done +./inc/filter/wernis_filter.php:62:// @TODO 10% done +./inc/filter/wernis_filter.php:80:// @TODO 10% done +./inc/filter/wernis_filter.php:98:// @TODO 10% done +./inc/functions.php:1231: // @TODO Are these convertions still required? +./inc/functions.php:1252:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:1556: // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal. +./inc/functions.php:1932: // @TODO Find a way to cache this +./inc/functions.php:2036: // @TODO This is still very static, rewrite it somehow +./inc/functions.php:2252: // @TODO Rename column data_type to e.g. mail_status +./inc/functions.php:2602:// @TODO cacheFiles is not yet supported +./inc/gen_sql_patches.php:98:// @TODO Rewrite this to a filter ./inc/header.php:66:// @TODO Find a way to not use direct module comparison -./inc/install-functions.php:446: // @TODO Comparing with DEFAULT_MAIN_TITLE doesn't work -./inc/install-functions.php:97: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0); -./inc/language/de.php:1161: // @TODO Rewrite these two constants -./inc/language/de.php:1177: // @TODO Rewrite these three constants +./inc/install-functions.php:107: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0); +./inc/install-functions.php:455: // @TODO Comparing with DEFAULT_MAIN_TITLE doesn't work +./inc/language/de.php:1150: // @TODO Rewrite these two constants +./inc/language/de.php:1166: // @TODO Rewrite these three constants ./inc/language/de.php:46: // @TODO Please sort these language elements -./inc/language/de.php:748:// @TODO Are these constants longer used? ./inc/language-functions.php:254: // @TODO These are all valid languages, again hard-coded -./inc/language/install_de.php:142: // @TODO Move this to e.g. ext-smtp +./inc/language/install_de.php:153: // @TODO Move this to e.g. ext-smtp ./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no * ./inc/language/order_de.php:71: // @TODO Find better text ./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings * ./inc/language/refback_de.php:51: // @TODO Rewrite these constants to one ./inc/libs/admins_functions.php:537: // @TODO This can be, somehow, rewritten ./inc/libs/bonus_functions.php:115: // @TODO Rewrite this to a filter -./inc/libs/bonus_functions.php:199: // @TODO Move this HTML to a template +./inc/libs/bonus_functions.php:201: // @TODO Move this HTML to a template ./inc/libs/doubler_functions.php:130:// @TODO This could be rewritten to a filter ./inc/libs/doubler_functions.php:44:// @TODO Lame description ./inc/libs/doubler_functions.php:96: // @TODO Can't this be moved into EL? -./inc/libs/forced_functions.php:457:// @TODO Can't we use our new expression language instead of this ugly code? +./inc/libs/forced_functions.php:459:// @TODO Can't we use our new expression language instead of this ugly code? ./inc/libs/mailid_functions.php:123: // @TODO Rewrite these blocks to filter ./inc/libs/mailid_functions.php:47: // @TODO Rewrite this to a dynamic include or so ./inc/libs/mailid_functions.php:93: // @TODO Rewrite this to a filter @@ -110,26 +138,27 @@ ./inc/libs/rallye_functions.php:983: // Load count @TODO Can't we rewrite this to our API? ./inc/libs/sponsor_functions.php:163: // @TODO Rewrite this to API function ./inc/libs/sponsor_functions.php:436: // @TODO Rewrite this to API function -./inc/libs/surfbar_functions.php:1696: // @TODO This can be somehow rewritten +./inc/libs/surfbar_functions.php:1695: // @TODO This can be somehow rewritten ./inc/libs/surfbar_functions.php:479: // @TODO if (($urlData['url_views_allowed'] != $urlData['edit']['limit']) || ($url1 != $url2)) { ./inc/libs/surfbar_functions.php:790:// @TODO Can't we use our new expression language instead of this ugly code? -./inc/libs/task_functions.php:256: // @TODO These can be rewritten to filter ./inc/libs/task_functions.php:51:// @TODO Move all extension-dependent queries into filters -./inc/libs/theme_functions.php:96: // @TODO Can't this be rewritten to an API function? +./inc/libs/theme_functions.php:93: // @TODO Can't this be rewritten to an API function? ./inc/libs/user_functions.php:325: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); ./inc/libs/user_functions.php:354: // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); +./inc/libs/wernis_functions.php:432:// @TODO Unused? +./inc/libs/wernis_functions.php:485: // @TODO Something more to do here? ./inc/libs/yoomedia_functions.php:108: $response = YOOMEDIA_QUERY_API('out_textmail.php', TRUE); // @TODO Ask Yoo!Media for test script ./inc/load_config.php:75: // @TODO Rewrite them to avoid this else block ./inc/loader/load-extension.php:13: * @TODO Rewrite this whole file * ./inc/mails/doubler_mails.php:53:// @TODO Can this be rewritten to a filter? ./inc/module-functions.php:273: // @TODO Nothing helped??? ./inc/module-functions.php:314: // @TODO Rewrite this to a filter -./inc/modules/admin/admin-inc.php:1055:// @TODO rawUserId/content is not yet supported -./inc/modules/admin/admin-inc.php:1080:// @TODO rawUserId/cacheFiles/content is not yet supported -./inc/modules/admin/admin-inc.php:175: // @TODO This and the next getCurrentAdminId() call might be moved into the templates? -./inc/modules/admin/admin-inc.php:248: // @TODO This can be rewritten into a filter -./inc/modules/admin/admin-inc.php:533:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:880:// @TODO cacheFiles is not yet supported +./inc/modules/admin/admin-inc.php:1058:// @TODO rawUserId/content is not yet supported +./inc/modules/admin/admin-inc.php:1083:// @TODO rawUserId/cacheFiles/content is not yet supported +./inc/modules/admin/admin-inc.php:178: // @TODO This and the next getCurrentAdminId() call might be moved into the templates? +./inc/modules/admin/admin-inc.php:251: // @TODO This can be rewritten into a filter +./inc/modules/admin/admin-inc.php:536:// @TODO Try to rewrite this to adminAddMenuSelectionBox() +./inc/modules/admin/admin-inc.php:883:// @TODO cacheFiles is not yet supported ./inc/modules/admin/overview-inc.php:176: // @TODO Rewrite this to a filter ./inc/modules/admin/overview-inc.php:285: // @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 @@ -154,21 +183,18 @@ ./inc/modules/admin/what-guest_add.php:80: // @TODO This can be somehow rewritten to a function ./inc/modules/admin/what-holiday_list.php:46:// @TODO Unused at the moment ./inc/modules/admin/what-list_admins_acls.php:126: // @TODO Rewrite this to filter 'run_sqls' -./inc/modules/admin/what-list_autopurge.php:47:// @TODO Rewrite those lines to filter ./inc/modules/admin/what-list_bonus.php:136: // @TODO Can't this be moved into our expression language? ./inc/modules/admin/what-list_links.php:96: // @TODO Rewrite this to includes/filter ./inc/modules/admin/what-list_mods.php:55: // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function ./inc/modules/admin/what-list_rallye_prices.php:222: // @TODO Rewrite these two constants ./inc/modules/admin/what-list_refs.php:101: // @TODO Try to rewrite some to EL -./inc/modules/admin/what-list_unconfirmed.php:118: // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus -./inc/modules/admin/what-list_unconfirmed.php:89: // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}'); -./inc/modules/admin/what-list_unconfirmed.php:92: // @TODO `id` has been used two times??? +./inc/modules/admin/what-list_unconfirmed.php:115: // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus ./inc/modules/admin/what-list_user_cats.php:54: // @TODO No longer needed? define('__CATEGORIES_BASE' , '' . $content['login'] . ''; ./inc/modules/guest/what-sponsor_reg.php:293: // @TODO Maybe a default referral id? @@ -191,40 +217,43 @@ ./inc/modules/member/what-logout.php:17: * @TODO Rewrite the code to a filter * ./inc/modules/member/what-logout.php:52: // @TODO Move this in a filter, e.g. member_logout ./inc/modules/member/what-mydata.php:82: // @TODO Move this to a function (for better EL code) -./inc/modules/member/what-order.php:464: // @TODO Rewrite this to a filter +./inc/modules/member/what-order.php:300: // @TODO Rewrite this to a filter ./inc/modules/member/what-order.php:72: // @TODO Try to move out url_tlock to a filter for extra SQL statements -./inc/modules/member/what-payout.php:208: // @TODO Rewrite this to a filter +./inc/modules/member/what-payout.php:223: // @TODO Rewrite this to a filter ./inc/modules/member/what-points.php:61:// @TODO Should we rewrite this to a filter? ./inc/modules/member/what-rallyes.php:99: // @TODO Reactivate this: $content['admin'] = '' . $content['login'] . ''; ./inc/modules/member/what-reflinks.php:52:// @TODO Move this into a filter +./inc/modules/member/what-transaction_fees.php:197:// @TODO Make this working ./inc/modules/member/what-transfer.php:128: // @TODO Rewrite this to a filter -./inc/modules/member/what-unconfirmed.php:130: // @TODO This call cannot be saved as EL code cannot be "framed" in other EL code -./inc/modules/member/what-unconfirmed.php:174: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/member/what-unconfirmed.php:241: // @TODO cat_id is unused -./inc/modules/member/what-unconfirmed.php:244: // @TODO This 'userid' cannot be saved because of encapsulated EL code +./inc/modules/member/what-unconfirmed.php:124: // @TODO This call cannot be saved as EL code cannot be "framed" in other EL code +./inc/modules/member/what-unconfirmed.php:168: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/member/what-unconfirmed.php:235: // @TODO cat_id is unused +./inc/modules/member/what-unconfirmed.php:238: // @TODO This 'userid' cannot be saved because of encapsulated EL code ./inc/modules/order.php:71: // @TODO Unused: timestamp -./inc/mysql-manager.php:1509: // @TODO Rewrite these lines to a filter -./inc/mysql-manager.php:1533: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1849: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:2017: // @TODO If we can rewrite the EL sub-system to support more than one parameter, this call_user_func_array() can be avoided -./inc/mysql-manager.php:2140: // @TODO Used generic 'userid' here -./inc/mysql-manager.php:2361:// @TODO cacheFiles is not yet supported +./inc/monthly/monthly_beg.php:58: // @TODO Rewrite these if() blocks to a filter +./inc/monthly/monthly_bonus.php:57: // @TODO Rewrite these if() blocks to a filter +./inc/mysql-manager.php:1518: // @TODO Rewrite these lines to a filter +./inc/mysql-manager.php:1542: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1858: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:2026: // @TODO If the EL sub-system can support more than one parameter, this call_user_func_array() can be avoided +./inc/mysql-manager.php:2158: // @TODO Used generic 'userid' here +./inc/mysql-manager.php:2376:// @TODO cacheFiles is not yet supported ./inc/mysql-manager.php:408: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:44:// @TODO Can we cache this? ./inc/pool-functions.php:44:// @TODO "Hook" ext-html_mail into this to allow column `html_msg` ./inc/revision-functions.php:168:// @TODO This function does also set and get in 'cache_array' -./inc/template-functions.php:1048: // @TODO