From: Roland Häder Date: Wed, 11 Mar 2009 00:39:21 +0000 (+0000) Subject: tm removed X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=commitdiff_plain;h=f42bf974e65e115c7f5d3af9fe3c4b6407c617b9 tm removed --- diff --git a/docs/TODOs.txt b/docs/TODOs.txt new file mode 100644 index 0000000..6e63d6a --- /dev/null +++ b/docs/TODOs.txt @@ -0,0 +1,150 @@ +### WARNING: THIS FILE IS AUTO-GENERATED BY ./todo-builder.sh ### +### DO NOT EDIT THIS FILE. ### +./application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php:54: * @todo Maybe we need to do something later here +./application/admin/main/actions/web/class_WebAdminLoginWelcomeAction.php:66: * @todo 0% done +./application/admin/main/commands/web/class_WebAdminUserLoginCommand.php:101: * @todo Add more filters +./application/admin/main/login/class_AdminUserLogin.php:67: * @todo We need to add something here which will make more than one +./application/admin/main/login/class_AdminUserLogin.php:68: * @todo guest logins, users who are online but based on the same +./application/admin/main/login/class_AdminUserLogin.php:69: * @todo user account. +./application/selector/class_ApplicationSelector.php:256: * @todo Finish handling all applications here +./application/ship-simu/main/actions/class_BaseShipSimuAction.php:42: * @todo 0% done +./application/ship-simu/main/actions/class_BaseShipSimuAction.php:54: * @todo Add some filters here +./application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php:54: * @todo Maybe we need to do something later here +./application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php:54: * @todo Maybe we need to do something later here */ +./application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php:58: * @todo Maybe add fetching company list of current user here? +./application/ship-simu/main/actions/web/class_WebShipSimuLoginCompanyAction.php:73: * @todo Add some more filters here +./application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php:73: * @todo Add some filters here +./application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentTrainingAction.php:73: * @todo Add some more filters here +./application/ship-simu/main/actions/web/class_WebShipSimuLoginLogoutAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginProfileAction.php:73: * @todo Add some filters here +./application/ship-simu/main/actions/web/class_WebShipSimuLoginRefillAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php:58: * @todo 0% done +./application/ship-simu/main/actions/web/class_WebShipSimuLoginWelcomeAction.php:73: * @todo Add some filters here +./application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php:101: * @todo Add more filters +./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:121: * @todo Add some more pre/post filters to the controller +./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:86: * @todo Add functionality here +./application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php:94: * @todo Add some more pre/post filters to the controller +./application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php:101: * @todo Add more filters +./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php:59: * @todo 0% done +./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php:71: * @todo Maybe we need some filters here? +./application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php:59: * @todo 0% done +./application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php:71: * @todo Maybe we need some filters here? +./application/ship-simu/main/companies/class_ShippingCompany.php:137: * @todo Check if user is company founder +./application/ship-simu/main/companies/class_ShippingCompany.php:160: * @todo Check if user is company owner +./application/ship-simu/main/companies/class_ShippingCompany.php:209: * @todo Maybe we don't need these big lists anymore?! So we can deprecate/remove it +./application/ship-simu/main/companies/class_ShippingCompany.php:634: * @todo Maybe do something more here... +./application/ship-simu/main/companies/class_ShippingCompany.php:84: * @todo Add functionality if user participates in a company +./application/ship-simu/main/controller/web/class_WebGovernmentFailedController.php:40: * @todo Add some filters to this controller +./application/ship-simu/main/filter/book/refill/class_RefillRequestCurrencyTestBookFilter.php:57: * @todo Add code being executed in this filter +./application/ship-simu/main/filter/class_BaseShipSimuFilter.php:42: * @todo Add something to do on every filter +./application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysStartupHelpFilter.php:54: * @todo 0% done +./application/ship-simu/main/filter/government/class_ShipSimuGovernmentPaysTrainingFilter.php:54: * @todo 0% done +./application/ship-simu/main/filter/validator/class_RefillRequestValidatorFilter.php:54: * @todo Maybe we need to added some more generic tests on the request here? +./application/ship-simu/main/filter/verifier/class_BirthdayVerifierFilter.php:54: * @todo 0% done +./application/ship-simu/main/government/class_SimplifiedGovernment.php:10: * @todo Find an interface for governments +./application/ship-simu/main/login/class_ShipSimuUserLogin.php:67: * @todo We need to add something here which will make more than one +./application/ship-simu/main/login/class_ShipSimuUserLogin.php:68: * @todo guest logins, users who are online but based on the same +./application/ship-simu/main/login/class_ShipSimuUserLogin.php:69: * @todo user account. +./application/ship-simu/main/registration/class_ShipSimuRegistration.php:104: * @todo Maybe add more things to perform +./application/ship-simu/main/registration/class_ShipSimuRegistration.php:116: * @todo Maybe add more things to perform +./application/ship-simu/main/registration/class_ShipSimuRegistration.php:130: * @todo Maybe add more things to perform +./application/ship-simu/main/user/class_ShipSimuBaseUser.php:158: * @todo Need to implement MoneyBank::ifBankLendsMoreMoney() +./application/ship-simu/main/user/class_ShipSimuBaseUser.php:194: * @todo Need to check the bank if they can lend more money +./application/ship-simu/main/user/extended/class_ShipSimuMember.php:98: * @todo Add more ways of creating user instances +./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:108: * @todo Find an interface suitable for all types of companies +./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:118: * @todo Find an interface suitable for all types of companies +./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:49: * @todo Find an interface which is suitable for all companies +./inc/classes/exceptions/database/wrapper/class_WrapperUserNameNotFoundException.php:10: * @todo This class is no longer used +./inc/classes/exceptions/io/class_FileNotFoundException.php:10: * @todo Rename this class to FileIoException +./inc/classes/exceptions/main/class_ClassNotFoundException.php:10: * @todo Rename this class to NoClassException +./inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php:10: * @todo Rename this class to NoFoundEntryException +./inc/classes/exceptions/main/class_ExceptionNotFoundException.php:10: * @todo Is this exception still needed??? +./inc/classes/exceptions/main/class_GetterNotFoundException.php:10: * @todo This class is no longer needed! +./inc/classes/exceptions/main/class_NoArrayCreatedException.php:10: * @todo This class is no longer needed +./inc/classes/exceptions/main/class_NoArrayException.php:10: * @todo Is this exception still needed? +./inc/classes/exceptions/template/class_ViewHelperNotFoundException.php:10: * @todo Rename this class to NoViewHelperException +./inc/classes/main/class_BaseFrameworkSystem.php:216: * @todo This is old code. Do we still need this old lost code? +./inc/classes/main/class_BaseFrameworkSystem.php:318: * @todo SearchableResult and UpdateableResult shall have a super interface to use here +./inc/classes/main/commands/web/class_WebLoginAreaCommand.php:64: * @todo Add some stuff here: Some personal data, app/game related data +./inc/classes/main/controller/login/class_WebLoginAreaController.php:40: * @todo Add some morer filters to this controller +./inc/classes/main/controller/web/class_WebConfirmController.php:40: * @todo Add some filters to this controller +./inc/classes/main/controller/web/class_WebDefaultController.php:10: * @todo This controller shall still provide some headlines for sidebars +./inc/classes/main/controller/web/class_WebLoginController.php:41: * @todo Add some filters to this controller +./inc/classes/main/controller/web/class_WebLogoutController.php:10: * @todo This controller shall still provide some headlines for sidebars +./inc/classes/main/controller/web/class_WebLogoutDoneController.php:40: * @todo Add some filters to this controller +./inc/classes/main/controller/web/class_WebRegisterController.php:40: * @todo Add some filters to this controller +./inc/classes/main/controller/web/class_WebStatusController.php:10: * @todo This controller shall still provide some headlines for sidebars +./inc/classes/main/criteria/search/class_SearchCriteria.php:114: * @todo Find a nice casting here. (int) allows until and including 32766. +./inc/classes/main/criteria/search/class_SearchCriteria.php:94: * @todo Find a nice casting here. (int) allows until and including 32766. +./inc/classes/main/database/databases/class_LocalFileDatabase.php:347: * @todo Do some checks on the database directory and files here +./inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php:86: * @todo 0% done +./inc/classes/main/filter/change/class_EmailChangeFilter.php:54: * @todo Implement email change of the user here. HINT: Use the User class! +./inc/classes/main/filter/change/class_PasswordChangeFilter.php:55: * @todo Finished updating user password hash here. HINT: Use the User class again. +./inc/classes/main/filter/news/class_NewsProcessFilter.php:55: * @todo Unfinished stub, add functionality here +./inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php:97: * @todo 0% done +./inc/classes/main/filter/update/class_UserUpdateFilter.php:55: * @todo Add more user updates here +./inc/classes/main/filter/verifier/class_AccountPasswordVerifierFilter.php:56: * @todo Rewrite handling of different password fields +./inc/classes/main/helper/class_BaseHelper.php:175: * @todo Rewrite this method using a helper class for filtering data +./inc/classes/main/helper/web/class_BaseWebHelper.php:151: * @todo Implement check if rules have been changed +./inc/classes/main/helper/web/forms/class_WebFormHelper.php:102: * @todo Add some unique PIN here to bypass problems with some browser and/or extensions +./inc/classes/main/helper/web/forms/class_WebFormHelper.php:621: * @todo Add checking if sub option is already added +./inc/classes/main/helper/web/forms/class_WebFormHelper.php:649: * @todo Add checking if sub option is already added +./inc/classes/main/helper/web/links/class_WebLinkHelper.php:137: * @todo Completely unimplemented +./inc/classes/main/images/class_BaseImage.php:160: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:170: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:180: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:190: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:200: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:219: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:238: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:249: * @todo Find something usefull for this method. +./inc/classes/main/images/class_BaseImage.php:259: * @todo Find something usefull for this method. +./inc/classes/main/mailer/debug/class_DebugMailer.php:124: * @todo 0% done +./inc/classes/main/points/class_UserPoints.php:107: // @TODO Load points here +./inc/classes/main/points/class_UserPoints.php:85: * @todo Finish loading part of points +./inc/classes/main/response/http/class_HttpResponse.php:77: * @todo Encryption of cookie data not yet supported. +./inc/classes/main/response/http/class_HttpResponse.php:78: * @todo Why are these parameters conflicting? +./inc/classes/main/response/http/class_HttpResponse.php:79: * @todo If the return statement is removed and setcookie() commented out, +./inc/classes/main/response/http/class_HttpResponse.php:80: * @todo this will send only one cookie out, the first one. +./inc/classes/main/response/image/class_ImageResponse.php:93: * @todo Encryption of cookie data not yet supported. +./inc/classes/main/response/image/class_ImageResponse.php:94: * @todo Why are these parameters conflicting? +./inc/classes/main/response/image/class_ImageResponse.php:95: * @todo If the return statement is removed and setcookie() commented out, +./inc/classes/main/response/image/class_ImageResponse.php:96: * @todo this will send only one cookie out, the first one. +./inc/classes/main/result/class_DatabaseResult.php:230: * @todo 0% done +./inc/classes/main/result/class_DatabaseResult.php:383:4 * @todo Find a caching way without modifying the result array +./inc/classes/main/rng/class_RandomNumberGenerator.php:154: * @todo I had a better random number generator here but now it is somewhere lost :( +./inc/classes/main/rng/class_RandomNumberGenerator.php:87: * @todo Add site key for stronger salt! +./inc/classes/main/template/class_BaseTemplateEngine.php:1274: // @TODO We need to find a fallback solution here +./inc/classes/main/template/class_BaseTemplateEngine.php:769: * @todo Unfinished work or don't die here. +./inc/classes/main/template/class_BaseTemplateEngine.php:940: * @todo Make this code some nicer... +./inc/classes/main/template/image/class_ImageTemplateEngine.php:205: * @todo Find something usefull with this! +./inc/classes/main/template/image/class_ImageTemplateEngine.php:225: * @todo Add cache creation here +./inc/classes/main/template/mail/class_MailTemplateEngine.php:224: * @todo Add cache creation here +./inc/classes/main/template/mail/class_MailTemplateEngine.php:234: * @todo Should we call back the mailer class here? +./inc/classes/main/template/mail/class_MailTemplateEngine.php:315: * @todo 0% done +./inc/classes/main/user/class_BaseUser.php:310: * @todo Try to make this method more generic so we can move it in BaseFrameworkSystem +./inc/classes/main/user/class_BaseUser.php:84: * @todo Find a way of casting here. "(int)" might destroy the user id > 32766 +./inc/classes/main/user/member/class_Member.php:84: * @todo Add more ways over creating user classes +./inc/loader/class_ClassLoader.php:239: /* @todo: Do not die here. */ +### ### DEPRECATION FOLLOWS: ### ### +./application/ship-simu/main/personell/class_SimulatorPersonell.php:121: * @deprecated +./application/ship-simu/main/personell/class_SimulatorPersonell.php:323: * @deprecated +./inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php:10: * @deprecated +./inc/classes/exceptions/container/class_ContainerItemIsNullException.php:10: * @deprecated +./inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php:10: * @deprecated +./inc/classes/exceptions/database/wrapper/class_WrapperUserNameNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/io/class_FileNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/main/class_ClassNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/main/class_ExceptionNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/main/class_GetterNotFoundException.php:11: * @deprecated +./inc/classes/exceptions/main/class_MissingMethodException.php:10: * @deprecated +./inc/classes/exceptions/main/class_NoArrayCreatedException.php:11: * @deprecated +./inc/classes/exceptions/main/class_NoObjectException.php:10: * @deprecated +./inc/classes/exceptions/template/class_ViewHelperNotFoundException.php:11: * @deprecated +./inc/classes/main/class_BaseFrameworkSystem.php:610: * @deprecated +./inc/classes/main/class_BaseFrameworkSystem.php:621: * @deprecated +./inc/classes/main/template/class_BaseTemplateEngine.php:1088: * @deprecated diff --git a/index.php b/index.php index a6846bf..62f3069 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ define('DEVELOPER', true); //xdebug_start_trace(); /** * The main class with the entry point to the whole application. This class - * "emulates" Java(tm)'s entry point call. Additionally it covers local + * "emulates" Java's entry point call. Additionally it covers local * variables from outside access to prevent possible attacks on uninitialized * local variables. * @@ -160,14 +160,11 @@ class ApplicationEntryPoint { * The application's main entry point. This class isolates some local * variables which shall not become visible to outside because of security * concerns. We are doing this here to "emulate" the well-known entry - * point in Java(tm). + * point in Java. * * @return void */ public static function main () { - // Some non-global common arrays we need... - global $_SERVER; - // Load config file require(dirname(__FILE__) . '/inc/config.php'); diff --git a/todo-builder.sh b/todo-builder.sh new file mode 100755 index 0000000..c1941f5 --- /dev/null +++ b/todo-builder.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# This script helps building the file docs/TODOs.txt and should be executed by +# developers with SVN write-access + +if ! test -e "index.php"; then + echo "$0: Please execute this script from root directory." + exit 1 +fi + +echo "$0: Generating TODOs.txt..." +echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > docs/TODOs.txt +echo "### DO NOT EDIT THIS FILE. ###" >> docs/TODOs.txt +find -type f -name "*.php" -exec grep -Hin "@TODO" {} \; | sort >> docs/TODOs.txt +echo "### ### DEPRECATION FOLLOWS: ### ###" >> docs/TODOs.txt +find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | sort >> docs/TODOs.txt +echo "$0: Done." +exit 0