This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 9544e5d9ce6a6199282d3bc5bbfb1b18aee8f36e (commit)
from 7f50494365803961f1ca8257080694ed30613246 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=9544e5d9ce6a6199282d3bc5bbfb1b18aee8f36e
commit 9544e5d9ce6a6199282d3bc5bbfb1b18aee8f36e
Author: Franck Villaume <[email protected]>
Date: Tue Aug 8 14:13:20 2017 +0000
scmhg: fixed iframe size & incomplete workaround for authenticated browsing
diff --git a/src/plugins/scmhg/common/HgPlugin.class.php
b/src/plugins/scmhg/common/HgPlugin.class.php
index 082c0f1..76dfdf5 100644
--- a/src/plugins/scmhg/common/HgPlugin.class.php
+++ b/src/plugins/scmhg/common/HgPlugin.class.php
@@ -266,13 +266,13 @@ Offer DAV or SSH access.");
$iframesrc =
$protocol.'://'.$box.'/anonscm/scmhg/cgi-bin/'.$project->getUnixName();
} elseif (session_loggedin()) {
$logged_user =
user_get_object(user_getid())->getUnixName();
- $iframesrc =
$protocol.'://'.$box.'/authscm/'.$logged_user.'/scmhg/cgi-bin/'.$project->getUnixName();
+ $iframesrc =
$protocol.'://'.$box.'/authscm/'.$logged_user.'/scmhg/cgi-bin/'.$project->getUnixName().'/';
}
if ($params['commit']) {
$iframesrc .= '/rev/'.$params['commit'];
}
- htmlIframe($iframesrc, array('id' =>
'scmhg_iframe', 'absolute' => true));
+ echo '<iframe src="'.$iframesrc.'"
id="scmhg_iframe" style="width:100%; height:400px;" frameborder="0" ></iframe>';
}
}
}
-----------------------------------------------------------------------
Summary of changes:
src/plugins/scmhg/common/HgPlugin.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits