webdetails / cde Goto Github PK
View Code? Open in Web Editor NEWCommunity Dashboard Editor
Home Page: http://www.webdetails.pt
License: Mozilla Public License 2.0
Community Dashboard Editor
Home Page: http://www.webdetails.pt
License: Mozilla Public License 2.0
Tested under:
Dashboard properties:
Dashboard architecture:
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Top 5 Brands Sales Wise</h3>
</div>
<div class="panel-body" id="Panel1">
Panel content
</div>
</div>
When working on a dashboard in edition and clicking on the "preview your dasboard" button,
the Bootstrap css doesn't seems to be loaded (instead the blueprint css are active as can be seen from the firebug console).
When viewing the Dashboard file by opening it (instead of editing it) the bootsrap css are well rendered thought.
Is it a bug or am I missing something?
Today I installed the last version of CDE (through ctools-installer.sh).
In the file
system/pentaho-cdf-dd/settings.xml
inside the element <custom-components>
, after
<path>system/pentaho-cdf-dd/resources/custom/components</path>
there is also the following element:
<path>cde/components</path>
but this path does not exists, as reported by Tomcat during the deploying phase at startup.
I think that the right value could be:
<path>system/pentaho-cdf-dd/resources/base/components</path>
Moreover, may it need other paths to find other components, e.g., autocomplete component?
The "Save as Template" options saves only the layout, it does not save the components and Data Sources even if options to "include components" and "Include Data Sources" is selected.
If the expected behavior of "Save As template" is to create a custom template with only the layout, the "Save As Template" popup window have should not have options to "include components" and "Include Data Sources". These two options should not be available because it is confusing.
If the expected behavior of "Save As template" is to create a custom template with the layout, components and datasources then this bug should be fixed.
Note: The custom template does store "components" and "datasources" information, but the corresponding dashboard created using this template does not store the "component" and "datasource" information.
we are currently using Pentaho with a CDE Dashboard on bootstrap template. When opening the Dashboard in Pentaho Mobile or in Safari/Chrome on an iPad 2 we are unable to scroll down on the Dashboard.
We already tried the fixes provided in the Pentaho forums (e.g. http://forums.pentaho.com/showthread.php?131973-Pentaho-4-5-CE-and-iPAD-(no-scrolling-inside-mantle-tabs) and http://redmine.webdetails.org/issues/2850) but this does not work.
tested software versions: Pentaho BI Server: 5.1 and 5.2, currently 5.2.0.2.84 Pentaho CDE: v14.07.29 Pentaho Mobile App: newest version for Pentaho 5 iPad Version: 2, updated
The code we use:
var applyScroll = function() {
var zoom, height = $(window.top).height();
$('body').css({'height': height, 'overflow-y': 'scroll', 'webkit-overflow-scrolling': 'touch'});
(Math.abs(window.top.orientation) == 90 ) ? zoom = '100%' : zoom = '78%';
$('.container').first().css('zoom', zoom);
}
if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g) && (window.innerHeight != window.top.innerHeight)) {
$(document).ready(function() {
applyScroll();
});
window.addEventListener("orientationchange", function() {
applyScroll();
});
}
can someone help with that?
I am working with pentaho 3.7 and CDE-bundle-1.0-RC3.
I have attached
_ a cda file in which there are 2 datasources, one sql and one mdx with a parameter
_ a dashboard created by cde composed of a filter "Select Component" (which datasource is the sql query of the cda) and a "CCC Pie Chart" (which datasource is the mdx query of the cda driven by the select component).
When I open the dashboard, the pie chart is displayed but when I select a new value in the filter, the chart is not updated and displayed.
steelwheels.cda : http://cdf-de.googlecode.com/issues/attachment?aid=-2837623958531151685&name=steelwheels.cda&token=a3042b75a922393cbc7fe8579dae6486
test_dashboard_filter_ccc_pie_chart.cdfde : http://cdf-de.googlecode.com/issues/attachment?aid=-4182766616348338362&name=test_dashboard_filter_ccc_pie_chart.cdfde&token=95790540a264bf2d810e9f07cf0787de
test_dashboard_filter_ccc_pie_chart.wcdf : http://cdf-de.googlecode.com/issues/attachment?aid=-3876441359587274604&name=test_dashboard_filter_ccc_pie_chart.wcdf&token=b4e58fc32b1b36bdc2857577708eed9b
Hi,
in a cda file, it is possible to manually specify the pattern for a date parameter for instance :
It should be possible to do it from cde when defining a date parameter of a datasource.
Thank you.
Hi, we found the insecure version of the dependency commons-io is still being used in the code:
Test here:
@Test
public void testNormalize() throws Exception {
assertEquals(SEP + SEP + "127.0.0.1" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\127.0.0.1\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "::1" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\::1\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "1::" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\1::\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "server.example.org" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\server.example.org\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "server.sub.example.org" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\server.sub.example.org\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "server." + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\\\server.\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "1::127.0.0.1" + SEP + "a" + SEP + "b" + SEP + "c.txt",
FilenameUtils.normalize("\\\\1::127.0.0.1\\a\\b\\c.txt"));
// not valid IPv4 addresses but technically a valid "reg-name"s according to RFC1034
assertEquals(SEP + SEP + "127.0.0.256" + SEP + "a" + SEP + "b" + SEP + "c.txt",
FilenameUtils.normalize("\\\\127.0.0.256\\a\\b\\c.txt"));
assertEquals(SEP + SEP + "127.0.0.01" + SEP + "a" + SEP + "b" + SEP + "c.txt",
FilenameUtils.normalize("\\\\127.0.0.01\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\-server\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\.\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\..\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\127.0..1\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\::1::2\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\:1\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\1:\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\1:2:3:4:5:6:7:8:9\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\g:2:3:4:5:6:7:8\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\1ffff:2:3:4:5:6:7:8\\a\\b\\c.txt"));
assertEquals(null, FilenameUtils.normalize("\\\\1:2\\a\\b\\c.txt"));
}
@Test
public void testNormalizeUnixWin() throws Exception {
assertEquals(12, FilenameUtils.getPrefixLength("\\\\127.0.0.1\\a\\b\\c.txt"));
assertEquals(6, FilenameUtils.getPrefixLength("\\\\::1\\a\\b\\c.txt"));
assertEquals(21, FilenameUtils.getPrefixLength("\\\\server.example.org\\a\\b\\c.txt"));
assertEquals(10, FilenameUtils.getPrefixLength("\\\\server.\\a\\b\\c.txt"));
assertEquals(-1, FilenameUtils.getPrefixLength("\\\\-server\\a\\b\\c.txt"));
assertEquals(-1, FilenameUtils.getPrefixLength("\\\\.\\a\\b\\c.txt"));
assertEquals(-1, FilenameUtils.getPrefixLength("\\\\..\\a\\b\\c.txt"));
}
Windows 7/64, BI Server 5.0.1 CE, standard out of the box configuration. Marketplace trunk installs all done 12/5/2013 yesterday. Report functions fine within PUC.
Confirmed by hazamonzo (Pentaho Forums) Reference thread:
http://forums.pentaho.com/showthread.php?153995-PRPT-Component-in-CDE-Solution-Path
Hi,
I am using pentaho bi server 5.4 CE.
I have created a chart with drill down option to another chart (ie) another cdfde file.
When I am clicking a part of a chart, the error is thrown.
Below is the Error ,
No class registered for id pentaho-cdf-dd
Server Version: Pentaho Open Source BA Server 5.4.0.1-130
Please help me in solving this error.
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.