Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
Marina Samuel 43af563b61 Updating urllib3 versions. 2019-05-14 15:43:46 -04:00
Marina Samuel 4d3ddb63c1 Review comments (#95). 2019-05-14 15:40:20 -04:00
Rob Miller 8d50177e6f redash_client updates (#95)
* Add _make_api_request method so we don't have to join
API_BASE_URL every time.

* The response object will convert to JSON for us.

* Poll for job results when a query doesn't immediately return a
result.

* Add 'get_data_sources' method.

* Handle url_params in the _make_api_request method .

* Make _retry_delay an attribute so it can be overridden in the
tests.

* Oops forgot to actually fetch the query result after polling for the
job to be completed.

* Remove unused import.

* Update the tests to work with all of the recent changes.

* Back to 100% coverage.
2019-05-14 15:37:00 -04:00
ricky rosario 9cf8849bf2
Merge pull request #94 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-04-01 08:29:34 -04:00
Mozilla-GitHub-Standards 8bcf61d560 Add Mozilla Code of Conduct file
Fixes #93.

_(Message COC002)_
2019-03-29 23:07:50 -07:00
Marina Samuel c55bbcf44b Allow more flexibility with axis information when creating a visualization. 2019-02-08 11:37:15 -05:00
Marina Samuel bc022d1519 Update version. 2019-02-06 10:26:36 -05:00
Marina Samuel 116732b702 Update requests and urllib3 dependencies. 2019-02-01 13:12:58 -05:00
Peter Bengtsson 6e283ae557 README missing on PyPI
Fixes #86
2018-10-22 16:46:48 -04:00
Peter Bengtsson a83a509263 Release wheel
Part of #82
2018-10-22 16:45:57 -04:00
Peter Bengtsson 7b9654a97a Update use of new Redash v5 queries API.
Fixes #79
2018-10-22 16:44:59 -04:00
Marina Samuel 5dd6f7f930 Closes #74: Return slug when fetching or creating a dashboard. 2018-05-29 16:46:50 -04:00
ariarijp 2f6ab09280 Rename all re:dash to Redash 2018-05-28 16:57:14 -04:00
ariarijp 05c3714c97 Add nose to test_requrements.txt for development 2018-05-28 16:56:38 -04:00
Marina Samuel cc6b370a56 Closes #69: Update get_widget_from_dash() to use redash's new json response format. 2018-05-10 15:22:43 -04:00
Marina Samuel 1b653bf27c Include options in update_query() test. 2018-02-07 16:38:17 -05:00
Marina Samuel f7f5641a9b Add test for get_public_url(). 2018-02-07 16:34:12 -05:00
Marina Samuel defead308f Closes #68: Add get_visualization_public_url(). 2018-02-07 13:31:47 -05:00
Marina Samuel 57d8d5126c Update .gitignore to include redash_client.egg-info/. 2018-02-05 15:27:12 -05:00
Marina Samuel c6198681e3 Closes #61: Update setup.py to reflect pulled out dashboard code. 2018-02-05 14:58:11 -05:00
Marina Samuel 1f4cc6c4ab Closes #61: All code is now covered in tests so .coveragerc is not needed. 2018-02-05 14:58:11 -05:00
Marina Samuel 9c5341b99e Closes #61: Update requirements, travis, and Makefile accordingly. 2018-02-05 14:58:11 -05:00
Marina Samuel bc402be8ce Closes #61: Update constant.py and tests/base.py accordingly. 2018-02-05 14:58:11 -05:00
Marina Samuel 9f4431611d Closes #61: Delete St. Moab files from repo. 2018-02-05 14:58:02 -05:00
Marina Samuel 7c50c4a4e7 Closes #65: Make AWS credentials and S3 bucket configurable. 2018-02-01 14:15:47 -05:00
Marina Samuel 9a7a387217 Closes #64: Use range() instead of xrange() to be compatible with Python 3. 2018-01-31 17:36:01 -05:00
Marina Samuel f44dbd3793 Closes #63: Add statistical libraries to setup.py. 2018-01-31 14:16:04 -05:00
Kenny Gillen 042d2ab3c7 Fix urllib3 in requirements
Hi,

urllib was a fake package according to http://www.nbu.gov.sk/skcsirt-sa-20170909-pypi/, pretending to be https://pypi.python.org/pypi/urllib3/1.22

Worth checking out.

All the best.
2018-01-12 11:14:11 -05:00
Marina Samuel f22cb03127 Lint updates. 2017-12-19 13:22:06 -05:00
Marina Samuel c7a475eda7 Update sample.py. 2017-12-19 13:22:06 -05:00
Marina Samuel 1cce339bbc Closes #54: Make it possible to add multiple ttables. 2017-12-19 13:21:59 -05:00
Marina Samuel a940bedf26 Check for substring matches rather than absolute string matches for experiment vs control labels. 2017-12-19 13:21:59 -05:00
Marina Samuel 2efff50cc7 Percent difference should be a signed value but effect size should not. 2017-12-19 13:21:59 -05:00
Marina Samuel ddd7678815 Move ALPHA_ERROR and other ttable templating to StatisticalDashboard. 2017-12-19 13:21:59 -05:00
Marina Samuel 84f6ce1e8e Change formatting of end date to suit both redshift and athena syntax. 2017-12-19 13:21:59 -05:00
Marina Samuel d1ecf4eec9 Add navigation_about_home and hourly event lists. 2017-12-19 13:21:59 -05:00
Marina Samuel 5c64fa4780 BOOKMARK_ADD and CLEAR_HISTORY do not need to be their own default events. 2017-12-19 13:21:59 -05:00
Marina Samuel 34079990cb Closes #53: Add 'Control Mean' and 'Percent Difference' Columns 2017-12-19 13:21:46 -05:00
Marina Samuel 2d4eb2cee7 Update package version. 2017-09-13 16:06:18 -04:00
Marina Samuel 13ab099a85 Public dashboard URL should be a property of a SummaryDashboard. 2017-09-13 16:05:58 -04:00
Marina Samuel d81324118f Split out StatisticalDashboard from ActivityStreamExperimentDashboard. 2017-09-13 14:22:11 -04:00
Marina Samuel 2cb05b1db1 Pip packaging should include dashboards subdirectory. 2017-09-11 16:46:24 -04:00
Marina Samuel aac297a015 A dashboard title should look like <Project Title>: <Experiment Title>. 2017-09-11 16:40:57 -04:00
Marina Samuel 13337967ca Update python package. 2017-09-11 15:12:30 -04:00
Marina Samuel 4d0cf31e53 Import in client.py should assume redash_client PYTHONPATH. 2017-09-11 15:11:55 -04:00
Marina Samuel c4c96f3971 Closes #43 - Add a template to handle UT events in maps. 2017-09-07 14:57:44 -04:00
Marina Samuel 4df66f09ed Dashboard generation should work for UT templates. 2017-09-07 12:50:11 -04:00
Marina Samuel b648535b17 Remove unused MASGA events, add UT events, make it possible to run ttest template for any event list. 2017-09-07 11:25:49 -04:00
Marina Samuel 72b645b441 Coveralls should skip import exception handling. 2017-09-07 10:16:39 -04:00
Marina Samuel fd93f43d9e Templates should no longer rely on addon versions when the control group has an explicit ID. 2017-09-07 10:08:25 -04:00