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
Roland Haeder [Tue, 11 Apr 2017 09:21:32 +0000 (11:21 +0200)]
Nope. keep these names unified, but class names project-dependent so the IDE is not getting confused which implementation (if you have all projects loaded into it) is meant.
Roland Haeder [Tue, 11 Apr 2017 09:13:48 +0000 (11:13 +0200)]
I know, I miss-use ui:fragment here but it seems to do what I want:
- when "rendered" is false, don't show content of the whole tag
- when "rendered" is true, show content of the whole tag
So far, other tags did not work and not even with ui:define and then rendered="#{featureController.isFeatureEnaled('some_feature')#}"
on ui:define.
As long as there is no other tag that has the same behavior, I stick
with ui:fragment.
Roland Häder [Mon, 5 Sep 2016 15:10:18 +0000 (17:10 +0200)]
Please cherry-pick:
- added feature switch "user_registraion_in_index" which controls whether the registration page is in index (true) or own page (false).
- please put your index stuff in guest_index.tpl for now
- maybe later this will be changed to a datbase-driven CMS?
Roland Haeder [Sat, 3 Sep 2016 15:05:02 +0000 (17:05 +0200)]
Please cherry-pick:
- cleanups on templates such as ...
- adding h:outputText
- adding error_container with h:panelGroup and h:message
- removed no longer used template as it has been splitted
Roland Häder [Fri, 2 Sep 2016 15:58:18 +0000 (17:58 +0200)]
Please cherry-pick:
- added check if password has minimum strength in user controller
- introduced isWeakPassword() which does the test
- added context parameter min_user_password_score for minimum score (please alter this to your needs)
- always clear entered passwords when a JSF message is being output (something went wrong)
- added missing i18n string
Roland Häder [Thu, 1 Sep 2016 15:48:25 +0000 (17:48 +0200)]
Please cherry-pick:
- moved error messages outside table_row container
- added error message for email address in admin contact data form
- replaced FacetException with a nice JSF message
Roland Häder [Mon, 29 Aug 2016 14:38:32 +0000 (16:38 +0200)]
Please cherry-pick:
- got rid of login_edit_user_data.xhtml, it was redundant anyway
- better is to have each "user_change" menu entry in left menu
- rewired navigation rules
- renamed feature from edit_user_data to change_user_personal_data as this reflects more its purpose
- added missing i18n strings
Roland Häder [Mon, 29 Aug 2016 14:17:52 +0000 (16:17 +0200)]
Please cherry-pick:
- show "user_edit_data" link if at least one of the features is enabled
- this allows navigating to e.g. only "user_change_password"
- rewrote ugly exceptions to nice faces messages
- show message to user if he/she must change password
- added missing feature flag for changing email address
- added missing file extension (opps, fixed now)
- added missing i18n strings
Signed-off-by: Roland Häder <roland@haeder.net> Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 Aug 2016 13:35:07 +0000 (15:35 +0200)]
Please cherry-pick:
- renamed navigation case "login" -> "user_login" as also other logins may exist
- added navigation rule user_index -> user_change_password
Roland Häder [Mon, 29 Aug 2016 13:05:01 +0000 (15:05 +0200)]
Please cherry-pick:
- if other user name than current (but maybe other passphrase) one is entered, only then check for it's existence
- this avoids double-registering by administrator
- set user name in administrative controller, too
Signed-off-by: Roland Häder <roland@haeder.net> Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 Aug 2016 10:03:43 +0000 (12:03 +0200)]
Continued with deleting user accounts: (please cherry-pick)
- added form with delete reason
- added method in controller (managed bean) which fires an event after the EJB deleted the user
- added activity log for deleting users (based on fired event)
- added missing i18n strings
Roland Häder [Fri, 26 Aug 2016 08:45:29 +0000 (10:45 +0200)]
Please cherry-pick:
- added methods to controller to expand activity type for admin and user respectivly
- renamed user-registration-event method to have "User" in it as this is explicity for users
- renamed user-logout-event observer method to have "Event" as suffix
- fixed template, no user here (copy-paste mistake)
- also add new event to controller's list
- added missing i18n strings for user activity log
- added missing navigation rule
Roland Häder [Thu, 25 Aug 2016 15:54:15 +0000 (17:54 +0200)]
Please cherry-pick:
- renamed helper interface and class according to naming convention
- added link in administrative user links including navigation rule
- added + implemented controller method allCurrentUsersActivityLog() which requires beanHeper.user being set
Roland Häder [Thu, 25 Aug 2016 15:54:15 +0000 (17:54 +0200)]
Please cherry-pick:
- renamed helper interface and class according to naming convention
- added link in administrative user links including navigation rule
- added + implemented controller method allCurrentUsersActivityLog() which requires beanHeper.user being set
Roland Häder [Thu, 25 Aug 2016 14:57:21 +0000 (16:57 +0200)]
Please cherry-pick:
- introduced new "mini" templates which contains minimalistic data
- the mini template contains a link to the full user's (later also contact) data
- admin_resend_user_confirmation_link is now using them to show nice output
Roland Häder [Thu, 25 Aug 2016 14:39:14 +0000 (16:39 +0200)]
Please cherry-pick:
- added new page that admins can send out a new confirmation link to users
- added navigation rule for new page
- added missing i18n strings
- using ui:fragment is now no longer required (it hid the <li> tag if unconfirmed)
- fixed i18n usage
Roland Häder [Thu, 25 Aug 2016 13:47:34 +0000 (15:47 +0200)]
Please cherry-pick:
- renamed event observer methods to have suffix "Event" in it
- added observer method afterUserResendConfirmationLinkEvent() for logging user activity