Roland Haeder [Thu, 14 Apr 2016 13:36:04 +0000 (15:36 +0200)]
Continued with adding features:
- merged add_user into list_user as other admin pages are constructed same way
- introduced mobile selection "box" template with target controller to not have the same form all over again
- added both regular and administrative controller with interface for administrative functionality for mobile providers
- rewrote try-catch block: only the actual method call that throws the checked exception should be included in the try block
- return actual list and not an unmodifiable version
- added templates for list/edit/delete mobile providers (admin area)
- listing of mobile providers should be okay now ("basicly finished")
- renamed variable to make it more clear (mobile provider)
- adding new mobile providers "basicly finished", still some improvements (avoid ugly exception output) may be required
- added a lot new language strings + removed "add_user" from merger
Roland Haeder [Wed, 13 Apr 2016 21:28:04 +0000 (23:28 +0200)]
A bit cleanup and introduced private method:
- introduced clear() to cleanup after adding user
- Fields such as userId and so are not right in this bean
- got rid of add_user as this can be merged with list_user as many other pages are constructed like this, too
Roland Haeder [Tue, 12 Apr 2016 16:58:39 +0000 (18:58 +0200)]
Continued with adding user by administrator:
- added addUser() method
- removed creation timestamp as the EJB takes care of it
- renamed errorHandler -> exception as this will become a page for thrown exceptions (later better handling)
- updated jar(s)
Roland Haeder [Mon, 11 Apr 2016 16:27:48 +0000 (18:27 +0200)]
Continued with adding countries:
- admin country controller (class + interface) added
- added admin form template for country data
- added admin list/edit/delete pages for countries
- added table_medium, table_left_medium, table_right_medium CSS classes
- changed named phoneCountryCode to countryPhoneCode (naming convention)
- other minor stuff mixed
Roland Haeder [Sun, 10 Apr 2016 19:02:40 +0000 (21:02 +0200)]
Continued with administrative area:
- added admin_form_personal_data.xhtml which is based on the generic but with some things different
- added a lot new language strings
Roland Haeder [Sun, 10 Apr 2016 10:49:15 +0000 (12:49 +0200)]
Rewrites:
- renamed controller (beans) to have them all a suffix "Controller"
- renamed converter to have them all a suffix "Converter"
- Localized German word "Anzahl" and changed it to "Bestellmenge" (order amount)
- added more empty lines
Roland Haeder [Mon, 4 Apr 2016 20:12:08 +0000 (22:12 +0200)]
Localization support almost finished:
- Locale setting from browser comes first
- User selected locale from web interfaces overrides it (in session bean)
TODO/FIXME:
- Add locale support to juser-core
- Still the selected locale is not re-selected in box
Roland Haeder [Mon, 4 Apr 2016 16:47:37 +0000 (18:47 +0200)]
Continued with localization support:
- added form template for localization support (still static, maybe can be output over bean's method?)
- added missing methods (not classical getter/setter)
Roland Haeder [Tue, 8 Mar 2016 21:06:59 +0000 (22:06 +0100)]
Continued a bit:
- renamed method
- the password validator is currently not working as it currently need the web controller, not the EJB
- updated jar(s)
Roland Haeder [Sat, 5 Mar 2016 21:02:47 +0000 (22:02 +0100)]
Continued with "change personal data":
- added generic template message_box.tpl
- added generic page login_data_saved.xhtml
- added missing navigation rules from login_change_foo.xhtml -> login_data_saved.xhtml
- added some new language strings
- added CSS classes for message box template
- changing email address requires you to enter twice your new email address (displaying old is missing)
Roland Haeder [Sat, 5 Mar 2016 15:34:15 +0000 (16:34 +0100)]
Continued with updating personal data:
- added user password validator (from jjobs-war)
- added missing message strings
- added check if all required fields are set
- added preparing user instance and sending it to the EJB
- doChangeFoo() all need to return a string for next target page (not added yet)
- updated jar(s)
Roland Haeder [Fri, 4 Mar 2016 20:32:09 +0000 (21:32 +0100)]
Introduced new template + renamed language constant + form field:
- introduced login_enter_current_password.tpl to reduce redundant template code
- changed language string to reflect it's purpose (current password)
- renamed form field "password" to "currentPassword" to reflect it's purpose, too
Roland Haeder [Fri, 4 Mar 2016 20:08:31 +0000 (21:08 +0100)]
Some improvements:
- added currentPassword field in loginController
- simply copy all user data to the userController instance and you can use it again in forms
Roland Haeder [Fri, 4 Mar 2016 19:48:40 +0000 (20:48 +0100)]
Splitted edit_user_data into 3 new sub actions + added logged-in check:
- new template user_not_logged_in.tpl added which shows a message if the user is not logged-in and tries to access a login-only page
- added login_change_email_address.xhtml for changing email address
- added login_change_password.xhtml for changing password
- added login_change_personal_data.xhtml for changing personal data
- login_edit_address.xhtml is now no longer needed