UnstableChanges

Summary

  1. tsk14 Solves some inconsistencies in the event join action (details)
  2. Adds functionalities for anonymous user check to the LoginUserController (details)
Commit 191cc8e9fe2da08a1931cc9f9c528c4609ea09a7 by Miguel Reboiro-Jato
tsk14 Solves some inconsistencies in the event join action
The current implementation of the event joining action was inconsistent
and caused some unexpected results arbitrarily. The main cause was the
use of forms inside an repeat element in the JSF layer. This
implementation has been changed and, instead of using a form, a link
redirects the join request to a new joinEvent.xhtml page, that processes
the request.
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/letta/service/EventEJB.java
The file was modifiedjsf/src/main/webapp/index.xhtml
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/letta/service/EventEJBTest.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/User.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/JoinEventControllerTest.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/EventsList.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/JoinEventController.java
The file was addedjsf/src/main/webapp/joinEvent.xhtml
Commit 88b50f351f7729a53699b20a53efd61fb8db0d1d by Miguel Reboiro-Jato
Adds functionalities for anonymous user check to the LoginUserController
This new functionalities make easier to check whether the current user
is an anonymous user or not. Additionally, redirecting functions based
on user anonymity were added to avoid illegal page access. This
functions can be used as "preView" events, to avoid page rendering when
the user can't access a certaing page.
The file was modifiedjsf/src/main/webapp/register.xhtml
The file was addedjsf/src/main/webapp/template/templateHeaderUser.xhtml
The file was modifiedjsf/src/main/webapp/logout.xhtml
The file was modifiedtests/src/main/resources/datasets/users-create-event.xml
The file was modifiedjsf/src/main/webapp/template/templateFooter.xhtml
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/CreateEventControllerTest.java
The file was modifiedjsf/src/main/webapp/login.xhtml
The file was modifiedjsf/src/main/webapp/template/templateContent.xhtml
The file was modifiedjsf/src/main/webapp/joinEvent.xhtml
The file was modifiedjsf/src/main/webapp/index.xhtml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/EventsDataset.java
The file was modifiedjsf/src/main/webapp/createEvent.xhtml
The file was modifiedjsf/src/main/webapp/template/templateHeader.xhtml
The file was modifiedjsf/src/main/webapp/confirm.xhtml
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/CreateEventPage.java
The file was modifiedjsf/src/main/webapp/template/templateLayout.xhtml
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/LoginUserController.java
The file was modifiedjsf/src/main/webapp/searchResults.xhtml