diff options
author | James Moger <james.moger@gitblit.com> | 2013-07-03 10:01:49 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-07-03 10:01:49 -0400 |
commit | cf2ef78a8acd56363991c234830a7fe3f9d63651 (patch) | |
tree | 55b99b224420ff5d18aaadc30f6a9060b4d1f263 /src/main/java/com/gitblit/wicket/pages/SummaryPage.java | |
parent | 49b480a6b5bdb7e60838896495a97869ef401ffe (diff) | |
download | gitblit-cf2ef78a8acd56363991c234830a7fe3f9d63651.tar.gz gitblit-cf2ef78a8acd56363991c234830a7fe3f9d63651.zip |
Retrieve summary and metric charts over https (issue-61)
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/SummaryPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/SummaryPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java index 19346826..1afa967a 100644 --- a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java +++ b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java @@ -32,7 +32,6 @@ import org.apache.wicket.markup.repeater.data.DataView; import org.apache.wicket.markup.repeater.data.ListDataProvider;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
-import org.wicketstuff.googlecharts.Chart;
import org.wicketstuff.googlecharts.ChartAxis;
import org.wicketstuff.googlecharts.ChartAxisType;
import org.wicketstuff.googlecharts.ChartProvider;
@@ -53,6 +52,7 @@ import com.gitblit.utils.MarkdownUtils; import com.gitblit.utils.StringUtils;
import com.gitblit.wicket.GitBlitWebSession;
import com.gitblit.wicket.WicketUtils;
+import com.gitblit.wicket.charting.SecureChart;
import com.gitblit.wicket.panels.BranchesPanel;
import com.gitblit.wicket.panels.LinkPanel;
import com.gitblit.wicket.panels.LogPanel;
@@ -204,7 +204,7 @@ public class SummaryPage extends RepositoryPage { provider.setLineStyles(new LineStyle[] { new LineStyle(2, 4, 0), new LineStyle(0, 4, 1) });
provider.addShapeMarker(new ShapeMarker(MarkerType.CIRCLE, Color.decode("#002060"), 1, -1, 5));
- add(new Chart("commitsChart", provider));
+ add(new SecureChart("commitsChart", provider));
} else {
add(WicketUtils.newBlankImage("commitsChart"));
}
|