]> git.mxchange.org Git - pizzaservice-war.git/log
pizzaservice-war.git
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:40 +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: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 agoneed to add language stuff in every page. :-( Maybe one day there is a better solutio...
Roland Haeder [Sun, 17 Apr 2016 16:54:13 +0000 (18:54 +0200)]
need to add language stuff in every page. :-( Maybe one day there is a better solution (project-specific 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:49:02 +0000 (17:49 +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)

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

Signed-off-by: Roland Häder <roland@mxchange.org>
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:25 +0000 (16:51 +0200)]
Opps ...

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 agoMoved category/product pages/templates to corresponding sub folders (re-organizing)
Roland Haeder [Sun, 17 Apr 2016 14:34:31 +0000 (16:34 +0200)]
Moved category/product pages/templates to corresponding sub folders (re-organizing)

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:27:34 +0000 (16:27 +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

8 years agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 11:42:02 +0000 (13:42 +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

8 years agovery noisy debug lines commented out
Roland Haeder [Fri, 15 Apr 2016 18:21:38 +0000 (20:21 +0200)]
very noisy debug lines commented out

8 years agofixed #tpyo in language string key
Roland Haeder [Thu, 14 Apr 2016 19:50:22 +0000 (21:50 +0200)]
fixed #tpyo in language string key

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

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

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
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 [Wed, 13 Apr 2016 21:03:32 +0000 (23:03 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoAlso check for null, if the form fields are not given
Roland Haeder [Wed, 13 Apr 2016 20:57:33 +0000 (22:57 +0200)]
Also check for null, if the form fields are not given

8 years agoBetter check the parameter on missing (but important) stuff
Roland Haeder [Wed, 13 Apr 2016 20:38:39 +0000 (22:38 +0200)]
Better check the parameter on missing (but important) stuff

8 years agoSplit of shop controller into category and product
Roland Haeder [Wed, 13 Apr 2016 20:10:40 +0000 (22:10 +0200)]
Split of shop controller into category and product

8 years agoBetter return same object as other controllers may want to modify (add/change/delete...
Roland Haeder [Wed, 13 Apr 2016 17:04:58 +0000 (19:04 +0200)]
Better return same object as other controllers may want to modify (add/change/delete) it.

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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoMade administrative product list cached to save EJB calls.
Roland Haeder [Tue, 12 Apr 2016 21:52:34 +0000 (23:52 +0200)]
Made administrative product list cached to save EJB calls.

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

8 years agomoved classes to proper package
Roland Haeder [Tue, 12 Apr 2016 20:43:15 +0000 (22:43 +0200)]
moved classes to proper package

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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoRenamed package smsprovider -> mobileprovider. They don't only provide SMS but also...
Roland Haeder [Tue, 12 Apr 2016 18:51:13 +0000 (20:51 +0200)]
Renamed package smsprovider -> mobileprovider. They don't only provide SMS but also many other mobile services.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoChanged interface (POJI) name SmsProvider to MobileProvider
Roland Haeder [Tue, 12 Apr 2016 18:11:52 +0000 (20:11 +0200)]
Changed interface (POJI) name SmsProvider to MobileProvider

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)

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 19:16:15 +0000 (21:16 +0200)]
updated jar(s)

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

Signed-off-by: Roland Häder <roland@mxchange.org>
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.

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 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

8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 15:01:21 +0000 (17:01 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Mon, 11 Apr 2016 10:10:17 +0000 (12:10 +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

8 years agoAdded missing language strings and fixed #tpyo in it
Roland Haeder [Sun, 10 Apr 2016 18:28:12 +0000 (20:28 +0200)]
Added missing language strings and fixed #tpyo in it

8 years agoit is no longer selectable, but it is a category id
Roland Haeder [Sun, 10 Apr 2016 18:25:21 +0000 (20:25 +0200)]
it is no longer selectable, but it is a category id

8 years agoadded administrative edit/delete for categories and products
Roland Haeder [Sun, 10 Apr 2016 18:20:35 +0000 (20:20 +0200)]
added administrative edit/delete for categories and products

8 years agoLanguage fixes ...
Roland Haeder [Sun, 10 Apr 2016 18:02:01 +0000 (20:02 +0200)]
Language fixes ...

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 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)

8 years agoMore language externalized
Roland Haeder [Sun, 10 Apr 2016 16:02:49 +0000 (18:02 +0200)]
More language externalized

8 years agoContinued a bit:
Roland Haeder [Sun, 10 Apr 2016 15:52:43 +0000 (17:52 +0200)]
Continued a bit:
- "updated" templates from addressbook project
- added missing language elements
- renamed language string, more clear now

8 years agoadded registration controller (bean) from addressbook project
Roland Haeder [Sun, 10 Apr 2016 14:41:40 +0000 (16:41 +0200)]
added registration controller (bean) from addressbook project

8 years agointroduced clear() for clean code style
Roland Haeder [Sun, 10 Apr 2016 14:29:46 +0000 (16:29 +0200)]
introduced clear() for clean code style

8 years agoalso fire an event when a new product has been added, rather than calling addProduct...
Roland Haeder [Sun, 10 Apr 2016 14:24:34 +0000 (16:24 +0200)]
also fire an event when a new product has been added, rather than calling addProduct() statically

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

8 years agoContinued a bit:
Roland Haeder [Sun, 10 Apr 2016 13:56:50 +0000 (15:56 +0200)]
Continued a bit:
- replaced "static add-call" to event-based approach. This is much more flexible and easier to expand
- updated jar(s)

8 years agoSome fixes:
Roland Haeder [Sun, 10 Apr 2016 13:16:17 +0000 (15:16 +0200)]
Some fixes:
- getLastNums() was old stuff, now it is size()
- updated jar(s)

8 years agoFixed wrong EJB name
Roland Haeder [Sun, 10 Apr 2016 13:09:48 +0000 (15:09 +0200)]
Fixed wrong EJB name

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

8 years agoMore trace messages added
Roland Haeder [Sun, 10 Apr 2016 12:44:41 +0000 (14:44 +0200)]
More trace messages added

8 years agomoved to new place
Roland Haeder [Sun, 10 Apr 2016 12:40:44 +0000 (14:40 +0200)]
moved to new place

8 years agoSome fixes + added missing "extends Serializable"
Roland Haeder [Sun, 10 Apr 2016 12:38:38 +0000 (14:38 +0200)]
Some fixes + added missing "extends Serializable"

8 years agoContinued a bit:
Roland Haeder [Sun, 10 Apr 2016 12:16:00 +0000 (14:16 +0200)]
Continued a bit:
- more language strings localized
- renamed some language strings
- some fixes

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

8 years agoupdated jar(s)
Roland Haeder [Sun, 10 Apr 2016 11:35:36 +0000 (13:35 +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:12 +0000 (13:30 +0200)]
The exception's message now contains the thrown exception's message, too.

8 years agoUsed global, portable JNDI names for all beans
Roland Haeder [Sun, 10 Apr 2016 11:18:54 +0000 (13:18 +0200)]
Used global, portable JNDI names for all beans

8 years agoRewrites:
Roland Haeder [Sun, 10 Apr 2016 10:49:03 +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 19:56:52 +0000 (21:56 +0200)]
this project may sent out mails later on.

8 years agoAll needs to be serializable to have the application being distributed over e.g....
Roland Haeder [Sat, 9 Apr 2016 19:05:16 +0000 (21:05 +0200)]
All needs to be serializable to have the application being distributed over e.g. even a cluster

8 years agoFinished some translations
Roland Haeder [Sat, 9 Apr 2016 18:46:22 +0000 (20:46 +0200)]
Finished some translations

8 years agoalso include group for having it working ... ;-)
Roland Haeder [Sat, 9 Apr 2016 18:41:49 +0000 (20:41 +0200)]
also include group for having it working ... ;-)

8 years agoBetter name for now (minor)
Roland Haeder [Sat, 9 Apr 2016 18:38:29 +0000 (20:38 +0200)]
Better name for now (minor)

8 years agoCorrect EJB name
Roland Haeder [Sat, 9 Apr 2016 18:33:56 +0000 (20:33 +0200)]
Correct EJB name

8 years agoThis "Pizza-Service" application was build on an outdated core, as it was not require...
Roland Haeder [Sat, 9 Apr 2016 17:54:37 +0000 (19:54 +0200)]
This "Pizza-Service" application was build on an outdated core, as it was not required for my certification to have user login. Sure, in the open Internet it makes sense.

This rewrites the application towards an updated "core".

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

8 years agoAligned ...
Roland Haeder [Sat, 9 Apr 2016 12:11:53 +0000 (14:11 +0200)]
Aligned ...

Signed-off-by: Roland Häder <roland@mxchange.org>
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

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

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>
8 years agoAdded generic user list/edit/delete/un-/lock menus (stubs only)
Roland Haeder [Sat, 9 Apr 2016 11:22:33 +0000 (13:22 +0200)]
Added generic user list/edit/delete/un-/lock menus (stubs only)

8 years agoSome rewrites:
Roland Haeder [Sat, 9 Apr 2016 11:17:53 +0000 (13:17 +0200)]
Some rewrites:
- generic customer-related classes/interfaces has been moved to jcustomer-core/lib.
- reordered imports (sorted)
- added jcustomer-core/lib (new project)

8 years agoTemplate improved (easier to localize)
Roland Haeder [Sat, 9 Apr 2016 10:48:27 +0000 (12:48 +0200)]
Template improved (easier to localize)

8 years agoRenamed after naming convention: admin_foo.xhtml in admin area, but foo.xhtml is...
Roland Haeder [Sat, 9 Apr 2016 10:47:54 +0000 (12:47 +0200)]
Renamed after naming convention: admin_foo.xhtml in admin area, but foo.xhtml is for guest ;-)

8 years agorenamed bye.xhtml -> logout.xhtml
Roland Haeder [Sat, 9 Apr 2016 10:32:33 +0000 (12:32 +0200)]
renamed bye.xhtml -> logout.xhtml

8 years agoAdded some paragraphs to index page
Roland Haeder [Fri, 8 Apr 2016 11:53:07 +0000 (13:53 +0200)]
Added some paragraphs to index page

8 years agoadded glassfish-specific role-group mapping and fixed URL pattern in web.xml
Roland Haeder [Thu, 7 Apr 2016 12:23:42 +0000 (14:23 +0200)]
added glassfish-specific role-group mapping and fixed URL pattern in web.xml

8 years agoadded some http-only configuration to avoid common XSS
Roland Haeder [Thu, 7 Apr 2016 10:58:21 +0000 (12:58 +0200)]
added some http-only configuration to avoid common XSS

8 years agoupdated jar(s)
Roland Haeder [Thu, 7 Apr 2016 09:33:03 +0000 (11:33 +0200)]
updated jar(s)

8 years agoBetter keep languages in own language
Roland Haeder [Tue, 5 Apr 2016 10:58:29 +0000 (12:58 +0200)]
Better keep languages in own language

8 years agoThese log messages are now to noisy + formated array a bit
Roland Haeder [Tue, 5 Apr 2016 10:54:19 +0000 (12:54 +0200)]
These log messages are now to noisy + formated array a bit

8 years agoLocalization support almost finished:
Roland Haeder [Mon, 4 Apr 2016 20:12:15 +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