]>
git.mxchange.org Git - juser-core.git/log
Roland Häder [Sun, 22 Jan 2023 00:44:52 +0000 (01:44 +0100)]
Continued:
- constructors of enumerations cannot be unit-tested with null references, also
they are private by definition and those methods and constructors are really
hard to test. Still making all methods and constructors public only for being
unit-tested isn't right, too
Roland Häder [Fri, 20 Jan 2023 02:46:56 +0000 (03:46 +0100)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 24 Nov 2022 03:29:05 +0000 (04:29 +0100)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 24 Nov 2022 01:24:58 +0000 (02:24 +0100)]
Don't cherry-pick:
- upgraded project files for Apache NetBeans IDE 15
Roland Häder [Wed, 16 Nov 2022 13:13:05 +0000 (14:13 +0100)]
Continued:
- renamed testUserEquals*() to testUser2Equals() as user2 (right side) has
being set class fields
- also duplicated them for setting class fields in user1 (left side) and testing
equals() method
Roland Häder [Sat, 12 Nov 2022 21:12:24 +0000 (22:12 +0100)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 12 Nov 2022 20:30:13 +0000 (21:30 +0100)]
Continued:
- added underscores for better readability
Roland Häder [Sat, 12 Nov 2022 19:09:53 +0000 (20:09 +0100)]
Continued:
- added unit test case for LoginUser class (only as a POJO)
- used new EnumUtils.compare() method to compare enumerations null-safe.
Under normal conditions, this won't be the case. The only case (currently)
happens that a NPE is being thrown when an "empty" LoginUser object is being
compared with an object with all required fields set (those which are not
null or optional)
- sorted members
- enumeration's constructors can have exceptions but they cannot be tested?
- ignored some files from TestNG
- updated jar(s)
Roland Häder [Sat, 12 Nov 2022 13:28:52 +0000 (14:28 +0100)]
Continued:
- added unit tests for UserUtils class (finished) based on TestNG 6.8.1
- added jcountry-core and jcore-utils as JAR dependencies as the unit tests
require them to be around
- updated jar(s)
Roland Häder [Sun, 6 Nov 2022 00:48:57 +0000 (01:48 +0100)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Nov 2022 08:08:39 +0000 (09:08 +0100)]
Continued:
- use formatTimestampFromUser() instead
- also make sure that "entryCreated" is always there, if it is null, it means
that an EJB has not properly set it
Roland Häder [Sat, 5 Nov 2022 07:53:49 +0000 (08:53 +0100)]
Continued:
- the prefix "get" is exclusively for getters, you need to find others for
non-getter methods
- also check if userLocale is set
- sorted members
Roland Häder [Sat, 5 Nov 2022 06:52:48 +0000 (07:52 +0100)]
Continued:
- added Apache Lang3 3.12.0
- compare userName and userConfirmKey with Apache's StringUtils utilities class
- also compare primary key from email_change entity
- first optional constructor now requires status being provided (please use
EmailChangeStatus.NEW where possible)
Roland Häder [Sat, 5 Nov 2022 06:43:18 +0000 (07:43 +0100)]
Continued:
- also check user's locale (equals() and hashCode())
Roland Häder [Sun, 23 Oct 2022 22:03:47 +0000 (00:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Oct 2022 16:33:17 +0000 (18:33 +0200)]
Continued:
- compare more than just user name and contact instance so it can be sorted by
them as well
Roland Häder [Sun, 23 Oct 2022 16:03:35 +0000 (18:03 +0200)]
Continued:
- added a long description, why you should invoke a simplier constructor
- added checks on arguments/parameter in some constructors
- sorted enum members, thanks to EnumType.STRING you don't have to touch your
data
Roland Häder [Sat, 22 Oct 2022 11:15:45 +0000 (13:15 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Oct 2022 11:49:31 +0000 (13:49 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Oct 2022 11:48:36 +0000 (13:48 +0200)]
Changed:
- updated reference from Comparables to ComparableUtils
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Oct 2022 11:46:04 +0000 (13:46 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 18 Oct 2022 14:02:43 +0000 (16:02 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 18 Oct 2022 13:55:38 +0000 (15:55 +0200)]
Continued:
- removed duplicate check for userName property
Roland Häder [Wed, 12 Oct 2022 23:05:19 +0000 (01:05 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Oct 2022 18:05:24 +0000 (20:05 +0200)]
updated references
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Oct 2022 18:04:14 +0000 (20:04 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Oct 2022 14:06:44 +0000 (16:06 +0200)]
Continued:
- renamed utilities class Users to UserUtils
- moved it to own package
Roland Häder [Thu, 6 Oct 2022 14:00:52 +0000 (16:00 +0200)]
Continued:
- updated package name
Roland Häder [Thu, 6 Oct 2022 13:04:18 +0000 (15:04 +0200)]
Continued:
- use null-safe Contacts.compare()
Roland Häder [Thu, 6 Oct 2022 11:58:45 +0000 (13:58 +0200)]
Continued:
- if you compare class fields in equals() method also add them to hashCode()
- ops, I didn't do that!
- sorted members in hashCode() to fit sorting with if() blocks in equals()
method
- added some more class fields for object-comparison
Roland Häder [Fri, 23 Sep 2022 16:47:04 +0000 (18:47 +0200)]
Continued:
- also compare userId entity property
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Sep 2022 12:53:03 +0000 (14:53 +0200)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 15 Sep 2022 05:51:28 +0000 (07:51 +0200)]
Continued:
- updated Commons Lang3 to 3.12.0
- updated JAR(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 15 Sep 2022 05:35:16 +0000 (07:35 +0200)]
Continued:
- updated codec to 1.15
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 14 Sep 2022 06:41:12 +0000 (08:41 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 14 Sep 2022 06:12:36 +0000 (08:12 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Jun 2022 11:09:37 +0000 (13:09 +0200)]
Continued:
- tpzo fixed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Jun 2022 11:08:38 +0000 (13:08 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Jun 2022 10:55:41 +0000 (12:55 +0200)]
Continued:
- properties variable can be final (yay!)
Roland Häder [Tue, 21 Jun 2022 23:15:17 +0000 (01:15 +0200)]
only these files are text/plain
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:14:50 +0000 (01:14 +0200)]
only these files are text/plain
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:12:37 +0000 (01:12 +0200)]
updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:10:01 +0000 (01:10 +0200)]
updated/added jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 19 May 2020 23:11:42 +0000 (01:11 +0200)]
Continued:
- cleaned up old JPQL queries, you can fetch the whole list (high memory
footprint but very performant) and do your custom checks on it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 19 May 2020 22:57:00 +0000 (00:57 +0200)]
Continued:
- renamed userCreated to userEntryCreated
- renamed userUpdated to userEntryUpdated
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 9 May 2020 23:54:18 +0000 (01:54 +0200)]
Continued:
- renamed other to fooEntity
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 24 Apr 2020 14:53:03 +0000 (16:53 +0200)]
Continued:
- copyFooData() shall check if both source and target are not the same
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 19 Apr 2020 04:12:38 +0000 (06:12 +0200)]
Continued:
- always validate parameter of public/package/protected methods and constructors
- renamed i18nKey to messageKey
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 18 Apr 2020 13:42:08 +0000 (15:42 +0200)]
Continued:
- renamed copyAll() to copyFooData()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 16 Apr 2020 22:23:15 +0000 (00:23 +0200)]
Continued:
- don't use primary key in equals()/hashCode() methods, better try to distinct
entities with other properties
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 16 Apr 2020 22:01:41 +0000 (00:01 +0200)]
Continued:
- replaced JavaEE 7.0 API with JPA 2.1 API
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 16 Apr 2020 22:01:03 +0000 (00:01 +0200)]
Continued:
- moved post events in own package
- created first pre event
- removed clear events
- removed no longer used constructor
- "validate" all parameter in constructor
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 16 Mar 2020 04:27:59 +0000 (05:27 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Feb 2020 21:24:03 +0000 (22:24 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Feb 2020 01:30:42 +0000 (02:30 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 16:56:51 +0000 (17:56 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 15:12:33 +0000 (16:12 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 10:44:19 +0000 (11:44 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Jan 2020 23:31:10 +0000 (00:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Jan 2020 23:30:26 +0000 (00:30 +0100)]
Continued:
- updated Apache Commons Codec to 1.12
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jun 2019 17:47:57 +0000 (19:47 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 12 Mar 2019 13:26:51 +0000 (14:26 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 28 Jan 2019 17:10:46 +0000 (18:10 +0100)]
Continued:
- added missing JAR(s)
- added missing license file
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Dec 2018 01:29:20 +0000 (02:29 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 27 Apr 2018 22:53:00 +0000 (00:53 +0200)]
Continued:
- "created" timestamps should never be copied
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 22:03:36 +0000 (23:03 +0100)]
Continued:
- Objects.equals() is an overdose here, as a possible null-reference has
already been checked before
- fixed copyright notice
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 21:43:49 +0000 (22:43 +0100)]
Continued:
- renamed UserUtils -> Users to follow common naming-convention
- added Users.compare() method to compare two instances of users
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 00:14:20 +0000 (01:14 +0100)]
Continued:
- jcore-utils was splitted out from jcoreee to reduce project centralization
(means you have to that whole fat bunch of classes but only use a few)
- removed no longer used jcoreee.jar
- updated commons-codec to 1.11
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 18 Mar 2018 21:45:24 +0000 (22:45 +0100)]
Continued:
- used new NumberUtils class for null-safe comparison
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 18 Mar 2018 16:36:26 +0000 (17:36 +0100)]
Continued;
- implemented Comparable
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 18 Mar 2018 16:06:27 +0000 (17:06 +0100)]
Continued:
- imlemented Comparable
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 13 Mar 2018 00:22:30 +0000 (01:22 +0100)]
Continued:
- removed no longer recommended named queries, please use JCache in your
application and AllFoos named queries to archive the same but with lesser
EJB invocations.
- updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 22 Dec 2017 23:00:01 +0000 (00:00 +0100)]
Changed copyright notice to the FSF, so after my death they will continue my
interests, nice!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 19 Nov 2017 00:35:58 +0000 (01:35 +0100)]
Continued:
- userMustChangePassword is no longer optional, please do make a choice here
- remember that userContact.contactId could be NULL when it has been created
while the user's account has been created
- added constructor with all required fields and validated them in it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 1 Nov 2017 21:49:28 +0000 (22:49 +0100)]
Continued:
- removed Search<Entity>ById as this is considered as performance-reducing. The
reason is, that the EJB will then be more "asked" for single entries only.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 22 Sep 2017 22:04:14 +0000 (00:04 +0200)]
Continued:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
PrimeFaces' p:calendar [!] tag
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 10 Sep 2017 14:46:48 +0000 (16:46 +0200)]
Continued:
- fixed imports
- CSS classes are now dash-separated
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 22:45:24 +0000 (00:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 21:02:23 +0000 (23:02 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:51:29 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 16 Aug 2017 19:02:29 +0000 (21:02 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 15 Aug 2017 20:54:29 +0000 (22:54 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 6 Aug 2017 21:22:29 +0000 (23:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 6 Aug 2017 21:13:06 +0000 (23:13 +0200)]
fixed my name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Aug 2017 18:21:51 +0000 (20:21 +0200)]
renamed event classes/interfaces as these events are generic enough
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Aug 2017 13:21:26 +0000 (15:21 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 31 Jul 2017 20:31:25 +0000 (22:31 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 20:13:02 +0000 (22:13 +0200)]
Continued a bit:
- added events for when a user name or password should be cleared. Much better
style than directly clearing it.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 19:49:30 +0000 (21:49 +0200)]
Continued a bit:
- added new event for when a bean helper has successfully created a user
instance
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jul 2017 17:36:01 +0000 (19:36 +0200)]
updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:14 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:43 +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:37 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 18:44:57 +0000 (20:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Jul 2017 08:19:48 +0000 (10:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 13:47:03 +0000 (15:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 13:46:01 +0000 (15:46 +0200)]
updated dist.sh: SSH upload is now fully optional
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:39:15 +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:25 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:00:05 +0000 (21:00 +0200)]
swapped out to new project juser-login-core
Signed-off-by: Roland Häder <roland@mxchange.org>