Contract-related XMLs added, TODOs.txt updated
[shipsimu.git] / docs / TODOs.txt
index f3458e5a342acf35b48f55fa9e928b40b17bfcf0..9f888e7e4375ae8fab67ad2768de30b23713be86 100644 (file)
 ./application/ship-simu/main/actions/web/class_WebShipSimuLoginStatusProblemAction.php:73:      * @todo        Add some filters here
 ./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/bank/class_BaseBank.php:10: * @todo               Find an instance for all banks and move the abstract functions there
 ./application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php:97:    * @todo        Add more filters
-./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:117:      * @todo        Add some more pre/post filters to the controller
-./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:82:       * @todo        Add functionality here
+./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:120:      * @todo        Add some more pre/post filters to the controller
+./application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php:85:       * @todo        Add functionality here
 ./application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php:90:      * @todo        Add some more pre/post filters to the controller
 ./application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php:97:     * @todo        Add more filters
-./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php:132:   * @todo        Maybe we need some filters here?
+./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php:138:   * @todo        Maybe we need some filters here?
 ./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedStartupCommand.php:59:    * @todo        0% done
-./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php:132:  * @todo        Maybe we need some filters here?
+./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php:138:  * @todo        Maybe we need some filters here?
 ./application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php:59:   * @todo        0% done
 ./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/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php:75:  * @todo        Maybe we need some filters here?
 ./application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php:57:         * @todo        0% done
-./application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php:69:         * @todo        Maybe we need some filters here?
+./application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentTrainingCommand.php:73:         * @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/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/validator/class_ShipSimuUserStatusGuestFilter.php:54:       * @todo        Maybe we need to added some more generic tests on the request here?
+./application/ship-simu/main/government/class_SimplifiedGovernment.php:101:     * @todo        Needs do check help limit
 ./application/ship-simu/main/government/class_SimplifiedGovernment.php:10: * @todo             Find an interface for governments
+./application/ship-simu/main/government/class_SimplifiedGovernment.php:62:      * @todo        Needs do check training limit
 ./application/ship-simu/main/login/class_ShipSimuUserLogin.php:63:      * @todo        We need to add something here which will make more than one
 ./application/ship-simu/main/login/class_ShipSimuUserLogin.php:64:      * @todo        guest logins, users who are online but based on the same
 ./application/ship-simu/main/login/class_ShipSimuUserLogin.php:65:      * @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:117:                      // @TODO We should log this exception later
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:156:                      // @TODO We should log this exception later
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:182:       * @todo        Need to implement MoneyBank::ifBankLendsMoreMoney()
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:196:                      // @TODO We should log this exception later
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:226:       * @todo        Need to check the bank if they can lend more money
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:240:                      // @TODO We should log this exception later
-./application/ship-simu/main/user/class_ShipSimuBaseUser.php:81:                       // @TODO We should log this exception later
+./application/ship-simu/main/registration/class_ShipSimuRegistration.php:107:   * @todo        Maybe add more things to perform
+./application/ship-simu/main/registration/class_ShipSimuRegistration.php:119:   * @todo        Maybe add more things to perform
+./application/ship-simu/main/registration/class_ShipSimuRegistration.php:133:   * @todo        Maybe add more things to perform
+./application/ship-simu/main/user/class_ShipSimuBaseUser.php:141:                      // @TODO We should log this exception later
+./application/ship-simu/main/user/class_ShipSimuBaseUser.php:202:       * @todo        Need to implement MoneyBank::ifBankLendsMoreMoney()
+./application/ship-simu/main/user/class_ShipSimuBaseUser.php:224:       * @todo        Need to check the bank if they can lend more money
+./application/ship-simu/main/user/class_ShipSimuBaseUser.php:50:                       // @TODO We should log this exception later
+./application/ship-simu/main/user/class_ShipSimuBaseUser.php:80:                       // @TODO We should log this exception later
 ./application/ship-simu/main/user/extended/class_ShipSimuMember.php:177:                       // @TODO We should log this later
 ./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
+./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:111:      * @todo        Find an interface suitable for all types of companies
+./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:121:      * @todo        Find an interface suitable for all types of companies
+./application/ship-simu/main/wrapper/class_CompanyDatabaseWrapper.php:52:       * @todo        Find an interface which is suitable for all companies
 ./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_MissingMethodException.php:13: * @todo             Try to rewrite user/guest login classes and mark this exception as deprecated
 ./inc/classes/interfaces/class_FrameworkInterface.php:11: * @todo              Find a better name for this interface
-./inc/classes/main/class_BaseFrameworkSystem.php:1068:  * @todo        Write a logging mechanism for productive mode
-./inc/classes/main/class_BaseFrameworkSystem.php:1082:                 // @TODO Finish this part!
-./inc/classes/main/class_BaseFrameworkSystem.php:109:  // @todo Try to clean these constants up
-./inc/classes/main/class_BaseFrameworkSystem.php:190:   * @todo        This is old code. Do we still need this old lost code?
-./inc/classes/main/class_BaseFrameworkSystem.php:258:   * @todo        SearchableResult and UpdateableResult shall have a super interface to use here
+./inc/classes/main/class_BaseFrameworkSystem.php:1078:  * @todo        Write a logging mechanism for productive mode
+./inc/classes/main/class_BaseFrameworkSystem.php:1092:                 // @TODO Finish this part!
+./inc/classes/main/class_BaseFrameworkSystem.php:119:  // @todo Try to clean these constants up
+./inc/classes/main/class_BaseFrameworkSystem.php:200:   * @todo        This is old code. Do we still need this old lost code?
+./inc/classes/main/class_BaseFrameworkSystem.php:268:   * @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/commands/web/class_WebProblemCommand.php:58:         * @todo        0% done
 ./inc/classes/main/commands/web/class_WebStatusCommand.php:58:  * @todo        0% done
 ./inc/classes/main/console/class_ConsoleTools.php:41:   * @todo        We should connect this to a caching class to cache DNS requests
 ./inc/classes/main/console/class_ConsoleTools.php:54:          // @TODO Here should the cacher be implemented
@@ -96,6 +98,7 @@
 ./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_WebProblemController.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/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:57:  * @todo        Rewrite handling of different password fields
-./inc/classes/main/helper/class_BaseHelper.php:176:     * @todo        Rewrite this method using a helper class for filtering data
-./inc/classes/main/helper/class_BaseHelper.php:205:                    // @TODO Try to log it here
-./inc/classes/main/helper/web/class_BaseWebHelper.php:151:      * @todo        Implement check if rules have been changed
+./inc/classes/main/helper/class_BaseHelper.php:173:     * @todo        Rewrite this method using a helper class for filtering data
+./inc/classes/main/helper/class_BaseHelper.php:202:                    // @TODO Try to log it here
 ./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/forms/class_WebFormHelper.php:683:                       // @TODO We need to log this later
+./inc/classes/main/helper/web/forms/class_WebFormHelper.php:852:        * @todo        Implement check if rules have been changed
 ./inc/classes/main/helper/web/links/class_WebLinkHelper.php:184:        * @todo        Completely unimplemented
 ./inc/classes/main/images/class_BaseImage.php:156:      * @todo        Find something usefull for this method.
 ./inc/classes/main/images/class_BaseImage.php:166:      * @todo        Find something usefull for this method.
 ./inc/classes/main/images/class_BaseImage.php:255:      * @todo        Find something usefull for this method.
 ./inc/classes/main/io/class_FileIoStream.php:74:        * @todo        This method needs heavy rewrite
 ./inc/classes/main/mailer/debug/class_DebugMailer.php:124:      * @todo        0% done
+./inc/classes/main/menu/class_BaseMenu.php:59:                 // @TODO Should we log it here? We should, because it will be silently ignored.
 ./inc/classes/main/output/class_ConsoleOutput.php:56:          // @TODO Need to rewrite this to $requestInstance->addHeader()
+./inc/classes/main/parser/xml/class_XmlParser.php:69:                  // @TODO We need to find a fallback solution here
 ./inc/classes/main/points/class_UserPoints.php:100:     * @todo        Finish loading part of points
 ./inc/classes/main/request/console/class_ConsoleRequest.php:115:               // @TODO There are no cookies on console
 ./inc/classes/main/request/console/class_ConsoleRequest.php:55:         * @todo        Needs to be implemented
-./inc/classes/main/resolver/controller/class_BaseControllerResolver.php:137:                   // @TODO Maybe we need to log this?
 ./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/response/image/class_ImageResponse.php:88:   * @todo        Encryption of cookie data not yet supported.
+./inc/classes/main/response/image/class_ImageResponse.php:89:   * @todo        Why are these parameters conflicting?
+./inc/classes/main/response/image/class_ImageResponse.php:90:   * @todo        If the return statement is removed and setcookie() commented out,
+./inc/classes/main/response/image/class_ImageResponse.php:91:   * @todo        this will send only one cookie out, the first one.
 ./inc/classes/main/result/class_DatabaseResult.php:226:         * @todo        0% done
 ./inc/classes/main/result/class_DatabaseResult.php:379:4        * @todo        Find a caching way without modifying the result array
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:150:     * @todo        I had a better random number generator here but now it is somewhere lost :(
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:83:      * @todo        Add site key for stronger salt!
-./inc/classes/main/template/class_BaseTemplateEngine.php:1303:                 // @TODO We need to find a fallback solution here
 ./inc/classes/main/template/class_BaseTemplateEngine.php:810:   * @todo        Unfinished work or don't die here.
 ./inc/classes/main/template/class_BaseTemplateEngine.php:827:                          // @TODO Non-string found so we need some deeper analysis...
 ./inc/classes/main/template/class_BaseTemplateEngine.php:904:                  // @TODO Old behaviour, will become obsolete!
 ./inc/classes/main/template/class_BaseTemplateEngine.php:907:                  // @TODO Yet another old way
-./inc/classes/main/template/class_BaseTemplateEngine.php:981:   * @todo        Make this code some nicer...
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:229:    * @todo        Find something usefull with this!
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:249:    * @todo        Add cache creation here
+./inc/classes/main/template/class_BaseTemplateEngine.php:983:   * @todo        Make this code some nicer...
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:224:    * @todo        Find something usefull with this!
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:244:    * @todo        Add cache creation here
 ./inc/classes/main/template/mail/class_MailTemplateEngine.php:234:      * @todo        Add cache creation here
 ./inc/classes/main/template/mail/class_MailTemplateEngine.php:244:      * @todo        Should we call back the mailer class here?
 ./inc/classes/main/template/mail/class_MailTemplateEngine.php:325:      * @todo        0% done
-./inc/classes/main/user/class_BaseUser.php:305:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:257:      * @todo        Find something useful with this!
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:302:      * @todo        Add cache creation here
+./inc/classes/main/user/class_BaseUser.php:308:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
 ./inc/classes/main/user/class_BaseUser.php:80:  * @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/classes/middleware/debug/class_DebugMiddleware.php:112:                  // @TODO Initialization phase
 ./inc/includes.php:36:// @TODO Find a nicer OOP-ed way for this
 ./inc/language.php:31:// @TODO Rewrite this
 ./inc/loader/class_ClassLoader.php:262:                        /* @todo: Do not die here. */
+./application/ship-simu/templates/de/game/contract/base_contract.xml:48:               <!-- @TODO We need to make this more XML than free text. //-->
+./application/ship-simu/templates/de/game/contract/signer_types.xml:28:        <!-- @TODO Add more types, e.g. company //-->
 ### ### DEPRECATION FOLLOWS: ### ###
 ./application/ship-simu/main/personell/class_SimulatorPersonell.php:118:        * @deprecated
 ./application/ship-simu/main/personell/class_SimulatorPersonell.php:319:        * @deprecated
 ./inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php:10: * @deprecated
 ./inc/classes/exceptions/main/class_ClassNotFoundException.php:11: * @deprecated
 ./inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php:11: * @deprecated
-./inc/classes/main/template/class_BaseTemplateEngine.php:1131:  * @deprecated
+./inc/classes/main/template/class_BaseTemplateEngine.php:1133:  * @deprecated
+./inc/classes/main/template/class_BaseTemplateEngine.php:953:   * @deprecated