Code Monkey home page Code Monkey logo

cde's People

Contributors

afrjorge avatar amartins23 avatar andrefrua avatar bcostahitachivantara avatar davidmsantos90 avatar dcleao avatar ddiroma avatar eddie-martinez avatar graimundo avatar joaormf avatar jvelasques avatar lgrill-pentaho avatar marcoslarsen avatar marpontes avatar nantunes avatar nelsonsousa avatar pamval avatar paulaclemente avatar pdpi avatar pedrofvteixeira avatar plagoa avatar pmalves avatar rparaujo avatar sailingscally avatar smaring avatar smmribeiro avatar tgf avatar vgervasio avatar webdetails-build-bot avatar yuryby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cde's Issues

bootstrap css not loaded on CDE EDIT preview

Context

Tested under:

  • firefox
  • Chrome

Dashboard properties:

  • Style : clean
  • Dashboard Type : bootstrap

Dashboard architecture:

  • Row -> Column -> html with properties
    • name = "MyTitle"
    • html =
<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,

Problem

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?

Wrong custom-component path in settings

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?

[SOLVED] CDE Save As Template does not save components and datasources information

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.

Dashboard on iPad no scroll

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?

issue with CCC Pie Chart when selecting a new value in a Select Component

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

upgrade commons-io dependency version

Hi, we found the insecure version of the dependency commons-io is still being used in the code:

, which may cause Exposure of Sensitive Information to an Unauthorized Actor.

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"));
}

Drill down error in CDE

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 ,

Failed

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.

image

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.