Main Page
(→News) |
(→News) |
||
Line 11: | Line 11: | ||
==News== | ==News== | ||
'''05.12.2013 Hello World - Breaking Dawn''' | '''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'' | ''Changelog Salespoint 5.3.1 - 2013-12-05'' |
Revision as of 13:03, 5 December 2013
Welcome to Salespoint 5 Framework Wiki. |
To get started with Salespoint 5 check out our tutorials. |
If you want to have more information and get deeper into Salespoint 5 check out documentation. You will find quicklinks to all topics below. |
Contents |
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
AuthenticationManager
component to allow obtaining the currently logged in user and checking for matchingPassword
instances. If the former is only what you're looking for, prefer getting theUserAccount
injected into a controller method by using@LoggedIn
(seeBasketController.buy(…)
in the VideoShop project for example). - Introduced
AbstractEntity
to be used as base class for custom entities definingequals(…)
andhashCode
based on the supplied identifier. - Simplified application configuration necessary in user projects. The projects should only import the
SalespointWebConfiguration
class and add a subtype ofSalespointSecurityConfiguration
to overrideconfigure(HttpSecurity)
. For examples see the BlankWeb or VideoShop samples. - Default configuration now exposes a
CharacterEncodingFilter
forcing the encoding to UTF-8 out of the box. - Default configuration now exposes a
BCryptPasswordEncoder
for secure password storage. - Deprecated
UserAccountManager.create(UserIdentifier, Passwort, Roles)
in favor ofUserAccountManager.create(String, Passwort, Roles)
- Deprecated
Order.cancel()
in favor ofOrderManager.cancelOrder(Order)
- Removed unused
@Get
-Annotation - Extracted
SalespointIdentifierConverter
fromJpaEntityConverter
to re-enable injectingSalespointIdentifier
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 pom.xml
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@Import
on the class to refer toSalespointWebConfiguration.class
(should have beenSalespoint.class
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 inconfigure(HttpSecurity http)
. - 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 Changelog
Tutorials
The Tutorials page gives a short overview on the topic a tutorial covers.
Installing and configuring Eclipse
Documentation
Download
FAQ
Solutions for common mistakes and problems and how to solve them.
Contact
Forum
old Forum
Make sure you have read the FAQ first and you are using the most recent Salespoint 5 release.