Permalink
Commits on Jan 2, 2018
  1. Add a README and examples for invoking test harness by hand (#2176)

    cbowman0 committed Jan 2, 2018
    * Add README for how the Django-based tests are run
    
    * Also adjust the coverage invocation so that manual runs can pass in specific test classes or test methods to run during debugging/testing.
Commits on Dec 8, 2017
  1. Convert variables in javascript files to camelCase to match predomina…

    cbowman0 committed Dec 8, 2017
    …nt standard. (#2151)
Commits on Dec 6, 2017
  1. Remove most undefined variables issues in javascript files (#2149)

    cbowman0 committed Dec 6, 2017
    * Set ESLint overrides for undef variables
    
    * Remove most undefined variables issues
    
    Most were global variables defined in the templated html files or other included javascript files.
    Others needed var/const declarations.
  2. Convert to single quotes since that is predominant. (#2147)

    cbowman0 committed Dec 6, 2017
    Change made via `eslint --no-eslintrc --rule 'quotes:[error,"single"]' --fix`
  3. Adding new ESLint config file. (#2145)

    cbowman0 committed Dec 6, 2017
    Codacy will be the only thing that potentially uses this right now.
Commits on Dec 4, 2017
  1. Clean up a few codacy issues (#2140)

    cbowman0 authored and DanCech committed Dec 4, 2017
    * Remove duplicate threshold declared in SeriesFunctions dict.
    * Remove unused variables
Commits on Nov 4, 2017
  1. RFC: Add a history button to the dashboard kind of like Cacti (#2100)

    cbowman0 committed Nov 4, 2017
    * Add history for graphs on dashbord. Like cacti
    
    * Move the history button into Graph Operations in the dash
    
    This is cleaning up fallout from #123
    
    * Remove close button overlay
    
    This button wasn't working as expected.  It would remove graphs from the dashboard.  Removing as I don't think we'll need to remove graphs from this overlay.
Commits on Nov 3, 2017
  1. This should NOT be urlencoded (#2099)

    cbowman0 committed Nov 3, 2017
    Fix oops in PR #2087
Commits on Nov 2, 2017
  1. Manipulate graph targets and implement New Graph -> New Empty Graph (#…

    cbowman0 committed Nov 2, 2017
    …424)
    
    Buttons to re-order and remove graph targets on the Graph Target grid.
    
    Button to add a new target to a graph.
    
    Up and Down buttons are from http://tango.freedesktop.org/.  Delete button already existed in the source.
    
    Force the GridPanel to fit.  Makes the images look better.
    
    Add in New Empty Graph.
    
    Remove calls to addTargetToSelectedGraph as the listeners on the targetStore invoke them.
    
    Fix name of delete icon to be the new trash icon.
    
    Adjust location of icons to match new locations.
Commits on Oct 20, 2017
  1. Add more tests for render/datalib.py (#2086)

    cbowman0 committed Oct 20, 2017
    Add more_FetchData tests
    Add basic prefetchRemoteData
Commits on Oct 19, 2017
  1. Fix the url values to match the current document.body.dataset.baseUrl…

    cbowman0 committed Oct 19, 2017
    … on dashboard load
    
    When loading a dashboard, the graphStore.loadData() method results in graphs being requested.  At this point, the url kept in the dashboard may not be for this domain so the wrong data is requested.  The subsequent call to refreshGraphs() does result in the correct domain being requested.
  2. Fix caching in _merge_results and add tests (#2085)

    cbowman0 committed Oct 19, 2017
    * Expand _merge_results tests
    * Fix bug in _merge_results
    
    In _merge_results, series_best_nones is scoped inside of the loop, so it cannot be used as a cache.  Also, the base case doesn't exist, so it can never be used.
Commits on Oct 17, 2017
  1. Test class PrefetchedData (#2079)

    cbowman0 committed Oct 17, 2017
    * Test class PrefetchedData
Commits on Oct 16, 2017
  1. Basic tests for render/datalib's _merge_results() (#2075)

    cbowman0 committed Oct 16, 2017
    Add basic tests for _merge_results from render/datalib.
Commits on Oct 13, 2017
  1. Handle no data with graphType=pie (#2071)

    cbowman0 committed Oct 13, 2017
    * Only draw the legend if there are elements
    * Display 'No Data' graphs for graphType=pie
    * Add graphType=pie tests and log base failure case
  2. Add more test coverage for render/functions (#2068)

    cbowman0 committed Oct 13, 2017
    * Add test for timeStack
    * Add tests for useSeriesAbove
    * Add tests for fallbackSeries
    * Add test for mostDeviant
    * Add tests for stdev
    * Add test for sinFunction
    * Add test for randomWalkFunction
  3. Add timeshift test coverage (#2065)

    cbowman0 committed Oct 13, 2017
    * Add timeshift test coverage
    * Change test_alias_query to use mock
    * Change test_linearRegression to use mock
Commits on Jun 27, 2017
  1. Use flat=True

    cbowman0 committed Jun 27, 2017
  2. Change dashboard find to only query for the name

    cbowman0 committed Jun 27, 2017
    This improves speed of loading the dashboard finder window because it does not query and sort the state column where it doesn't need it.
Commits on Jun 22, 2017
  1. Django 1.8 (#1968)

    cbowman0 committed Jun 22, 2017
    * Django 1.8
    
    Add Django 1.8 to the tests and other relevant sections.
    
    * Adjust one more location of Django 1.version check
    
    * Add Django 1.8 to travis runs
    
    * Adjust to match setup.py
Commits on Jun 1, 2017
  1. Improved test coverage of readers (#1949)

    cbowman0 committed Jun 1, 2017
    * Increase coverage in readers
    
    * Increase coverage of merge_with_cache
    * Increase coverage of GzippedWhisperReader
    * Increase coverage of WhisperReader
    
    Add more coverage
    
    * Add CeresReader tests
    * Add another merge_with_cache test
    * Mock CarbonLink().query
    * Add coverage for RemoteReaders
    
    Split test_readers into multiple files.
    
    * Make codacy less annoyed
    
    * Clean up codacity issues
Commits on May 16, 2017
  1. Merge branch 'master' into dashboard_image_refresh

    cbowman0 committed May 16, 2017
Commits on Nov 11, 2016
  1. Add more test coverage for standard finder

    cbowman0 committed Nov 11, 2016
    Fix the GzippedWhisperReader get_interval method to work
    Add a little bit of coverate for finder of gzipped whisper files.
Commits on Nov 10, 2016
  1. Clarify comments.

    cbowman0 committed Nov 10, 2016
  2. Fix lint errors

    cbowman0 committed Nov 10, 2016
  3. Fixes for issue #1701

    cbowman0 committed Nov 10, 2016
    Expand the merge_with_cache to consolidate data using the aggregation method passed in.
Commits on Nov 8, 2016
  1. Fixes for #1740 (#1743)

    cbowman0 committed Nov 8, 2016
Commits on Nov 3, 2016
  1. Ehance get_real_path to handle symlinks in any part of the path (#1738)

    cbowman0 committed Nov 3, 2016
    The conditional in get_real_path only worked when the file was a symlink.
    
    This changes it so that if any part of the path is a symlink, then obtain the real metrics path, so that carbonlink lookups work.
Commits on Aug 18, 2016
  1. Fix Ceres Finder to allow curly braces in metrics find requests (#1290)

    cbowman0 committed Aug 18, 2016
    * Fix Ceres Finder to allow curly braces in metrics find requests
    
    Using curly braces resulted in failed lookups because the python glob function doesn't handle them.
    
    * Test cases for Ceres Finder
Commits on Aug 3, 2016
  1. Adjust test case for globstar after merge

    cbowman0 committed Aug 3, 2016
Commits on Aug 2, 2016
  1. Make Timeseries equality test check for color (#1637)

    cbowman0 committed Aug 2, 2016
    * Make Timeseries equality test check for color
    
    The color attribute is not expected to always be there.  If it does exist in either, then check for equality.
    
    * Add tests for TimeSeries color attribute
  2. Tests for verticalLine()

    cbowman0 committed Aug 2, 2016
Commits on Jul 28, 2016
  1. Add test coverage

    cbowman0 committed Jul 28, 2016
    * Explicitly call cactiStyle() with the units param
    * Expand the format_units tests to be a little bit more complete and test the units parameter