|
|
Line 10: |
Line 10: |
| | | |
| ==News== | | ==News== |
− | '''05.12.2013 Hello World - Breaking Dawn'''
| |
− |
| |
− | '' Updates ''
| |
− | * Online Javadoc & Offline Javadoc
| |
− | * Blankweb, Guestbook, Videoshop, Salespoint5.3.1
| |
− |
| |
− |
| |
− | ''Changelog Salespoint 5.3.1 - 2013-12-05''
| |
− |
| |
− | * Introduced <code>AuthenticationManager</code> component to allow obtaining the currently logged in user and checking for matching <code>Password</code> instances. If the former is only what you're looking for, prefer getting the <code>UserAccount</code> injected into a controller method by using <code>@LoggedIn</code> (see <code>BasketController.buy(…)</code> in the VideoShop project for example).
| |
− | * Introduced <code>AbstractEntity</code> to be used as base class for custom entities defining <code>equals(…)</code> and <code>hashCode</code> based on the supplied identifier.
| |
− | * Simplified application configuration necessary in user projects. The projects should only import the <code>SalespointWebConfiguration</code> class and add a subtype of <code>SalespointSecurityConfiguration</code> to override <code>configure(HttpSecurity)</code>. For examples see the BlankWeb or VideoShop samples.
| |
− | * Default configuration now exposes a <code>CharacterEncodingFilter</code> forcing the encoding to UTF-8 out of the box.
| |
− | * Default configuration now exposes a <code>BCryptPasswordEncoder</code> for secure password storage.
| |
− | * Deprecated <code>UserAccountManager.create(UserIdentifier, Passwort, Roles)</code> in favor of <code>UserAccountManager.create(String, Passwort, Roles)</code>
| |
− | * Deprecated <code>Order.cancel()</code> in favor of <code>OrderManager.cancelOrder(Order)</code>
| |
− | * Removed unused <code>@Get</code>-Annotation
| |
− | * Extracted <code>SalespointIdentifierConverter</code> from <code>JpaEntityConverter</code> to re-enable injecting <code>SalespointIdentifier</code> instances into controller methods.
| |
− | * Upgraded to Spring 4.0 RC1 and Spring Boot 0.5 M6.
| |
− | * Distribution now ships with JavaDoc attached.
| |
− |
| |
− | ''Migration guide''
| |
− |
| |
− | 1. In <code>pom.xml</code> upgrade the version of the parent from 0.5.0.M5 to 0.5.0.M6. Upgrade the version of the Salespoint dependency from 5.3.0 to 5.3.1.
| |
− |
| |
− | 2. In Eclipse, right-click your project and select "Maven > Update project", select "Force Update of Snapshots/Releases", click "OK". This step shouldn't be necessary but let's be safe.
| |
− |
| |
− | 3. Compare your application main classes to the ones in BlankWeb or VideoShop. Basically you should be able to do the following:
| |
− |
| |
− | - Change the <code>@Import</code> on the class to refer to <code>SalespointWebConfiguration.class</code> (should have been <code>Salespoint.class</code> before).
| |
− | - Remove the previously contained class configuring security with the ones you find in current VideoShop or BlankWeb . Make sure you move over all customizations you made in <code>configure(HttpSecurity http)</code>.
| |
− | - Generally speaking: if you didn't make any customizations to the configuration in the main application class, it should be safe to simply copy over the ones now available in VideoShop or BlankWeb.
| |
− |
| |
− | 4. Rightclick on Project -> Maven -> Download Sources, to import the Salespoint 5.3.1 Javadoc
| |
− |
| |
− |
| |
− | '''05.11.2013 Hello World - Eclipse'''
| |
− | * yet another update: blankweb.zip & videoshop.zip
| |
− | * modified pom.xml, updated Spring version to 4.0 RC1 and Thymleaf to 2.1.0.RELEASE
| |
− | * bugfix: added cascading to Disc.List<Comment> OneToMany annotation
| |
− | * added annotation based authorization checks via @PreAuthorize, see Basket- and Bosscontroller
| |
− | * added validation messages to RegisterForm.java
| |
− |
| |
− |
| |
− | '''04.11.2013 Hello World - New Moon'''
| |
− | * updated blankweb.zip & videoshop.zip (modified pom.xml: removed javax.validation dependeny, removed hibernate-validator version override)
| |
− |
| |
− |
| |
− | '''28.10.2013 Hello World '''
| |
− | * Salespoint 5.3 released including Javadoc
| |
− | * Blankweb released (fully configured empty project to kickstart your development)
| |
− | * Guestbook Tutorial & Download
| |
− | * Videoshop Tutorial & Download
| |
− |
| |
− |
| |
− | Full [[Salespoint5 Changelog | Changelog]]
| |
| | | |
| ==[[Tutorials]]== | | ==[[Tutorials]]== |
Solutions for common mistakes and problems and how to solve them.