From: Roland Häder Date: Sat, 24 Mar 2018 18:24:16 +0000 (+0100) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc90bcd9aaae374e2d0a48497600eb3b4650f16f;p=jjobs-war.git Please cherry-pick: - f:validator is no longer working, need to use own JSF tag validator:employeeEmailAddressValidator which allows a second parameter - there is no type="secret", need to be type="password" - added p:inputTex for headquarter's company name - added selection box for profile-mode using "new" getter in data controller - added selection box for branch office owner (employee) - added navigation rule from employee list to to assign branch office to employee - fixed leftovers from duplication from branch office to employee/department - added navigator="true" - renamed employeeCompany to employeeBasicData - reformatted p:inputText in admin_form_contact_data.tpl - allow null profile mode (?) - set org.jboss.weld.development=false - registered validators.jsf.taglib.xml - updated/changed copyright to Free Software Foundation Signed-off-by: Roland Häder --- diff --git a/src/java/log4j2.xml b/src/java/log4j2.xml new file mode 100644 index 00000000..90439ed6 --- /dev/null +++ b/src/java/log4j2.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + diff --git a/web/WEB-INF/beans.xml b/web/WEB-INF/beans.xml index 604563e4..eca5bf30 100644 --- a/web/WEB-INF/beans.xml +++ b/web/WEB-INF/beans.xml @@ -1,6 +1,6 @@ - + - + @@ -63,8 +64,7 @@ - - + diff --git a/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl b/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl index 3dec21a1..97e6f3cd 100644 --- a/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl +++ b/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl @@ -5,12 +5,26 @@ + + + + + + - + @@ -37,8 +51,7 @@ - - + @@ -59,6 +72,14 @@ + + + + + + + + diff --git a/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter_opening_time.tpl b/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter_opening_time.tpl index b581c709..29fac7dd 100644 --- a/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter_opening_time.tpl +++ b/web/WEB-INF/templates/admin/headquarter/admin_form_headquarter_opening_time.tpl @@ -17,7 +17,7 @@ diff --git a/web/WEB-INF/templates/admin/opening_time/admin_form_opening_time.tpl b/web/WEB-INF/templates/admin/opening_time/admin_form_opening_time.tpl index 9587f92d..73db01cb 100644 --- a/web/WEB-INF/templates/admin/opening_time/admin_form_opening_time.tpl +++ b/web/WEB-INF/templates/admin/opening_time/admin_form_opening_time.tpl @@ -46,8 +46,9 @@ value="#{adminOpeningTimeController.openingStartTime}" pattern="HH:mm" timeOnly="true" - required="true" stepMinute="5" + navigator="true" + required="true" requiredMessage="#{msg.ADMIN_START_TIME_REQUIRED}" /> @@ -56,8 +57,9 @@ value="#{adminOpeningTimeController.openingEndTime}" pattern="HH:mm" timeOnly="true" - required="true" stepMinute="5" + navigator="true" + required="true" requiredMessage="#{msg.ADMIN_END_TIME_REQUIRED}" /> diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 282b797b..ea67a16d 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -18,7 +18,7 @@ true - Refresh perioid of facelets. + Refresh period of facelets. javax.faces.FACELETS_REFRESH_PERIOD -1 @@ -30,12 +30,12 @@ Development mode for WELD, keep disabled unless really needed. Currently it messes up the website. org.jboss.weld.development - true + false Generic custom JSF tags library javax.faces.FACELETS_LIBRARIES - /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml + /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/validators.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml Project stage @@ -152,6 +152,11 @@ is_feature_company_employee_enabled true + + Whether the public user profile is enabled. If this option is enabled, the setting "is_user_login_require_user_name" must also be enabled as it is mandadory. + is_feature_public_user_profile_enabled + true + Maximum passwords that must be different. max_user_password_history @@ -162,11 +167,6 @@ is_debug_register_enabled false - - Whether the public user profile is enabled. If this option is enabled, the setting "is_user_login_require_user_name" must also be enabled as it is mandadory. - is_public_profile_enabled - true - Whether user names are required for completing registration. is_user_login_require_user_name diff --git a/web/WEB-INF/widgets.jsf.taglib.xml b/web/WEB-INF/widgets.jsf.taglib.xml index c8b9fb57..e30997d1 100644 --- a/web/WEB-INF/widgets.jsf.taglib.xml +++ b/web/WEB-INF/widgets.jsf.taglib.xml @@ -1,6 +1,6 @@