]> git.mxchange.org Git - jfinancials-war.git/log
jfinancials-war.git
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 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:10:14 +0000 (20:10 +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 agoconverted line-feed
Roland Haeder [Wed, 20 Apr 2016 18:02:54 +0000 (20:02 +0200)]
converted line-feed

8 years agoupdated jar(s)
Roland Haeder [Wed, 20 Apr 2016 17:34:13 +0000 (19:34 +0200)]
updated jar(s)

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

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

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 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 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:41 +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 19:09:22 +0000 (21:09 +0200)]
Fixed getter calls, the new ones are more descriptive.

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.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Mon, 18 Apr 2016 18:52:06 +0000 (20:52 +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
Roland Haeder [Mon, 18 Apr 2016 18:11:50 +0000 (20:11 +0200)]
Fixed name-space

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:19 +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)

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)

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:40 +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:28:26 +0000 (17:28 +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 agoOpps ...
Roland Haeder [Sun, 17 Apr 2016 14:51:44 +0000 (16:51 +0200)]
Opps ...

Signed-off-by: Roland Häder <roland@mxchange.org>
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:29:22 +0000 (16:29 +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 agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 10:37:06 +0000 (12:37 +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:18 +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:36 +0000 (21:50 +0200)]
fixed #tpyo in language string key

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

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

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:17:57 +0000 (15:17 +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:47 +0000 (23:58 +0200)]
updated jar(s)

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

8 years agoupdated jar(s)
Roland Haeder [Tue, 12 Apr 2016 19:18:09 +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:31:08 +0000 (20:31 +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:05:51 +0000 (20:05 +0200)]
Changed interface (POJI) name SmsProvider to MobileProvider

8 years agoupdated jar(s)
Roland Haeder [Tue, 12 Apr 2016 18:02:42 +0000 (20:02 +0200)]
updated jar(s)

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 [Tue, 12 Apr 2016 16:45:20 +0000 (18:45 +0200)]
updated jar(s)

8 years agoThe EJB should take care of creation/update timestamps, not all single web servers
Roland Haeder [Tue, 12 Apr 2016 16:40:01 +0000 (18:40 +0200)]
The EJB should take care of creation/update timestamps, not all single web servers

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 19:13:37 +0000 (21:13 +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:42 +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:35:49 +0000 (19:35 +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:47:50 +0000 (18:47 +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:36:38 +0000 (18:36 +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 agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 10:09:25 +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:40:10 +0000 (19:40 +0200)]
Moved to proper package

Signed-off-by: Roland Häder <roland@mxchange.org>
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:26 +0000 (19:38 +0200)]
updated jar(s)

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

8 years agoFixed name (opps)
Roland Haeder [Sun, 10 Apr 2016 14:41:18 +0000 (16:41 +0200)]
Fixed name (opps)

8 years agono shortening
Roland Haeder [Sun, 10 Apr 2016 14:11:11 +0000 (16:11 +0200)]
no shortening

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

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

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

updated jar(s)

8 years agoRewrites:
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

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

8 years agointroduced new lib jphone-lib.jar which holds remote interfaces for jphone-core ...
Roland Haeder [Sat, 9 Apr 2016 16:09:15 +0000 (18:09 +0200)]
introduced new lib jphone-lib.jar which holds remote interfaces for jphone-core + added jcountry-lib (new dependency)

8 years agoadded admin_user_add.xhtml
Roland Haeder [Sat, 9 Apr 2016 12:09:13 +0000 (14:09 +0200)]
added admin_user_add.xhtml

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded navigation cases (really lazy) for admin pages
Roland Haeder [Sat, 9 Apr 2016 11:54:15 +0000 (13:54 +0200)]
added navigation cases (really lazy) for admin pages

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoAdded missing language string
Roland Haeder [Sat, 9 Apr 2016 11:49:43 +0000 (13:49 +0200)]
Added missing language string

Signed-off-by: Roland Häder <roland@mxchange.org>