mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
Fix mindmap expport.
This commit is contained in:
parent
f52f01a6b1
commit
bed005afef
@ -45,7 +45,7 @@ public abstract class BaseSecurityAdvice {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isAllowed) {
|
if (!isAllowed) {
|
||||||
throw new AccessDeniedSecurityException("User '" + user.getEmail() + "' not allowed to invoke:" + methodInvocation);
|
throw new AccessDeniedSecurityException("User '" + (user != null ? user.getEmail() : "none") + "' not allowed to invoke:" + methodInvocation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
<sec:http pattern="/c/search.htm" security="none"/>
|
<sec:http pattern="/c/search.htm" security="none"/>
|
||||||
<sec:http pattern="/c/keyboard.htm" security="none"/>
|
<sec:http pattern="/c/keyboard.htm" security="none"/>
|
||||||
<sec:http pattern="/c/embeddedview.htm" security="none"/>
|
<sec:http pattern="/c/embeddedview.htm" security="none"/>
|
||||||
<sec:http pattern="/c/export.htm" security="none"/>
|
|
||||||
<sec:http pattern="/c/publicview.htm" security="none"/>
|
<sec:http pattern="/c/publicview.htm" security="none"/>
|
||||||
<sec:http pattern="/service/transform*" security="none"/>
|
<sec:http pattern="/service/transform*" security="none"/>
|
||||||
|
|
||||||
@ -45,7 +44,7 @@
|
|||||||
<sec:form-login login-page="/c/login.htm" default-target-url='/c/mymaps.htm'
|
<sec:form-login login-page="/c/login.htm" default-target-url='/c/mymaps.htm'
|
||||||
always-use-default-target='true' authentication-failure-url="/c/login.htm?login_error=2"
|
always-use-default-target='true' authentication-failure-url="/c/login.htm?login_error=2"
|
||||||
login-processing-url="/j_spring_security_check"/>
|
login-processing-url="/j_spring_security_check"/>
|
||||||
<sec:remember-me key="rememberMeKey" user-service-ref="userDetailsService"/>
|
<sec:remember-me key="_spring_security_remember_me" user-service-ref="userDetailsService"/>
|
||||||
<sec:logout logout-url="/c/logout.htm" invalidate-session="true" logout-success-url="/c/login.htm"/>
|
<sec:logout logout-url="/c/logout.htm" invalidate-session="true" logout-success-url="/c/login.htm"/>
|
||||||
</sec:http>
|
</sec:http>
|
||||||
|
|
||||||
|
@ -1,24 +1,15 @@
|
|||||||
<%@ include file="/jsp/init.jsp" %>
|
<%--@elvariable id="isHsql" type="boolean"--%>
|
||||||
<script type="text/javascript">
|
|
||||||
if(typeof isOldIE != "undefined"){
|
|
||||||
window.onload = function() {
|
|
||||||
var simpleButtonGenerator = RUZEE.ShadedBorder.create({ corner:8, border:1 });
|
|
||||||
simpleButtonGenerator.render('login');
|
|
||||||
|
|
||||||
$('submitButton').onclick = displayLoading;
|
<%@ include file="/jsp/init.jsp" %>
|
||||||
};
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="loginContent">
|
<div id="loginContent">
|
||||||
|
|
||||||
<div id="news" class="sb">
|
<div id="news" class="sb">
|
||||||
<h1>What is New: </h1>
|
<h1>What is New: </h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Links Between Nodes</li>
|
<li>Links Between Nodes</li>
|
||||||
<li>FreeMind 0.9 Update</li>
|
<li>FreeMind 0.9 Update</li>
|
||||||
<li>Improved HTML 5.0 Support</li>
|
<li>Improved HTML 5.0 Support</li>
|
||||||
<li>Firefox 4.0 is officially supported</li>
|
<li>Firefox 6.0 is officially supported</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="login" class="sb">
|
<div id="login" class="sb">
|
||||||
@ -29,7 +20,7 @@
|
|||||||
<form action="<c:url value='/j_spring_security_check'/>" method="POST">
|
<form action="<c:url value='/j_spring_security_check'/>" method="POST">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:if test="${not empty param.login_error}">
|
<c:if test="${not empty param.login_error}">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
@ -45,42 +36,42 @@
|
|||||||
</c:choose>
|
</c:choose>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:if>
|
</c:if>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="formLabel">
|
<td class="formLabel">
|
||||||
<spring:message code="EMAIL"/>:
|
<spring:message code="EMAIL"/>:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='text' tabindex="1" id="email" name='j_username'/>
|
<input type='text' tabindex="1" id="email" name='j_username'/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="formLabel">
|
<td class="formLabel">
|
||||||
<spring:message code="PASSWORD"/>:
|
<spring:message code="PASSWORD"/>:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='password' tabindex="2" id="password" name='j_password'/>
|
<input type='password' tabindex="2" id="password" name='j_password'/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="formLabel">
|
<td class="formLabel">
|
||||||
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"/>
|
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<spring:message code="REMEMBER_ME"/>
|
<spring:message code="REMEMBER_ME"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td>
|
<td>
|
||||||
<input type="submit" class="btn-primary" id="submitButton"
|
<input type="submit" class="btn-primary" id="submitButton"
|
||||||
value="<spring:message code="SIGN_IN"/>">
|
value="<spring:message code="SIGN_IN"/>">
|
||||||
|
|
||||||
<div style="text-align:right;"><a href="<c:url value="forgotPassword.htm"/>">
|
<div style="text-align:right;"><a href="<c:url value="forgotPassword.htm"/>">
|
||||||
<spring:message code="FORGOT_PASSWORD"/>
|
<spring:message code="FORGOT_PASSWORD"/>
|
||||||
</a></div>
|
</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
@ -100,5 +91,10 @@
|
|||||||
<c:if test="${isHsql== 'true'}">
|
<c:if test="${isHsql== 'true'}">
|
||||||
|
|
||||||
|
|
||||||
<div style="padding:10px;background-color: #E0EFFF; border-radius: 5px 5px 5px 5px;border-style:solid;border-color:gray"><img src="../images/info.png" style="margin:0px 4px">Note: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.5 instead. You can find more information how to configure MySQL <a href="http://www.wisemapping.org/documentation/configu">here</a>.</div>
|
<div style="padding:10px;background-color: #E0EFFF; border-radius: 5px 5px 5px 5px;border-style:solid;border-color:gray">
|
||||||
|
<img src="../images/info.png" style="margin:0 4px">Note: Although HSQLDB is bundled with WiseMapping by
|
||||||
|
default during the installation, we do not recommend this database for production use. Please consider using
|
||||||
|
MySQL 5.5 instead. You can find more information how to configure MySQL <a
|
||||||
|
href="http://www.wisemapping.org/documentation/configu">here</a>.
|
||||||
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
@ -40,6 +40,9 @@
|
|||||||
var userOptions = ${mindmap.properties};
|
var userOptions = ${mindmap.properties};
|
||||||
options.zoom = userOptions.zoom;
|
options.zoom = userOptions.zoom;
|
||||||
|
|
||||||
|
// Set map id ...
|
||||||
|
options.mapId = mapId;
|
||||||
|
|
||||||
// Build designer ...
|
// Build designer ...
|
||||||
var designer = buildDesigner(options);
|
var designer = buildDesigner(options);
|
||||||
|
|
||||||
|
@ -112,8 +112,6 @@
|
|||||||
|
|
||||||
// Finally, submit map ...
|
// Finally, submit map ...
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
|
|
||||||
MooDialog.Request.active.close();
|
MooDialog.Request.active.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user