SuccessChanges

Summary

  1. Adds user registration service and tests (details)
Commit 9e741e8ddc108afac8bb80666f3bf267a829e14e by sicofan
Adds user registration service and tests
This commit adds the user registration service with email verification.
For this, functionalities preRegistration and confirmRegistration have
been added to UserEJB. In addition, Mail, UuidGenerator and
ConfirmationMail classes and MailSender and TokenGenerator interfaces
have been created.
For testing this functionalities, TokenGeneratorStub and EmailSenderSpy
classes has been created.
Besides, the property "accepted" of User entity has been deleted because
it is redundant and the VerificationToken entity has been modified for
correct operation.
The name of packages have been unified.
Some documentation has been added.
The file was modifiedtests/src/main/resources/datasets/user-delete-event.xml
The file was removedjsf/src/main/java/es/uvigo/es/esei/dgss/project/jsf/controllers/SearchController.java
The file was removedservice/src/main/java/es/uvigo/esei/dgss/project/ejb/EventEJB.java
The file was removedservice/src/main/java/es/uvigo/esei/dgss/project/ejb/Mail.java
The file was modified.gitignore
The file was addedtests/src/main/resources/datasets/tokens.xml
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/letta/entities/User.java
The file was modifiedadditional-material/db/letta-mysql.inserts.sql
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/UserEJB.java
The file was removedjsf/src/main/java/es/uvigo/es/esei/dgss/project/jsf/controllers/HomeController.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/letta/entities/VerificationToken.java
The file was modifiedtests/src/main/resources/datasets/user-update-event-head.xml
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/util/email/EmailSender.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/teama/letta/entities/VerificationTokenDataset.java
The file was modifiedservice/src/test/resources-wildfly-embedded-h2/standalone.xml
The file was modifiedtests/src/main/resources/datasets/user-update-event-start.xml
The file was removedjsf/src/main/java/es/uvigo/es/esei/dgss/project/jsf/controllers/RegisterController.java
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/token/UuidGenerator.java
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/util/email/ConfirmationMail.java
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/letta/entities/IsEqualToUser.java
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/letta/ejb/EventEJBTest.java
The file was modifiedjsf/src/test/resources-wildfly-embedded-h2/standalone.xml
The file was modifiedtests/src/main/resources/datasets/user-update-event-location.xml
The file was modifiedtests/src/main/resources/datasets/users.xml
The file was modifiedtests/src/main/resources/datasets/user-update-event-title.xml
The file was addedtests/src/main/resources/datasets/user-confirm-registration.xml
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/letta/ejb/email/EmailSenderSpy.java
The file was addedtests/src/main/resources/datasets/user-preregistration.xml
The file was addedjsf/src/main/java/es/uvigo/esei/dgss/teama/letta/jsf/HomeController.java
The file was addedjsf/src/main/java/es/uvigo/esei/dgss/teama/letta/jsf/RegisterController.java
The file was modifiedtests/src/main/resources/datasets/user-search-event.xml
The file was modifiedjsf/src/test/resources-wildfly-embedded-mysql/standalone.xml
The file was removedservice/src/main/java/es/uvigo/esei/dgss/project/ejb/UserEJB.java
The file was removedservice/src/test/java/es/uvigo/esei/dgss/project/ejb/EventEJBTest.java
The file was modifiedtests/src/main/resources/datasets/user-register.xml
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/token/TokenGenerator.java
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/util/email/Mail.java
The file was removedservice/src/test/java/es/uvigo/esei/dgss/project/ejb/ServiceTestSuite.java
The file was modifiedrest/src/test/resources-wildfly-embedded-mysql/standalone.xml
The file was modifiedrest/src/test/resources-wildfly-embedded-h2/standalone.xml
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/letta/ejb/ServiceTestSuite.java
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/util/email/MailSender.java
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/letta/ejb/EventEJB.java
The file was addedjsf/src/main/java/es/uvigo/esei/dgss/teama/letta/jsf/SearchController.java
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/letta/ejb/UserEJBTest.java
The file was modifiedtests/src/main/resources/datasets/user-update-event-description.xml
The file was modifiedadditional-material/wildfly/standalone.xml
The file was modifiedservice/src/test/resources-wildfly-embedded-mysql/standalone.xml
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/letta/ejb/token/TokenGeneratorStub.java