Fix for Bug #4877 Email Notification sent multiple times
sometimes git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/join-vre@131020 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
70c456ab50
commit
41fbab1568
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" output="target/join-vre-3.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
<classpathentry kind="src" output="target/join-vre-3.0.1-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
@ -31,5 +31,5 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/join-vre-3.0.0-SNAPSHOT/WEB-INF/classes"/>
|
<classpathentry kind="output" path="target/join-vre-3.0.1-SNAPSHOT/WEB-INF/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1,18 +1,28 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
<Changeset component="org.gcube.portlets-user.join-vre.3.0.0" date="2016-03-28">
|
<Changeset component="org.gcube.portlets-user.join-vre.3.0.1"
|
||||||
|
date="2016-08-25">
|
||||||
|
<Change>Fix for Bug #4877 Email Notification sent multiple times
|
||||||
|
sometimes</Change>
|
||||||
|
</Changeset>
|
||||||
|
<Changeset component="org.gcube.portlets-user.join-vre.3.0.0"
|
||||||
|
date="2016-03-28">
|
||||||
<Change>Ported to Liferay 6.2</Change>
|
<Change>Ported to Liferay 6.2</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.join-vre.2.0.0"
|
<Changeset component="org.gcube.portlets-user.join-vre.2.0.0"
|
||||||
date="2015-10-22">
|
date="2015-10-22">
|
||||||
<Change>Refactored to support virtual groups and related descriptions
|
<Change>Refactored to support virtual groups and related descriptions
|
||||||
through LR Custom Field</Change>
|
through LR Custom Field
|
||||||
|
</Change>
|
||||||
<Change>Refactored with GWT Bootstrap, new look and feel</Change>
|
<Change>Refactored with GWT Bootstrap, new look and feel</Change>
|
||||||
<Change>Added support for showing external hosted VREso, see Feature #755</Change>
|
<Change>Added support for showing external hosted VREso, see Feature
|
||||||
|
#755
|
||||||
|
</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.join-vre.1.1.0"
|
<Changeset component="org.gcube.portlets-user.join-vre.1.1.0"
|
||||||
date="2015-04-28">
|
date="2015-04-28">
|
||||||
<Change>Redesigned and restyles the way vre description is shown to
|
<Change>Redesigned and restyles the way vre description is shown to
|
||||||
end users</Change>
|
end users
|
||||||
|
</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.join-vre.1.0.0"
|
<Changeset component="org.gcube.portlets-user.join-vre.1.0.0"
|
||||||
date="2015-03-02">
|
date="2015-03-02">
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
<artifactId>join-vre</artifactId>
|
<artifactId>join-vre</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<version>3.0.0-SNAPSHOT</version>
|
<version>3.0.1-SNAPSHOT</version>
|
||||||
<name>gCube Join VRE Portlet</name>
|
<name>gCube Join VRE Portlet</name>
|
||||||
<description>Display the available VRE to Join</description>
|
<description>Display the available VRE to Join</description>
|
||||||
<scm>
|
<scm>
|
||||||
|
|
|
@ -57,6 +57,7 @@ public class AccessVREDialog extends Composite {
|
||||||
void confirm(ClickEvent e) {
|
void confirm(ClickEvent e) {
|
||||||
helpBlock.setText("Registering to " + myVRE.getName() + " please wait ... ");
|
helpBlock.setText("Registering to " + myVRE.getName() + " please wait ... ");
|
||||||
loading.setVisible(true);
|
loading.setVisible(true);
|
||||||
|
confirmRequest.setEnabled(false);
|
||||||
joinService.registerUser(myVRE.getinfraScope(), myVRE.getId(), IS_INVITATION, new AsyncCallback<Boolean>() {
|
joinService.registerUser(myVRE.getinfraScope(), myVRE.getId(), IS_INVITATION, new AsyncCallback<Boolean>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -77,6 +77,7 @@ public class AccessViaInviteDialog extends Composite {
|
||||||
void confirm(ClickEvent e) {
|
void confirm(ClickEvent e) {
|
||||||
helpBlock.setText("Registering to " + myVRE.getName() + " please wait ... ");
|
helpBlock.setText("Registering to " + myVRE.getName() + " please wait ... ");
|
||||||
loading.setVisible(true);
|
loading.setVisible(true);
|
||||||
|
confirmRequest.setEnabled(false);
|
||||||
joinService.registerUser(myVRE.getinfraScope(), myVRE.getId(), IS_INVITATION, new AsyncCallback<Boolean>() {
|
joinService.registerUser(myVRE.getinfraScope(), myVRE.getId(), IS_INVITATION, new AsyncCallback<Boolean>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -55,6 +55,7 @@ public class RequestMembershipDialog extends Composite {
|
||||||
@UiHandler("confirmRequest")
|
@UiHandler("confirmRequest")
|
||||||
void confirm(ClickEvent e) {
|
void confirm(ClickEvent e) {
|
||||||
String text = optionalText.getText();
|
String text = optionalText.getText();
|
||||||
|
confirmRequest.setEnabled(false);
|
||||||
joinService.addMembershipRequest(myVRE.getinfraScope(), text, new AsyncCallback<Void>() {
|
joinService.addMembershipRequest(myVRE.getinfraScope(), text, new AsyncCallback<Void>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(Void result) {
|
public void onSuccess(Void result) {
|
||||||
|
|
Loading…
Reference in New Issue