]>
git.mxchange.org Git - pizzaservice-war.git/log
Roland Häder [Mon, 18 Apr 2016 15:14:52 +0000 (17:14 +0200)]
Controllers should always have "Controller" as suffix in name
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>
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>
Roland Haeder [Mon, 18 Apr 2016 18:41:58 +0000 (20:41 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 17 Apr 2016 18:27:28 +0000 (20:27 +0200)]
Correct controller
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?
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)
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)
Roland Haeder [Sun, 17 Apr 2016 16:45:29 +0000 (18:45 +0200)]
Prevent NPE
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
Roland Haeder [Sun, 17 Apr 2016 15:49:02 +0000 (17:49 +0200)]
Renamed strings for better wording
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)
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>
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.
Roland Haeder [Sun, 17 Apr 2016 14:51:25 +0000 (16:51 +0200)]
Opps ...
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>
Roland Haeder [Sun, 17 Apr 2016 14:34:31 +0000 (16:34 +0200)]
Moved category/product pages/templates to corresponding sub folders (re-organizing)
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.
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
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>
Roland Haeder [Fri, 15 Apr 2016 18:23:45 +0000 (20:23 +0200)]
very noisy debug lines commented out
Roland Haeder [Fri, 15 Apr 2016 18:21:38 +0000 (20:21 +0200)]
very noisy debug lines commented out
Roland Haeder [Thu, 14 Apr 2016 19:50:22 +0000 (21:50 +0200)]
fixed #tpyo in language string key
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
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>
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 [Thu, 14 Apr 2016 13:19:28 +0000 (15:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
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 [Wed, 13 Apr 2016 21:03:32 +0000 (23:03 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 13 Apr 2016 20:57:33 +0000 (22:57 +0200)]
Also check for null, if the form fields are not given
Roland Haeder [Wed, 13 Apr 2016 20:38:39 +0000 (22:38 +0200)]
Better check the parameter on missing (but important) stuff
Roland Haeder [Wed, 13 Apr 2016 20:10:40 +0000 (22:10 +0200)]
Split of shop controller into category and product
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.
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>
Roland Haeder [Tue, 12 Apr 2016 21:52:34 +0000 (23:52 +0200)]
Made administrative product list cached to save EJB calls.
Roland Haeder [Tue, 12 Apr 2016 20:46:57 +0000 (22:46 +0200)]
fixed JNDI names
Roland Haeder [Tue, 12 Apr 2016 20:43:15 +0000 (22:43 +0200)]
moved classes to proper package
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>
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>
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>
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 19:16:15 +0000 (21:16 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 Apr 2016 17:55:12 +0000 (19:55 +0200)]
sorted members (normally I do this before I save the file)
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)
Roland Haeder [Mon, 11 Apr 2016 17:44:19 +0000 (19:44 +0200)]
updated jar(s)
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>
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>
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.
Roland Haeder [Mon, 11 Apr 2016 16:53:48 +0000 (18:53 +0200)]
Opps, copy-paste mistake ...
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 [Mon, 11 Apr 2016 15:01:21 +0000 (17:01 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 Apr 2016 10:10:17 +0000 (12:10 +0200)]
updated jar(s)
Roland Haeder [Sun, 10 Apr 2016 19:15:59 +0000 (21:15 +0200)]
No NameValidator here, maybe later a EmptyNameValidator will come?
Roland Haeder [Sun, 10 Apr 2016 19:13:30 +0000 (21:13 +0200)]
These are not required for admin_add_user
Roland Haeder [Sun, 10 Apr 2016 19:10:38 +0000 (21:10 +0200)]
Opps, 1 was to much ...
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 18:28:12 +0000 (20:28 +0200)]
Added missing language strings and fixed #tpyo in it
Roland Haeder [Sun, 10 Apr 2016 18:25:21 +0000 (20:25 +0200)]
it is no longer selectable, but it is a category id
Roland Haeder [Sun, 10 Apr 2016 18:20:35 +0000 (20:20 +0200)]
added administrative edit/delete for categories and products
Roland Haeder [Sun, 10 Apr 2016 18:02:01 +0000 (20:02 +0200)]
Language fixes ...
Roland Haeder [Sun, 10 Apr 2016 17:57:28 +0000 (19:57 +0200)]
added hasUsers() which checks if users are registered.
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)
Roland Haeder [Sun, 10 Apr 2016 16:02:49 +0000 (18:02 +0200)]
More language externalized
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
Roland Haeder [Sun, 10 Apr 2016 14:41:40 +0000 (16:41 +0200)]
added registration controller (bean) from addressbook project
Roland Haeder [Sun, 10 Apr 2016 14:29:46 +0000 (16:29 +0200)]
introduced clear() for clean code style
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
Roland Haeder [Sun, 10 Apr 2016 14:11:32 +0000 (16:11 +0200)]
no shortening
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)
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)
Roland Haeder [Sun, 10 Apr 2016 13:09:48 +0000 (15:09 +0200)]
Fixed wrong EJB name
Roland Haeder [Sun, 10 Apr 2016 13:00:43 +0000 (15:00 +0200)]
updated jar(s)
Roland Haeder [Sun, 10 Apr 2016 12:44:41 +0000 (14:44 +0200)]
More trace messages added
Roland Haeder [Sun, 10 Apr 2016 12:40:44 +0000 (14:40 +0200)]
moved to new place
Roland Haeder [Sun, 10 Apr 2016 12:38:38 +0000 (14:38 +0200)]
Some fixes + added missing "extends Serializable"
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
Roland Haeder [Sun, 10 Apr 2016 11:51:51 +0000 (13:51 +0200)]
Opps, copied to much ...
Roland Haeder [Sun, 10 Apr 2016 11:35:36 +0000 (13:35 +0200)]
updated jar(s)
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.
Roland Haeder [Sun, 10 Apr 2016 11:18:54 +0000 (13:18 +0200)]
Used global, portable JNDI names for all beans
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
Roland Haeder [Sat, 9 Apr 2016 19:56:52 +0000 (21:56 +0200)]
this project may sent out mails later on.
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
Roland Haeder [Sat, 9 Apr 2016 18:46:22 +0000 (20:46 +0200)]
Finished some translations
Roland Haeder [Sat, 9 Apr 2016 18:41:49 +0000 (20:41 +0200)]
also include group for having it working ... ;-)
Roland Haeder [Sat, 9 Apr 2016 18:38:29 +0000 (20:38 +0200)]
Better name for now (minor)
Roland Haeder [Sat, 9 Apr 2016 18:33:56 +0000 (20:33 +0200)]
Correct EJB name
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".
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
Roland Haeder [Sat, 9 Apr 2016 12:11:53 +0000 (14:11 +0200)]
Aligned ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 9 Apr 2016 12:09:13 +0000 (14:09 +0200)]
added admin_user_add.xhtml
Roland Haeder [Sat, 9 Apr 2016 11:54:15 +0000 (13:54 +0200)]
added navigation cases (really lazy) for admin pages
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>
Roland Haeder [Sat, 9 Apr 2016 11:22:33 +0000 (13:22 +0200)]
Added generic user list/edit/delete/un-/lock menus (stubs only)
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)
Roland Haeder [Sat, 9 Apr 2016 10:48:27 +0000 (12:48 +0200)]
Template improved (easier to localize)
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 ;-)
Roland Haeder [Sat, 9 Apr 2016 10:32:33 +0000 (12:32 +0200)]
renamed bye.xhtml -> logout.xhtml
Roland Haeder [Fri, 8 Apr 2016 11:53:07 +0000 (13:53 +0200)]
Added some paragraphs to index page
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