]>
git.mxchange.org Git - addressbook-mailer-ejb.git/log
Roland Häder [Tue, 13 Mar 2018 21:58:42 +0000 (22:58 +0100)]
Continued:
- changed license to GNU Affero GPLv3
- changed copyright to the Free Software Foundation
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Feb 2020 01:31:29 +0000 (02:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 16:57:01 +0000 (17:57 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 15:14:19 +0000 (16:14 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 11:10:39 +0000 (12:10 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 10:46:40 +0000 (11:46 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Jan 2020 23:31:21 +0000 (00:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jun 2019 17:48:26 +0000 (19:48 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 12 Mar 2019 13:27:30 +0000 (14:27 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Dec 2018 01:30:04 +0000 (02:30 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 19 Aug 2017 13:39:53 +0000 (15:39 +0200)]
updated project properties file ... strange, again
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 22:45:28 +0000 (00:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 21:03:23 +0000 (23:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:51:37 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:20:56 +0000 (22:20 +0200)]
has been renamed, maybe fixes exception?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:10:12 +0000 (22:10 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 18:20:09 +0000 (20:20 +0200)]
Please cherry-pick:
- added required JNDI name [part] and description for developers
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 6 Aug 2017 21:22:39 +0000 (23:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Aug 2017 13:22:08 +0000 (15:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 31 Jul 2017 20:31:33 +0000 (22:31 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jul 2017 17:43:40 +0000 (19:43 +0200)]
added .gitattributes where missing
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:21 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:57:35 +0000 (10:57 +0200)]
Please cherry-pick:
- added mailer.from which is mandadory
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:56:57 +0000 (10:56 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:53:18 +0000 (10:53 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:45:44 +0000 (10:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:43:29 +0000 (10:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:49 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 21:43:49 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:39:17 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:14:36 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 10:50:14 +0000 (12:50 +0200)]
Please cherry-pick:
- also log class' name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 18:42:29 +0000 (20:42 +0200)]
removed genfiles.properties
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 18:02:24 +0000 (20:02 +0200)]
fixed JAR reference's paths (opps)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 17:16:55 +0000 (19:16 +0200)]
Please cherry-pick:
- new project 'addressbook-mailer-ejb' initialized from addressbook-ejb
- this includes one message-driven bean and a singleton bean
- the message-driven bean accepts "wrapper" objects per JMS from outside EJB
- the singleton bean is then the "backend" which loads templates and delivers
the mail
- this split from general EJB project has the benefit of easier distributing
(cluster) load
- a lot libs were no longer needed
- added velocity engine (from addressbook-mailer) as library
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 17:14:50 +0000 (19:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 16:59:49 +0000 (18:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Jul 2017 22:27:02 +0000 (00:27 +0200)]
Please cherry-pick:
- rewrote email delivery as EmailDeliveryWrapper() has now a constructor with all required fields
- also saved one parameter (one lesser = easier code)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Jul 2017 22:17:17 +0000 (00:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 21:56:04 +0000 (23:56 +0200)]
Please cherry-pick:
- 'login' is to generic, there are maybe other logins around than just for users only
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 21:14:02 +0000 (23:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:55:29 +0000 (22:55 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:32:33 +0000 (22:32 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:53:01 +0000 (21:53 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:28:44 +0000 (21:28 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 18:54:50 +0000 (20:54 +0200)]
Please cherry-pick:
- these entity hints were maybe wrong because a List<POJI> is being returned and
not POJI alone.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 22:21:47 +0000 (00:21 +0200)]
Please cherry-pick:
- checked for this.session as it is required, too
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 22:17:58 +0000 (00:17 +0200)]
Don't cherry-pick:
- need to provide email queues for these EJBs as they will attempt to call
sendEmail() which would then throw a NPE:
----------------------------
Caused by: java.lang.NullPointerException
at org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean.sendEmail(BaseFinancialsDatabaseBean.java:555)
at org.mxchange.jusercore.model.user.register.FinancialsUserRegistrationSessionBean.registerUser(FinancialsUserRegistrationSessionBean.java:208)
----------------------------
However, I will expand sendEmail() a bit to verify that the field session is
really there and not run in such ugly NPE.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:50:31 +0000 (23:50 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:45:03 +0000 (23:45 +0200)]
added missing abstract EJB 'base' beans
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:43:30 +0000 (23:43 +0200)]
Rewrite continued:
- Now all project-specific abstract web beans (controllers) inherit from BaseFacesBean to have these nice showFacesMessage() methods.
- Also all project-specific abstract EJBs inherit now only BaseDataBean (one was missing in an old project)
- So, if you have a WAR project, inherit from BaseFacesBean, if you have an EJB project, inherit from BaseDatabaseBean
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:19:43 +0000 (23:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 20:09:52 +0000 (22:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:47:45 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:26:23 +0000 (21:26 +0200)]
Please cherry-pick:
- had moved copyAll() to new utility classes which is a much better place for
them. Per EJB standards, no "complex" methods in POJOs/entity classes which
makes sense. :-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 18:59:53 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 18:21:08 +0000 (20:21 +0200)]
it is an user-specific EJB name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 24 Jun 2017 21:41:21 +0000 (23:41 +0200)]
fixed EJB name for email delivery beans
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:20:02 +0000 (00:20 +0200)]
added missing entity
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:57:52 +0000 (23:57 +0200)]
Please cherry-pick:
- EJB name is now "userRegistration"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:50:11 +0000 (23:50 +0200)]
updated JNDI names
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:49:33 +0000 (23:49 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 20:32:01 +0000 (22:32 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 20:55:38 +0000 (22:55 +0200)]
Please cherry-pick:
- moved EJBs to proper package as they are user-related beans
- handled over randomPassword parameter to sendEmail()
- or null if not possible/wanted
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 18:19:07 +0000 (20:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 20:57:34 +0000 (22:57 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 21:23:48 +0000 (23:23 +0200)]
Please cherry-pick:
- really have to call super(), else anything there, like logger bean, will not
be initialized
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 20:47:51 +0000 (22:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 19:59:04 +0000 (21:59 +0200)]
Please cherry-pick:
- gender -> personalData changed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 19:51:54 +0000 (21:51 +0200)]
Please cherry-pick:
- no gender, there is "personal title" for Mr./Mrs.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 12:45:58 +0000 (14:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 9 Jun 2017 22:47:14 +0000 (00:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 9 Jun 2017 20:53:24 +0000 (22:53 +0200)]
added missing dependencies on jaddressbook[-share]
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 Aug 2016 15:51:00 +0000 (17:51 +0200)]
Please cherry-pick:
- added base URL parameter + email delivery
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 Aug 2016 10:22:00 +0000 (12:22 +0200)]
Please cherry-pick:
- implemented business method for deleting user accounts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 26 Aug 2016 15:08:26 +0000 (17:08 +0200)]
Please cherry-pick:
- renamed variables as they hold a JPA-managed entity
Roland Häder [Thu, 25 Aug 2016 13:54:23 +0000 (15:54 +0200)]
Please cherry-pick:
- made user instance managed which causes not persisting it all over again
- renamed variable
Roland Häder [Thu, 25 Aug 2016 13:40:13 +0000 (15:40 +0200)]
Please cherry-pick:
- closed internal TODO: update new confirmation key in database + user instance
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 25 Aug 2016 12:23:11 +0000 (14:23 +0200)]
Please cherry-pick:
- first the user instance must become managed, then persist log entry ...
- better check for Long, and not != null test (very lazy)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 24 Aug 2016 15:52:34 +0000 (17:52 +0200)]
Please cherry-pick:
- added EJB for user activity log
- opps, missed this file updating ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 24 Aug 2016 14:59:51 +0000 (16:59 +0200)]
added juser-activity to persistence unit and both projects (core/lib)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 24 Aug 2016 12:27:44 +0000 (14:27 +0200)]
Please cherry-pick:
- added assert
- renamed variables to managed user/contact as this reflects the correct JPA state
Roland Häder [Wed, 24 Aug 2016 11:09:01 +0000 (13:09 +0200)]
Please cherry-pick:
- sadly all getReference() + merge() was based on wrong assumption, now find() returns a managed entity where all setter calls leads to an update
- used getManaged() of repeating code (DRY)
Roland Häder [Wed, 24 Aug 2016 09:08:21 +0000 (11:08 +0200)]
Please cherry-pick:
- unsetting all phone numbers make them disconnected from the contact instance, better is to make them managed (merge)
Roland Häder [Tue, 23 Aug 2016 15:50:42 +0000 (17:50 +0200)]
Please cherry-pick:
- if you don't want to have redundant entries (=objects aka. entities) in database of referenced entities, first you need to merge it as it is detached
- then you have a managed instance which you can set in the referencing entity back
- if you don't do this, the entity manager will "think" it is a new instance and persists + relinks it
- maybe some implementations don't do this, but the JPA standard (generic) seems to want to have this way
- do never implement for only one JPA implementation! Do always follow the generic JPA way
Roland Häder [Tue, 23 Aug 2016 15:09:52 +0000 (17:09 +0200)]
Please cherry-pick:
- explicitly flush after persisting to get id number in entity set
Roland Häder [Tue, 23 Aug 2016 13:03:00 +0000 (15:03 +0200)]
Please cherry-pick:
- copy all data from detached to managed instance before updating it
- this needs to be done before the updated timestamp is being set to make sure it is not overwritten by old value (as copyAll() may do it)
Roland Häder [Tue, 23 Aug 2016 12:13:53 +0000 (14:13 +0200)]
Please cherry-pick:
- implemented business methods for deleting/updating fax/land-line numbers
- better this way: managedBla = em.find(Bla.class, bla.getBlaId()); and then managedBla.setBlaSomeFoo(someFooValue);
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 23 Aug 2016 09:52:28 +0000 (11:52 +0200)]
Please cherry-pick:
- unset mobile number, not land-line
Roland Häder [Tue, 23 Aug 2016 09:33:14 +0000 (11:33 +0200)]
Please cherry-pick:
- detachAllContactPhoneEntries() was a bad idea, beter do it the old way.
- The returned instance was a managed instance that have been updated. First find it with find() then you have a managed instanced. Now simply update the fields you want and you are done.
Roland Häder [Mon, 22 Aug 2016 15:42:54 +0000 (17:42 +0200)]
Please cherry-pick:
- when updating contact data, detach all other referenced instances, else new entries are being created each update-time
Roland Häder [Mon, 22 Aug 2016 14:38:32 +0000 (16:38 +0200)]
Please cherry-pick:
- set "phone entry updated" timestamp
- included class name in logger message
Roland Häder [Mon, 22 Aug 2016 10:57:16 +0000 (12:57 +0200)]
Please cherry-pick:
- renamed cellphone -> mobile
Roland Häder [Mon, 22 Aug 2016 07:49:22 +0000 (09:49 +0200)]
ignored + removed (will be re-generated) genfiles.properties as this caused update problems
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 Aug 2016 16:02:37 +0000 (18:02 +0200)]
Please cherry-pick:
- called new detach method
Roland Häder [Fri, 19 Aug 2016 15:49:20 +0000 (17:49 +0200)]
Please cherry-pick:
- change find() to getReference() as this causes no additional SELECT on database backend
Roland Häder [Thu, 8 Jun 2017 20:39:51 +0000 (22:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 7 Jun 2017 20:44:48 +0000 (22:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 6 Jun 2017 20:52:39 +0000 (22:52 +0200)]
added EJBs for user-activity logging/reading
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 6 Jun 2017 20:52:01 +0000 (22:52 +0200)]
added missing JARs for new juser-acitivty dependency
Signed-off-by: Roland Häder <roland@mxchange.org>