Roland Häder [Thu, 22 Jun 2017 20:52:09 +0000 (22:52 +0200)]
Please cherry-pick:
- New feature to allow users on registration entering no password. The
application will then generate a random password for the user and also sends
it in clear-text to the EJB (HTTPS is not meant here) so the bean can deliver
it to the user.
- user registration page will now show proper messages for above feature
- removed obsolete template (seems to be still around?)
- ifBothPasswordsEmptyAllowed() implemented
- added missing i18n strings
Roland Häder [Sun, 11 Jun 2017 11:38:16 +0000 (13:38 +0200)]
Please cherry-pick:
- h:outputText was wrong where it should be h:panelGroup, now the guest menue is being shown again
- feature controller is no longer causing and then catching NPE (bad code style)
- sorted web.xml
- reformated some files
Roland Häder [Sat, 3 Jun 2017 16:25:26 +0000 (18:25 +0200)]
Continued a bit:
- remote interface for resending confirmation link is now genweric in juser-lib
- updated method as checked exceptions are thrown
- updated copyright
- updated jar(s)
Roland Häder [Tue, 25 Apr 2017 11:59:38 +0000 (13:59 +0200)]
Please cherry-pick:
- renamed cellphone -> mobile
- renamed carrier -> provider
- renamed phone* -> landLine*
- all more common over all (other) projects
Roland Häder [Tue, 25 Apr 2017 11:59:23 +0000 (13:59 +0200)]
Please cherry-pick:
- WARNING: You have to update project name, maybe one day this will be moved out
to properties file?
- updated templates as they are long out-dated
- added missing templates, a lot new has been added
Roland Häder [Sat, 22 Apr 2017 20:04:26 +0000 (22:04 +0200)]
Please cherry-pick:
- Let's always call super constructor (not the default one, of course), maybe
one day there will be something added
- sorted members a bit
- some constructors still contain EJB-lookup code, moved to init()
(@PostConstruct) method
Roland Häder [Fri, 21 Apr 2017 20:17:19 +0000 (22:17 +0200)]
Please cherry-pick:
- let's move EJB-lookup into post-construct method and out of constructors as
this seems to tricker a bug in Glassfish:
https://github.com/payara/Payara/issues/1035
Roland Häder [Thu, 20 Apr 2017 19:58:46 +0000 (21:58 +0200)]
Please cherry-pick:
- passwords for account creation are now optional as random passwords can be
generated
- added required-message for email-address and user name to not have such
"strange" messages for the user
Roland Häder [Thu, 20 Apr 2017 15:53:23 +0000 (17:53 +0200)]
Please cherry-pick:
- removed event-observing methods from interfaces as they should not be called
from other beans, but only invoked when the specific event has been fired.
- remember these guide-lines:
1) Use interface for type-hinting objects, not direct class name.
2) All methods in interface are considered as callable (by you)
3) If you still need public methods (like it is needed for @PostConstruct or
@Observes) don't add that method to interface.
4) This way, the interface is clean and simple (KISS), no exceptions (of,
course thrown ...)!
Roland Häder [Thu, 20 Apr 2017 08:39:51 +0000 (10:39 +0200)]
Please cherry-pick:
- don't get local logger here, local invokations are CDI, but here JNDI would be
needed
- maybe old-feshioned System.out.println() ?
Roland Häder [Wed, 24 Aug 2016 08:52:00 +0000 (10:52 +0200)]
Please cherry-pick:
- got rid of redundant hasFoos() as #{ no someController.allFoos().isEmpty()} works fine
- renamed controller method allMobileProvider() -> allMobileProviders()
Roland Häder [Wed, 19 Apr 2017 17:45:02 +0000 (19:45 +0200)]
Rewrites:
- use beanHelper where possible, lesser class attributes to handle
- set checkout-wrapper in event than customer only
- let's hope, this is working ... (template)
Roland Häder [Wed, 19 Apr 2017 15:19:14 +0000 (17:19 +0200)]
Don't cherry-pick:
- rewrote index.xhtml (guest) to more common way, even when in this project
registration in index page is not wanted. This has the benefit that (almost)
all JSF pages remain generic and therefor they can be cherry-picked from
project to project.
- Now only guest_index.tpl holds the different content
Roland Häder [Wed, 19 Apr 2017 14:52:47 +0000 (16:52 +0200)]
Continued porting templates:
- added a lot missing templates which are used for handling fax/land-line
numbers
- no more cellphone, now all mobiles are welcome ...
- renamed files as they belong to user (not generic)
Roland Häder [Wed, 19 Apr 2017 12:24:14 +0000 (14:24 +0200)]
Cleanups:
- added id for menu include (maybe more follow? or I revert all these?)
- removed no longer used i18n strings
- user_menu is no longer included in page template, only in user_base.xhtml
Roland Häder [Sun, 16 Apr 2017 09:23:47 +0000 (11:23 +0200)]
Please cherry-pick:
- renamed login_change_* to login_user_change_* as these are user-specific
changes
- also renamed i18n strings
- renamed method in email-change controller as it is user-specific, too
- deleted left-over index.xhtml