]>
git.mxchange.org Git - jjobs-mailer-ejb.git/log
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>
Roland Häder [Tue, 6 Jun 2017 20:45:18 +0000 (22:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 3 Jun 2017 16:14:04 +0000 (18:14 +0200)]
Continued a bit:
- remote interface for resending confirmation link is now genweric in juser-lib
- updated method as checked exceptions are thrown
- updated copyright
- updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 12:38:00 +0000 (14:38 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)]
ported project to new libraries jaddressbook-share-core/lib
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 12:28:29 +0000 (14:28 +0200)]
Don't cherry-pick:
- updated jar(s)
- added new dependency jaddressbook-share-* where needed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 11:17:11 +0000 (13:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Apr 2017 11:38:27 +0000 (13:38 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Apr 2017 19:38:37 +0000 (21:38 +0200)]
Continued:
- no need to double-include footer, was an old left-over
- 'session-scoped' is better wording
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 18:16:55 +0000 (20:16 +0200)]
unencrypted ... better clear-text ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 00:17:20 +0000 (02:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 00:12:58 +0000 (02:12 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 23:03:42 +0000 (01:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 22:23:14 +0000 (00:23 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 19:17:16 +0000 (21:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 17:26:34 +0000 (19:26 +0200)]
@TODO is better than only 'TODO'
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 16:40:29 +0000 (18:40 +0200)]
nope, 'src/' must be present, then the IDE (NetBeans at least) can find it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Apr 2017 09:52:10 +0000 (11:52 +0200)]
removed navdata as it will be regenerated and ignored it as it always caused merge conflicts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Apr 2017 22:05:34 +0000 (00:05 +0200)]
updated source references, how does '/src/' come in everywhere?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Apr 2017 19:29:34 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Apr 2017 18:54:38 +0000 (20:54 +0200)]
Continued:
- addressbook-core/mailer are now referenced as projects as they are
application-specific projects and not libraries (like e.g. juser-core is)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 13 Apr 2017 19:22:40 +0000 (21:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Apr 2017 22:34:29 +0000 (00:34 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 22:09:40 +0000 (00:09 +0200)]
Updatede jar(s) + fixed some names + fixed some imports
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 21:55:11 +0000 (23:55 +0200)]
updated own name and resources
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 20:13:27 +0000 (22:13 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 20:07:48 +0000 (22:07 +0200)]
Continued a bit:
- not just cellphones, let's support any mobile phone
- implemented missing business methods
- tpzo fixed
Roland Haeder [Mon, 10 Apr 2017 19:57:30 +0000 (21:57 +0200)]
updated jar(s)
Roland Haeder [Mon, 10 Apr 2017 18:03:27 +0000 (20:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 3 Sep 2016 12:17:11 +0000 (14:17 +0200)]
updated jar(s)
Roland Haeder [Fri, 2 Sep 2016 20:21:38 +0000 (22:21 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 31 Aug 2016 20:22:44 +0000 (22:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 30 Aug 2016 17:46:12 +0000 (19:46 +0200)]
updated jar(s)
Roland Haeder [Mon, 29 Aug 2016 19:54:49 +0000 (21:54 +0200)]
updated jar(s)
Roland Haeder [Thu, 25 Aug 2016 20:12:50 +0000 (22:12 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 24 Aug 2016 20:22:13 +0000 (22:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 23 Aug 2016 17:47:40 +0000 (19:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 21 Aug 2016 20:07:31 +0000 (22:07 +0200)]
updated jar(s)
Roland Häder [Thu, 18 Aug 2016 15:05:12 +0000 (17:05 +0200)]
Continued a bit: (please cherry-pick)
- implemented missing methods
- these include a lot tests and are currently untested (may not work)
- some to specific exceptions has been replaced by a more generic exception (which is fine here)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 18 Aug 2016 17:42:59 +0000 (19:42 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 17 Aug 2016 20:20:18 +0000 (22:20 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 17 Aug 2016 19:11:56 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 17 Aug 2016 18:16:17 +0000 (20:16 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 16 Aug 2016 15:25:36 +0000 (17:25 +0200)]
Please cherry-pick:
- renamed as this is for users (and not any other entities with email-change functionality)
- added missing i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 16 Aug 2016 14:30:20 +0000 (16:30 +0200)]
Continued a bit: (please cherry-pick)
- implemented business methods findFaxNumberById() and findLandLineNumberById()
- sorted members
- fixed log message: cellphone -> mobile again and always use "number" suffix
Roland Häder [Tue, 16 Aug 2016 10:46:13 +0000 (12:46 +0200)]
renamed it as well (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 09:33:17 +0000 (11:33 +0200)]
fixed persistence.xml from renaming
Roland Häder [Tue, 16 Aug 2016 08:04:17 +0000 (10:04 +0200)]
Renaming season has started:
- renamed cellphone to mobile (all occurences)
- let's don't discrimite other mobile phones, right?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 15 Aug 2016 14:32:16 +0000 (16:32 +0200)]
removed double //NOI18N (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:28:38 +0000 (16:28 +0200)]
Opps, make all parameters final (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:27:47 +0000 (16:27 +0200)]
Fixed: (please cherry-pick)
- wrong checks, the id number is not null and 1 or larger
Roland Häder [Mon, 15 Aug 2016 12:23:13 +0000 (14:23 +0200)]
Please cherry-pick:
- sorted members
Roland Häder [Mon, 15 Aug 2016 11:00:00 +0000 (13:00 +0200)]
Please cherry-pick:
- splitted contact remote interface into general and administrative purposes
Roland Häder [Thu, 11 Aug 2016 12:26:39 +0000 (14:26 +0200)]
Tried to fix: (please cherry-pick)
- update all data in user instance and hande it over to updateUserData()
Roland Häder [Thu, 11 Aug 2016 10:30:39 +0000 (12:30 +0200)]
Continued with lock/unlock user accounts: (please cherry-pick)
- return detached and updated user instance on locking/unlocking
- update data in found instance and then merge it? A bit confusing ...
Roland Häder [Thu, 11 Aug 2016 10:16:13 +0000 (12:16 +0200)]
changed some tests (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 10:11:22 +0000 (12:11 +0200)]
Fixed wrong tests: (please cherry-pick)
- locking/unlocking an existing user account always have a valid user id set
Roland Häder [Thu, 11 Aug 2016 08:02:39 +0000 (10:02 +0200)]
Please cherry-pick:
- maybe implemented unlinkCellphoneDataFromContact() as this may not work by just unsetting (null) the instance
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 12:53:58 +0000 (14:53 +0200)]
Fixed: (please cherry-pick)
- em.remove() needs a managed entity, not a one passed from e.g. a controller
- still this method may throw an exception, e.g. when an other entity (table) references this entity
- but since deleteCellphoneNumber() *should* delete cell phone numbers, it doesn't care if the entity is still referenced.
- this needs to be taken care of the controller and not the EJB (job-executor)
Roland Häder [Wed, 10 Aug 2016 11:05:22 +0000 (13:05 +0200)]
Rewrite continued: (please cherry-pick)
- moved business methods to proper EJB as they are not contact-related but "phone-generic" enough. Maybe still mail notifications can be added to them.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 10:53:17 +0000 (12:53 +0200)]
Continued with cell phone numbers: (please cherry-pick)
- implemented deleteCellphoneData() which may work this way
- maybe still a mail might be sent
Roland Häder [Wed, 10 Aug 2016 07:58:55 +0000 (09:58 +0200)]
Ignored faces-config.NavData because this file will differ from user to user
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 13:44:15 +0000 (15:44 +0200)]
Continued: (please cherry-pick)
- implemented updateCellphoneData()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 09:20:12 +0000 (11:20 +0200)]
Moved to proper EJB: (please cherry-pick)
- these methods are not administrative, they are general and should be used there
Signed-off-by: Roland Häder <roland@mxchange.org>