]> git.mxchange.org Git - jjobs-war.git/log
jjobs-war.git
8 years agoContinued a bit:
Roland Haeder [Thu, 21 Apr 2016 20:19:34 +0000 (22:19 +0200)]
Continued a bit:
- return type is now updated contact instance
- fixed class/interface imports

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Apr 2016 20:09:47 +0000 (22:09 +0200)]
updated jar(s)

8 years agoContinued with contact data editing (admin):
Roland Häder [Thu, 21 Apr 2016 16:02:05 +0000 (18:02 +0200)]
Continued with contact data editing (admin):
- added instance to helper
- renamed editFooData() to changeFooData()
- added handling contactId
- added form (with include)
- added method copyContactToController()
- added admin helper injection

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContined a bit:
Roland Häder [Thu, 21 Apr 2016 13:44:26 +0000 (15:44 +0200)]
Contined a bit:
- added check if user name is already in use
- fixed German umlauts
- better wording

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoAdded redirect outcome + updated jar(s)
Roland Häder [Thu, 21 Apr 2016 12:38:35 +0000 (14:38 +0200)]
Added redirect outcome + updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContiuned with editing user data/rewrites:
Roland Häder [Thu, 21 Apr 2016 11:55:57 +0000 (13:55 +0200)]
Contiuned with editing user data/rewrites:
- implemented editUserData() for when admin updates user data
- implemented listener for when a user updates personal data
- added private method updateList() for updating admin's user list
- updateUserPersonalData() now returns updated user instance (detached!)
- fired event when user updates personal data

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agodon't chgange email address in edit mode
Roland Häder [Thu, 21 Apr 2016 10:23:31 +0000 (12:23 +0200)]
don't chgange email address in edit mode

8 years agoContinued:
Roland Häder [Thu, 21 Apr 2016 09:30:51 +0000 (11:30 +0200)]
Continued:
- template 'admin_form_user_data' requires parameter 'mode'.
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded div around admin_edit_user form + added missing i18n strings
Roland Häder [Thu, 21 Apr 2016 08:50:49 +0000 (10:50 +0200)]
added div around admin_edit_user form + added missing i18n  strings

8 years agoRemoved all clear() methods in request-scoped beans as it makes no sense to clear...
Roland Häder [Thu, 21 Apr 2016 08:45:09 +0000 (10:45 +0200)]
Removed all clear() methods in request-scoped beans as it makes no sense to clear them.

8 years agoContinued:
Roland Häder [Thu, 21 Apr 2016 08:38:05 +0000 (10:38 +0200)]
Continued:
- splitted admin user form template into user and contact
- used that new admin user form template for editing user data
- added controller method editUserData()
- renamed relevant language keys (as they are not just for adding users)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Apr 2016 18:09:46 +0000 (20:09 +0200)]
updated jar(s)

8 years agoContinued a bit:
Roland Häder [Wed, 20 Apr 2016 14:45:09 +0000 (16:45 +0200)]
Continued a bit:
- moved all admin controllers from session-scope to request-scope
- renamed them, too

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoInjected contact controller as now stuff around contacts are done there, not in user.
Roland Haeder [Wed, 20 Apr 2016 17:42:19 +0000 (19:42 +0200)]
Injected contact controller as now stuff around contacts are done there, not in user.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with refacturing:
Roland Häder [Wed, 20 Apr 2016 14:15:51 +0000 (16:15 +0200)]
Continued with refacturing:
- added new controller for contact (general + admin)
- removed all contact-related stuff from user controller (as there are specific ones)
- login_data_saved splitted into login_user_data_saved and login_contact_data_saved
- fixed relevant temnplates (contact controller)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoFixed German umlauts + updated jar(s)
Roland Häder [Wed, 20 Apr 2016 09:38:58 +0000 (11:38 +0200)]
Fixed German umlauts + updated jar(s)

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 20 Apr 2016 17:35:16 +0000 (19:35 +0200)]
updated jar(s)

8 years agoCorrect copyright here as it is a generic file.
Roland Haeder [Tue, 19 Apr 2016 18:31:00 +0000 (20:31 +0200)]
Correct copyright here as it is a generic file.

8 years agoContinued with refacturing:
Roland Häder [Tue, 19 Apr 2016 15:55:11 +0000 (17:55 +0200)]
Continued with refacturing:
- added general admin helper for just holding objects
- used that new helper for user instance to have auto-completition back
- updated properties

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded view parameter 'userId' (mostly from URL)
Roland Häder [Tue, 19 Apr 2016 15:45:06 +0000 (17:45 +0200)]
added view parameter 'userId' (mostly from URL)

8 years agoUse other (new) exception
Roland Häder [Tue, 19 Apr 2016 12:35:20 +0000 (14:35 +0200)]
Use other (new) exception

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoAdded check for parameter, to make sure only valid can pass
Roland Häder [Tue, 19 Apr 2016 12:26:24 +0000 (14:26 +0200)]
Added check for parameter, to make sure only valid can pass

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoonly user data is being edited, not the whole account.
Roland Haeder [Tue, 19 Apr 2016 17:33:11 +0000 (19:33 +0200)]
only user data is being edited, not the whole account.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agothese fields are optional
Roland Häder [Tue, 19 Apr 2016 08:36:11 +0000 (10:36 +0200)]
these fields are optional

8 years agoAdded class names in log message
Roland Häder [Tue, 19 Apr 2016 08:30:13 +0000 (10:30 +0200)]
Added class names in log message

8 years agoupdated jar(s)
Roland Haeder [Tue, 19 Apr 2016 17:40:24 +0000 (19:40 +0200)]
updated jar(s)

8 years agoContinued a bit:
Roland Haeder [Mon, 18 Apr 2016 20:28:43 +0000 (22:28 +0200)]
Continued a bit:
- added template for showing "add_contact_cellphone" form or show contact's cellphone data
- added form template for above thing
- fixed some XML name spaces (to .org)
- fixed error message output in some templates

8 years agoAdded page (dummy) for editing contact data
Roland Haeder [Mon, 18 Apr 2016 20:03:23 +0000 (22:03 +0200)]
Added page (dummy) for editing contact data

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agobetter store the user instance locally than as property. well, now auto-complete...
Roland Haeder [Mon, 18 Apr 2016 19:50:49 +0000 (21:50 +0200)]
better store the user instance locally than as property. well, now auto-complete cannot help here anymore. :-(

8 years agomoved user instance to admin controller as this is the right one for this purpose
Roland Haeder [Mon, 18 Apr 2016 19:36:41 +0000 (21:36 +0200)]
moved user instance to admin controller as this is the right one for this purpose

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued a bit:
Roland Haeder [Mon, 18 Apr 2016 19:18:42 +0000 (21:18 +0200)]
Continued a bit:
- Use Objects.equals() as it is more safe (NPE-free)
- add updated user instance to full admin list

8 years agoFinished with event triggered when admin adds a new user + ignored some strings for...
Roland Haeder [Mon, 18 Apr 2016 19:12:20 +0000 (21:12 +0200)]
Finished with event triggered when admin adds a new user + ignored some strings for i18n

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoFixed getter calls, the new ones are more descriptive.
Roland Haeder [Mon, 18 Apr 2016 18:59:42 +0000 (20:59 +0200)]
Fixed getter calls, the new ones are more descriptive.

8 years agoupdated jar(s)
Roland Haeder [Mon, 18 Apr 2016 18:53:27 +0000 (20:53 +0200)]
updated jar(s)

8 years agoControllers should always have "Controller" as suffix in name
Roland Häder [Mon, 18 Apr 2016 15:14:52 +0000 (17:14 +0200)]
Controllers should always have "Controller" as suffix in name

8 years agoFixed German umlauts (closed a lot internal TODOs)
Roland Häder [Mon, 18 Apr 2016 15:35:16 +0000 (17:35 +0200)]
Fixed German umlauts (closed a lot internal TODOs)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued a bit:
Roland Häder [Mon, 18 Apr 2016 16:08:12 +0000 (18:08 +0200)]
Continued a bit:
- added event for added user accounts (by admin)
- updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoFixed name space (opps?)
Roland Haeder [Mon, 18 Apr 2016 18:03:06 +0000 (20:03 +0200)]
Fixed name space (opps?)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoCorrect controller
Roland Haeder [Sun, 17 Apr 2016 18:27:28 +0000 (20:27 +0200)]
Correct controller

8 years agoglobal commit: changed name space to jcp.org as this is seems to be lesser proprietary?
Roland Haeder [Sun, 17 Apr 2016 17:07:34 +0000 (19:07 +0200)]
global commit: changed name space to jcp.org as this is seems to be lesser proprietary?

8 years agoneed to add language stuff in every page. :-( Maybe one day there is a better solutio...
Roland Haeder [Sun, 17 Apr 2016 16:56:13 +0000 (18:56 +0200)]
need to add language stuff in every page. :-( Maybe one day there is a better solution (project-specific files)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoneed to add language stuff in every page. :-( Maybe one day there is a better solutio...
Roland Haeder [Sun, 17 Apr 2016 16:54:54 +0000 (18:54 +0200)]
need to add language stuff in every page. :-( Maybe one day there is a better solution (generic files)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPrevent NPE
Roland Haeder [Sun, 17 Apr 2016 16:45:29 +0000 (18:45 +0200)]
Prevent NPE

8 years agoadded needed div for having a nice CSS box around the administrative links
Roland Haeder [Sun, 17 Apr 2016 15:52:56 +0000 (17:52 +0200)]
added needed div for having a nice CSS box around the administrative links

8 years agoRenamed strings for better wording
Roland Haeder [Sun, 17 Apr 2016 15:48:50 +0000 (17:48 +0200)]
Renamed strings for better wording

8 years agoContinued:
Roland Haeder [Sun, 17 Apr 2016 15:37:32 +0000 (17:37 +0200)]
Continued:
- renamed bean/controller as they are session-scoped, else all admins will use the same
- fixed object->id converting (opps, forgot it)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 15:27:45 +0000 (17:27 +0200)]
updated jar(s)

8 years agoA JSF tag needs to be id-ed, not a regular div tag.
Roland Haeder [Sun, 17 Apr 2016 14:58:18 +0000 (16:58 +0200)]
A JSF tag needs to be id-ed, not a regular div tag.

8 years agoMoved generic templates/page files to sub folders for re-organization.
Roland Haeder [Sun, 17 Apr 2016 14:48:08 +0000 (16:48 +0200)]
Moved generic templates/page files to sub folders for re-organization.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoThis bean cannot be singleton as more than one admin may be logged in. It should...
Roland Haeder [Sun, 17 Apr 2016 14:28:41 +0000 (16:28 +0200)]
This bean cannot be singleton as more than one admin may be logged in. It should also be initialized normally.

8 years agoContinued with admin area:
Roland Haeder [Sun, 17 Apr 2016 13:51:08 +0000 (15:51 +0200)]
Continued with admin area:
- added a lot new administrative pages for contact's cellphone, mobile provider and user
- used templates for repeated content
- added a lot new language strings
- added converter for contacts and cellphone
- added new project dependency jcontacts-lib.jar
- updated some older (hope, it doesn't conflict)
- added mini-navigation CSS classes
- removed old controller

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded new project dependency jcontacts-lib
Roland Haeder [Sun, 17 Apr 2016 13:47:44 +0000 (15:47 +0200)]
added new project dependency jcontacts-lib

8 years agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 10:36:31 +0000 (12:36 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agovery noisy debug lines commented out
Roland Haeder [Fri, 15 Apr 2016 18:23:45 +0000 (20:23 +0200)]
very noisy debug lines commented out

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Fri, 15 Apr 2016 12:25:02 +0000 (14:25 +0200)]
updated jar(s)

8 years agoContinued a bit:
Roland Haeder [Thu, 14 Apr 2016 19:49:43 +0000 (21:49 +0200)]
Continued a bit:
- user list is now "basicly finished"
- added monitoring script for cron-job based monitoring

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agofixed #tpyo in language string key
Roland Haeder [Thu, 14 Apr 2016 19:50:33 +0000 (21:50 +0200)]
fixed #tpyo in language string key

8 years agoupdated jar(s)
Roland Haeder [Thu, 14 Apr 2016 15:27:33 +0000 (17:27 +0200)]
updated jar(s)

8 years agowrong name ...
Roland Haeder [Thu, 14 Apr 2016 14:43:27 +0000 (16:43 +0200)]
wrong name ...

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with adding features:
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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Thu, 14 Apr 2016 13:18:22 +0000 (15:18 +0200)]
updated jar(s)

8 years agoA bit cleanup and introduced private method:
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

8 years agoupdated jar(s)
Roland Haeder [Tue, 12 Apr 2016 21:58:36 +0000 (23:58 +0200)]
updated jar(s)

8 years agofixed JNDI names
Roland Haeder [Tue, 12 Apr 2016 20:46:43 +0000 (22:46 +0200)]
fixed JNDI names

8 years agoupdated jar(s)
Roland Haeder [Tue, 12 Apr 2016 19:18:50 +0000 (21:18 +0200)]
updated jar(s)

8 years agoRenamed package smsprovider -> mobileprovider. They don't only provide SMS but also...
Roland Haeder [Tue, 12 Apr 2016 18:34:17 +0000 (20:34 +0200)]
Renamed package smsprovider -> mobileprovider. They don't only provide SMS but also many other mobile services.

8 years agoChanged interface (POJI) name SmsProvider to MobileProvider
Roland Haeder [Tue, 12 Apr 2016 18:03:11 +0000 (20:03 +0200)]
Changed interface (POJI) name SmsProvider to MobileProvider

8 years agoFixed interface name
Roland Haeder [Tue, 12 Apr 2016 17:27:59 +0000 (19:27 +0200)]
Fixed interface name

8 years agoAdded missing admin_user_unlock.xhtml
Roland Haeder [Tue, 12 Apr 2016 17:26:30 +0000 (19:26 +0200)]
Added missing admin_user_unlock.xhtml

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with adding user by administrator:
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)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 19:14:04 +0000 (21:14 +0200)]
updated jar(s)

8 years agosorted members (normally I do this before I save the file)
Roland Haeder [Mon, 11 Apr 2016 17:55:12 +0000 (19:55 +0200)]
sorted members (normally I do this before I save the file)

8 years agoHandle over the updated country instance to avoid NPE (countryId must be set)
Roland Haeder [Mon, 11 Apr 2016 17:53:46 +0000 (19:53 +0200)]
Handle over the updated country instance to avoid NPE (countryId must be set)

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 17:43:57 +0000 (19:43 +0200)]
updated jar(s)

8 years agoAdded firing newly added event when an administrator has added a new country and...
Roland Haeder [Mon, 11 Apr 2016 17:34:53 +0000 (19:34 +0200)]
Added firing newly added event when an administrator has added a new country and it got handled by the EJB.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 17:36:45 +0000 (19:36 +0200)]
updated jar(s)

8 years agoas the template gender_selection_box.tpl is generic, the controller needs to be repla...
Roland Haeder [Mon, 11 Apr 2016 17:14:25 +0000 (19:14 +0200)]
as the template gender_selection_box.tpl is generic, the controller needs to be replaceable by any other template or page.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoOpps, copy-paste mistake ...
Roland Haeder [Mon, 11 Apr 2016 16:53:48 +0000 (18:53 +0200)]
Opps, copy-paste mistake ...

8 years agoFixed EJB name
Roland Haeder [Mon, 11 Apr 2016 16:48:14 +0000 (18:48 +0200)]
Fixed EJB name

8 years agoMoved to proper package and fixed interface name from pizzaservice-war cherry-pick
Roland Haeder [Mon, 11 Apr 2016 16:37:29 +0000 (18:37 +0200)]
Moved to proper package and fixed interface name from pizzaservice-war cherry-pick

8 years agoContinued with adding countries:
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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoUsed generic interface, not no longer existing own.
Roland Haeder [Mon, 11 Apr 2016 15:07:57 +0000 (17:07 +0200)]
Used generic interface, not no longer existing own.

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 12:15:29 +0000 (14:15 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 10:09:38 +0000 (12:09 +0200)]
updated jar(s)

8 years agoNo NameValidator here, maybe later a EmptyNameValidator will come?
Roland Haeder [Sun, 10 Apr 2016 19:15:59 +0000 (21:15 +0200)]
No NameValidator here, maybe later a EmptyNameValidator will come?

8 years agoThese are not required for admin_add_user
Roland Haeder [Sun, 10 Apr 2016 19:13:30 +0000 (21:13 +0200)]
These are not required for admin_add_user

8 years agoOpps, 1 was to much ...
Roland Haeder [Sun, 10 Apr 2016 19:10:38 +0000 (21:10 +0200)]
Opps, 1 was to much ...

8 years agoContinued with administrative area:
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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded hasUsers() which checks if users are registered.
Roland Haeder [Sun, 10 Apr 2016 17:57:28 +0000 (19:57 +0200)]
added hasUsers() which checks if users are registered.

8 years agoMoved to proper package
Roland Haeder [Sun, 10 Apr 2016 17:46:47 +0000 (19:46 +0200)]
Moved to proper package

8 years agoContinued with admin area:
Roland Haeder [Sun, 10 Apr 2016 17:36:20 +0000 (19:36 +0200)]
Continued with admin area:
- added admin user controller for administrative stuff
- updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sun, 10 Apr 2016 17:38:14 +0000 (19:38 +0200)]
updated jar(s)

8 years agoRenamed language string, more clear now
Roland Haeder [Sun, 10 Apr 2016 15:52:12 +0000 (17:52 +0200)]
Renamed language string, more clear now

8 years agoupdated jar(s)
Roland Haeder [Sun, 10 Apr 2016 13:54:27 +0000 (15:54 +0200)]
updated jar(s)

8 years agoOpps, copied to much ...
Roland Haeder [Sun, 10 Apr 2016 11:51:36 +0000 (13:51 +0200)]
Opps, copied to much ...

8 years agowrong JNDI name fixed
Roland Haeder [Sun, 10 Apr 2016 11:45:42 +0000 (13:45 +0200)]
wrong JNDI name fixed

8 years agoupdated jar(s)
Roland Haeder [Sun, 10 Apr 2016 11:33:02 +0000 (13:33 +0200)]
updated jar(s)

8 years agoThe exception's message now contains the thrown exception's message, too.
Roland Haeder [Sun, 10 Apr 2016 11:30:33 +0000 (13:30 +0200)]
The exception's message now contains the thrown exception's message, too.

8 years agoRewrites:
Roland Haeder [Sun, 10 Apr 2016 10:49:11 +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

8 years agothis project may sent out mails later on.
Roland Haeder [Sat, 9 Apr 2016 20:00:12 +0000 (22:00 +0200)]
this project may sent out mails later on.