shipsimu.git
15 years agoNo longer thrown exceptions deprecated (still some there), naming-convention todo...
Roland Häder [Sun, 16 Nov 2008 01:22:42 +0000 (01:22 +0000)]
No longer thrown exceptions deprecated (still some there), naming-convention todo added to doc tags

15 years agoTypos fixed and special command resolver are now possible
Roland Häder [Sun, 16 Nov 2008 01:13:24 +0000 (01:13 +0000)]
Typos fixed and special command resolver are now possible
- Two typos fixed: In terms like "if the" and "in the" >the< has been removed
- If a special "page" depending web command resolver is found it will be used
- Otherwise the default command resolver WebCommandResolver will be used as fall-back
- Some minor fixes
- TODO extended with a good "naming convention idea"

15 years agoEOF->EOC in code templates replaced, training form extended
Roland Häder [Sat, 15 Nov 2008 22:06:23 +0000 (22:06 +0000)]
EOF->EOC in code templates replaced, training form extended

15 years agoAll helper are now configurable
Roland Häder [Sat, 15 Nov 2008 21:26:22 +0000 (21:26 +0000)]
All helper are now configurable

15 years agoMore improvements and fixes:
Roland Häder [Sat, 15 Nov 2008 21:08:05 +0000 (21:08 +0000)]
More improvements and fixes:
- CAPTCHA added to profile page
- Action for profile page added
- User status re-fixed...
- Form for training payed by goverment added (unfinished)
- Web link/form/base helper fixed/improved

15 years ago- XHTML errors/warnings fixed in some pages
Roland Häder [Sat, 15 Nov 2008 18:42:03 +0000 (18:42 +0000)]
- XHTML errors/warnings fixed in some pages
- Auto-close/open HTML comments added for debugging
- Form-stub for training payed by goverment added
- Some rewrites (do we want "=== false" or "!== true" in boolean expressions?)

15 years agoDoc tags fixed
Roland Häder [Fri, 14 Nov 2008 23:00:11 +0000 (23:00 +0000)]
Doc tags fixed

15 years agoA performed action now always requires an action class
Roland Häder [Fri, 14 Nov 2008 21:39:09 +0000 (21:39 +0000)]
A performed action now always requires an action class

15 years agoSome minor improvements:
Roland Häder [Fri, 14 Nov 2008 01:46:20 +0000 (01:46 +0000)]
Some minor improvements:
- Fixed added closing div tag
- error_log() removed (was added for debugging)

15 years agoSetting index is now much nicer (more abstract!)
Roland Häder [Fri, 14 Nov 2008 01:32:37 +0000 (01:32 +0000)]
Setting index is now much nicer (more abstract!)

15 years agoAgain, a commit! ;-)
Roland Häder [Thu, 13 Nov 2008 20:32:23 +0000 (20:32 +0000)]
Again, a commit! ;-)
- Maximum count of startup helps the goverment is willing to pay added
- User id partly added (stub message)
- Some other minor rewrites

15 years ago- Akismet client class added
Roland Häder [Thu, 13 Nov 2008 17:26:06 +0000 (17:26 +0000)]
- Akismet client class added
- Product installation mode (productive/config are supported) added

15 years agoIdea of delayed indexing added, source link included
Roland Häder [Sun, 2 Nov 2008 20:43:54 +0000 (20:43 +0000)]
Idea of delayed indexing added, source link included

15 years agoCode cleanup in application selector. TODO: Application 'admin' needs to be excluded...
Roland Häder [Sat, 1 Nov 2008 20:29:25 +0000 (20:29 +0000)]
Code cleanup in application selector. TODO: Application 'admin' needs to be excluded from app list

15 years agoSome comments updated. Yeah, yet another useless commit. I need some ideas how contin...
Roland Häder [Sat, 1 Nov 2008 19:43:41 +0000 (19:43 +0000)]
Some comments updated. Yeah, yet another useless commit. I need some ideas how continue with WebAdminLoginWelcomeAction::addExtraFilters() here. ICQ: 8809296

15 years agoBase idea for handling multiple applications in admin area introduced
Roland Häder [Mon, 27 Oct 2008 18:08:54 +0000 (18:08 +0000)]
Base idea for handling multiple applications in admin area introduced

15 years agoAssertion added to crypto helper (CAPTCHA might still be broken, why?)
Roland Häder [Mon, 27 Oct 2008 07:41:36 +0000 (07:41 +0000)]
Assertion added to crypto helper (CAPTCHA might still be broken, why?)

15 years agoA lot naming conventions applied:
Roland Häder [Sun, 26 Oct 2008 16:14:52 +0000 (16:14 +0000)]
A lot naming conventions applied:
- All action templates and classes now contains the application name
- This is needed for the admin area where we need to add special filters for
  user rights validation
- Class "BaseApplication" added which registers the ApplicationHelper class
  for later usage.
- Some minor fixes

15 years agoAnother wrong name fixed
Roland Häder [Mon, 13 Oct 2008 22:47:54 +0000 (22:47 +0000)]
Another wrong name fixed

15 years agoFix for wrong class name (whats wrong here?)
Roland Häder [Mon, 13 Oct 2008 22:46:39 +0000 (22:46 +0000)]
Fix for wrong class name (whats wrong here?)

15 years agoFix for wrong base class
Roland Häder [Mon, 13 Oct 2008 22:45:10 +0000 (22:45 +0000)]
Fix for wrong base class

15 years agoDeprecated calls removed
Roland Häder [Mon, 13 Oct 2008 22:09:48 +0000 (22:09 +0000)]
Deprecated calls removed

15 years agoDummy admin area added, HTML code in PHP scripts rewritten to CSS classes, CSS ids...
Roland Häder [Wed, 8 Oct 2008 10:58:32 +0000 (10:58 +0000)]
Dummy admin area added, HTML code in PHP scripts rewritten to CSS classes, CSS ids fixed

15 years agoGeneric catch rewritten in explicit
Roland Häder [Sun, 5 Oct 2008 20:30:45 +0000 (20:30 +0000)]
Generic catch rewritten in explicit

15 years agoPrepared for payment database layout
Roland Häder [Sun, 5 Oct 2008 19:38:16 +0000 (19:38 +0000)]
Prepared for payment database layout

15 years agoPayment introduced, minor rewrites
Roland Häder [Sun, 5 Oct 2008 18:28:05 +0000 (18:28 +0000)]
Payment introduced, minor rewrites
- Payment system introduced (not finished)
- Refill page prepared for payment system
- Methods addCriteria() first parameter is now in ", not in '
- Minor improvements

15 years agoApplication init phase rewritten, data.php now sets app data
Roland Häder [Fri, 3 Oct 2008 01:00:31 +0000 (01:00 +0000)]
Application init phase rewritten, data.php now sets app data

15 years agoConfig entry 'php_extension' is no longer used
Roland Häder [Fri, 3 Oct 2008 00:41:57 +0000 (00:41 +0000)]
Config entry 'php_extension' is no longer used

15 years agoConfiguration class is now fully singleton
Roland Häder [Fri, 3 Oct 2008 00:34:11 +0000 (00:34 +0000)]
Configuration class is now fully singleton

15 years agoCookie path now detected by generic method
Roland Häder [Fri, 3 Oct 2008 00:30:56 +0000 (00:30 +0000)]
Cookie path now detected by generic method

15 years agoresponse=??? renamed to request=???
Roland Häder [Wed, 1 Oct 2008 21:42:56 +0000 (21:42 +0000)]
response=??? renamed to request=???

15 years agoFilter classes now ends with _filter in config entry
Roland Häder [Wed, 1 Oct 2008 21:08:01 +0000 (21:08 +0000)]
Filter classes now ends with _filter in config entry

15 years agoShoutbox stub added (will be moved out later on)
Roland Häder [Fri, 26 Sep 2008 15:35:43 +0000 (15:35 +0000)]
Shoutbox stub added (will be moved out later on)

15 years agoMore 'money' removed... ;)
Roland Häder [Fri, 19 Sep 2008 20:07:34 +0000 (20:07 +0000)]
More 'money' removed... ;)

15 years agoWord 'money' removed because you can not just even refill ingame-money
Roland Häder [Fri, 19 Sep 2008 20:04:17 +0000 (20:04 +0000)]
Word 'money' removed because you can not just even refill ingame-money

15 years agoFixes for image generation
Roland Häder [Fri, 19 Sep 2008 19:10:47 +0000 (19:10 +0000)]
Fixes for image generation

15 years agoConstants PATH and _DB_TYPE replaced
Roland Häder [Fri, 19 Sep 2008 00:27:14 +0000 (00:27 +0000)]
Constants PATH and _DB_TYPE replaced

15 years agoToDo manager added (I need it by myself!), all links and form action now dynamic
Roland Häder [Mon, 8 Sep 2008 22:13:23 +0000 (22:13 +0000)]
ToDo manager added (I need it by myself!), all links and form action now dynamic

15 years agoDeprecated methods removed/purged
Roland Häder [Wed, 27 Aug 2008 18:51:59 +0000 (18:51 +0000)]
Deprecated methods removed/purged

15 years agoLogout procedure rewritten to logout controller and command
Roland Häder [Tue, 26 Aug 2008 14:58:35 +0000 (14:58 +0000)]
Logout procedure rewritten to logout controller and command

15 years agoDouble class removed
Roland Häder [Tue, 26 Aug 2008 14:45:54 +0000 (14:45 +0000)]
Double class removed

15 years agoFiles moved into new folder
Roland Häder [Tue, 26 Aug 2008 00:38:47 +0000 (00:38 +0000)]
Files moved into new folder

15 years agoTypo fixed
Roland Häder [Tue, 26 Aug 2008 00:28:12 +0000 (00:28 +0000)]
Typo fixed

15 years agoTodo tags added to documentation
Roland Häder [Mon, 25 Aug 2008 19:17:41 +0000 (19:17 +0000)]
Todo tags added to documentation

15 years agoMissing method added to link helper, method renamed
Roland Häder [Mon, 25 Aug 2008 17:19:31 +0000 (17:19 +0000)]
Missing method added to link helper, method renamed

15 years agoMissing SERVER_NAME in non-web applications fixed
Roland Häder [Mon, 18 Aug 2008 22:56:07 +0000 (22:56 +0000)]
Missing SERVER_NAME in non-web applications fixed

15 years agoLinks in all templates reworked, Primera API (see www.primusportal.de for details...
Roland Häder [Mon, 18 Aug 2008 22:35:07 +0000 (22:35 +0000)]
Links in all templates reworked, Primera API (see primusportal.de for details) added (UNFINISHED!)

15 years agoLong line converted to seperated short lines
Roland Häder [Sun, 17 Aug 2008 11:45:22 +0000 (11:45 +0000)]
Long line converted to seperated short lines

15 years agoRefill request validator added with stubs
Roland Häder [Sun, 17 Aug 2008 01:17:58 +0000 (01:17 +0000)]
Refill request validator added with stubs

15 years agoFix for selection box
Roland Häder [Sun, 17 Aug 2008 00:44:38 +0000 (00:44 +0000)]
Fix for selection box

15 years agoCAPTCHA verifier added to refill page command
Roland Häder [Sat, 16 Aug 2008 23:13:03 +0000 (23:13 +0000)]
CAPTCHA verifier added to refill page command

15 years agoFilters added to refill form command
Roland Häder [Sat, 16 Aug 2008 20:53:31 +0000 (20:53 +0000)]
Filters added to refill form command

15 years agoMissing command added with stubs
Roland Häder [Sat, 16 Aug 2008 14:09:30 +0000 (14:09 +0000)]
Missing command added with stubs

15 years agoAmount added to refill form
Roland Häder [Sat, 16 Aug 2008 06:04:30 +0000 (06:04 +0000)]
Amount added to refill form

15 years agoSelection box added, refill page fixed
Roland Häder [Sat, 16 Aug 2008 05:43:06 +0000 (05:43 +0000)]
Selection box added, refill page fixed

15 years agoMore stubs in refill page, refill page filter basicly finished
Roland Häder [Fri, 15 Aug 2008 18:19:03 +0000 (18:19 +0000)]
More stubs in refill page, refill page filter basicly finished

15 years agoRefill page continued
Roland Häder [Fri, 15 Aug 2008 00:43:37 +0000 (00:43 +0000)]
Refill page continued

15 years agoDoc tags updated
Roland Häder [Thu, 14 Aug 2008 18:03:40 +0000 (18:03 +0000)]
Doc tags updated

15 years agono-new-line added
Roland Häder [Thu, 14 Aug 2008 16:24:16 +0000 (16:24 +0000)]
no-new-line added

15 years agoSmall improvement
Roland Häder [Thu, 14 Aug 2008 16:23:42 +0000 (16:23 +0000)]
Small improvement

15 years agoWeb link helper basicly finished
Roland Häder [Thu, 14 Aug 2008 16:21:40 +0000 (16:21 +0000)]
Web link helper basicly finished

15 years agoFinal fixes for helper sub/groups
Roland Häder [Tue, 12 Aug 2008 22:20:57 +0000 (22:20 +0000)]
Final fixes for helper sub/groups

15 years agoContent will now be added to previously opened sub/group.
Roland Häder [Tue, 12 Aug 2008 19:40:18 +0000 (19:40 +0000)]
Content will now be added to previously opened sub/group.

15 years agoScript for PHP_Depend (required) added
Roland Häder [Sun, 10 Aug 2008 21:01:10 +0000 (21:01 +0000)]
Script for PHP_Depend (required) added

15 years agoWernis API basicly (do not use!) added
Roland Häder [Fri, 8 Aug 2008 21:33:24 +0000 (21:33 +0000)]
Wernis API basicly (do not use!) added

15 years agoPartial stub message added
Roland Häder [Fri, 8 Aug 2008 20:42:51 +0000 (20:42 +0000)]
Partial stub message added

15 years agoLink base added to helper
Roland Häder [Fri, 8 Aug 2008 20:32:08 +0000 (20:32 +0000)]
Link base added to helper

15 years agoFixes for link helper
Roland Häder [Fri, 8 Aug 2008 19:44:01 +0000 (19:44 +0000)]
Fixes for link helper

15 years agoRendering of helper code improved
Roland Häder [Fri, 8 Aug 2008 19:33:30 +0000 (19:33 +0000)]
Rendering of helper code improved

15 years agogenerateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
Roland Häder [Tue, 5 Aug 2008 14:20:21 +0000 (14:20 +0000)]
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link helper improved

15 years agoTypo fixed
Roland Häder [Tue, 1 Jul 2008 20:13:58 +0000 (20:13 +0000)]
Typo fixed

15 years agoMore game classes added:
Roland Häder [Tue, 1 Jul 2008 20:08:45 +0000 (20:08 +0000)]
More game classes added:
- Class for simplified goverment added (all-in-one goverment!)
- Special classes for Ship-Simu added with game-specific methods
- Template for company page rewritten
- Method moved from FrameworkInterface to Updateable
- Database wrapper classes added for user points
- Generic class UserPoints added

15 years agoDeprecated method addUpdateData() removed
Roland Häder [Tue, 1 Jul 2008 13:18:54 +0000 (13:18 +0000)]
Deprecated method addUpdateData() removed

15 years agoMinor code improvements:
Roland Häder [Tue, 1 Jul 2008 13:07:54 +0000 (13:07 +0000)]
Minor code improvements:
- A lot else statements rewritten
- Typos fixed

15 years agoNow we really have ship-simu specific user/member classes
Roland Häder [Tue, 1 Jul 2008 11:30:16 +0000 (11:30 +0000)]
Now we really have ship-simu specific user/member classes

15 years agoShip-Simu now has its own member/guest implementations
Roland Häder [Tue, 1 Jul 2008 11:08:21 +0000 (11:08 +0000)]
Ship-Simu now has its own member/guest implementations

15 years agoUser class renamed to Member and it's interface
Roland Häder [Tue, 1 Jul 2008 08:33:53 +0000 (08:33 +0000)]
User class renamed to Member and it's interface

15 years agoNameless blogging software added (similar structure to ship-simu, unfinished as well)
Roland Häder [Tue, 1 Jul 2008 00:24:17 +0000 (00:24 +0000)]
Nameless blogging software added (similar structure to ship-simu, unfinished as well)

15 years agoGuest login fixed
Roland Häder [Mon, 30 Jun 2008 21:54:12 +0000 (21:54 +0000)]
Guest login fixed

15 years agoLogin area - company page now with more stubs
Roland Häder [Mon, 30 Jun 2008 20:24:58 +0000 (20:24 +0000)]
Login area - company page now with more stubs

15 years agoEmail address confirmation now working (not in registration):
Roland Häder [Mon, 30 Jun 2008 13:56:24 +0000 (13:56 +0000)]
Email address confirmation now working (not in registration):
- Confirmation link extended with username to make looking the user account
  up much more easier
- Confirmation of email address now working but still no email is send in
  registration procedure
- Current user's status now displayed in login area
- Some minor code rewrites

15 years agoUnderline replaced with span tag
Roland Häder [Mon, 30 Jun 2008 00:04:57 +0000 (00:04 +0000)]
Underline replaced with span tag

15 years agoDebug mailer finished and debug messages removed:
Roland Häder [Sun, 29 Jun 2008 23:38:35 +0000 (23:38 +0000)]
Debug mailer finished and debug messages removed:
- The class DebugMailer is now 99% ready. It outputs the sent mail but has not
  been tested with multiple mails
- Confirmation mail is now basicly done
- A lot debug messages removed/rewritten
- Two generic methods added to interface FrameworkInterface
- XML headers added to XML templates

15 years agoEven more conflicting calls fixed
Roland Häder [Sun, 29 Jun 2008 10:21:19 +0000 (10:21 +0000)]
Even more conflicting calls fixed

15 years agoConflicting getField() in BaseHelper vs. BaseFrameworkSystem fixed
Roland Häder [Sun, 29 Jun 2008 10:11:45 +0000 (10:11 +0000)]
Conflicting getField() in BaseHelper vs. BaseFrameworkSystem fixed

15 years agoGeneric methods created from non-generic implementation:
Roland Häder [Sat, 28 Jun 2008 21:19:17 +0000 (21:19 +0000)]
Generic methods created from non-generic implementation:
- Method updateDatabaseField() is now generic and throws an exception if the
  class ($this) does not implement interface "Updateable"
- New exception DatabaseUpdateSupportException added for above method
- Method getField() is also generic now

15 years agoConfirmation hash now assigned with template engine
Roland Häder [Sat, 28 Jun 2008 20:58:43 +0000 (20:58 +0000)]
Confirmation hash now assigned with template engine

15 years agoUser class / resending of confirm link updated:
Roland Häder [Sat, 28 Jun 2008 20:49:04 +0000 (20:49 +0000)]
User class / resending of confirm link updated:
- If the provided email address for resending confirmation link is missing the
  filter will now redirect to a configurable URL
- New exception InvalidInterfaceException which will be thrown if a required
  interface is not implemented
- Resend link does now create a new hash and updates the user table
- Method BaseUser::ifEmailAddressExists() does now fix empty username attribute
- New method User::updateDatabaseField() added which updates database table
  columns with specified values
- Minor fixes applied

15 years agoComment header cosmetics applied
Roland Häder [Sat, 28 Jun 2008 19:54:34 +0000 (19:54 +0000)]
Comment header cosmetics applied

15 years agoMissing email template added, updated config and other updated scripts now included
Roland Häder [Sat, 28 Jun 2008 19:31:00 +0000 (19:31 +0000)]
Missing email template added, updated config and other updated scripts now included

15 years agoDebugMailer classes extended, again some minor fixes:
Roland Häder [Sat, 28 Jun 2008 19:28:09 +0000 (19:28 +0000)]
DebugMailer classes extended, again some minor fixes:
- New methods added to interface DeliverableMail
- Minor fixes to MemoryCache (really minor)
- Base mailer now holds some generic methods which are specified in above
  interface
- DebugMailer class with stubs
- Mail templates shall now be in own XML format

15 years agoLogin area extended and misc things changed:
Roland Häder [Sat, 28 Jun 2008 17:33:19 +0000 (17:33 +0000)]
Login area extended and misc things changed:
- Ship-Simu's action classes moved to sub directory "ship-simu"
- Action for listing shipping companies added which redirects if you have not
  confirmed your email address.
- Template for above action created
- In responses, variable $templateEngine rewritten to $templateInstance and
  removed due to we already have such getter/setter in BaseFrameworkSystem
- Several smaller improvements

15 years agoAll actions now have a prefix 'action_'
Roland Häder [Sat, 28 Jun 2008 16:41:58 +0000 (16:41 +0000)]
All actions now have a prefix 'action_'

15 years agoLink to creating new company relinked to generic company page
Roland Häder [Sat, 28 Jun 2008 15:49:55 +0000 (15:49 +0000)]
Link to creating new company relinked to generic company page

15 years agoCompany stubs now finished, output of 'company_status' added
Roland Häder [Sat, 28 Jun 2008 15:46:07 +0000 (15:46 +0000)]
Company stubs now finished, output of 'company_status' added

15 years agoMore stubs added, code "made" generic:
Roland Häder [Sat, 28 Jun 2008 00:51:37 +0000 (00:51 +0000)]
More stubs added, code "made" generic:
- Database results are now supported by all objects by moving setter/getter to
  the super class BaseFrameworkSystem
- Login area with more stubs (still working on company data output)
- Obsolete $content[some_var] replaced by {?some_var?} in header templates
- app_die() slightly improved

15 years agoMore files found which have been updated
Roland Häder [Fri, 27 Jun 2008 23:00:00 +0000 (23:00 +0000)]
More files found which have been updated

15 years agoFollowing things are changed: (in order of class names)
Roland Häder [Fri, 27 Jun 2008 22:58:07 +0000 (22:58 +0000)]
Following things are changed: (in order of class names)
- Exception "NoShippingCompanyOwnedException" added which will be thrown when
  the current user does not own or participate in any shipping company.
- Factory method for ShippingCompany class rewritten to check above exception
  conditions. The class has some stubs and a lot old methods which needs be
  updated/rewritten/obsoleted.
- Cast removed from older exception and re-added as type-hint
- Wrapper class added for "company" table.
- Minor improvements to some classes
- Block for personal data added (the login area will now have another stub
  message) which is being generated by a generic WebBlockHelper class
- The DataSetCriteria class now returns the primary key (column name) or if
  not set the unique key (column name again).
- All wrappers are now initialized (cache instance) by BaseDatabaseWrapper ...
- ... and must set the table name in factory method.
- The method doSelectByCriteria() is now generic written and resists in class
  BaseDatabaseWrapper
- New helper class "WebLinkHelper" added
- Helper classes rewritten so we have more generic methods (code reduced)
- New helper class "WebBlockHelper" added
- User and Guest class are now extending BaseUser class
- Method doFilterFormatTimestamp() now resists in BaseFrameworkSystem class

15 years agoMore conventions than code added:
Roland Häder [Fri, 27 Jun 2008 18:28:24 +0000 (18:28 +0000)]
More conventions than code added:
- Copyright line fixed (space added, sorry guys!)
- Doc tags fixed in a lot files
- Arrays send to exceptions are now all $msgArray called
- BaseHelper class now contains generic methods from WebFormHelper class
- BaseWebHelper added which holds "web-generic" methods and attributes
- Due to these changes, the WebFormHelper is now cleared from generic methods

15 years agoUser/guest classes now have base class
Roland Häder [Fri, 27 Jun 2008 15:55:55 +0000 (15:55 +0000)]
User/guest classes now have base class