branch develop updated (c4a969b -> 486d842)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git from c4a969b Make the shortcut to open a file on the editor use the root of the repository new 486d842 Fix the access to a private Git repository by a direct link The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 486d842043054dc7425362772598886f302fcf30 Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Fri May 29 16:31:54 2015 +0200 Fix the access to a private Git repository by a direct link Summary of changes: swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java | 5 +++-- swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git commit 486d842043054dc7425362772598886f302fcf30 Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Fri May 29 16:31:54 2015 +0200 Fix the access to a private Git repository by a direct link --- swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java | 5 +++-- swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java b/swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java index 59b645f..384c5e9 100644 --- a/swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java +++ b/swe-git/src/main/java/org/nuiton/scmwebeditor/git/GitConnection.java @@ -1433,10 +1433,11 @@ public class GitConnection implements ScmConnection { } catch (TransportException e) { FileUtils.deleteDirectory(localDirectory); if (log.isErrorEnabled()) { - log.error("Can't clone the remote repository: " + addressGit, e); + log.error("Can't clone the remote repository: " + addressGit + " ; " + e.getMessage(), e); } - if (e.getMessage().endsWith("500 Internal Server Error")) { + if (e.getMessage().endsWith("500 Internal Server Error") + || e.getMessage().endsWith("no CredentialsProvider has been registered")) { throw new AuthenticationException("Can not clone the Git repository: auth failed"); } else { throw new RepositoryNotFoundException("Can not find a Git repository at address " + addressGit, e); diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp index cf5dba6..7b05e6f 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/privateScmRedirect.jsp @@ -66,7 +66,7 @@ <s:text name="scm.submit"/> </s:set> - <s:submit id="submitPrivateScm" name="Save" value="%{submit}"/> + <s:submit id="submitPrivateScm" name="Save" value="%{submit}" onclick="document.getElementById('loadingIndicator').style.display = 'block';"/> <s:set id="scm.exit"> @@ -78,6 +78,8 @@ <s:submit type="button" value="%{scm.exit}" name="exitLogin" onclick="return cancelRedirect('%{scm.exitJavascript}',document.getElementById('ProjectUrl'));"/> + <img src="struts/js/jstree/themes/classic/throbber.gif" alt="loading" id="loadingIndicator"/> + </form> <p>©2004-2015 CodeLutin</p> </body> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm