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
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
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
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
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
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
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
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
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
Roland Häder [Tue, 24 Jun 2008 15:52:18 +0000 (15:52 +0000)]
More bugfixes:
- Template engine does now compile code again
- Missing controller for registration form added
- Stubs in all responses added to return proper default command
- Misc fixes in controller classes
Roland Häder [Tue, 24 Jun 2008 15:21:28 +0000 (15:21 +0000)]
Image controller/resolver and fixes:
- Controller and resolver added for images
- Exceptions fixed in controller and resolver
- No more fall-back on default command if requested command is missing
- Misc constant fixes